@infomaniak-design-system/tokens 0.4.0 → 0.4.1-dev.1788945129713
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/CHANGELOG.md +6 -0
- package/README.md +8 -0
- package/css/material/modifiers/theme/dark.attr.css +2 -2
- package/css/material/modifiers/theme/dark.root.css +2 -2
- package/css/material/tokens.attr.css +2 -1
- package/css/material/tokens.root.css +2 -1
- package/css/modifiers/theme/dark.attr.css +2 -2
- package/css/modifiers/theme/dark.root.css +2 -2
- package/css/tokens.attr.css +2 -1
- package/css/tokens.root.css +2 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.4.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#337](https://github.com/Infomaniak/design-system/pull/337) [`755ea1f`](https://github.com/Infomaniak/design-system/commit/755ea1f763e269e3de03895b879b9d0ab233a623): Fixed the dark mode `color-bg-feedback-warning` dim2 token, which referenced the wrong color family (red instead of orange). The warning background now renders with the intended orange shade in dark mode.
|
|
8
|
+
|
|
3
9
|
## 0.4.0
|
|
4
10
|
|
|
5
11
|
### Minor Changes
|
package/README.md
CHANGED
|
@@ -283,3 +283,11 @@ yarn build
|
|
|
283
283
|
```
|
|
284
284
|
|
|
285
285
|
Open the file `packages/tokens/dist/figma.tokens.json`, copy its content, and follow [the instructions](../../docs/figma/tokens-bruecke/figma-tokens-bruecke.md) to import the tokens into figma.
|
|
286
|
+
|
|
287
|
+
## Semantic versioning
|
|
288
|
+
|
|
289
|
+
The **code** is the source of truth for the semantic versioning.
|
|
290
|
+
|
|
291
|
+
The version is generated automatically when the `develop -> main` PR is undrafted.
|
|
292
|
+
When the merge occurs, the packages are published automatically with their final version.
|
|
293
|
+
Then we create **manually** a version with the same number in the Figma `Token core` file, to keep both worlds in sync.
|
|
@@ -181,8 +181,8 @@
|
|
|
181
181
|
/*
|
|
182
182
|
* Subtle warning background (dim3).
|
|
183
183
|
*/
|
|
184
|
-
--esds-color-background-feedback-warning-dim3: var(--esds-color-
|
|
185
|
-
--esds-color-background-feedback-warning-dim3-a: var(--esds-color-
|
|
184
|
+
--esds-color-background-feedback-warning-dim3: var(--esds-color-orange-950);
|
|
185
|
+
--esds-color-background-feedback-warning-dim3-a: var(--esds-color-orange-950-a);
|
|
186
186
|
/*
|
|
187
187
|
* Strong error background (dim1).
|
|
188
188
|
*/
|
|
@@ -182,8 +182,8 @@
|
|
|
182
182
|
/*
|
|
183
183
|
* Subtle warning background (dim3).
|
|
184
184
|
*/
|
|
185
|
-
--esds-color-background-feedback-warning-dim3: var(--esds-color-
|
|
186
|
-
--esds-color-background-feedback-warning-dim3-a: var(--esds-color-
|
|
185
|
+
--esds-color-background-feedback-warning-dim3: var(--esds-color-orange-950);
|
|
186
|
+
--esds-color-background-feedback-warning-dim3-a: var(--esds-color-orange-950-a);
|
|
187
187
|
/*
|
|
188
188
|
* Strong error background (dim1).
|
|
189
189
|
*/
|
|
@@ -411,6 +411,7 @@
|
|
|
411
411
|
--esds-font-line-height-48: 48px;
|
|
412
412
|
--esds-font-line-height-56: 56px;
|
|
413
413
|
--esds-font-family-suisse-int-l: "Suisse Int'l";
|
|
414
|
+
--esds-font-family-infomaniak-sans: "Infomaniak Sans";
|
|
414
415
|
--esds-opacity-0: 0;
|
|
415
416
|
--esds-opacity-5: 0.05;
|
|
416
417
|
--esds-opacity-10: 0.1;
|
|
@@ -1423,7 +1424,7 @@
|
|
|
1423
1424
|
/*
|
|
1424
1425
|
* Base font family used across the design system.
|
|
1425
1426
|
*/
|
|
1426
|
-
--esds-font-family-base: var(--esds-font-family-
|
|
1427
|
+
--esds-font-family-base: var(--esds-font-family-infomaniak-sans);
|
|
1427
1428
|
/*
|
|
1428
1429
|
* Extra-small line-height for the tightest text.
|
|
1429
1430
|
*/
|
|
@@ -412,6 +412,7 @@
|
|
|
412
412
|
--esds-font-line-height-48: 48px;
|
|
413
413
|
--esds-font-line-height-56: 56px;
|
|
414
414
|
--esds-font-family-suisse-int-l: "Suisse Int'l";
|
|
415
|
+
--esds-font-family-infomaniak-sans: "Infomaniak Sans";
|
|
415
416
|
--esds-opacity-0: 0;
|
|
416
417
|
--esds-opacity-5: 0.05;
|
|
417
418
|
--esds-opacity-10: 0.1;
|
|
@@ -1424,7 +1425,7 @@
|
|
|
1424
1425
|
/*
|
|
1425
1426
|
* Base font family used across the design system.
|
|
1426
1427
|
*/
|
|
1427
|
-
--esds-font-family-base: var(--esds-font-family-
|
|
1428
|
+
--esds-font-family-base: var(--esds-font-family-infomaniak-sans);
|
|
1428
1429
|
/*
|
|
1429
1430
|
* Extra-small line-height for the tightest text.
|
|
1430
1431
|
*/
|
|
@@ -181,8 +181,8 @@
|
|
|
181
181
|
/*
|
|
182
182
|
* Subtle warning background (dim3).
|
|
183
183
|
*/
|
|
184
|
-
--esds-color-background-feedback-warning-dim3: var(--esds-color-
|
|
185
|
-
--esds-color-background-feedback-warning-dim3-a: var(--esds-color-
|
|
184
|
+
--esds-color-background-feedback-warning-dim3: var(--esds-color-orange-950);
|
|
185
|
+
--esds-color-background-feedback-warning-dim3-a: var(--esds-color-orange-950-a);
|
|
186
186
|
/*
|
|
187
187
|
* Strong error background (dim1).
|
|
188
188
|
*/
|
|
@@ -182,8 +182,8 @@
|
|
|
182
182
|
/*
|
|
183
183
|
* Subtle warning background (dim3).
|
|
184
184
|
*/
|
|
185
|
-
--esds-color-background-feedback-warning-dim3: var(--esds-color-
|
|
186
|
-
--esds-color-background-feedback-warning-dim3-a: var(--esds-color-
|
|
185
|
+
--esds-color-background-feedback-warning-dim3: var(--esds-color-orange-950);
|
|
186
|
+
--esds-color-background-feedback-warning-dim3-a: var(--esds-color-orange-950-a);
|
|
187
187
|
/*
|
|
188
188
|
* Strong error background (dim1).
|
|
189
189
|
*/
|
package/css/tokens.attr.css
CHANGED
|
@@ -411,6 +411,7 @@
|
|
|
411
411
|
--esds-font-line-height-48: 48px;
|
|
412
412
|
--esds-font-line-height-56: 56px;
|
|
413
413
|
--esds-font-family-suisse-int-l: "Suisse Int'l";
|
|
414
|
+
--esds-font-family-infomaniak-sans: "Infomaniak Sans";
|
|
414
415
|
--esds-opacity-0: 0;
|
|
415
416
|
--esds-opacity-5: 0.05;
|
|
416
417
|
--esds-opacity-10: 0.1;
|
|
@@ -1423,7 +1424,7 @@
|
|
|
1423
1424
|
/*
|
|
1424
1425
|
* Base font family used across the design system.
|
|
1425
1426
|
*/
|
|
1426
|
-
--esds-font-family-base: var(--esds-font-family-
|
|
1427
|
+
--esds-font-family-base: var(--esds-font-family-infomaniak-sans);
|
|
1427
1428
|
/*
|
|
1428
1429
|
* Extra-small line-height for the tightest text.
|
|
1429
1430
|
*/
|
package/css/tokens.root.css
CHANGED
|
@@ -412,6 +412,7 @@
|
|
|
412
412
|
--esds-font-line-height-48: 48px;
|
|
413
413
|
--esds-font-line-height-56: 56px;
|
|
414
414
|
--esds-font-family-suisse-int-l: "Suisse Int'l";
|
|
415
|
+
--esds-font-family-infomaniak-sans: "Infomaniak Sans";
|
|
415
416
|
--esds-opacity-0: 0;
|
|
416
417
|
--esds-opacity-5: 0.05;
|
|
417
418
|
--esds-opacity-10: 0.1;
|
|
@@ -1424,7 +1425,7 @@
|
|
|
1424
1425
|
/*
|
|
1425
1426
|
* Base font family used across the design system.
|
|
1426
1427
|
*/
|
|
1427
|
-
--esds-font-family-base: var(--esds-font-family-
|
|
1428
|
+
--esds-font-family-base: var(--esds-font-family-infomaniak-sans);
|
|
1428
1429
|
/*
|
|
1429
1430
|
* Extra-small line-height for the tightest text.
|
|
1430
1431
|
*/
|