Security News
pnpm 10.0.0 Blocks Lifecycle Scripts by Default
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
@bigcommerce/big-design-theme
Advanced tools
BigDesign design system.
You can find documentation and examples on our docs page.
BigDesign components use this theme by default. This package is only meant to be used directly when more advanced features are needed such as:
16px
.Add the BigDesign theme and styled-components@5 to your project using npm
:
npm install @bigcommerce/big-design-theme styled-components@5
or with pnpm
:
pnpm add @bigcommerce/big-design-theme styled-components@5
// index.tsx
import { theme } from '@bigcommerce/big-design-theme';
import { ThemeProvider } from 'styled-components';
// ...
ReactDOM.render(
<ThemeProvider theme={theme}>
<App />
</ThemeProvider>,
document.getElementById('root'),
);
When your app uses an html font size different than 16px
you will need to create a new theme that uses
your app's html font size internally to calculate spacings and sizes.
The following example show how to create a theme using a 14px
html font size and provide the theme to your app.
import { createTheme } from '@bigcommerce/big-design-theme';
import { ThemeProvider } from 'styled-components';
const theme = createTheme({ htmlFontSize: 14 });
// ...
<ThemeProvider theme={theme}>
<App />
</ThemeProvider>;
FAQs
BigDesign design system.
The npm package @bigcommerce/big-design-theme receives a total of 1,596 weekly downloads. As such, @bigcommerce/big-design-theme popularity was classified as popular.
We found that @bigcommerce/big-design-theme 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
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
Product
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.
Research
Security News
Socket researchers have discovered multiple malicious npm packages targeting Solana private keys, abusing Gmail to exfiltrate the data and drain Solana wallets.