@krizaka/tokens 3.87.0 → 4.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.
- package/BRAND.md +17 -17
- package/README.md +2 -2
- package/dist/appearance.css +6 -6
- package/dist/brands/{akinaza.css → folioviv.css} +3 -3
- package/dist/brands/krizaka.css +1 -1
- package/dist/brands/scoped.css +9 -9
- package/dist/brands/{orazaka.css → sovkora.css} +3 -3
- package/dist/brands/{yomizaka.css → verikora.css} +3 -3
- package/dist/index.d.ts +1 -1
- package/dist/index.js +7 -7
- package/dist/native.d.ts +2 -2
- package/dist/native.js +13 -13
- package/dist/shop-presets.css +105 -105
- package/dist/shop-presets.d.ts +2 -2
- package/dist/shop-presets.js +1 -1
- package/dist/tokens.css +1 -1
- package/package.json +7 -7
package/dist/shop-presets.d.ts
CHANGED
|
@@ -7,7 +7,7 @@ export interface ShopPreset {
|
|
|
7
7
|
readonly name: string;
|
|
8
8
|
readonly trades: readonly ShopTrade[];
|
|
9
9
|
readonly paper: "plain" | "seyes" | "kraft" | "washi";
|
|
10
|
-
/** An accent of the brands: `
|
|
10
|
+
/** An accent of the brands: `folioviv`, or `folioviv:accent-2` (the copper). */
|
|
11
11
|
readonly accent: string;
|
|
12
12
|
/** The accents the owner may choose within this look: all tested. */
|
|
13
13
|
readonly accents: readonly string[];
|
|
@@ -17,7 +17,7 @@ export interface ShopPreset {
|
|
|
17
17
|
readonly photo: { readonly grade: "none" | "warm" | "cool"; readonly grain: 0 | 1; readonly radius: "none" | "xs"; /** A look's: `polaroid` borders the photo like a print. */ readonly frame?: "none" | "polaroid" };
|
|
18
18
|
/** The default variant per section type when a section is added. */
|
|
19
19
|
readonly variants: { readonly [type: string]: string };
|
|
20
|
-
/** A look's (`look-<name>`, trade-agnostic,
|
|
20
|
+
/** A look's (`look-<name>`, trade-agnostic, folioviv#478): the surface under the page. `deep` is the night's, a tinted dusk in light. */
|
|
21
21
|
readonly surface?: "paper" | "ink" | "warm" | "contrast" | "deep" | "dusk";
|
|
22
22
|
/** A look's: `still` · `soft` · `paper` · `lively`, the CSS motion mode of the page. */
|
|
23
23
|
readonly motion?: "still" | "soft" | "paper" | "lively";
|
package/dist/shop-presets.js
CHANGED
|
@@ -3,4 +3,4 @@
|
|
|
3
3
|
* variant of each section. `shop-presets.css` applies them: `[data-shop-preset="<id>"]`, and `[data-shop-accent]` for another
|
|
4
4
|
* accent of the preset's tested list.
|
|
5
5
|
*/
|
|
6
|
-
export const shopPresets = /* @__PURE__ */ Object.freeze([{"id":"cleaning-forfait","version":1,"name":"Forfait","trades":["cleaning"],"paper":"seyes","accent":"
|
|
6
|
+
export const shopPresets = /* @__PURE__ */ Object.freeze([{"id":"cleaning-forfait","version":1,"name":"Forfait","trades":["cleaning"],"paper":"seyes","accent":"folioviv","accents":["folioviv","folioviv:accent-2","krizaka","verikora"],"faces":{"title":"product-display","note":"mono"},"density":"compact","photo":{"grade":"none","grain":0,"radius":"xs"},"variants":{"hero":"banner","services":"cards","booking":"panel","faq":"list","policies":"inline"}},{"id":"cleaning-net","version":1,"name":"Net","trades":["cleaning"],"paper":"plain","accent":"krizaka","accents":["krizaka","folioviv","folioviv:accent-2","verikora"],"faces":{"title":"product-display","note":"mono"},"density":"compact","photo":{"grade":"cool","grain":0,"radius":"xs"},"variants":{"hero":"poster","services":"menu","booking":"strip","reviews":"strip","policies":"inline"}},{"id":"coaching-approche","version":1,"name":"Approche","trades":["coaching"],"paper":"washi","accent":"verikora","accents":["verikora","folioviv","folioviv:accent-2","krizaka"],"faces":{"title":"display","note":"mono"},"density":"airy","photo":{"grade":"cool","grain":0,"radius":"none"},"variants":{"hero":"banner","services":"cards","booking":"panel","story":"quote","faq":"list"}},{"id":"coaching-studio","version":1,"name":"Studio","trades":["coaching"],"paper":"plain","accent":"krizaka","accents":["krizaka","folioviv","folioviv:accent-2","verikora"],"faces":{"title":"product-display","note":"mono"},"density":"compact","photo":{"grade":"none","grain":0,"radius":"xs"},"variants":{"hero":"poster","services":"cards","booking":"panel","reviews":"summary-cards","story":"owner","faq":"list"}},{"id":"consulting-bureau","version":1,"name":"Bureau","trades":["consulting"],"paper":"plain","accent":"verikora","accents":["verikora","folioviv","folioviv:accent-2","krizaka"],"faces":{"title":"product-display","note":"mono"},"density":"compact","photo":{"grade":"none","grain":0,"radius":"xs"},"variants":{"hero":"banner","services":"cards","booking":"panel","story":"owner","team":"row"}},{"id":"consulting-cabinet","version":1,"name":"Cabinet","trades":["consulting"],"paper":"seyes","accent":"krizaka","accents":["krizaka","folioviv","folioviv:accent-2","verikora"],"faces":{"title":"display","note":"mono"},"density":"airy","photo":{"grade":"none","grain":0,"radius":"none"},"variants":{"hero":"split","services":"index","visit":"card","faq":"list","team":"cards"}},{"id":"look-affiche","version":1,"name":"Affiche","trades":["salon","pets","coaching","workshop","cleaning","consulting"],"paper":"plain","accent":"folioviv","accents":["folioviv","verikora"],"faces":{"title":"poster","note":"mono"},"density":"compact","photo":{"grade":"none","grain":0,"radius":"none","frame":"none"},"variants":{"hero":"banner","services":"menu","booking":"strip","gallery":"filmstrip","video":"shorts","reviews":"strip","bulletin":"banner","visit":"card"},"surface":"contrast","motion":"lively","mascots":"off","closing":"mark","transition":"slide"},{"id":"look-boutique","version":1,"name":"Boutique","trades":["salon","pets","coaching","workshop","cleaning","consulting"],"paper":"washi","accent":"folioviv:accent-2","accents":["folioviv:accent-2","folioviv"],"faces":{"title":"display","note":"cahier"},"density":"airy","photo":{"grade":"warm","grain":0,"radius":"xs","frame":"none"},"variants":{"hero":"poster","services":"cards","booking":"strip","gallery":"mosaic","video":"tv","reviews":"summary-cards","bulletin":"board","visit":"split"},"surface":"warm","motion":"soft","mascots":"off","closing":"photo","transition":"slide"},{"id":"look-cahier","version":1,"name":"Cahier","trades":["salon","pets","coaching","workshop","cleaning","consulting"],"paper":"seyes","accent":"folioviv","accents":["folioviv","folioviv:accent-2"],"faces":{"title":"display","note":"cahier"},"density":"airy","photo":{"grade":"warm","grain":1,"radius":"none","frame":"polaroid"},"variants":{"hero":"split","services":"index","booking":"strip","gallery":"wall","video":"tv","reviews":"quote","bulletin":"board","visit":"split"},"surface":"paper","motion":"paper","mascots":"off","closing":"stamp","transition":"channel"},{"id":"look-editorial","version":1,"name":"Éditorial","trades":["salon","pets","coaching","workshop","cleaning","consulting"],"paper":"plain","accent":"folioviv:accent-2","accents":["folioviv:accent-2","folioviv"],"faces":{"title":"display","note":"mono"},"density":"airy","photo":{"grade":"none","grain":0,"radius":"none","frame":"none"},"variants":{"hero":"banner","services":"menu","booking":"strip","gallery":"mosaic","video":"shorts","reviews":"quote","bulletin":"banner","visit":"split"},"surface":"paper","motion":"still","mascots":"off","closing":"photo","transition":"crossfade"},{"id":"look-krizaka","version":1,"name":"Krizaka","trades":["salon","pets","coaching","workshop","cleaning","consulting"],"paper":"plain","accent":"krizaka","accents":["krizaka","folioviv"],"faces":{"title":"product-display","note":"mono"},"density":"compact","photo":{"grade":"none","grain":0,"radius":"xs","frame":"none"},"variants":{"hero":"poster","services":"menu","booking":"strip","gallery":"mosaic","video":"tv","reviews":"summary-cards","bulletin":"banner","visit":"card"},"surface":"ink","motion":"soft","mascots":"on","closing":"pigeon","transition":"crossfade"},{"id":"look-nuit","version":1,"name":"Nuit","trades":["salon","pets","coaching","workshop","cleaning","consulting"],"paper":"plain","accent":"krizaka","accents":["krizaka","folioviv"],"faces":{"title":"product-display","note":"mono"},"density":"compact","photo":{"grade":"cool","grain":0,"radius":"xs","frame":"none"},"variants":{"hero":"tv","services":"menu","booking":"strip","gallery":"mosaic","video":"tv","reviews":"summary-cards","bulletin":"banner","visit":"map"},"surface":"deep","motion":"soft","mascots":"off","closing":"photo","transition":"crossfade"},{"id":"pets-canal","version":1,"name":"Canal","trades":["pets"],"paper":"plain","accent":"folioviv","accents":["folioviv","folioviv:accent-2","krizaka","verikora"],"faces":{"title":"product-display","note":"cahier"},"density":"compact","photo":{"grade":"none","grain":0,"radius":"xs"},"variants":{"hero":"poster","services":"menu","booking":"strip","gallery":"filmstrip","visit":"map"}},{"id":"pets-carnet","version":1,"name":"Carnet","trades":["pets"],"paper":"kraft","accent":"folioviv","accents":["folioviv","folioviv:accent-2","verikora"],"faces":{"title":"display","note":"cahier"},"density":"airy","photo":{"grade":"warm","grain":1,"radius":"none"},"variants":{"hero":"split","services":"index","booking":"panel","gallery":"wall","video":"tv","bulletin":"board"}},{"id":"salon-atelier","version":1,"name":"Atelier","trades":["salon"],"paper":"plain","accent":"folioviv:accent-2","accents":["folioviv:accent-2","folioviv","krizaka","verikora"],"faces":{"title":"display","note":"mono"},"density":"airy","photo":{"grade":"warm","grain":0,"radius":"none"},"variants":{"hero":"split","services":"menu","booking":"panel","gallery":"mosaic","reviews":"quote","story":"quote","visit":"split"}},{"id":"salon-vitrine","version":1,"name":"Vitrine","trades":["salon"],"paper":"plain","accent":"folioviv","accents":["folioviv","folioviv:accent-2","krizaka","verikora"],"faces":{"title":"product-display","note":"mono"},"density":"compact","photo":{"grade":"none","grain":0,"radius":"xs"},"variants":{"hero":"poster","services":"menu","booking":"strip","gallery":"filmstrip","reviews":"summary-cards","visit":"card"}},{"id":"workshop-atelier","version":1,"name":"Atelier","trades":["workshop"],"paper":"kraft","accent":"folioviv:accent-2","accents":["folioviv:accent-2","folioviv","verikora"],"faces":{"title":"display","note":"cahier"},"density":"airy","photo":{"grade":"warm","grain":1,"radius":"none"},"variants":{"hero":"split","services":"index","booking":"panel","gallery":"wall","story":"owner"}},{"id":"workshop-etabli","version":1,"name":"Établi","trades":["workshop"],"paper":"seyes","accent":"krizaka","accents":["krizaka","folioviv","folioviv:accent-2","verikora","sovkora"],"faces":{"title":"product-display","note":"mono"},"density":"compact","photo":{"grade":"none","grain":0,"radius":"xs"},"variants":{"hero":"banner","services":"menu","booking":"strip","gallery":"grid","visit":"card"}}]);
|
package/dist/tokens.css
CHANGED
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
--kz-text-muted: hsl(140 8% 68%); /* Métadonnées, placeholders, désactivé (≥ 4.5:1 sur chaque surface, texte courant inclus) */
|
|
26
26
|
--kz-text-title: var(--kz-text-primary); /* Titre de page, valeur d'une statistique (le registre produit l'encre ardoise) */
|
|
27
27
|
|
|
28
|
-
/* Accent : l'identité de la marque (Krizaka par défaut ;
|
|
28
|
+
/* Accent : l'identité de la marque (Krizaka par défaut ; Sovkora, Verikora, Folioviv dans src/brands). Surchargé par un thème de marque, jamais par un composant. */
|
|
29
29
|
--kz-accent: hsl(208 46% 45%); /* Action principale, lien, sélection */
|
|
30
30
|
--kz-accent-hover: hsl(208 48% 39%); /* Accent au survol */
|
|
31
31
|
--kz-accent-soft: hsl(208 46% 45% / 0.12); /* Fond teinté (sélection, badge) */
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@krizaka/tokens",
|
|
3
|
-
"version": "
|
|
4
|
-
"description": "The Krizaka semantic design tokens (--kz-*) and the brand themes (Krizaka,
|
|
3
|
+
"version": "4.0.0",
|
|
4
|
+
"description": "The Krizaka semantic design tokens (--kz-*) and the brand themes (Krizaka, Sovkora, Verikora, Folioviv): 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",
|
|
@@ -40,9 +40,9 @@
|
|
|
40
40
|
"import": "./dist/shop-presets.js"
|
|
41
41
|
},
|
|
42
42
|
"./brands/krizaka.css": "./dist/brands/krizaka.css",
|
|
43
|
-
"./brands/
|
|
44
|
-
"./brands/
|
|
45
|
-
"./brands/
|
|
43
|
+
"./brands/sovkora.css": "./dist/brands/sovkora.css",
|
|
44
|
+
"./brands/verikora.css": "./dist/brands/verikora.css",
|
|
45
|
+
"./brands/folioviv.css": "./dist/brands/folioviv.css",
|
|
46
46
|
"./brands/scoped.css": "./dist/brands/scoped.css",
|
|
47
47
|
"./native": {
|
|
48
48
|
"types": "./dist/native.d.ts",
|
|
@@ -86,7 +86,7 @@
|
|
|
86
86
|
},
|
|
87
87
|
{
|
|
88
88
|
"name": "./brands/<id>.css (each)",
|
|
89
|
-
"path": "dist/brands/
|
|
89
|
+
"path": "dist/brands/sovkora.css",
|
|
90
90
|
"limit": "0.8 kB",
|
|
91
91
|
"gzip": true,
|
|
92
92
|
"rolldown": false
|
|
@@ -130,6 +130,6 @@
|
|
|
130
130
|
"typecheck": "tsc --noEmit",
|
|
131
131
|
"test": "vitest run",
|
|
132
132
|
"size": "size-limit",
|
|
133
|
-
"publint": "publint && attw --pack . --profile esm-only --exclude-entrypoints ./tokens.css ./appearance.css ./shop-presets.css ./brands/krizaka.css ./brands/
|
|
133
|
+
"publint": "publint && attw --pack . --profile esm-only --exclude-entrypoints ./tokens.css ./appearance.css ./shop-presets.css ./brands/krizaka.css ./brands/sovkora.css ./brands/verikora.css ./brands/folioviv.css ./brands/scoped.css"
|
|
134
134
|
}
|
|
135
135
|
}
|