@krizaka/tailwind 3.53.0 → 3.55.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/index.css +9 -0
- package/package.json +8 -8
package/index.css
CHANGED
|
@@ -15,8 +15,11 @@
|
|
|
15
15
|
--color-border-subtle: var(--kz-border-subtle);
|
|
16
16
|
--color-border-default: var(--kz-border-default);
|
|
17
17
|
--color-border-strong: var(--kz-border-strong);
|
|
18
|
+
--color-border-control: var(--kz-border-control); /* un champ, une case : ≥ 3:1 dans le registre produit */
|
|
19
|
+
--color-border-hover: var(--kz-border-hover); /* une carte interactive au survol */
|
|
18
20
|
|
|
19
21
|
--color-fg: var(--kz-text-primary);
|
|
22
|
+
--color-fg-title: var(--kz-text-title); /* titre de page, valeur d'une statistique */
|
|
20
23
|
--color-fg-secondary: var(--kz-text-secondary);
|
|
21
24
|
--color-fg-muted: var(--kz-text-muted);
|
|
22
25
|
--color-fg-on-media: var(--kz-text-on-media);
|
|
@@ -71,6 +74,7 @@
|
|
|
71
74
|
--shadow-sm: var(--kz-shadow-sm);
|
|
72
75
|
--shadow-md: var(--kz-shadow-md);
|
|
73
76
|
--shadow-lg: var(--kz-shadow-lg);
|
|
77
|
+
--shadow-hover: var(--kz-shadow-hover);
|
|
74
78
|
--shadow-xl: var(--kz-shadow-overlay);
|
|
75
79
|
--shadow-2xl: var(--kz-shadow-overlay);
|
|
76
80
|
/* la signature (BRAND.md §6) : ombres d'encre multi-couches, et la lueur de la marque sous ce qui agit — composée ici
|
|
@@ -91,6 +95,7 @@
|
|
|
91
95
|
--font-text: var(--kz-font-text);
|
|
92
96
|
--font-display: var(--kz-font-display);
|
|
93
97
|
--font-mono: var(--kz-font-mono);
|
|
98
|
+
--font-mono-meta: var(--kz-font-mono-meta); /* identifiants et heures d'un produit : Courier Prime (ADR-006) */
|
|
94
99
|
--font-cahier: var(--kz-font-cahier); /* the pen: margin marks, folios, a chalkboard line — sparing, never body text */
|
|
95
100
|
|
|
96
101
|
/* l'échelle typographique (@krizaka/tokens, type.*) : text-display-xl porte taille, interlignage, graisse et approche ;
|
|
@@ -201,6 +206,10 @@
|
|
|
201
206
|
token, wherever an element has no ring of its own (a component's focus-visible ring wins over this default). */
|
|
202
207
|
:focus:not(:focus-visible) { outline: none; }
|
|
203
208
|
:focus-visible { outline: var(--kz-ring-width) solid var(--kz-ring); outline-offset: var(--kz-ring-offset); }
|
|
209
|
+
/* Focused by code (#659): no ring on a heading, main or region with tabindex="-1" and no role (roving items have one). */
|
|
210
|
+
:is(h1, h2, h3, h4, h5, h6, main, header, footer, section, article, aside, nav, div, p, span, li, ul, ol, form, figure):not([role])[tabindex="-1"]:is(:focus, :focus-visible) { outline: none; box-shadow: none; }
|
|
211
|
+
/* No browser tap highlight (the blue block on a tapped brand or title). */
|
|
212
|
+
a, button, summary, label, input, select, textarea, h1, h2, h3, h4, h5, h6, [role="button"], [role="link"], [tabindex] { -webkit-tap-highlight-color: transparent; }
|
|
204
213
|
button:not(:disabled), [role="button"]:not(:disabled) { cursor: pointer; }
|
|
205
214
|
/* The display face has one weight (Young Serif, ADR-004): a bold heading is never faked by the browser. */
|
|
206
215
|
html { font-synthesis-weight: none; }
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@krizaka/tailwind",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.55.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,23 +37,23 @@
|
|
|
37
37
|
"sideEffects": true,
|
|
38
38
|
"peerDependencies": {
|
|
39
39
|
"tailwindcss": "^4.1",
|
|
40
|
-
"@krizaka/tokens": "^3.
|
|
41
|
-
"@krizaka/ui": "^3.
|
|
40
|
+
"@krizaka/tokens": "^3.55.0",
|
|
41
|
+
"@krizaka/ui": "^3.55.0"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
44
|
"@size-limit/file": "^14.2.0",
|
|
45
45
|
"@tailwindcss/postcss": "^4.3.3",
|
|
46
46
|
"@types/node": "^22.15.0",
|
|
47
47
|
"eslint": "^9.39.0",
|
|
48
|
-
"postcss": "^8.5.
|
|
48
|
+
"postcss": "^8.5.31",
|
|
49
49
|
"publint": "^0.3.25",
|
|
50
50
|
"size-limit": "^14.2.0",
|
|
51
51
|
"tailwindcss": "^4.3.3",
|
|
52
52
|
"typescript": "^5.9.0",
|
|
53
53
|
"vitest": "^4.1.11",
|
|
54
|
-
"@krizaka/
|
|
55
|
-
"@krizaka/tokens": "^3.
|
|
56
|
-
"@krizaka/
|
|
54
|
+
"@krizaka/config": "0.8.0",
|
|
55
|
+
"@krizaka/tokens": "^3.55.0",
|
|
56
|
+
"@krizaka/ui": "^3.55.0"
|
|
57
57
|
},
|
|
58
58
|
"engines": {
|
|
59
59
|
"node": ">=22"
|
|
@@ -65,7 +65,7 @@
|
|
|
65
65
|
{
|
|
66
66
|
"name": ".",
|
|
67
67
|
"path": "index.css",
|
|
68
|
-
"limit": "
|
|
68
|
+
"limit": "4.2 kB",
|
|
69
69
|
"gzip": true
|
|
70
70
|
}
|
|
71
71
|
],
|