@krizaka/tokens 2.6.0 → 2.8.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/BRAND.md +13 -11
- package/README.md +2 -2
- package/dist/brands/scoped.css +43 -0
- package/dist/brands/yazakia.css +46 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.js +40 -0
- package/dist/native.d.ts +1 -1
- package/dist/native.js +40 -0
- package/dist/tokens.css +1 -1
- package/package.json +4 -3
package/BRAND.md
CHANGED
|
@@ -12,21 +12,22 @@ overrides). A product never re-invents its values: it imports its brand.
|
|
|
12
12
|
| **Krizaka** (parent) | **Ink + Krizaka blue.** The neutral surfaces and text of the platform carry the brand; one blue, the core of the Krizaka mark, is the only accent. | The parent frames its products without competing with them: ink is neutral next to orange and violet, and blue is the complement of the Orazaka orange. It is also the platform default (`tokens.css` = the Krizaka brand). |
|
|
13
13
|
| **Orazaka** (sovereign AI) | **Orange**, hue 26 — the accent and the mark share it. | Hue 38 (amber) is `--kz-warning`: a primary button, and since 2.1.0 the mark, must never read as a warning. The light theme's accent is the deep orange `#b45309`, also the first stop of the mark. `info` stays blue (an orange "info" would read as a warning). |
|
|
14
14
|
| **Orochia** (creators) | **Velvet violet → magenta**, the serpent of its mark (unchanged). | The values of `@krizaka/orochia-design-system`, already adjusted to AA. |
|
|
15
|
+
| **Yazakia** (dating, talk first) | **Emerald → turquoise.** The accent is the turquoise (hue 174); the emerald (hue 152–156) is the mark's first stop and `accent-2`. | Green is the family's free colour and takes the opposite view of the red and pink of dating apps. `--kz-success` is emerald (hue 160): a primary button must never read as a success, so the accent sits 14° away on the turquoise (a test) and the emerald stays in the mark and the gradients. Dark: light turquoise under near-black text (11:1); light: deep turquoise under white (5.9:1). `info` stays blue. |
|
|
15
16
|
|
|
16
17
|
### Palette (the accent family)
|
|
17
18
|
|
|
18
19
|
`on-accent` is the text and icon colour on the accent; `accent-text` is the accent **as text** (links, active labels),
|
|
19
20
|
≥ 4.5:1 on every surface; `accent-2` closes gradients.
|
|
20
21
|
|
|
21
|
-
| Role | Krizaka dark | Krizaka light | Orazaka dark | Orazaka light | Orochia dark | Orochia light |
|
|
22
|
-
| :-- | :-- | :-- | :-- | :-- | :-- | :-- |
|
|
23
|
-
| `accent` | `hsl(217 92% 53%)` #196df5 | `hsl(217 92% 50%)` #0a64f5 | `hsl(26 92% 55%)` #f67e23 | `hsl(26 90.5% 37.1%)` #b45309 | #7c3aed | #7c3aed |
|
|
24
|
-
| `accent-hover` | `hsl(217 88% 45%)` | `hsl(217 88% 42%)` | `hsl(26 92% 62%)` (lightens) | `hsl(26 90% 31%)` | #6d28d9 | #6d28d9 |
|
|
25
|
-
| `on-accent` | white (4.6:1) | white (5.1:1) | near-black `hsl(240 6% 5%)` (7.4:1) | white (5.1:1) | white (5.7:1) | white (5.7:1) |
|
|
26
|
-
| `accent-text` | `hsl(217 92% 68%)` #629cf8 | `hsl(217 92% 42%)` #0954ce | `hsl(26 92% 60%)` #f78c3b | `hsl(26 90% 32%)` #9b4808 | #a78bfa | #6d28d9 |
|
|
27
|
-
| `accent-2` | = accent | = accent | #f59e0b (closes the buttons' gradient) | `hsl(32 95% 33%)` | #db2777 | #db2777 |
|
|
28
|
-
| `ring` | = accent | = accent | = accent | = accent | #a78bfa | #7c3aed |
|
|
29
|
-
| `info` | = accent | = accent | `hsl(217 92% 60%)` | `hsl(217 92% 50%)` | = accent | = accent |
|
|
22
|
+
| Role | Krizaka dark | Krizaka light | Orazaka dark | Orazaka light | Orochia dark | Orochia light | Yazakia dark | Yazakia light |
|
|
23
|
+
| :-- | :-- | :-- | :-- | :-- | :-- | :-- | :-- | :-- |
|
|
24
|
+
| `accent` | `hsl(217 92% 53%)` #196df5 | `hsl(217 92% 50%)` #0a64f5 | `hsl(26 92% 55%)` #f67e23 | `hsl(26 90.5% 37.1%)` #b45309 | #7c3aed | #7c3aed | `hsl(174 72% 50%)` #24dbc9 | `hsl(175 85% 24%)` #097169 |
|
|
25
|
+
| `accent-hover` | `hsl(217 88% 45%)` | `hsl(217 88% 42%)` | `hsl(26 92% 62%)` (lightens) | `hsl(26 90% 31%)` | #6d28d9 | #6d28d9 | `hsl(174 72% 58%)` (lightens) | `hsl(175 85% 20%)` |
|
|
26
|
+
| `on-accent` | white (4.6:1) | white (5.1:1) | near-black `hsl(240 6% 5%)` (7.4:1) | white (5.1:1) | white (5.7:1) | white (5.7:1) | near-black (11.2:1) | white (5.9:1) |
|
|
27
|
+
| `accent-text` | `hsl(217 92% 68%)` #629cf8 | `hsl(217 92% 42%)` #0954ce | `hsl(26 92% 60%)` #f78c3b | `hsl(26 90% 32%)` #9b4808 | #a78bfa | #6d28d9 | `hsl(174 72% 56%)` #3ee0cf | `hsl(175 85% 23%)` #096d64 |
|
|
28
|
+
| `accent-2` | = accent | = accent | #f59e0b (closes the buttons' gradient) | `hsl(32 95% 33%)` | #db2777 | #db2777 | emerald `hsl(152 70% 45%)` #22c378 | `hsl(152 76% 26%)` #107546 |
|
|
29
|
+
| `ring` | = accent | = accent | = accent | = accent | #a78bfa | #7c3aed | = accent | = accent |
|
|
30
|
+
| `info` | = accent | = accent | `hsl(217 92% 60%)` | `hsl(217 92% 50%)` | = accent | = accent | `hsl(217 92% 60%)` | `hsl(217 92% 50%)` |
|
|
30
31
|
|
|
31
32
|
Every pair is a test (`test/tokens.test.ts`, "brands"): `on-accent` ≥ 4.5:1 on `accent`, `accent-hover` and
|
|
32
33
|
`accent-2`; `accent-text` ≥ 4.5:1 on surfaces 0–3 and on every section-gradient stop; `ring` ≥ 3:1 on the page;
|
|
@@ -69,9 +70,10 @@ after in Storybook, *Brand/Evolution*):
|
|
|
69
70
|
| Krizaka | An **ink** hexagonal shield, open at its upper-right vertex where a **blue node** breaks out, around a blue core. | Before: hairline strokes and five hard-coded blues that vanished below 48 px and did not crop. Now the weight, crop and grammar of Orochia; ink + one blue, the brand palette. |
|
|
70
71
|
| Orazaka | Three **solid** hexagonal shards in the brand's orange gradient, orbiting a core. | Before: two grey outlines and one amber, 3.5-unit strokes — the mark read grey and thin next to Orochia. Same idea, now solid, with the family's crop. **2.1.0:** amber (`#b45309 → #f59e0b`, hues 26 → 38) becomes the brand's orange — deep orange `hsl(26 90.5% 37.1%)` #b45309 → orange `hsl(26 92% 45%)` #dc6509, one hue: the old light stop was the warning's hue and read at 2:1 on a light page; every stop now reads ≥ 3:1 on surfaces 0–2 in dark and light (a test). |
|
|
71
72
|
| Orochia | The serpent coiled into an "O" around the flame. | Unchanged. |
|
|
73
|
+
| Yazakia | Two **solid** arms that lean in and meet — a "Y", two people who find each other — each ending in a round head, the stem below, a bright core where they join. Two nodes, the pair, ride the dashed orbit. | New (3rd product, 2026-10). Emerald `hsl(156 92% 32%)` #079d61 → turquoise `hsl(178 90% 32%)` #089b96, mid-tones chosen so that every stop reads ≥ 3:1 on surfaces 0–2 in dark and light (a test): one mark for both themes. |
|
|
72
74
|
|
|
73
|
-
Web: `KrizakaLogo`, `OrazakaLogo`, `OrochiaLogo`, `ProductLogo id` (`@krizaka/ui`). Native: `KrizakaMark`,
|
|
74
|
-
`OrazakaMark`, `OrochiaMark`, `ProductMark id` (`@krizaka/ui/native`). The geometry is shared
|
|
75
|
+
Web: `KrizakaLogo`, `OrazakaLogo`, `OrochiaLogo`, `YazakiaLogo`, `ProductLogo id` (`@krizaka/ui`). Native: `KrizakaMark`,
|
|
76
|
+
`OrazakaMark`, `OrochiaMark`, `YazakiaMark`, `ProductMark id` (`@krizaka/ui/native`). The geometry is shared
|
|
75
77
|
(`packages/ui/src/marks/*-geometry.ts`); the emblem gradients are **brand tokens** — `$extensions["com.krizaka"].mark` of
|
|
76
78
|
each `src/brands/<id>.brand.json`, exported as `marks.<id>` (`@krizaka/tokens`, `/native`) — read by the geometry, never
|
|
77
79
|
copied. A mark is the same in both themes: its stops are chosen to read on dark and light pages.
|
package/README.md
CHANGED
|
@@ -28,8 +28,8 @@ npm install @krizaka/tokens
|
|
|
28
28
|
| `@krizaka/tokens/tokens.css` | Web (imported once, usually through `@krizaka/tailwind`) | The `--kz-*` custom properties. |
|
|
29
29
|
| `@krizaka/tokens` | TS / JS on the web (canvas, charts, e-mails, inline styles) | `tokens` (`var(--kz-…)` references, camelCase keys), `values.dark` / `values.light` (raw CSS, aliases resolved), `TokenName`. |
|
|
30
30
|
| `@krizaka/tokens/native` | React Native / Expo | `themes.dark` / `themes.light` (hex, `rgba()` when translucent), `radius` (dp), `typography`, `motion.ease`, type `Theme`; `brands.<id>` (ThemeProvider overrides); `marks.<id>` (the mark's emblem gradient, `[offset, #rrggbb]` stops). |
|
|
31
|
-
| `@krizaka/tokens/brands/<id>.css` | A product app (`krizaka`, `orazaka`, `orochia`), after the tokens | The brand's accent family and section gradient, dark and light. |
|
|
32
|
-
| `@krizaka/tokens/brands/scoped.css` | A page showing several brands | `.brand-krizaka`, `.brand-orazaka`, `.brand-orochia`. |
|
|
31
|
+
| `@krizaka/tokens/brands/<id>.css` | A product app (`krizaka`, `orazaka`, `orochia`, `yazakia`), after the tokens | The brand's accent family and section gradient, dark and light. |
|
|
32
|
+
| `@krizaka/tokens/brands/scoped.css` | A page showing several brands | `.brand-krizaka`, `.brand-orazaka`, `.brand-orochia`, `.brand-yazakia`. |
|
|
33
33
|
|
|
34
34
|
**Brands:** one colour per brand, its marks, icons and page language are in [`BRAND.md`](./BRAND.md).
|
|
35
35
|
|
package/dist/brands/scoped.css
CHANGED
|
@@ -129,3 +129,46 @@ html .theme-dark .brand-orochia, html .brand-orochia.theme-dark {
|
|
|
129
129
|
--kz-brand-gradient-via: hsl(320 35% 8%);
|
|
130
130
|
--kz-brand-gradient-to: var(--kz-surface-0);
|
|
131
131
|
}
|
|
132
|
+
|
|
133
|
+
.brand-yazakia {
|
|
134
|
+
--kz-accent: hsl(174 72% 50%);
|
|
135
|
+
--kz-accent-hover: hsl(174 72% 58%);
|
|
136
|
+
--kz-accent-soft: hsl(174 72% 50% / 0.12);
|
|
137
|
+
--kz-accent-text: hsl(174 72% 56%);
|
|
138
|
+
--kz-accent-2: hsl(152 70% 45%);
|
|
139
|
+
--kz-on-accent: hsl(240 6% 5%);
|
|
140
|
+
--kz-ring: var(--kz-accent);
|
|
141
|
+
--kz-info: hsl(217 92% 60%);
|
|
142
|
+
--kz-info-text: hsl(217 92% 68%);
|
|
143
|
+
--kz-brand-gradient-from: hsl(166 55% 9%);
|
|
144
|
+
--kz-brand-gradient-via: hsl(180 35% 7%);
|
|
145
|
+
--kz-brand-gradient-to: var(--kz-surface-0);
|
|
146
|
+
}
|
|
147
|
+
html.light .brand-yazakia, html .theme-light .brand-yazakia, html .brand-yazakia.theme-light {
|
|
148
|
+
--kz-accent: hsl(175 85% 24%);
|
|
149
|
+
--kz-accent-hover: hsl(175 85% 20%);
|
|
150
|
+
--kz-accent-soft: hsl(175 85% 24% / 0.08);
|
|
151
|
+
--kz-accent-text: hsl(175 85% 23%);
|
|
152
|
+
--kz-accent-2: hsl(152 76% 26%);
|
|
153
|
+
--kz-on-accent: hsl(0 0% 100%);
|
|
154
|
+
--kz-ring: var(--kz-accent);
|
|
155
|
+
--kz-info: hsl(217 92% 50%);
|
|
156
|
+
--kz-info-text: hsl(217 92% 42%);
|
|
157
|
+
--kz-brand-gradient-from: hsl(160 70% 93%);
|
|
158
|
+
--kz-brand-gradient-via: hsl(176 70% 95%);
|
|
159
|
+
--kz-brand-gradient-to: var(--kz-surface-0);
|
|
160
|
+
}
|
|
161
|
+
html .theme-dark .brand-yazakia, html .brand-yazakia.theme-dark {
|
|
162
|
+
--kz-accent: hsl(174 72% 50%);
|
|
163
|
+
--kz-accent-hover: hsl(174 72% 58%);
|
|
164
|
+
--kz-accent-soft: hsl(174 72% 50% / 0.12);
|
|
165
|
+
--kz-accent-text: hsl(174 72% 56%);
|
|
166
|
+
--kz-accent-2: hsl(152 70% 45%);
|
|
167
|
+
--kz-on-accent: hsl(240 6% 5%);
|
|
168
|
+
--kz-ring: var(--kz-accent);
|
|
169
|
+
--kz-info: hsl(217 92% 60%);
|
|
170
|
+
--kz-info-text: hsl(217 92% 68%);
|
|
171
|
+
--kz-brand-gradient-from: hsl(166 55% 9%);
|
|
172
|
+
--kz-brand-gradient-via: hsl(180 35% 7%);
|
|
173
|
+
--kz-brand-gradient-to: var(--kz-surface-0);
|
|
174
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
/* @krizaka/tokens — GÉNÉRÉ depuis src/brands/yazakia.brand.json par scripts/build.mjs : ne pas éditer.
|
|
2
|
+
Yazakia — émeraude → turquoise, le vert libre de la famille, qui prend le contre-pied du rouge et du rose des applications de rencontre. L'accent (boutons, liens, anneau) est le turquoise, teinte 174 : à 14° de --kz-success (160, l'émeraude des statuts), pour qu'un bouton principal ne se lise jamais comme un succès. Dark : turquoise clair sous texte quasi noir ; light : turquoise profond sous texte blanc (5.9:1). accent-2 est l'émeraude (teinte 152), le second temps du dégradé des boutons et de la mascotte, jamais un statut. info reste bleu. Le logo (mark) est un dégradé émeraude (156) → turquoise (178) de teinte moyenne, identique dans les deux thèmes et ≥ 3:1 sur les surfaces 0–2 des deux thèmes.
|
|
3
|
+
Importé après tokens.css (ou @krizaka/tailwind) : l'identité yazakia sur toute l'app, dans les deux thèmes. */
|
|
4
|
+
|
|
5
|
+
:root, .theme-dark {
|
|
6
|
+
--kz-accent: hsl(174 72% 50%);
|
|
7
|
+
--kz-accent-hover: hsl(174 72% 58%);
|
|
8
|
+
--kz-accent-soft: hsl(174 72% 50% / 0.12);
|
|
9
|
+
--kz-accent-text: hsl(174 72% 56%);
|
|
10
|
+
--kz-accent-2: hsl(152 70% 45%);
|
|
11
|
+
--kz-on-accent: hsl(240 6% 5%);
|
|
12
|
+
--kz-ring: var(--kz-accent);
|
|
13
|
+
--kz-info: hsl(217 92% 60%);
|
|
14
|
+
--kz-info-text: hsl(217 92% 68%);
|
|
15
|
+
--kz-brand-gradient-from: hsl(166 55% 9%);
|
|
16
|
+
--kz-brand-gradient-via: hsl(180 35% 7%);
|
|
17
|
+
--kz-brand-gradient-to: var(--kz-surface-0);
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
html.light {
|
|
21
|
+
--kz-accent: hsl(175 85% 24%);
|
|
22
|
+
--kz-accent-hover: hsl(175 85% 20%);
|
|
23
|
+
--kz-accent-soft: hsl(175 85% 24% / 0.08);
|
|
24
|
+
--kz-accent-text: hsl(175 85% 23%);
|
|
25
|
+
--kz-accent-2: hsl(152 76% 26%);
|
|
26
|
+
--kz-on-accent: hsl(0 0% 100%);
|
|
27
|
+
--kz-info: hsl(217 92% 50%);
|
|
28
|
+
--kz-info-text: hsl(217 92% 42%);
|
|
29
|
+
--kz-brand-gradient-from: hsl(160 70% 93%);
|
|
30
|
+
--kz-brand-gradient-via: hsl(176 70% 95%);
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.theme-light {
|
|
34
|
+
--kz-accent: hsl(175 85% 24%);
|
|
35
|
+
--kz-accent-hover: hsl(175 85% 20%);
|
|
36
|
+
--kz-accent-soft: hsl(175 85% 24% / 0.08);
|
|
37
|
+
--kz-accent-text: hsl(175 85% 23%);
|
|
38
|
+
--kz-accent-2: hsl(152 76% 26%);
|
|
39
|
+
--kz-on-accent: hsl(0 0% 100%);
|
|
40
|
+
--kz-ring: var(--kz-accent);
|
|
41
|
+
--kz-info: hsl(217 92% 50%);
|
|
42
|
+
--kz-info-text: hsl(217 92% 42%);
|
|
43
|
+
--kz-brand-gradient-from: hsl(160 70% 93%);
|
|
44
|
+
--kz-brand-gradient-via: hsl(176 70% 95%);
|
|
45
|
+
--kz-brand-gradient-to: var(--kz-surface-0);
|
|
46
|
+
}
|
package/dist/index.d.ts
CHANGED
|
@@ -159,7 +159,7 @@ export interface TypeStep {
|
|
|
159
159
|
export declare const typeScale: readonly TypeStep[];
|
|
160
160
|
|
|
161
161
|
/** A Krizaka brand. */
|
|
162
|
-
export type BrandId = "krizaka" | "orazaka" | "orochia";
|
|
162
|
+
export type BrandId = "krizaka" | "orazaka" | "orochia" | "yazakia";
|
|
163
163
|
/** The roles a brand theme sets. */
|
|
164
164
|
export type BrandRole = "accent" | "accentHover" | "accentSoft" | "accentText" | "accent2" | "onAccent" | "ring" | "info" | "infoText" | "brandGradientFrom" | "brandGradientVia" | "brandGradientTo";
|
|
165
165
|
/** The brand themes: the accent family of each Krizaka brand, raw CSS per theme (aliases resolved). */
|
package/dist/index.js
CHANGED
|
@@ -623,6 +623,36 @@ export const brands = /* @__PURE__ */ Object.freeze({
|
|
|
623
623
|
"brandGradientVia": "hsl(330 80% 96%)",
|
|
624
624
|
"brandGradientTo": "hsl(0 0% 98%)"
|
|
625
625
|
}
|
|
626
|
+
},
|
|
627
|
+
"yazakia": {
|
|
628
|
+
"dark": {
|
|
629
|
+
"accent": "hsl(174 72% 50%)",
|
|
630
|
+
"accentHover": "hsl(174 72% 58%)",
|
|
631
|
+
"accentSoft": "hsl(174 72% 50% / 0.12)",
|
|
632
|
+
"accentText": "hsl(174 72% 56%)",
|
|
633
|
+
"accent2": "hsl(152 70% 45%)",
|
|
634
|
+
"onAccent": "hsl(240 6% 5%)",
|
|
635
|
+
"ring": "hsl(174 72% 50%)",
|
|
636
|
+
"info": "hsl(217 92% 60%)",
|
|
637
|
+
"infoText": "hsl(217 92% 68%)",
|
|
638
|
+
"brandGradientFrom": "hsl(166 55% 9%)",
|
|
639
|
+
"brandGradientVia": "hsl(180 35% 7%)",
|
|
640
|
+
"brandGradientTo": "hsl(240 6% 5%)"
|
|
641
|
+
},
|
|
642
|
+
"light": {
|
|
643
|
+
"accent": "hsl(175 85% 24%)",
|
|
644
|
+
"accentHover": "hsl(175 85% 20%)",
|
|
645
|
+
"accentSoft": "hsl(175 85% 24% / 0.08)",
|
|
646
|
+
"accentText": "hsl(175 85% 23%)",
|
|
647
|
+
"accent2": "hsl(152 76% 26%)",
|
|
648
|
+
"onAccent": "hsl(0 0% 100%)",
|
|
649
|
+
"ring": "hsl(175 85% 24%)",
|
|
650
|
+
"info": "hsl(217 92% 50%)",
|
|
651
|
+
"infoText": "hsl(217 92% 42%)",
|
|
652
|
+
"brandGradientFrom": "hsl(160 70% 93%)",
|
|
653
|
+
"brandGradientVia": "hsl(176 70% 95%)",
|
|
654
|
+
"brandGradientTo": "hsl(0 0% 98%)"
|
|
655
|
+
}
|
|
626
656
|
}
|
|
627
657
|
});
|
|
628
658
|
/** The marks' emblem gradients: [offset, colour] stops, the same in both themes (raw CSS). */
|
|
@@ -660,5 +690,15 @@ export const marks = /* @__PURE__ */ Object.freeze({
|
|
|
660
690
|
"100%",
|
|
661
691
|
"hsl(328.6 85.5% 70.2%)"
|
|
662
692
|
]
|
|
693
|
+
],
|
|
694
|
+
"yazakia": [
|
|
695
|
+
[
|
|
696
|
+
"0%",
|
|
697
|
+
"hsl(156 92% 32%)"
|
|
698
|
+
],
|
|
699
|
+
[
|
|
700
|
+
"100%",
|
|
701
|
+
"hsl(178 90% 32%)"
|
|
702
|
+
]
|
|
663
703
|
]
|
|
664
704
|
});
|
package/dist/native.d.ts
CHANGED
|
@@ -101,7 +101,7 @@ export declare const shadows: { readonly dark: Shadows; readonly light: Shadows
|
|
|
101
101
|
export declare const cut: { readonly size: number };
|
|
102
102
|
|
|
103
103
|
/** A Krizaka brand. */
|
|
104
|
-
export type BrandId = "krizaka" | "orazaka" | "orochia";
|
|
104
|
+
export type BrandId = "krizaka" | "orazaka" | "orochia" | "yazakia";
|
|
105
105
|
/** The colour roles a brand theme sets, per theme. */
|
|
106
106
|
export type BrandTheme = { readonly dark: { readonly [R in "accent" | "accentHover" | "accentSoft" | "accentText" | "accent2" | "onAccent" | "ring" | "info" | "infoText" | "brandGradientFrom" | "brandGradientVia" | "brandGradientTo"]: string }; readonly light: { readonly [R in "accent" | "accentHover" | "accentSoft" | "accentText" | "accent2" | "onAccent" | "ring" | "info" | "infoText" | "brandGradientFrom" | "brandGradientVia" | "brandGradientTo"]: string } };
|
|
107
107
|
/** The brand themes as ThemeProvider overrides (`overrides={brands.orazaka}`): the accent family per theme. */
|
package/dist/native.js
CHANGED
|
@@ -337,6 +337,36 @@ export const brands = /* @__PURE__ */ Object.freeze({
|
|
|
337
337
|
"brandGradientVia": "#fdedf5",
|
|
338
338
|
"brandGradientTo": "#fafafa"
|
|
339
339
|
}
|
|
340
|
+
},
|
|
341
|
+
"yazakia": {
|
|
342
|
+
"dark": {
|
|
343
|
+
"accent": "#24dbc9",
|
|
344
|
+
"accentHover": "#47e1d2",
|
|
345
|
+
"accentSoft": "rgba(36,219,201,0.12)",
|
|
346
|
+
"accentText": "#3ee0cf",
|
|
347
|
+
"accent2": "#22c378",
|
|
348
|
+
"onAccent": "#0c0c0e",
|
|
349
|
+
"ring": "#24dbc9",
|
|
350
|
+
"info": "#3b83f7",
|
|
351
|
+
"infoText": "#629cf8",
|
|
352
|
+
"brandGradientFrom": "#0a241e",
|
|
353
|
+
"brandGradientVia": "#0c1818",
|
|
354
|
+
"brandGradientTo": "#0c0c0e"
|
|
355
|
+
},
|
|
356
|
+
"light": {
|
|
357
|
+
"accent": "#097169",
|
|
358
|
+
"accentHover": "#085e57",
|
|
359
|
+
"accentSoft": "rgba(9,113,105,0.08)",
|
|
360
|
+
"accentText": "#096d64",
|
|
361
|
+
"accent2": "#107546",
|
|
362
|
+
"onAccent": "#ffffff",
|
|
363
|
+
"ring": "#097169",
|
|
364
|
+
"info": "#0a64f5",
|
|
365
|
+
"infoText": "#0954ce",
|
|
366
|
+
"brandGradientFrom": "#e1faf1",
|
|
367
|
+
"brandGradientVia": "#e9fbfa",
|
|
368
|
+
"brandGradientTo": "#fafafa"
|
|
369
|
+
}
|
|
340
370
|
}
|
|
341
371
|
});
|
|
342
372
|
/** The marks' emblem gradients: [offset, #rrggbb] stops, the same in both themes. */
|
|
@@ -374,5 +404,15 @@ export const marks = /* @__PURE__ */ Object.freeze({
|
|
|
374
404
|
"100%",
|
|
375
405
|
"#f472b6"
|
|
376
406
|
]
|
|
407
|
+
],
|
|
408
|
+
"yazakia": [
|
|
409
|
+
[
|
|
410
|
+
"0%",
|
|
411
|
+
"#079d61"
|
|
412
|
+
],
|
|
413
|
+
[
|
|
414
|
+
"100%",
|
|
415
|
+
"#089b96"
|
|
416
|
+
]
|
|
377
417
|
]
|
|
378
418
|
});
|
package/dist/tokens.css
CHANGED
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
--kz-text-secondary: hsl(240 4% 64%); /* Texte d'appui, libellés */
|
|
23
23
|
--kz-text-muted: hsl(240 4% 47%); /* Métadonnées, placeholders, désactivé (≥ 3:1) */
|
|
24
24
|
|
|
25
|
-
/* Accent : l'identité de la marque (Krizaka par défaut ; Orazaka, Orochia dans src/brands). Surchargé par un thème de marque, jamais par un composant. */
|
|
25
|
+
/* Accent : l'identité de la marque (Krizaka par défaut ; Orazaka, Orochia, Yazakia dans src/brands). Surchargé par un thème de marque, jamais par un composant. */
|
|
26
26
|
--kz-accent: hsl(217 92% 53%); /* Action principale, lien, sélection */
|
|
27
27
|
--kz-accent-hover: hsl(217 88% 45%); /* Accent au survol */
|
|
28
28
|
--kz-accent-soft: hsl(217 92% 53% / 0.10); /* Fond teinté (sélection, badge) */
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@krizaka/tokens",
|
|
3
|
-
"version": "2.
|
|
4
|
-
"description": "The Krizaka semantic design tokens (--kz-*) and the brand themes (Krizaka, Orazaka, Orochia): one DTCG source compiled to CSS (dark, light, media invariants), typed constants and React Native themes.",
|
|
3
|
+
"version": "2.8.0",
|
|
4
|
+
"description": "The Krizaka semantic design tokens (--kz-*) and the brand themes (Krizaka, Orazaka, Orochia, Yazakia): one DTCG source compiled to CSS (dark, light, media invariants), typed constants and React Native themes.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"krizaka",
|
|
7
7
|
"design-tokens",
|
|
@@ -36,6 +36,7 @@
|
|
|
36
36
|
"./brands/krizaka.css": "./dist/brands/krizaka.css",
|
|
37
37
|
"./brands/orazaka.css": "./dist/brands/orazaka.css",
|
|
38
38
|
"./brands/orochia.css": "./dist/brands/orochia.css",
|
|
39
|
+
"./brands/yazakia.css": "./dist/brands/yazakia.css",
|
|
39
40
|
"./brands/scoped.css": "./dist/brands/scoped.css",
|
|
40
41
|
"./native": {
|
|
41
42
|
"types": "./dist/native.d.ts",
|
|
@@ -110,6 +111,6 @@
|
|
|
110
111
|
"typecheck": "tsc --noEmit",
|
|
111
112
|
"test": "vitest run",
|
|
112
113
|
"size": "size-limit",
|
|
113
|
-
"publint": "publint && attw --pack . --profile esm-only --exclude-entrypoints ./tokens.css ./brands/krizaka.css ./brands/orazaka.css ./brands/orochia.css ./brands/scoped.css"
|
|
114
|
+
"publint": "publint && attw --pack . --profile esm-only --exclude-entrypoints ./tokens.css ./brands/krizaka.css ./brands/orazaka.css ./brands/orochia.css ./brands/yazakia.css ./brands/scoped.css"
|
|
114
115
|
}
|
|
115
116
|
}
|