Security News
Node.js EOL Versions CVE Dubbed the "Worst CVE of the Year" by Security Experts
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
@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
The npm package @sprucelabs/heartwood-components receives a total of 526 weekly downloads. As such, @sprucelabs/heartwood-components popularity was classified as not popular.
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
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
Security News
cURL and Go security teams are publicly rejecting CVSS as flawed for assessing vulnerabilities and are calling for more accurate, context-aware approaches.
Security News
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.