Security News
PyPI Slashes Malware Response Time: 90% of Issues Resolved in Under 24 Hours
PyPI has drastically improved its malware response times, resolving 90% of issues in under 24 hours and removing 900 projects since March 2024.
@theme-ui/color-modes
Advanced tools
Readme
Adds support for user-controlled color modes
Note: This package is included in the main theme-ui
package, and
generally should not be used on its own.
npm i @theme-ui/color-modes
import { ThemeProvider } from '@theme-ui/core'
import { ColorModeProvider } from '@theme-ui/color-modes'
import theme from './theme'
export default (props) => (
<ThemeProvider theme={theme}>
<ColorModeProvider>{props.children}</ColorModeProvider>
</ThemeProvider>
)
useColorMode
ColorModeProvider
FAQs
Adds support for user-controlled color modes
The npm package @theme-ui/color-modes receives a total of 40,452 weekly downloads. As such, @theme-ui/color-modes popularity was classified as popular.
We found that @theme-ui/color-modes demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 4 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
PyPI has drastically improved its malware response times, resolving 90% of issues in under 24 hours and removing 900 projects since March 2024.
Security News
Research
The Socket Research team breaks down an obfuscated script designed to facilitate unauthorized file uploads to multiple external services.
Security News
Node.js has automated its security release process, doubling the number of releases, and is re-evaluating unsupported experimental features with the Next 10 group to enhance security.