Security News
tea.xyz Spam Plagues npm and RubyGems Package Registries
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
@instructure/canvas-theme
Advanced tools
Changelog
8.55.0 (2024-04-09)
Readme
A UI component theme for Canvas LMS made by Instructure Inc.
This theme has a 3:1 minimum contrast requirement.
npm install @instructure/canvas-theme
Before mounting (rendering) your React application:
global theming:
import { theme } from '@instructure/canvas-theme'
theme.use()
application level theming:
import { theme } from '@instructure/canvas-theme'
ReactDOM.render(
<InstUISettingsProvider theme={theme}>
<App />
</InstUISettingsProvider>,
element
)
To override the variables:
globally:
import { theme } from '@instructure/canvas-theme'
theme.use({ overrides: { colors: { brand: 'red' } } })
application level:
import { theme } from '@instructure/canvas-theme'
const themeOverrides = { colors: { brand: 'red' } }
ReactDOM.render(
<InstUISettingsProvider theme={{ ...theme, ...themeOverrides }}>
<App />
</InstUISettingsProvider>,
element
)
FAQs
A theme for Canvas LMS made by Instructure Inc.
The npm package @instructure/canvas-theme receives a total of 12,022 weekly downloads. As such, @instructure/canvas-theme popularity was classified as popular.
We found that @instructure/canvas-theme demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 33 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.
Security News
UnitedHealth Group disclosed that the ransomware attack on Change Healthcare compromised protected health information for millions in the U.S., with estimated costs to the company expected to reach $1 billion.