@maggioli-design-system/design-tokens 15.1.0 → 15.2.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 (49) hide show
  1. package/CHANGELOG.md +140 -0
  2. package/dist/android/colors.xml +1 -1
  3. package/dist/css/colors-hex-brand-rnd.css +2 -2
  4. package/dist/css/colors-hex-brand.css +2 -2
  5. package/dist/css/colors-hex-default.css +2 -2
  6. package/dist/css/colors-hex-label.css +2 -2
  7. package/dist/css/colors-hex-status.css +2 -2
  8. package/dist/css/colors-hex-theme.css +2 -2
  9. package/dist/css/colors-hex-tones.css +2 -2
  10. package/dist/css/colors-hex.css +2 -2
  11. package/dist/css/colors-rgb-brand-rnd.css +2 -2
  12. package/dist/css/colors-rgb-brand.css +2 -2
  13. package/dist/css/colors-rgb-default.css +2 -2
  14. package/dist/css/colors-rgb-label.css +2 -2
  15. package/dist/css/colors-rgb-status.css +2 -2
  16. package/dist/css/colors-rgb-theme.css +2 -2
  17. package/dist/css/colors-rgb-tones.css +2 -2
  18. package/dist/css/colors-rgb.css +2 -2
  19. package/dist/css/tailwind-theme-color.css +2 -2
  20. package/dist/css/tailwind-theme-typography.css +2 -2
  21. package/dist/css/transitions.css +2 -2
  22. package/dist/css/typography.css +2 -2
  23. package/dist/dtcg/base.tokens.json +139 -14
  24. package/dist/flutter/colors-brand-rnd.dart +2 -2
  25. package/dist/flutter/colors-brand.dart +2 -2
  26. package/dist/flutter/colors-default.dart +2 -2
  27. package/dist/flutter/colors-label.dart +2 -2
  28. package/dist/flutter/colors-status.dart +2 -2
  29. package/dist/flutter/colors-theme.dart +2 -2
  30. package/dist/flutter/colors-tones.dart +2 -2
  31. package/dist/flutter/colors.dart +2 -2
  32. package/dist/flutter/fonts.dart +2 -2
  33. package/dist/ios/StyleDictionaryColor.h +1 -1
  34. package/dist/ios/StyleDictionaryColor.m +1 -1
  35. package/dist/ios-swift/StyleDictionary.swift +1 -1
  36. package/dist/ios-swift/StyleDictionaryColor.swift +1 -1
  37. package/dist/js/colors-css-vars.js +2 -2
  38. package/dist/js/tailwind-colors-css-vars.js +2 -2
  39. package/dist/js/tailwind-font-family.js +2 -2
  40. package/dist/js/tailwind-font-size.js +2 -2
  41. package/dist/js/tailwind-leading.js +2 -2
  42. package/dist/js/tailwind-props.js +2 -2
  43. package/dist/js/tailwind-screens.js +2 -2
  44. package/dist/json/coolors.json +1 -1
  45. package/dist/package.json +3 -2
  46. package/dist/playground/assets/{index-CqMKBcLW.js → index-CBGr93ts.js} +1 -1
  47. package/dist/playground/index.html +1 -1
  48. package/dist/scss/variables.scss +1 -1
  49. package/package.json +3 -2
