Installations
npm install @bigcommerce/big-design-theme
Developer Guide
Typescript
No
Module System
CommonJS
Node Version
20.16.0
NPM Version
10.8.1
Score
59.9
Supply Chain
79.2
Quality
86.3
Maintenance
100
Vulnerability
98.6
License
Releases
@bigcommerce/docs@1.3.2
Published on 18 Dec 2024
@bigcommerce/big-design-patterns@2.0.4
Published on 18 Dec 2024
@bigcommerce/big-design-icons@1.2.1
Published on 18 Dec 2024
@bigcommerce/big-design@1.6.2
Published on 18 Dec 2024
@bigcommerce/big-design@1.6.1
Published on 16 Dec 2024
@bigcommerce/docs@1.3.1
Published on 16 Dec 2024
Contributors
Languages
TypeScript (98.24%)
MDX (1.3%)
JavaScript (0.44%)
HTML (0.01%)
Developer
Download Statistics
Total Downloads
300,384
Last Day
346
Last Week
1,529
Last Month
7,204
Last Year
80,871
GitHub Statistics
50 Stars
1,540 Commits
65 Forks
41 Watching
16 Branches
410 Contributors
Bundle Size
19.69 kB
Minified
6.72 kB
Minified + Gzipped
Package Meta Information
Latest Version
1.1.0
Package Id
@bigcommerce/big-design-theme@1.1.0
Unpacked Size
60.18 kB
Size
16.63 kB
File Count
65
NPM Version
10.8.1
Node Version
20.16.0
Publised On
21 Aug 2024
Total Downloads
Cumulative downloads
Total Downloads
300,384
Last day
-13.3%
346
Compared to previous day
Last week
-16.2%
1,529
Compared to previous week
Last month
3.1%
7,204
Compared to previous month
Last year
9.9%
80,871
Compared to previous year
Daily Downloads
Weekly Downloads
Monthly Downloads
Yearly Downloads
Dependencies
2
Peer Dependencies
3
Dev Dependencies
24
BigDesign Theme
BigDesign design system.
Documentation
You can find documentation and examples on our docs page.
Note
BigDesign components use this theme by default. This package is only meant to be used directly when more advanced features are needed such as:
- When you app uses an html font size different than
16px
. - Creating a brand new theme.
- Typescript typings.
Quick start guide
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
1// index.tsx 2 3import { theme } from '@bigcommerce/big-design-theme'; 4import { ThemeProvider } from 'styled-components'; 5 6// ... 7 8ReactDOM.render( 9 <ThemeProvider theme={theme}> 10 <App /> 11 </ThemeProvider>, 12 document.getElementById('root'), 13);
Using a different html font size
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.
1import { createTheme } from '@bigcommerce/big-design-theme'; 2import { ThemeProvider } from 'styled-components'; 3 4const theme = createTheme({ htmlFontSize: 14 }); 5 6// ... 7 8<ThemeProvider theme={theme}> 9 <App /> 10</ThemeProvider>;
No vulnerabilities found.
Reason
30 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 10
Reason
no dangerous workflow patterns detected
Reason
security policy file detected
Details
- Info: security policy file detected: SECURITY.md:1
- Info: Found linked content: SECURITY.md:1
- Info: Found disclosure, vulnerability, and/or timelines in security policy: SECURITY.md:1
- Info: Found text in security policy: SECURITY.md:1
Reason
no binaries found in the repo
Reason
license file detected
Details
- Info: project has a license file: LICENSE.md:0
- Warn: project license file does not contain an FSF or OSI license.
Reason
Found 8/10 approved changesets -- score normalized to 8
Reason
5 existing vulnerabilities detected
Details
- Warn: Project is vulnerable to: GHSA-3xgq-45jj-v275
- Warn: Project is vulnerable to: GHSA-952p-6rrq-rcjv
- Warn: Project is vulnerable to: GHSA-mwcw-c2x4-8c55
- Warn: Project is vulnerable to: GHSA-7m27-7ghc-44w9
- Warn: Project is vulnerable to: GHSA-3h5v-q93c-6h6q
Reason
detected GitHub workflow tokens with excessive permissions
Details
- Warn: topLevel permissions set to 'write-all': .github/workflows/changesets.yml:10
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
project is not fuzzed
Details
- Warn: no fuzzer integrations found
Reason
dependency not pinned by hash detected -- score normalized to 0
Details
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/changesets.yml:18: update your workflow using https://app.stepsecurity.io/secureworkflow/bigcommerce/big-design/changesets.yml/main?enable=pin
- Warn: third-party GitHubAction not pinned by hash: .github/workflows/changesets.yml:21: update your workflow using https://app.stepsecurity.io/secureworkflow/bigcommerce/big-design/changesets.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/changesets.yml:24: update your workflow using https://app.stepsecurity.io/secureworkflow/bigcommerce/big-design/changesets.yml/main?enable=pin
- Warn: third-party GitHubAction not pinned by hash: .github/workflows/changesets.yml:48: update your workflow using https://app.stepsecurity.io/secureworkflow/bigcommerce/big-design/changesets.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/changesets.yml:58: update your workflow using https://app.stepsecurity.io/secureworkflow/bigcommerce/big-design/changesets.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/changesets.yml:61: update your workflow using https://app.stepsecurity.io/secureworkflow/bigcommerce/big-design/changesets.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/changesets.yml:68: update your workflow using https://app.stepsecurity.io/secureworkflow/bigcommerce/big-design/changesets.yml/main?enable=pin
- Info: 0 out of 5 GitHub-owned GitHubAction dependencies pinned
- Info: 0 out of 2 third-party GitHubAction dependencies pinned
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
- Warn: 0 commits out of 28 are checked with a SAST tool
Score
5.8
/10
Last Scanned on 2025-02-03
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More