@krizaka/tailwind 3.62.0 → 3.63.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 +5 -5
- package/package.json +6 -6
package/README.md
CHANGED
|
@@ -22,14 +22,14 @@ npm install -D tailwindcss @krizaka/tailwind @krizaka/tokens @krizaka/ui
|
|
|
22
22
|
|
|
23
23
|
## Wiring an app
|
|
24
24
|
|
|
25
|
-
Four lines in the app's global stylesheet (
|
|
25
|
+
Four lines in the app's global stylesheet (a product's web app, `app/globals.css`), in this order:
|
|
26
26
|
|
|
27
27
|
```css
|
|
28
28
|
@import "tailwindcss";
|
|
29
29
|
@import "@krizaka/tailwind"; /* tokens + utilities + variants + motion */
|
|
30
30
|
@import "@krizaka/ui/tailwind.css"; /* `@source "./dist"`: Tailwind scans the primitives */
|
|
31
|
-
@import "@krizaka/
|
|
32
|
-
@source "../../../packages"; /* the packages of the
|
|
31
|
+
@import "@krizaka/myapp-design-system/theme.css"; /* the product's identity: --kz-* overrides + @source of the kit */
|
|
32
|
+
@source "../../../packages"; /* the packages of the product's workspace */
|
|
33
33
|
```
|
|
34
34
|
|
|
35
35
|
The first two lines are enough to get the whole vocabulary. `@krizaka/ui/tailwind.css` arrives with the
|
|
@@ -86,7 +86,7 @@ illustration or an image that has a light and a dark version — and are refused
|
|
|
86
86
|
A product never redefines a palette: it overrides roles, in its design system's `theme.css`.
|
|
87
87
|
|
|
88
88
|
```css
|
|
89
|
-
/* @krizaka/
|
|
89
|
+
/* @krizaka/myapp-design-system/theme.css — a product identity, expressed as roles */
|
|
90
90
|
@source "./dist";
|
|
91
91
|
|
|
92
92
|
:root, .theme-dark {
|
|
@@ -111,7 +111,7 @@ html.light {
|
|
|
111
111
|
}
|
|
112
112
|
|
|
113
113
|
/* Product tokens: prefixed, never generic */
|
|
114
|
-
:root { --
|
|
114
|
+
:root { --myapp-story-ring: linear-gradient(135deg, var(--kz-accent), var(--kz-accent-2)); }
|
|
115
115
|
```
|
|
116
116
|
|
|
117
117
|
Every utility above follows, without one line in the components: `bg-accent` is velvet, and so is every ring, tint and
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@krizaka/tailwind",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.63.0",
|
|
4
4
|
"description": "The Krizaka Tailwind CSS v4 preset: the semantic --kz-* tokens as utilities (bg-surface-1, text-fg-secondary, border-border-default, text-accent, rounded-xl…), illustration-only light/dark variants and the Krizaka easing.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"krizaka",
|
|
@@ -37,8 +37,8 @@
|
|
|
37
37
|
"sideEffects": true,
|
|
38
38
|
"peerDependencies": {
|
|
39
39
|
"tailwindcss": "^4.1",
|
|
40
|
-
"@krizaka/tokens": "^3.
|
|
41
|
-
"@krizaka/ui": "^3.
|
|
40
|
+
"@krizaka/tokens": "^3.63.0",
|
|
41
|
+
"@krizaka/ui": "^3.63.0"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
44
|
"@size-limit/file": "^14.2.0",
|
|
@@ -51,9 +51,9 @@
|
|
|
51
51
|
"tailwindcss": "^4.3.3",
|
|
52
52
|
"typescript": "^5.9.0",
|
|
53
53
|
"vitest": "^5.0.5",
|
|
54
|
-
"@krizaka/
|
|
55
|
-
"@krizaka/tokens": "^3.
|
|
56
|
-
"@krizaka/
|
|
54
|
+
"@krizaka/config": "0.8.0",
|
|
55
|
+
"@krizaka/tokens": "^3.63.0",
|
|
56
|
+
"@krizaka/ui": "^3.63.0"
|
|
57
57
|
},
|
|
58
58
|
"engines": {
|
|
59
59
|
"node": ">=22"
|