package/CHANGELOG.md ADDED
@@ -0,0 +1,140 @@
1
+ # Changelog
2
+
3
+ Every release of `@maggioli-design-system/design-tokens`, newest first. Each section is the body of the GitHub
4
+ release with the same tag, written by git-cliff from the conventional commits of the
5
+ package.
6
+
7
+ ## [design-tokens@15.2.0] - 2026-10-15
8
+
9
+ ### Build
10
+
11
+ - *(design-tokens,identity,styles,svg-icons,icons,magma)* Ship CHANGELOG.md in every package
12
+
13
+ ### Features
14
+
15
+ - *(design-tokens)* Describe every semantic role and group in the DTCG export
16
+
17
+ ## [design-tokens@15.1.0] - 2026-10-14
18
+
19
+ ### Documentation
20
+
21
+ - *(magma,styles,design-tokens)* Rewrite the color docs on the semantic layer
22
+ - *(magma,styles,design-tokens)* Align the styles and design-tokens docs with the build
23
+
24
+ ### Features
25
+
26
+ - *(design-tokens)* Export every global token as DTCG 2025.10 JSON
27
+
28
+ ### Refactor
29
+
30
+ - *(design-tokens,styles)* Build the semantic layer as data in design-tokens
31
+ - *(design-tokens)* Export the DTCG helpers the styles globals reuse
32
+
33
+ ## [design-tokens@15.0.1] - 2026-10-05
34
+
35
+ ### Bug Fixes
36
+
37
+ - *(design-tokens)* Import the scale helpers in the playground themes section
38
+
39
+ ## [design-tokens@15.0.0] - 2026-09-30
40
+
41
+ ### Bug Fixes
42
+
43
+ - *(design-tokens)* Stop deepMerge from mutating module-level defaults
44
+ - *(design-tokens)* Make the published cli runnable
45
+ - *(design-tokens)* Keep the new-color dialog open on outside clicks
46
+ - *(design-tokens)* Make token export deterministic and writes reliable
47
+ - *(design-tokens)* Clear error when a color references an undefined ratios scale
48
+ - *(design-tokens)* Flag only real overrides in the groups view
49
+ - *(design-tokens)* Hide the playground picker in surfaces, groups and diff
50
+ - *(design-tokens)* Preview the neutral ink on colored surfaces, not #000
51
+ - *(design-tokens)* Playground surface preview - one family at a time, step charts on top
52
+ - *(design-tokens)* Retune the text targets so no two text roles collapse onto one step
53
+ - *(design-tokens)* Spell the leonardo background color name correctly
54
+
55
+ ### Changes
56
+
57
+ - *(design-tokens)* Raise the hue shift angle limit to 180 degrees
58
+ - *(design-tokens)* Easing-based distribution modes for contrast scales
59
+ - *(design-tokens)* Name colors via color-namer in the playground
60
+ - *(design-tokens)* Restructure playground navigation around colors, scales and groups
61
+ - *(design-tokens)* Select the first involved color when switching scale
62
+ - *(design-tokens)* Tag built-in-only ratio scales in the playground selects
63
+ - *(design-tokens)* Retune the default surface, border and text ramp
64
+
65
+ ### Documentation
66
+
67
+ - *(design-tokens)* Add configuration reference and generation model to readme
68
+ - *(design-tokens)* Document the nx playground target
69
+
70
+ ### Features
71
+
72
+ - *(design-tokens)* Add GIMP palette format and update configuration for design tokens
73
+ - *(design-tokens)* Add hue shifting support to color token generation
74
+ - *(design-tokens)* Add config playground with live palette preview
75
+ - *(design-tokens)* Make hue shift inheritance explicit in the playground
76
+ - *(design-tokens)* Load and download configs from the playground
77
+ - *(design-tokens)* Manage contrast scales in the playground
78
+ - *(design-tokens)* Full easing set and free scale deletion in the playground
79
+ - *(design-tokens)* Auto-name colors from their value in the playground
80
+ - *(design-tokens)* Create colors from a picker dialog in the playground
81
+ - *(design-tokens)* Group-level ratios and formula
82
+ - *(design-tokens)* Download generated tokens as a zip from the playground
83
+ - *(design-tokens)* Download menu with per-format token exports
84
+ - *(design-tokens)* Group-level export targets
85
+ - *(design-tokens)* Diversify CSS and GIMP downloads per export group
86
+ - *(design-tokens)* Batch export editing across groups in the playground
87
+ - *(design-tokens)* Toggle to show only selected color scales in groups
88
+ - *(design-tokens)* Add `ui` command serving the playground with a config API
89
+ - *(design-tokens)* Save, persist and reset the playground config in the ui
90
+ - *(design-tokens)* Add a JSON Schema and validate configs against it
91
+ - *(design-tokens)* Add a diff view to the playground
92
+ - *(design-tokens)* Group selected colors on top in the groups view
93
+ - *(design-tokens)* Export Figma color tokens in the DTCG standard format
94
+ - *(design-tokens)* Download DTCG Figma tokens from the playground
95
+ - *(design-tokens)* Flag built-in contrast scales in the playground
96
+ - *(design-tokens)* Lightness-based surface + border token engine (#571)
97
+ - *(design-tokens)* Explicit contrast bounds + ratio validation (#578)
98
+ - *(design-tokens)* Usable-band visualization in the scales playground (#578)
99
+ - *(design-tokens)* Surface editor view in the playground (#571)
100
+ - *(design-tokens)* Explain each semantic role in the surfaces view (#571)
101
+ - *(design-tokens)* [**breaking**] Emit --tone-*-seed for the pure extreme (#572)
102
+ - *(design-tokens)* Add by-target text-role engine (#591)
103
+ - *(design-tokens)* Text roles in the playground surface view (#591)
104
+ - *(design-tokens)* Add APCA contrast gate for semantic pairs (#575)
105
+ - *(design-tokens)* Add surface preview aids to the playground
106
+ - *(design-tokens)* Pick text-role step by worst-case surface (A7)
107
+ - *(design-tokens)* Back a foreground from any surface-opted family, not just tone
108
+ - *(design-tokens)* Derive themes from the surfaces opt-in in the playground
109
+ - *(design-tokens)* Slider per i lightness levels nel playground
110
+ - *(design-tokens)* Add the themes map to the semantic config
111
+ - *(design-tokens)* Make variant reference its source via the alias field
112
+ - *(design-tokens)* Declare the accent roles and gate their contrast
113
+ - *(design-tokens)* Alias-aware colors editor in playground
114
+ - *(design-tokens)* Declare accent interaction-state steps and gate them
115
+ - *(design-tokens)* Add shared accent theme-override helper and playground accent section
116
+ - *(design-tokens,stencil,styles)* Collapse accent roles to {accent, ai}
117
+ - *(design-tokens)* Enforce variant alias-only model in playground
118
+ - *(design-tokens)* Two-column themes workbench with tabbed preview
119
+ - *(design-tokens)* Opt a whole group into surfaces, with status always on
120
+ - *(design-tokens)* Promote semantic roles under pref-contrast-more
121
+ - *(design-tokens,styles,stencil)* Publish the hue role scales and promote them under pref-contrast-more
122
+ - *(design-tokens)* Retune the border ramp and gate it in the playground
123
+ - *(design-tokens,styles,stencil)* Retint the raw ramp with the theme via --magma-scale-*
124
+ - *(design-tokens,styles,stencil)* Give the colored hues the emphasis band states
125
+ - *(design-tokens,styles)* Give the neutral pills a wash band
126
+ - *(design-tokens,styles,stencil)* A shadow ink role, the ring family back, and a guard
127
+ - *(design-tokens)* Add the radius scale tuned for the squircle
128
+ - *(design-tokens)* Take the page to the paper of the mode under contrast-more
129
+ - *(design-tokens)* Move the accent ink to step 03
130
+ - *(design-tokens)* Add the less marked level of the inverse surface
131
+
132
+ ### Refactor
133
+
134
+ - *(design-tokens)* Retune built-in wcag3 ratios within the APCA band
135
+ - *(design-tokens)* Rifinisci il layout degli slider dei lightness levels
136
+ - *(design-tokens,styles,stencil)* Name the hue background levels wash-*, not surface-*
137
+
138
+ ### Styling
139
+
140
+ - *(design-tokens)* Cap hue shift slider width in the playground
@@ -2,7 +2,7 @@
2
2
 
3
3
  <!--
4
4
  Do not edit directly
5
- Generated on Wed, 14 Oct 2026 12:21:44 GMT
5
+ Generated on Thu, 15 Oct 2026 16:06:42 GMT
6
6
  -->
7
7
  <resources>
8
8
  <color name="color_tone_porcelain_light_1">#ff040506</color>
@@ -1,8 +1,8 @@
1
1
  /*
2
- @magma-design-system/design-tokens v15.1.0
2
+ @magma-design-system/design-tokens v15.2.0
3
3
  Generated by Style Dictionary
4
4
  Do not edit directly
5
- Generated at Wed, 14 Oct 2026 12:21:44 GMT
5
+ Generated at Thu, 15 Oct 2026 16:06:42 GMT
6
6
  */
7
7
 
8
8
  :root {
@@ -1,8 +1,8 @@
1
1
  /*
2
- @magma-design-system/design-tokens v15.1.0
2
+ @magma-design-system/design-tokens v15.2.0
3
3
  Generated by Style Dictionary
4
4
  Do not edit directly
5
- Generated at Wed, 14 Oct 2026 12:21:44 GMT
5
+ Generated at Thu, 15 Oct 2026 16:06:42 GMT
6
6
  */
7
7
 
8
8
  :root {
@@ -1,8 +1,8 @@
1
1
  /*
2
- @magma-design-system/design-tokens v15.1.0
2
+ @magma-design-system/design-tokens v15.2.0
3
3
  Generated by Style Dictionary
4
4
  Do not edit directly
5
- Generated at Wed, 14 Oct 2026 12:21:44 GMT
5
+ Generated at Thu, 15 Oct 2026 16:06:42 GMT
6
6
  */
7
7
 
8
8
  :root {
@@ -1,8 +1,8 @@
1
1
  /*
2
- @magma-design-system/design-tokens v15.1.0
2
+ @magma-design-system/design-tokens v15.2.0
3
3
  Generated by Style Dictionary
4
4
  Do not edit directly
5
- Generated at Wed, 14 Oct 2026 12:21:44 GMT
5
+ Generated at Thu, 15 Oct 2026 16:06:42 GMT
6
6
  */
7
7
 
8
8
  :root {
@@ -1,8 +1,8 @@
1
1
  /*
2
- @magma-design-system/design-tokens v15.1.0
2
+ @magma-design-system/design-tokens v15.2.0
3
3
  Generated by Style Dictionary
4
4
  Do not edit directly
5
- Generated at Wed, 14 Oct 2026 12:21:44 GMT
5
+ Generated at Thu, 15 Oct 2026 16:06:42 GMT
6
6
  */
7
7
 
8
8
  :root {
@@ -1,8 +1,8 @@
1
1
  /*
2
- @magma-design-system/design-tokens v15.1.0
2
+ @magma-design-system/design-tokens v15.2.0
3
3
  Generated by Style Dictionary
4
4
  Do not edit directly
5
- Generated at Wed, 14 Oct 2026 12:21:44 GMT
5
+ Generated at Thu, 15 Oct 2026 16:06:42 GMT
6
6
  */
7
7
 
8
8
  :root {
@@ -1,8 +1,8 @@
1
1
  /*
2
- @magma-design-system/design-tokens v15.1.0
2
+ @magma-design-system/design-tokens v15.2.0
3
3
  Generated by Style Dictionary
4
4
  Do not edit directly
5
- Generated at Wed, 14 Oct 2026 12:21:44 GMT
5
+ Generated at Thu, 15 Oct 2026 16:06:42 GMT
6
6
  */
7
7
 
8
8
  :root {
@@ -1,8 +1,8 @@
1
1
  /*
2
- @magma-design-system/design-tokens v15.1.0
2
+ @magma-design-system/design-tokens v15.2.0
3
3
  Generated by Style Dictionary
4
4
  Do not edit directly
5
- Generated at Wed, 14 Oct 2026 12:21:44 GMT
5
+ Generated at Thu, 15 Oct 2026 16:06:42 GMT
6
6
  */
7
7
 
8
8
  :root {
@@ -1,8 +1,8 @@
1
1
  /*
2
- @magma-design-system/design-tokens v15.1.0
2
+ @magma-design-system/design-tokens v15.2.0
3
3
  Generated by Style Dictionary
4
4
  Do not edit directly
5
- Generated at Wed, 14 Oct 2026 12:21:44 GMT
5
+ Generated at Thu, 15 Oct 2026 16:06:42 GMT
6
6
  */
7
7
 
8
8
  :root {
@@ -1,8 +1,8 @@
1
1
  /*
2
- @magma-design-system/design-tokens v15.1.0
2
+ @magma-design-system/design-tokens v15.2.0
3
3
  Generated by Style Dictionary
4
4
  Do not edit directly
5
- Generated at Wed, 14 Oct 2026 12:21:44 GMT
5
+ Generated at Thu, 15 Oct 2026 16:06:42 GMT
6
6
  */
7
7
 
8
8
  :root {
@@ -1,8 +1,8 @@
1
1
  /*
2
- @magma-design-system/design-tokens v15.1.0
2
+ @magma-design-system/design-tokens v15.2.0
3
3
  Generated by Style Dictionary
4
4
  Do not edit directly
5
- Generated at Wed, 14 Oct 2026 12:21:44 GMT
5
+ Generated at Thu, 15 Oct 2026 16:06:42 GMT
6
6
  */
7
7
 
8
8
  :root {
@@ -1,8 +1,8 @@
1
1
  /*
2
- @magma-design-system/design-tokens v15.1.0
2
+ @magma-design-system/design-tokens v15.2.0
3
3
  Generated by Style Dictionary
4
4
  Do not edit directly
5
- Generated at Wed, 14 Oct 2026 12:21:44 GMT
5
+ Generated at Thu, 15 Oct 2026 16:06:42 GMT
6
6
  */
7
7
 
8
8
  :root {
@@ -1,8 +1,8 @@
1
1
  /*
2
- @magma-design-system/design-tokens v15.1.0
2
+ @magma-design-system/design-tokens v15.2.0
3
3
  Generated by Style Dictionary
4
4
  Do not edit directly
5
- Generated at Wed, 14 Oct 2026 12:21:44 GMT
5
+ Generated at Thu, 15 Oct 2026 16:06:42 GMT
6
6
  */
7
7
 
8
8
  :root {
@@ -1,8 +1,8 @@
1
1
  /*
2
- @magma-design-system/design-tokens v15.1.0
2
+ @magma-design-system/design-tokens v15.2.0
3
3
  Generated by Style Dictionary
4
4
  Do not edit directly
5
- Generated at Wed, 14 Oct 2026 12:21:44 GMT
5
+ Generated at Thu, 15 Oct 2026 16:06:42 GMT
6
6
  */
7
7
 
8
8
  :root {
@@ -1,8 +1,8 @@
1
1
  /*
2
- @magma-design-system/design-tokens v15.1.0
2
+ @magma-design-system/design-tokens v15.2.0
3
3
  Generated by Style Dictionary
4
4
  Do not edit directly
5
- Generated at Wed, 14 Oct 2026 12:21:44 GMT
5
+ Generated at Thu, 15 Oct 2026 16:06:42 GMT
6
6
  */
7
7
 
8
8
  :root {
@@ -1,8 +1,8 @@
1
1
  /*
2
- @magma-design-system/design-tokens v15.1.0
2
+ @magma-design-system/design-tokens v15.2.0
3
3
  Generated by Style Dictionary
4
4
  Do not edit directly
5
- Generated at Wed, 14 Oct 2026 12:21:44 GMT
5
+ Generated at Thu, 15 Oct 2026 16:06:42 GMT
6
6
  */
7
7
 
8
8
  :root {
@@ -1,8 +1,8 @@
1
1
  /*
2
- @magma-design-system/design-tokens v15.1.0
2
+ @magma-design-system/design-tokens v15.2.0
3
3
  Generated by Style Dictionary
4
4
  Do not edit directly
5
- Generated at Wed, 14 Oct 2026 12:21:44 GMT
5
+ Generated at Thu, 15 Oct 2026 16:06:42 GMT
6
6
  */
7
7
 
8
8
  @theme {
@@ -1,8 +1,8 @@
1
1
  /*
2
- @magma-design-system/design-tokens v15.1.0
2
+ @magma-design-system/design-tokens v15.2.0
3
3
  Generated by Style Dictionary
4
4
  Do not edit directly
5
- Generated at Wed, 14 Oct 2026 12:21:44 GMT
5
+ Generated at Thu, 15 Oct 2026 16:06:42 GMT
6
6
  */
7
7
 
8
8
  @theme {
@@ -1,8 +1,8 @@
1
1
  /*
2
- @magma-design-system/design-tokens v15.1.0
2
+ @magma-design-system/design-tokens v15.2.0
3
3
  Generated by Style Dictionary
4
4
  Do not edit directly
5
- Generated at Wed, 14 Oct 2026 12:21:44 GMT
5
+ Generated at Thu, 15 Oct 2026 16:06:42 GMT
6
6
  */
7
7
 
8
8
  :root {
@@ -1,8 +1,8 @@
1
1
  /*
2
- @magma-design-system/design-tokens v15.1.0
2
+ @magma-design-system/design-tokens v15.2.0
3
3
  Generated by Style Dictionary
4
4
  Do not edit directly
5
- Generated at Wed, 14 Oct 2026 12:21:44 GMT
5
+ Generated at Thu, 15 Oct 2026 16:06:42 GMT
6
6
  */
7
7
 
8
8
  :root {