Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
@manifoldco/mercury
Advanced tools
Design tokens auto-generated from our Figma files.
npm install @manifoldco/mercury
Mercury ships with some Sass Modules which can be imported and extended if you’re using Sass:
@use "node_modules/@manifoldco/mercury";
.Manifold__Button {
@include mercury.button; /* extend button styles */
background: mercury.$color-purple; /* provide overrides from common variables */
color: mercury.$color-white;
}
For reference, please see the generated .scss
files which are tracked in version
control.
Group | Sass Name |
---|---|
Color | $color-black |
Color | $color-blue |
Color | $color-borderGray |
Color | $color-gray |
Color | $color-grayDark |
Color | $color-grayDarker |
Color | $color-grayLight |
Color | $color-grayLighter |
Color | $color-grayLightest |
Color | $color-green |
Color | $color-mutedBlue |
Color | $color-mutedGreen |
Color | $color-mutedOrange |
Color | $color-mutedPurple |
Color | $color-mutedRed |
Color | $color-mutedTeal |
Color | $color-mutedYellow |
Color | $color-orange |
Color | $color-purple |
Color | $color-red |
Color | $color-teal |
Color | $color-white |
Color | $color-yellow |
Gradient | $gradient-brand |
Gradient | $gradient-brandMuted |
Gradient | $gradient-green |
Gradient | $gradient-greenMuted |
Gradient | $gradient-red |
Gradient | $gradient-redMuted |
Gradient | $gradient-yellow |
Gradient | $gradient-yellowMuted |
Gradient | $gradient-orange |
Gradient | $gradient-orangeMuted |
Gradient | $gradient-purple |
Gradient | $gradient-purpleMuted |
Gradient | $gradient-blue |
Gradient | $gradient-blueMuted |
Gradient | $gradient-manifold |
Shadow | $shadow-far |
Shadow | $shadow-near |
Component | Description |
---|---|
.button | Those Manifold buttons you know and love |
In your .zshrc
or .bashrc
, add your Figma access token (needed to access Manifold
files):
export FIGMA_TOKEN=myaccesstoken
Then run:
npm run extract
Currently, deploying happens manually. You’ll need to be signed into npm.
Bump the patch number (the last digit) in package.json
manually:
- "version": "0.0.9",
+ "version": "0.0.10",
Commit this change.
Note: decause this is all managed by design, the version number doesn’t matter as much as traditional packages.
Then, run:
npm run deploy
⚠️ Note: deploying won’t update the tokens! You’ll need to run npm run extract
to pull the
latest values.
FAQs
Manifold Design System
The npm package @manifoldco/mercury receives a total of 27 weekly downloads. As such, @manifoldco/mercury popularity was classified as not popular.
We found that @manifoldco/mercury demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 11 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
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.