✨ Add tokens package (@navikt/ds-tokens)
Color, spacing, radius and typography tokens defined in src/tokens.json, compiled to CSS custom properties on the --a-* namespace by build.mjs.
This commit is contained in:
1 parent
eead0535a2
commit
7382e691ef
4 files changed
+125
No files matched your search
@@ -0,0 +1,10 @@
|
||||
# @navikt/ds-tokens
|
||||
|
||||
Design tokens for Aksel Mini. Tokens live in `src/tokens.json` and are compiled to
|
||||
CSS custom properties under the `--a-*` namespace by `build.mjs`.
|
||||
|
||||
## Usage
|
||||
|
||||
```css
|
||||
@import "@navikt/ds-tokens/dist/tokens.css";
|
||||
```
|
||||
Reference in new issue
Block a user