@design-system-rte/core 0.3.0 → 0.7.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 (52) hide show
  1. package/CHANGELOG.md +7 -0
  2. package/components/button/button.interface.d.ts +2 -4
  3. package/components/button/{button.constants.ts → common/common-button.constants.ts} +1 -1
  4. package/components/button/common/common-button.d.ts +2 -0
  5. package/components/button/icon-button/icon-button.interface.d.ts +12 -0
  6. package/components/grid/grid.scss +21 -20
  7. package/components/grid/grid.stories.scss +2 -2
  8. package/components/icon/icon-utils.ts +3 -0
  9. package/components/split-button/split-button.constants.ts +13 -0
  10. package/components/split-button/split-button.interface.d.ts +19 -0
  11. package/constants/keyboard.constants.ts +1 -0
  12. package/css/bleu_iceberg.css +1 -1
  13. package/css/rte-themes.css +1 -1
  14. package/css/vert_foret.css +1 -1
  15. package/design-tokens/generator.ts +15 -0
  16. package/design-tokens/main.scss +10 -0
  17. package/design-tokens/scripts/common.ts +28 -0
  18. package/design-tokens/scripts/primitives-generator.spec.ts +84 -0
  19. package/{tokens → design-tokens/scripts}/primitives-generator.ts +9 -17
  20. package/design-tokens/scripts/tokens-generator.spec.ts +184 -0
  21. package/design-tokens/scripts/tokens-generator.ts +128 -0
  22. package/design-tokens/scripts/tokens-generators/colors.ts +133 -0
  23. package/design-tokens/scripts/tokens-generators/layout.ts +22 -0
  24. package/design-tokens/scripts/tokens-generators/opacity.ts +14 -0
  25. package/design-tokens/scripts/tokens-generators/shadows.ts +18 -0
  26. package/design-tokens/scripts/tokens-generators/typography.ts +58 -0
  27. package/design-tokens/tokens/_elevation.scss +144 -0
  28. package/design-tokens/tokens/_mixins.scss +250 -0
  29. package/design-tokens/tokens/_shadows.scss +36 -0
  30. package/design-tokens/tokens/_themes.scss +14 -0
  31. package/{tokens → design-tokens/tokens}/_typography.scss +2 -2
  32. package/design-tokens/tokens/themes/_bleu-iceberg-dark.scss +163 -0
  33. package/design-tokens/tokens/themes/_bleu-iceberg-light.scss +163 -0
  34. package/design-tokens/tokens/themes/_main.scss +6 -0
  35. package/design-tokens/tokens/themes/_vert-foret-dark.scss +163 -0
  36. package/design-tokens/tokens/themes/_vert-foret-light.scss +163 -0
  37. package/design-tokens/tokens/themes/_violet-dark.scss +163 -0
  38. package/design-tokens/tokens/themes/_violet-light.scss +163 -0
  39. package/package.json +6 -5
  40. package/tokens/_mixins.scss +0 -284
  41. package/tokens/_shadows.scss +0 -36
  42. package/tokens/_themes.scss +0 -914
  43. package/tokens/main.scss +0 -9
  44. package/tokens/tokens-generator.ts +0 -197
  45. /package/{tokens → design-tokens}/primitives/_colors.scss +0 -0
  46. /package/{tokens → design-tokens}/primitives/_devColors.scss +0 -0
  47. /package/{tokens → design-tokens}/primitives/_typography.scss +0 -0
  48. /package/{tokens → design-tokens/tokens}/_border.scss +0 -0
  49. /package/{tokens → design-tokens/tokens}/_layout.scss +0 -0
  50. /package/{tokens → design-tokens/tokens}/_opacity.scss +0 -0
  51. /package/{tokens → design-tokens/tokens}/_size.scss +0 -0
  52. /package/{tokens → design-tokens/tokens}/_spacing.scss +0 -0
