
Security News
Risky Biz Podcast: Making Reachability Analysis Work in Real-World Codebases
This episode explores the hard problem of reachability analysis, from static analysis limits to handling dynamic languages and massive dependency trees.
@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.
Security News
This episode explores the hard problem of reachability analysis, from static analysis limits to handling dynamic languages and massive dependency trees.
Security News
/Research
Malicious Nx npm versions stole secrets and wallet info using AI CLI tools; Socket’s AI scanner detected the supply chain attack and flagged the malware.
Security News
CISA’s 2025 draft SBOM guidance adds new fields like hashes, licenses, and tool metadata to make software inventories more actionable.