Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
@sprucelabs/heartwood-components
Advanced tools
This is a seed project, using [Fractal](https://github.com/frctl/fractal) alongside Sass and Gulp to provide editable component-based CSS
Heartwood is a design system made of foundational decisions that ensure cohesion, allow for flexibility, and enable a smooth workflow.
git clone
this repocd sprucebot-heartwood
nvm use && yarn
yarn global @frctl/fractal && yarn global gulp-cli
fractal start --sync
gulp watch
If you're running this project with react-sprucebot
, you can pull in the local stylesheet by adding its url to .env
, i.e. STYLESHEETS=http://xxx.xxx.xxx:3000/stylesheets/heartwood-components.css
.
feature/my-new-component
doc
directory) should be added to feature/documentation
master
fractal build
gulp styles && gulp js
yarn deploy
Install the node module: yarn add @sprucelabs/heartwood-components
Import in Sass file:
@import ~@sprucelabs / heartwood-components/stylesheets/global.scss;
Default variables can be overriden when the stylesheet is compiled. For example, to use red as a primary color:
$c-primary: red;
@import ~@sprucelabs / heartwood-components/stylesheets/global.scss;
You can also selectively import parts of this library to keep your generated stylesheets smaller, i.e.
@import ~@sprucelabs / heartwood-components/stylesheets/core/core-styles;
@import ~@sprucelabs / heartwood-components/stylesheets/base/normalize;
@import ~@sprucelabs / heartwood-components/stylesheets/base/reset;
@import ~@sprucelabs / heartwood-components/stylesheets/base/base;
@import ~@sprucelabs / heartwood-components/stylesheets/base/utilities;
@import ~@sprucelabs / heartwood-components/stylesheets/base/type;
@import ~@sprucelabs / heartwood-components/components/01-button/button;
Note that when using this approach, you must import stylesheets/core/core-styles
in order to import any component stylesheets.
Import all styles: import '@sprucelabs/heartwood-components/stylesheets/global.scss'
FAQs
This is a seed project, using [Fractal](https://github.com/frctl/fractal) alongside Sass and Gulp to provide editable component-based CSS
We found that @sprucelabs/heartwood-components 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.
Research
Security News
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.