@@ -0,0 +1,163 @@
1
+ @use '../../primitives/colors' as *;
2
+ @use '../../primitives/devColors' as *;
3
+
4
+ $violet-light: (
5
+ "background-default": $core-white,
6
+ "background-hover": $greyscale-50,
7
+ "background-pressed": $greyscale-100,
8
+ "background-disabled": $greyscale-0,
9
+ "background-inverse": $greyscale-900,
10
+ "background-brand-default": $violet-600,
11
+ "background-brand-hover": $violet-700,
12
+ "background-brand-pressed": $violet-800,
13
+ "background-brand-selected-default": $violet-600,
14
+ "background-brand-selected-hover": $violet-700,
15
+ "background-brand-unselected-default": $violet-100,
16
+ "background-brand-unselected-hover": $violet-200,
17
+ "background-brand-inverse-default": $core-white,
18
+ "background-brand-inverse-hover": $violet-50,
19
+ "background-brand-inverse-pressed": $violet-100,
20
+ "background-danger-default": $rouge-indications-600,
21
+ "background-danger-hover": $rouge-indications-700,
22
+ "background-danger-pressed": $rouge-indications-800,
23
+ "background-status-info-subtle": $bleu-digital-100,
24
+ "background-status-info": $bleu-digital-400,
25
+ "background-status-warning": $jaune-500,
26
+ "background-status-warning-subtle": $jaune-100,
27
+ "background-status-success": $vert-digital-400,
28
+ "background-status-success-subtle": $vert-digital-200,
29
+ "background-status-alert": $rouge-indications-500,
30
+ "background-status-alert-subtle": $rouge-indications-100,
31
+ "border-primary": $greyscale-600,
32
+ "border-secondary": $greyscale-400,
33
+ "border-tertiary": $greyscale-200,
34
+ "border-disabled": $greyscale-200,
35
+ "border-inverse": $core-white,
36
+ "border-brand-default": $violet-600,
37
+ "border-brand-focused": $violet-900,
38
+ "border-danger": $rouge-indications-600,
39
+ "border-info": $bleu-digital-500,
40
+ "border-warning": $jaune-indications-400,
41
+ "border-success": $vert-digital-600,
42
+ "chart-brand": $violet-600,
43
+ "chart-neutral": $greyscale-350,
44
+ "chart-category-1": $bleu-iceberg-500,
45
+ "chart-category-2": $fuschia-500,
46
+ "chart-category-3": $violet-600,
47
+ "chart-category-4": $vert-foret-500,
48
+ "chart-category-5": $marine-900,
49
+ "chart-category-6": $jaune-indications-500,
50
+ "chart-category-7": $taupe-700,
51
+ "chart-category-8": $bleu-petrole-400,
52
+ "chart-bleu-iceberg": $bleu-iceberg-100,
53
+ "chart-bleu-iceberg-bold": $bleu-iceberg-500,
54
+ "chart-vert-foret": $vert-foret-100,
55
+ "chart-vert-foret-bold": $vert-foret-400,
56
+ "chart-violet": $violet-300,
57
+ "chart-violet-bold": $violet-600,
58
+ "chart-bleu-rte": $bleu-rte-100,
59
+ "chart-bleu-rte-bold": $bleu-rte-600,
60
+ "chart-bleu-digital": $bleu-digital-100,
61
+ "chart-bleu-digital-bold": $bleu-digital-500,
62
+ "chart-marine": $marine-100,
63
+ "chart-marine-bold": $marine-500,
64
+ "chart-bleu-petrole": $bleu-petrole-100,
65
+ "chart-bleu-petrole-bold": $bleu-petrole-500,
66
+ "chart-bleu-cyan": $bleu-cyan-100,
67
+ "chart-bleu-cyan-bold": $bleu-cyan-500,
68
+ "chart-vert": $vert-100,
69
+ "chart-vert-bold": $vert-500,
70
+ "chart-vert-indications": $vert-indications-200,
71
+ "chart-vert-indications-bold": $vert-indications-400,
72
+ "chart-vert-digital": $vert-digital-100,
73
+ "chart-vert-digital-bold": $vert-digital-400,
74
+ "chart-jaune": $jaune-100,
75
+ "chart-jaune-bold": $jaune-500,
76
+ "chart-jaune-ocre": $jaune-ocre-100,
77
+ "chart-jaune-ocre-bold": $jaune-ocre-400,
78
+ "chart-jaune-indications": $jaune-indications-100,
79
+ "chart-jaune-indications-bold": $jaune-indications-400,
80
+ "chart-saumon": $saumon-100,
81
+ "chart-saumon-bold": $saumon-500,
82
+ "chart-rose-digital": $rose-digital-200,
83
+ "chart-rose-digital-bold": $rose-digital-500,
84
+ "chart-fuschia": $fuschia-100,
85
+ "chart-fuschia-bold": $fuschia-500,
86
+ "chart-rouge-indications": $rouge-indications-100,
87
+ "chart-rouge-indications-bold": $rouge-indications-500,
88
+ "chart-greyscale": $greyscale-50,
89
+ "chart-greyscale-bold": $greyscale-550,
90
+ "chart-taupe": $taupe-200,
91
+ "chart-taupe-bold": $taupe-600,
92
+ "content-primary": $greyscale-900,
93
+ "content-secondary": $greyscale-800,
94
+ "content-tertiary": $greyscale-600,
95
+ "content-primary-inverse": $core-white,
96
+ "content-secondary-inverse": $greyscale-100,
97
+ "content-tertiary-inverse": $greyscale-300,
98
+ "content-disabled": $greyscale-200,
99
+ "content-brand-default": $violet-600,
100
+ "content-brand-hover": $violet-700,
101
+ "content-brand-press": $violet-800,
102
+ "content-link-default": $bleu-digital-500,
103
+ "content-link-hover": $bleu-digital-600,
104
+ "content-link-press": $bleu-digital-700,
105
+ "content-link-visited": $violet-600,
106
+ "content-link-visited-hover": $violet-700,
107
+ "content-link-visited-press": $violet-800,
108
+ "content-danger": $rouge-indications-600,
109
+ "content-danger-hover": $rouge-indications-700,
110
+ "content-danger-press": $rouge-indications-800,
111
+ "content-danger-inverse": $core-white,
112
+ "content-info": $bleu-digital-500,
113
+ "content-info-inverse": $core-white,
114
+ "content-info-bold": $bleu-digital-600,
115
+ "content-warning": $jaune-indications-400,
116
+ "content-warning-inverse": $core-white,
117
+ "content-warning-bold": $jaune-indications-500,
118
+ "content-success": $vert-digital-600,
119
+ "content-success-inverse": $core-white,
120
+ "content-success-bold": $vert-digital-700,
121
+ "content-decorative": $greyscale-900,
122
+ "content-status": $greyscale-900,
123
+ "decorative-neutral": $greyscale-50,
124
+ "decorative-bleu-iceberg": $bleu-iceberg-200,
125
+ "decorative-vert-foret": $vert-foret-100,
126
+ "decorative-violet": $violet-200,
127
+ "decorative-bleu-rte": $bleu-rte-200,
128
+ "decorative-bleu-digital": $bleu-digital-200,
129
+ "decorative-marine": $marine-100,
130
+ "decorative-bleu-petrole": $bleu-petrole-200,
131
+ "decorative-bleu-cyan": $bleu-cyan-200,
132
+ "decorative-vert": $vert-200,
133
+ "decorative-vert-indications": $vert-indications-200,
134
+ "decorative-vert-digital": $vert-digital-200,
135
+ "decorative-jaune": $jaune-100,
136
+ "decorative-jaune-ocre": $jaune-ocre-200,
137
+ "decorative-jaune-indications": $jaune-indications-200,
138
+ "decorative-saumon": $saumon-300,
139
+ "decorative-rose-digital": $rose-digital-200,
140
+ "decorative-fuschia": $fuschia-200,
141
+ "decorative-rouge-indication": $rouge-indications-100,
142
+ "decorative-taupe": $taupe-200,
143
+ "elevation-surface-inner-shadow": rgba(0, 0, 0, 0.00),
144
+ "elevation-surface-shadow-1": rgba(255, 255, 255, 0.00),
145
+ "elevation-surface-shadow-2": rgba(255, 255, 255, 0.00),
146
+ "elevation-surface-shadow-3": rgba(255, 255, 255, 0.00),
147
+ "elevation-surface-shadow-4": rgba(255, 255, 255, 0.00),
148
+ "elevation-surface-shadow-5": rgba(255, 255, 255, 0.00),
149
+ "elevation-surface-shadow-6": rgba(255, 255, 255, 0.00),
150
+ "elevation-shadow-ambient": rgba(0, 0, 0, 0.12),
151
+ "elevation-shadow-ambient-darker": rgba(0, 0, 0, 0.20),
152
+ "elevation-shadow-ambient-brand": rgba(0, 0, 0, 0.25),
153
+ "elevation-shadow-key": rgba(0, 0, 0, 0.14),
154
+ "elevation-shadow-key-darker": rgba(0, 0, 0, 0.24),
155
+ "elevation-shadow-key-brand": rgba(0, 0, 0, 0.31),
156
+ "gradient-default": #ffffff,
157
+ // TODO remove this color (not a real token)
158
+ "background-brand-hover-opacity-20": $violet-700-opacity-20,
159
+ // TODO remove this color (not a real token)
160
+ "background-danger-hover-opacity-20": $rouge-indications-700-opacity-20,
161
+ // TODO remove this color (not a real token)
162
+ "background-hover-opacity-50": $greyscale-50-opacity-50,
163
+ );
package/package.json CHANGED
@@ -1,19 +1,19 @@
1
1
  {
2
2
  "name": "@design-system-rte/core",
3
- "version": "0.3.0",
3
+ "version": "0.7.0",
4
4
  "main": "index.js",
5
5
  "scripts": {
6
6
  "lint": "eslint .",
7
7
  "lint:fix": "eslint . --fix",
8
- "test": "echo \"Error: no test specified\" && exit 1",
8
+ "test": "vitest run",
9
9
  "build": "npm run build:css-themes",
10
10
  "build:css-themes": "ts-node css-theme-generator.ts",
11
- "generate:tokens": "ts-node ./tokens/primitives-generator.ts && ts-node ./tokens/tokens-generator.ts",
11
+ "generate:tokens": "ts-node ./design-tokens/generator.ts",
12
12
  "prepublishOnly": "npm run build"
13
13
  },
14
14
  "keywords": [],
15
15
  "author": "",
16
- "license": "ISC",
16
+ "license": "Apache-2.0",
17
17
  "description": "Design Tokens, interfaces and utilities for the Design System RTE",
18
18
  "publishConfig": {
19
19
  "access": "public"
@@ -24,6 +24,7 @@
24
24
  "devDependencies": {
25
25
  "sass": "^1.89.0",
26
26
  "ts-node": "^10.9.2",
27
- "typescript": "^5.8.3"
27
+ "typescript": "^5.8.3",
28
+ "vitest": "^3.2.4"
28
29
  }
29
30
  }
@@ -1,284 +0,0 @@
1
- @use 'themes' as *;
2
- @use 'primitives/colors' as *;
3
- @use 'shadows' as *;
4
- @use 'typography' as *;
5
- @use 'sass:map';
6
- @use 'sass:color';
7
-
8
- $themes: (
9
- "bleu_iceberg": $bleu_iceberg,
10
- "violet": $violet,
11
- "vert_foret": $vert_foret
12
- );
13
-
14
- @mixin apply-theme($targetTheme: bleu_iceberg, $mode: light) {
15
- $targetTheme: map.get($themes, $targetTheme, $mode);
16
-
17
- @include extract-custom-properties-from-theme($targetTheme);
18
- }
19
-
20
-
21
- @mixin theme-selector($targetTheme: bleu_iceberg, $mode: light) {
22
- $theme: map.get($themes, $targetTheme, $mode);
23
-
24
- [data-theme="#{$targetTheme}"][data-mode="#{$mode}"] {
25
- @include extract-custom-properties-from-theme($theme);
26
- }
27
- }
28
-
29
- @mixin extract-custom-properties-from-theme($theme) {
30
- @each $property, $value in $theme {
31
- --#{$property}: #{$value};
32
- }
33
- }
34
-
35
- // Mixins for shadows and inner shadows
36
-
37
- @mixin hover-box-shadow($color) {
38
- box-shadow: 0 0 0 8px $color;
39
- }
40
-
41
- @mixin neutral-inner-shadow {
42
- box-shadow: inset $inner-shadow-key-position-x $inner-shadow-key-position-y $inner-shadow-key-blur $inner-shadow-key-spread var(--elevation-surface-inner-shadow);
43
- }
44
- @mixin neutral-shadow-1 {
45
- box-shadow: $shadow-1-key-position-x $shadow-1-key-position-y $shadow-1-key-blur $shadow-1-key-spread var(--elevation-shadow-key),
46
- $ambient-shadow-position-x $ambient-shadow-position-y $ambient-shadow-blur $ambient-shadow-spread var(--elevation-shadow-ambient);
47
- }
48
- @mixin neutral-shadow-2 {
49
- box-shadow: $shadow-2-key-position-x $shadow-2-key-position-y $shadow-2-key-blur $shadow-2-key-spread var(--elevation-shadow-key),
50
- $ambient-shadow-position-x $ambient-shadow-position-y $ambient-shadow-blur $ambient-shadow-spread var(--elevation-shadow-ambient);
51
- }
52
- @mixin neutral-shadow-3 {
53
- box-shadow: $shadow-3-key-position-x $shadow-3-key-position-y $shadow-3-key-blur $shadow-3-key-spread var(--elevation-shadow-key),
54
- $ambient-shadow-position-x $ambient-shadow-position-y $ambient-shadow-blur $ambient-shadow-spread var(--elevation-shadow-ambient);
55
- }
56
- @mixin neutral-shadow-4 {
57
- box-shadow: $shadow-4-key-position-x $shadow-4-key-position-y $shadow-4-key-blur $shadow-4-key-spread var(--elevation-shadow-key),
58
- $ambient-shadow-position-x $ambient-shadow-position-y $ambient-shadow-blur $ambient-shadow-spread var(--elevation-shadow-ambient);
59
- }
60
- @mixin neutral-shadow-5 {
61
- box-shadow: $shadow-5-key-position-x $shadow-5-key-position-y $shadow-5-key-blur $shadow-5-key-spread var(--elevation-shadow-key-darker),
62
- $ambient-shadow-darker-position-x $ambient-shadow-darker-position-y $ambient-shadow-darker-blur $ambient-shadow-darker-spread var(--elevation-shadow-ambient-darker);
63
- }
64
- @mixin neutral-shadow-6 {
65
- box-shadow: $shadow-6-key-position-x $shadow-6-key-position-y $shadow-6-key-blur $shadow-6-key-spread var(--elevation-shadow-key-darker),
66
- $ambient-shadow-darker-position-x $ambient-shadow-darker-position-y $ambient-shadow-darker-blur $ambient-shadow-darker-spread var(--elevation-shadow-ambient-darker);
67
- }
68
-
69
- @mixin brand-inner-shadow {
70
- box-shadow: inset $inner-shadow-key-position-x $inner-shadow-key-position-y $inner-shadow-key-blur $inner-shadow-key-spread var(--elevation-shadow-key-brand);
71
- }
72
- @mixin brand-shadow-1 {
73
- box-shadow:
74
- $shadow-1-key-position-x $shadow-1-key-position-y $shadow-1-key-blur $shadow-1-key-spread var(--elevation-shadow-key-brand),
75
- $ambient-shadow-position-x $ambient-shadow-position-y $ambient-shadow-blur $ambient-shadow-spread var(--elevation-shadow-ambient-brand);
76
- }
77
- @mixin brand-shadow-2 {
78
- box-shadow:
79
- $shadow-2-key-position-x $shadow-2-key-position-y $shadow-2-key-blur $shadow-2-key-spread var(--elevation-shadow-key-brand),
80
- $ambient-shadow-position-x $ambient-shadow-position-y $ambient-shadow-blur $ambient-shadow-spread var(--elevation-shadow-ambient-brand);
81
- }
82
- @mixin brand-shadow-3 {
83
- box-shadow:
84
- $shadow-3-key-position-x $shadow-3-key-position-y $shadow-3-key-blur $shadow-3-key-spread var(--elevation-shadow-key-brand),
85
- $ambient-shadow-position-x $ambient-shadow-position-y $ambient-shadow-blur $ambient-shadow-spread var(--elevation-shadow-ambient-brand);
86
- }
87
- @mixin brand-shadow-4 {
88
- box-shadow:
89
- $shadow-4-key-position-x $shadow-4-key-position-y $shadow-4-key-blur $shadow-4-key-spread var(--elevation-shadow-key-brand),
90
- $ambient-shadow-position-x $ambient-shadow-position-y $ambient-shadow-blur $ambient-shadow-spread var(--elevation-shadow-ambient-brand);
91
- }
92
- @mixin brand-shadow-5 {
93
- box-shadow:
94
- $shadow-5-key-position-x $shadow-5-key-position-y $shadow-5-key-blur $shadow-5-key-spread var(--elevation-shadow-key-brand),
95
- $ambient-shadow-darker-position-x $ambient-shadow-darker-position-y $ambient-shadow-darker-blur $ambient-shadow-darker-spread var(--elevation-shadow-ambient-brand);
96
- }
97
- @mixin brand-shadow-6 {
98
- box-shadow:
99
- $shadow-6-key-position-x $shadow-6-key-position-y $shadow-6-key-blur $shadow-6-key-spread var(--elevation-shadow-key-brand),
100
- $ambient-shadow-darker-position-x $ambient-shadow-darker-position-y $ambient-shadow-darker-blur $ambient-shadow-darker-spread var(--elevation-shadow-ambient-brand);
101
- }
102
-
103
- // Mixins for typography
104
-
105
- @mixin typography-button {
106
- font-feature-settings: 'liga' off, 'clig' off;
107
- font-style: normal;
108
- }
109
-
110
- @mixin typography-button-s {
111
- @include typography-button;
112
- font-family: $button-s-semibold-font-family;
113
- font-size: $button-s-semibold-font-size;
114
- letter-spacing: $button-s-semibold-letter-spacing;
115
- font-weight: $button-s-semibold-font-weight;
116
- line-height: $button-s-semibold-line-height;
117
- }
118
-
119
- @mixin typography-button-m {
120
- @include typography-button;
121
- font-family: $button-m-semibold-font-family;
122
- font-weight: $button-m-semibold-font-weight;
123
- font-size: $button-m-semibold-font-size;
124
- line-height: $button-m-semibold-line-height;
125
- letter-spacing: $button-m-semibold-letter-spacing;
126
- }
127
-
128
- @mixin typography-button-l {
129
- @include typography-button;
130
- font-family: $button-l-semibold-font-family;
131
- font-weight: $button-l-semibold-font-weight;
132
- font-size: $button-l-semibold-font-size;
133
- line-height: $button-l-semibold-line-height;
134
- letter-spacing: $button-l-semibold-letter-spacing;
135
- }
136
-
137
- @mixin typography-text {
138
- font-feature-settings: 'liga' off, 'clig' off;
139
- font-style: normal;
140
- }
141
-
142
- @mixin typography-text-m {
143
- @include typography-text;
144
- font-family: $text-m-regular-font-family;
145
- font-weight: $text-m-regular-font-weight;
146
- font-size: $text-m-regular-font-size;
147
- line-height: $text-m-regular-line-height;
148
- letter-spacing: $text-m-regular-letter-spacing;
149
- }
150
-
151
- @mixin typography-text-m-bold {
152
- @include typography-text;
153
- font-family: $text-m-bold-font-family;
154
- font-weight: $text-m-bold-font-weight;
155
- font-size: $text-m-bold-font-size;
156
- line-height: $text-m-bold-line-height;
157
- letter-spacing: $text-m-bold-letter-spacing;
158
- }
159
-
160
- @mixin typography-text-s {
161
- @include typography-text;
162
- font-family: $text-s-regular-font-family;
163
- font-weight: $text-s-regular-font-weight;
164
- font-size: $text-s-regular-font-size;
165
- line-height: $text-s-regular-line-height;
166
- letter-spacing: $text-s-regular-letter-spacing;
167
- }
168
-
169
- @mixin typography-text-l {
170
- @include typography-text;
171
- font-family: $text-l-regular-font-family;
172
- font-weight: $text-l-regular-font-weight;
173
- font-size: $text-l-regular-font-size;
174
- line-height: $text-l-regular-line-height;
175
- letter-spacing: $text-l-regular-letter-spacing;
176
- }
177
-
178
- @mixin typography-link {
179
- font-feature-settings: 'liga' off, 'clig' off;
180
- font-style: normal;
181
- }
182
-
183
- @mixin typography-link-m {
184
- @include typography-link;
185
- font-family: $text-m-regular-font-family;
186
- font-weight: $text-m-regular-font-weight;
187
- font-size: $text-m-regular-font-size;
188
- line-height: $text-m-regular-line-height;
189
- letter-spacing: $text-m-regular-letter-spacing;
190
- }
191
-
192
- @mixin typography-radio-button {
193
- font-feature-settings: 'liga' off, 'clig' off;
194
- font-style: normal;
195
- }
196
-
197
- @mixin typography-radio-button-l {
198
- @include typography-radio-button;
199
- font-family: $text-l-regular-font-family;
200
- font-size: $text-l-regular-font-size;
201
- font-weight: $text-l-regular-font-weight;
202
- line-height: $text-l-regular-line-height;
203
- letter-spacing: $text-l-regular-letter-spacing;
204
- }
205
-
206
- @mixin typography-heading{
207
- font-feature-settings: "liga" off, "clig" off;
208
- font-style: normal;
209
- }
210
-
211
- @mixin typography-heading-s{
212
- @include typography-heading;
213
- font-family: $heading-s-semibold-font-family;
214
- font-weight: $heading-s-semibold-font-weight;
215
- font-size: $heading-s-semibold-font-size;
216
- line-height: $heading-s-semibold-line-height;
217
- letter-spacing: $heading-s-semibold-letter-spacing;
218
- }
219
-
220
- @mixin typography-checkbox-error {
221
- @include typography-text-s;
222
- font-weight: $text-s-bold-font-weight;
223
- }
224
-
225
- @mixin typography-tooltip{
226
- font-feature-settings: "liga" off, "clig" off;
227
- font-style: normal;
228
- }
229
-
230
- @mixin typography-tooltip-label{
231
- @include typography-tooltip;
232
- font-family: $text-m-regular-font-family;
233
- font-weight: $text-m-regular-font-weight;
234
- font-size: $text-m-regular-font-size;
235
- line-height: $text-m-regular-line-height;
236
- letter-spacing: $text-m-regular-letter-spacing;
237
- }
238
-
239
- @mixin typography-storybook-title{
240
- font-feature-settings: "liga" off, "clig" off;
241
- font-style: normal;
242
- font-family: $heading-3xl-semibold-font-family;
243
- font-weight: $heading-3xl-semibold-font-weight;
244
- font-size: $heading-2xl-semibold-font-size;
245
- line-height: $heading-xl-semibold-line-height;
246
- }
247
-
248
- @mixin typography-storybook-subtitle{
249
- font-feature-settings: "liga" off, "clig" off;
250
- font-style: normal;
251
- font-family: $heading-4xl-semibold-font-family;
252
- font-weight: $heading-m-semibold-font-weight;
253
- font-size: $heading-m-semibold-font-size;
254
- line-height: $heading-m-semibold-line-height;
255
- }
256
-
257
- @mixin typography-storybook-header-content{
258
- font-feature-settings: "liga" off, "clig" off;
259
- font-style: normal;
260
- font-family: $text-xl-regular-font-family;
261
- font-weight: $text-xl-regular-font-weight;
262
- font-size: $text-xl-regular-font-size;
263
- line-height: $text-xl-regular-line-height;
264
- }
265
-
266
- @mixin typography-storybook-header-xs{
267
- font-feature-settings: "liga" off, "clig" off;
268
- font-style: normal;
269
- font-family: $heading-xs-semibold-font-family;
270
- font-weight: $heading-xs-semibold-font-weight;
271
- font-size: $heading-xs-semibold-font-size;
272
- line-height: $heading-xs-semibold-line-height;
273
- letter-spacing: $heading-xs-semibold-letter-spacing;
274
- }
275
-
276
- @mixin typography-storybook-header-s{
277
- font-feature-settings: "liga" off, "clig" off;
278
- font-style: normal;
279
- font-family: $heading-s-semibold-font-family;
280
- font-weight: $heading-s-semibold-font-weight;
281
- font-size: $heading-s-semibold-font-size;
282
- line-height: $heading-s-semibold-line-height;
283
- letter-spacing: $heading-s-semibold-letter-spacing;
284
- }
@@ -1,36 +0,0 @@
1
- $ambient-shadow-position-x: 0;
2
- $ambient-shadow-position-y: 0;
3
- $ambient-shadow-blur: 2;
4
- $ambient-shadow-spread: 0;
5
- $ambient-shadow-darker-position-x: 0;
6
- $ambient-shadow-darker-position-y: 0;
7
- $ambient-shadow-darker-blur: 8;
8
- $ambient-shadow-darker-spread: 0;
9
- $inner-shadow-key-position-x: 0;
10
- $inner-shadow-key-position-y: 1;
11
- $inner-shadow-key-blur: 4;
12
- $inner-shadow-key-spread: 0;
13
- $shadow-1-key-position-x: 0;
14
- $shadow-1-key-position-y: 1;
15
- $shadow-1-key-blur: 2;
16
- $shadow-1-key-spread: 0;
17
- $shadow-2-key-position-x: 0;
18
- $shadow-2-key-position-y: 2;
19
- $shadow-2-key-blur: 4;
20
- $shadow-2-key-spread: 0;
21
- $shadow-3-key-position-x: 0;
22
- $shadow-3-key-position-y: 4;
23
- $shadow-3-key-blur: 8;
24
- $shadow-3-key-spread: 0;
25
- $shadow-4-key-position-x: 0;
26
- $shadow-4-key-position-y: 8;
27
- $shadow-4-key-blur: 16;
28
- $shadow-4-key-spread: 0;
29
- $shadow-5-key-position-x: 0;
30
- $shadow-5-key-position-y: 14;
31
- $shadow-5-key-blur: 28;
32
- $shadow-5-key-spread: 0;
33
- $shadow-6-key-position-x: 0;
34
- $shadow-6-key-position-y: 32;
35
- $shadow-6-key-blur: 64;
36
- $shadow-6-key-spread: 0;