@afluem/tokens 0.1.0 → 0.3.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 +2 -2
- package/dist/contrast.json +0 -1558
- package/dist/index.d.ts +0 -132
- package/dist/index.js +0 -132
- package/dist/tailwind.css +0 -2
- package/dist/tokens.css +0 -90
- package/dist/tokens.json +13 -213
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# @afluem/tokens
|
|
2
2
|
|
|
3
3
|
The design tokens of the Afluem design system: color, type, space, radius,
|
|
4
|
-
shadow and motion, in two themes
|
|
4
|
+
shadow and motion, in two themes.
|
|
5
5
|
|
|
6
6
|
```sh
|
|
7
7
|
npm install @afluem/tokens
|
|
@@ -17,7 +17,7 @@ import { tokens } from "@afluem/tokens"; // resolved values, for SVG and scripts
|
|
|
17
17
|
```
|
|
18
18
|
|
|
19
19
|
Dark follows `prefers-color-scheme`, or `data-theme="dark"` on any element.
|
|
20
|
-
`data-layer="console"` switches
|
|
20
|
+
`data-layer="console"` switches the console scale in `@afluem/ui`; it changes no token. The build checks
|
|
21
21
|
every text and ground pair against WCAG and APCA floors.
|
|
22
22
|
|
|
23
23
|
Rules: [design.md](https://github.com/afluem/design-system/blob/main/design.md).
|