@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.
Files changed (2) hide show
  1. package/README.md +11 -8
  2. 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><slot /></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 | Contents |
29
- | --- | --- |
30
- | `@kwtv/tokens/tokens.css` | CSS custom properties and theme rules. |
31
- | `@kwtv/tokens/utilities.css` | Optional utility classes. Load after the tokens. |
32
- | `@kwtv/tokens/tokens.json` | Token data for tools and applications. |
33
- | `@kwtv/tokens/tokens.scss` | SCSS variables. |
34
- | `@kwtv/tokens` | Typed token exports as TypeScript source, supported by Astro/Vite. |
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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kwtv/tokens",
3
- "version": "0.1.3",
3
+ "version": "0.3.0",
4
4
  "description": "KWTV design tokens. Colour, type, space, shape and motion. Light and dark.",
5
5
  "license": "UNLICENSED",
6
6
  "type": "module",