Security News
Opengrep Emerges as Open Source Alternative Amid Semgrep Licensing Controversy
Opengrep forks Semgrep to preserve open source SAST in response to controversial licensing 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 yarn
:
yarn 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.
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
Opengrep forks Semgrep to preserve open source SAST in response to controversial licensing changes.
Security News
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
Security News
cURL and Go security teams are publicly rejecting CVSS as flawed for assessing vulnerabilities and are calling for more accurate, context-aware approaches.