
Security News
vlt Launches "reproduce": A New Tool Challenging the Limits of Package Provenance
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
@os-design/theming
Advanced tools
Before you start using the os-design components, you need to add the ThemeProvider that will apply the theme to all the components used.
Before you start using the os-design components, you need to add the ThemeProvider that will apply the theme to all the components used.
Install the package using the following command:
yarn add @os-design/theming
Also make sure that you have the @emotion/react package installed.
Create the emotion.d.ts
file with the following content:
import '@emotion/react';
import { Theme as BaseTheme } from '@os-design/theming';
declare module '@emotion/react' {
// eslint-disable-next-line @typescript-eslint/no-empty-interface
export interface Theme extends BaseTheme {}
}
ThemeProvider
For example:
import React from 'react';
import { ThemeProvider } from '@os-design/theming';
import AppRouter from './AppRouter';
const App: React.FC = () => (
<ThemeProvider>
<AppRouter />
</ThemeProvider>
);
export default App;
See all theming features in the Storybook.
FAQs
Unknown package
The npm package @os-design/theming receives a total of 3 weekly downloads. As such, @os-design/theming popularity was classified as not popular.
We found that @os-design/theming demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 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
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
Research
Security News
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
Research
The Socket Research Team discovered a malicious npm package, '@ton-wallet/create', stealing cryptocurrency wallet keys from developers and users in the TON ecosystem.