@kwtv/tokens 0.1.3 → 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 +11 -8
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -15,8 +15,11 @@ Import the CSS once in your app's root layout:
|
|
|
15
15
|
---
|
|
16
16
|
import "@kwtv/tokens/tokens.css";
|
|
17
17
|
---
|
|
18
|
+
|
|
18
19
|
<html lang="nl">
|
|
19
|
-
<body
|
|
20
|
+
<body>
|
|
21
|
+
<slot />
|
|
22
|
+
</body>
|
|
20
23
|
</html>
|
|
21
24
|
```
|
|
22
25
|
|
|
@@ -25,13 +28,13 @@ The default theme follows the operating system. Set `data-theme="light"` or
|
|
|
25
28
|
|
|
26
29
|
## Exports
|
|
27
30
|
|
|
28
|
-
| Import
|
|
29
|
-
|
|
|
30
|
-
| `@kwtv/tokens/tokens.css`
|
|
31
|
-
| `@kwtv/tokens/utilities.css` | Optional utility classes. Load after the tokens.
|
|
32
|
-
| `@kwtv/tokens/tokens.json`
|
|
33
|
-
| `@kwtv/tokens/tokens.scss`
|
|
34
|
-
| `@kwtv/tokens`
|
|
31
|
+
| Import | Contents |
|
|
32
|
+
| ---------------------------- | ------------------------------------------------------------------ |
|
|
33
|
+
| `@kwtv/tokens/tokens.css` | CSS custom properties and theme rules. |
|
|
34
|
+
| `@kwtv/tokens/utilities.css` | Optional utility classes. Load after the tokens. |
|
|
35
|
+
| `@kwtv/tokens/tokens.json` | Token data for tools and applications. |
|
|
36
|
+
| `@kwtv/tokens/tokens.scss` | SCSS variables. |
|
|
37
|
+
| `@kwtv/tokens` | Typed token exports as TypeScript source, supported by Astro/Vite. |
|
|
35
38
|
|
|
36
39
|
The root TypeScript entry requires a toolchain that processes TypeScript
|
|
37
40
|
dependencies. The CSS, SCSS and JSON entries do not require it.
|