@fusion.dev/helix-styles 0.0.9 → 0.0.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +29 -0
- package/package.json +1 -1
package/README.md
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
# @fusion.dev/helix-styles
|
|
2
|
+
|
|
3
|
+
Design tokens and the base layer. Pure CSS and a JSON copy of the tokens — no
|
|
4
|
+
JavaScript at all.
|
|
5
|
+
|
|
6
|
+
```sh
|
|
7
|
+
npm install @fusion.dev/helix-styles
|
|
8
|
+
```
|
|
9
|
+
|
|
10
|
+
```css
|
|
11
|
+
@import '@fusion.dev/helix-styles/all.css';
|
|
12
|
+
```
|
|
13
|
+
|
|
14
|
+
Or take the pieces:
|
|
15
|
+
|
|
16
|
+
| Entry | What it is |
|
|
17
|
+
|---|---|
|
|
18
|
+
| `tokens.css` | the custom properties, light and dark |
|
|
19
|
+
| `base.css` | element defaults and the reset |
|
|
20
|
+
| `primitives.css` | utility layer |
|
|
21
|
+
| `all.css` | all three, in order |
|
|
22
|
+
| `tokens.json` | the same token names for a build step that needs them |
|
|
23
|
+
|
|
24
|
+
The tokens are the contract every Helix component reads, so overriding one here
|
|
25
|
+
moves every component that answers it.
|
|
26
|
+
|
|
27
|
+
[Documentation](https://helix.fusion.dev) · [Token reference](https://helix.fusion.dev/tokens)
|
|
28
|
+
|
|
29
|
+
MIT
|
package/package.json
CHANGED