@nswds/tokens 2.25.6 → 2.26.0
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 +18 -0
- package/dist/css/prism/prism.css +719 -0
- package/dist/index.cjs +24 -24
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +24 -24
- package/dist/index.js.map +1 -1
- package/package.json +9 -3
- package/src/css/prism/prism.css +719 -0
package/README.md
CHANGED
|
@@ -57,6 +57,24 @@ There are a few common ways to consume the tokens. Adjust paths to match your `d
|
|
|
57
57
|
}
|
|
58
58
|
```
|
|
59
59
|
|
|
60
|
+
### 1a. Prism CSS (standalone)
|
|
61
|
+
|
|
62
|
+
```css
|
|
63
|
+
@import '@nswds/tokens/prism.css';
|
|
64
|
+
```
|
|
65
|
+
|
|
66
|
+
Or via JS/TS (for bundlers that support CSS imports):
|
|
67
|
+
|
|
68
|
+
```ts
|
|
69
|
+
import '@nswds/tokens/prism.css';
|
|
70
|
+
```
|
|
71
|
+
|
|
72
|
+
The full path is also available:
|
|
73
|
+
|
|
74
|
+
```css
|
|
75
|
+
@import '@nswds/tokens/css/prism/prism.css';
|
|
76
|
+
```
|
|
77
|
+
|
|
60
78
|
### 2. Sass / SCSS variables or maps
|
|
61
79
|
|
|
62
80
|
```scss
|