@krizaka/tailwind 2.0.0-beta.6 → 2.0.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 (3) hide show
  1. package/README.md +2 -1
  2. package/index.css +5 -0
  3. package/package.json +6 -6
package/README.md CHANGED
@@ -44,7 +44,8 @@ The first two lines are enough to get the whole vocabulary. `@krizaka/ui/tailwin
44
44
  | Borders | `border-subtle` · `border-default` · `border-strong` → `border-border-default` | `--kz-border-*` |
45
45
  | Text | `fg` · `fg-secondary` · `fg-muted` · `fg-on-media` → `text-fg-secondary` | `--kz-text-*` |
46
46
  | Accent | `accent` · `accent-hover` · `accent-soft` · `accent-2` (gradients) · `on-accent` · `ring` | `--kz-accent*`, `--kz-on-accent`, `--kz-ring` |
47
- | Status | `success` · `warning` · `danger` · `info` | `--kz-success` … |
47
+ | Status | `success` · `warning` · `danger` · `info` (fills, borders, dots, icons — ≥ 3:1) | `--kz-success` … |
48
+ | Status text | `fg-success` · `fg-warning` · `fg-danger` · `fg-info` → `text-fg-danger` (small text, ≥ 4.5:1 on every surface, both themes) | `--kz-*-text` |
48
49
  | Radius | `rounded-sm` · `rounded-md` · `rounded-lg` · `rounded-xl` · `rounded-full` | `--kz-radius-*` |
49
50
  | Shadow | `shadow-sm` · `shadow-md` · `shadow-lg` | `--kz-shadow-*` |
50
51
  | Font | `font-sans` · `font-display` · `font-mono` | `--kz-font-*` |
package/index.css CHANGED
@@ -37,6 +37,11 @@
37
37
  --color-warning: var(--kz-warning);
38
38
  --color-danger: var(--kz-danger);
39
39
  --color-info: var(--kz-info);
40
+ /* statuts en texte : ≥ 4.5:1 */
41
+ --color-fg-success: var(--kz-success-text);
42
+ --color-fg-warning: var(--kz-warning-text);
43
+ --color-fg-danger: var(--kz-danger-text);
44
+ --color-fg-info: var(--kz-info-text);
40
45
 
41
46
  --radius-sm: var(--kz-radius-sm);
42
47
  --radius-md: var(--kz-radius-md);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@krizaka/tailwind",
3
- "version": "2.0.0-beta.6",
3
+ "version": "2.0.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": "^2.0.0-beta.6",
41
- "@krizaka/ui": "^2.0.0-beta.6"
40
+ "@krizaka/tokens": "^2.0.0",
41
+ "@krizaka/ui": "^2.0.0"
42
42
  },
43
43
  "devDependencies": {
44
44
  "@size-limit/file": "^14.2.0",
@@ -52,8 +52,8 @@
52
52
  "typescript": "^5.9.0",
53
53
  "vitest": "^4.1.11",
54
54
  "@krizaka/config": "0.1.0",
55
- "@krizaka/ui": "^2.0.0-beta.6",
56
- "@krizaka/tokens": "^2.0.0-beta.6"
55
+ "@krizaka/tokens": "^2.0.0",
56
+ "@krizaka/ui": "^2.0.0"
57
57
  },
58
58
  "engines": {
59
59
  "node": ">=20"
@@ -65,7 +65,7 @@
65
65
  {
66
66
  "name": ".",
67
67
  "path": "index.css",
68
- "limit": "1.1 kB",
68
+ "limit": "1.2 kB",
69
69
  "gzip": true
70
70
  }
71
71
  ],