@infomaniak-design-system/tokens 0.3.0 → 0.4.0-dev.1787557305508

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 CHANGED
@@ -1,5 +1,11 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.4.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#308](https://github.com/Infomaniak/design-system/pull/308) [`b59d9bd`](https://github.com/Infomaniak/design-system/commit/b59d9bd4f74ad883d877c4bd799113c35366d262): Separate Tailwind CSS v4 integration: the `tailwind.css` stylesheet maps all design tokens to Tailwind theme namespaces (`--color-*`, `--font-*`, `--text-*`, `--font-weight-*`, `--tracking-*`, `--radius-*`, `--blur-*`) via `@theme inline`. New `esds-heading-*` and `esds-body-*` utility classes are also available to apply typography text styles directly through Tailwind.
8
+
3
9
  ## 0.3.0
4
10
 
5
11
  ### Minor Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@infomaniak-design-system/tokens",
3
- "version": "0.3.0",
3
+ "version": "0.4.0-dev.1787557305508",
4
4
  "type": "module",
5
5
  "description": "Infomaniak's Design System - Tokens",
6
6
  "keywords": [
package/tailwind.css CHANGED
@@ -1497,3 +1497,42 @@
1497
1497
  --text-5xl--line-height: var(--esds-text-5xl-line-height);
1498
1498
  --spacing: 0.25rem;
1499
1499
  }
1500
+
1501
+ @layer components {
1502
+ .esds-heading-xs {
1503
+ font: var(--esds-heading-xs-font);
1504
+ }
1505
+
1506
+ .esds-heading-sm {
1507
+ font: var(--esds-heading-sm-font);
1508
+ }
1509
+
1510
+ .esds-heading-md {
1511
+ font: var(--esds-heading-md-font);
1512
+ }
1513
+
1514
+ .esds-heading-lg {
1515
+ font: var(--esds-heading-lg-font);
1516
+ }
1517
+
1518
+ .esds-heading-xl {
1519
+ font: var(--esds-heading-xl-font);
1520
+ }
1521
+ }
1522
+ @layer components {
1523
+ .esds-body-xs {
1524
+ font: var(--esds-body-xs-font);
1525
+ }
1526
+
1527
+ .esds-body-sm {
1528
+ font: var(--esds-body-sm-font);
1529
+ }
1530
+
1531
+ .esds-body-md {
1532
+ font: var(--esds-body-md-font);
1533
+ }
1534
+
1535
+ .esds-body-lg {
1536
+ font: var(--esds-body-lg-font);
1537
+ }
1538
+ }