Generate and manage tokens, Sass resources, themes, assets, and configuration files that define the visual foundation of your Atomic Design system.

only for react, react native doesn't support sass/scss (yet).
All components have their own scss file attached. So you need to install SASS in your project.
Atomic Resources sets up an entire SCSS framework you can control with a single Design Token

In the root of project execute the following command to install the package:
This will create a new folder called

The package will install several files and folders in the
this is the
This folder contains all the font files for your design system. You can add or remove font files as needed.
This folder contains all the SCSS files for your design system. These files are generated based on the values in the
This is the main SCSS file for your design system. It imports all the other SCSS files and generates the final CSS output. You can edit this file to change the structure of your styles.

The following packages will be installed as dependencies in your project:
These packages are installed into your

The installer will add the following to your scripts in
This script is used to generate the
This script is used to compile the SCSS files into a single CSS file. You can run this script whenever you make changes to your SCSS files to update the generated CSS file.
A design token is usually a JSON file that contains all the design specs for your project. It's generally used as a developer hand-off from a designer to a developer
You can check Atlassian's design token for more information.
Creates a reusable SCSS resources setup for projects that use atomic design, Storybook, and optionally atomic-bomb.
Important This tool is for educational purposes only.
Run the package from the root of the project that should receive the resources:
The command expects one argument:
Example:
This creates or updates:
The installer:
The generated scripts are:
The command should be run from the application root, not from inside the destination folder.
Import the generated stylesheet in
If you install into a different destination directory, adjust the import path to match that directory.
The design token file should live in:
After changing
Then rebuild the compiled stylesheet:
The main SCSS entrypoint is:
The compiled CSS output is:
The bundled SCSS uses Dart Sass modules with
When using the generated resources together with
Those imports point at the Sass barrel files that
When
You can also clone the repository with [degit](https://www.npmjs.com/package/degit):
The
If npm reports an
This is useful in projects with strict or outdated peer dependency ranges.
When no
The copied resources follow the destination directory you pass to the CLI. The generated package scripts currently target
Check the CLI syntax:
Format the CLI:
Publish workflow: