
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.
@stepzen/design-system
Advanced tools
This npm package includes design tokens, styles and UI components shared across different StepZen web apps: the docs and marketing site stepzen.com, the "My Account" dashboard dashboard.stepzen.com, etc.
npm install --save @stepzen/design-system
pages/_app.js
import '@stepzen/design-system/dist/css/index.css'
.css
and .js
/ .ts
files.Manual publishing steps:
git clone git@github.com:steprz/design-system.git --depth 1
cd design-system
npm ci
npm version [new version]
npm run build
npm publish
Global style sheets set CSS custom properties on the HTML page :root
and / or modify styles of the standard HTML elements such as <h1>
or <body>
.
How to add a new global style to the StepZen design system:
.css
filesstylesheet-name.css
file under src/styles
(or src/styles/tokens
for new design tokens)<link rel="stylesheet">
tagsrc/styles/index.css
with a relative @import()
[StylesheetName].stories.mdx
file next to the stylesheet-name.css
file (copy from one of the existing similar files)<Meta title="Design Tokens/Colors" />
tag in the copied file appropriately@stepzen/design-system
package to npm (most likely, this would be a minor)import '@stepzen/design-system/dist/css/index.css'
will get new global styles after bumping the version of their @stepzen/design-system
npm dependency.TBD
Currently, the design system only includes a dummy sample Button
component which is not intended for actual usage.
npm run build
- (re)create a production design system bundle in the dist/
folder (includes .css
, .js
, and .d.ts
files)npm run storybook
- start a local Storybook server on http://localhost:6006npm run build-storybook
- create a production storybook bundle in the storybook-static/
folderFAQs
StepZen design system
We found that @stepzen/design-system demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 8 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.