skcr-design-tokens 2.1.1 → 2.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.
- package/README.md +8 -0
- package/components.css +10 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -62,6 +62,14 @@ Angular applications then use `skcr-autechre`'s `ThemeService` for toggling and
|
|
|
62
62
|
cross-tab synchronization. It does not do the initialization: the script above
|
|
63
63
|
has already done it.
|
|
64
64
|
|
|
65
|
+
## Upgrading to 2.2.0
|
|
66
|
+
|
|
67
|
+
Two classes added, nothing changes for existing screens: **`.badge-success`** and
|
|
68
|
+
**`.badge-info`**, the design's count badges (« Filters 2 », « Columns 7 », the selected metrics of
|
|
69
|
+
a group). A status pair — `success-foreground` / `success`, `info-foreground` / `info` — so the
|
|
70
|
+
same light pill in both themes, its text in the status colour. They replace the pills the
|
|
71
|
+
applications wrote by hand (`px-2 py-0.5 rounded-lg bg-success-foreground text-success`).
|
|
72
|
+
|
|
65
73
|
## Upgrading to 2.1.1
|
|
66
74
|
|
|
67
75
|
One rendering change, aligned on the design's screens: `.btn` takes `shadow-xs` instead of
|
package/components.css
CHANGED
|
@@ -138,6 +138,16 @@
|
|
|
138
138
|
@apply border-primary-300 bg-primary-100;
|
|
139
139
|
}
|
|
140
140
|
|
|
141
|
+
/* 2.2.0: the design's count badges (Filters, Columns, the metric groups) — a status pair, so
|
|
142
|
+
the same light pill in both themes, its text in the status colour rather than slate-950. */
|
|
143
|
+
&.badge-success {
|
|
144
|
+
@apply bg-success-foreground text-success;
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
&.badge-info {
|
|
148
|
+
@apply bg-info-foreground text-info;
|
|
149
|
+
}
|
|
150
|
+
|
|
141
151
|
&.badge-green {
|
|
142
152
|
@apply border-green-300 bg-green-100;
|
|
143
153
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "skcr-design-tokens",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.2.0",
|
|
4
4
|
"description": "Design system SkillCorner : tokens de couleur, utilitaires typographiques et classes de composants. CSS pur, sans dépendance.",
|
|
5
5
|
"license": "UNLICENSED",
|
|
6
6
|
"sideEffects": [
|