@design-system-rte/core 0.6.0 → 0.9.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.
@@ -67,6 +67,13 @@ export function generateThemesFile() {
67
67
  scss += `${INDENT.repeat(1)}"dark": $${theme}-dark,\n`;
68
68
  scss += `);\n`;
69
69
  });
70
+
71
+ scss += `\n$themes: (\n`;
72
+ Object.values(ColorTheme).forEach((theme) => {
73
+ scss += `${INDENT.repeat(1)}"${theme.replace(/-/g, "_")}": $${theme},\n`;
74
+ });
75
+ scss += `);`;
76
+
70
77
  const filePath = path.join(tokensOutputDir, "_themes.scss");
71
78
  generateScssFile(scss, filePath);
72
79
  }
@@ -0,0 +1,54 @@
1
+ @use 'sass:map';
2
+ @use 'themes' as *;
3
+
4
+ @mixin neutral-top-bottom {
5
+ background: linear-gradient(180deg, hsla(0, 4%, 5%, 1), hsla(0, 4%, 5%, 0));
6
+ }
7
+
8
+ @mixin neutral-top-bottom-light {
9
+ background: linear-gradient(180deg, hsla(0, 4%, 5%, 0.6), hsla(0, 4%, 5%, 0));
10
+ }
11
+
12
+ @mixin neutral-top-bottom-smooth {
13
+ background: linear-gradient(180deg,
14
+ hsla(0, 4%, 5%, 0.84), hsla(0, 4%, 5%, 0.8), hsla(0, 4%, 5%, 0.75), hsla(0, 4%, 5%, 0.71), hsla(0, 4%, 5%, 0.67), hsla(0, 4%, 5%, 0.63), hsla(0, 4%, 5%, 0.59), hsla(0, 4%, 5%, 0.54), hsla(0, 4%, 5%, 0.49), hsla(0, 4%, 5%, 0.44), hsla(0, 4%, 5%, 0.38), hsla(0, 4%, 5%, 0.32), hsla(0, 4%, 5%, 0.25), hsla(0, 4%, 5%, 0.18), hsla(0, 4%, 5%, 0.09), hsla(0, 4%, 5%, 0));
15
+ }
16
+
17
+ @mixin neutral-bottom-top {
18
+ background: linear-gradient(0deg, hsla(0, 4%, 5%, 1), hsla(0, 4%, 5%, 0));
19
+ }
20
+
21
+ @mixin neutral-bottom-top-light {
22
+ background: linear-gradient(0deg, hsla(0, 4%, 5%, 0.6), hsla(0, 4%, 5%, 0));
23
+ }
24
+
25
+ @mixin neutral-bottom-top-smooth {
26
+ background: linear-gradient(0deg,
27
+ hsla(0, 4%, 5%, 0.84), hsla(0, 4%, 5%, 0.8), hsla(0, 4%, 5%, 0.75), hsla(0, 4%, 5%, 0.71), hsla(0, 4%, 5%, 0.67), hsla(0, 4%, 5%, 0.63), hsla(0, 4%, 5%, 0.59), hsla(0, 4%, 5%, 0.54), hsla(0, 4%, 5%, 0.49), hsla(0, 4%, 5%, 0.44), hsla(0, 4%, 5%, 0.38), hsla(0, 4%, 5%, 0.32), hsla(0, 4%, 5%, 0.25), hsla(0, 4%, 5%, 0.18), hsla(0, 4%, 5%, 0.09), hsla(0, 4%, 5%, 0));
28
+ }
29
+
30
+ @mixin neutral-left-right {
31
+ background: linear-gradient(90deg, hsla(0, 4%, 5%, 1), hsla(0, 4%, 5%, 0));
32
+ }
33
+
34
+ @mixin neutral-left-right-light {
35
+ background: linear-gradient(90deg, hsla(0, 4%, 5%, 0.6), hsla(0, 4%, 5%, 0));
36
+ }
37
+
38
+ @mixin neutral-left-right-smooth {
39
+ background: linear-gradient(90deg,
40
+ hsla(0, 4%, 5%, 0.84), hsla(0, 4%, 5%, 0.8), hsla(0, 4%, 5%, 0.75), hsla(0, 4%, 5%, 0.71), hsla(0, 4%, 5%, 0.67), hsla(0, 4%, 5%, 0.63), hsla(0, 4%, 5%, 0.59), hsla(0, 4%, 5%, 0.54), hsla(0, 4%, 5%, 0.49), hsla(0, 4%, 5%, 0.44), hsla(0, 4%, 5%, 0.38), hsla(0, 4%, 5%, 0.32), hsla(0, 4%, 5%, 0.25), hsla(0, 4%, 5%, 0.18), hsla(0, 4%, 5%, 0.09), hsla(0, 4%, 5%, 0));
41
+ }
42
+
43
+ @mixin neutral-right-left {
44
+ background: linear-gradient(270deg, hsla(0, 4%, 5%, 1), hsla(0, 4%, 5%, 0));
45
+ }
46
+
47
+ @mixin neutral-right-left-light {
48
+ background: linear-gradient(270deg, hsla(0, 4%, 5%, 0.6), hsla(0, 4%, 5%, 0));
49
+ }
50
+
51
+ @mixin neutral-right-left-smooth {
52
+ background: linear-gradient(270deg,
53
+ hsla(0, 4%, 5%, 0.84), hsla(0, 4%, 5%, 0.8), hsla(0, 4%, 5%, 0.75), hsla(0, 4%, 5%, 0.71), hsla(0, 4%, 5%, 0.67), hsla(0, 4%, 5%, 0.63), hsla(0, 4%, 5%, 0.59), hsla(0, 4%, 5%, 0.54), hsla(0, 4%, 5%, 0.49), hsla(0, 4%, 5%, 0.44), hsla(0, 4%, 5%, 0.38), hsla(0, 4%, 5%, 0.32), hsla(0, 4%, 5%, 0.25), hsla(0, 4%, 5%, 0.18), hsla(0, 4%, 5%, 0.09), hsla(0, 4%, 5%, 0));
54
+ }
@@ -2,19 +2,11 @@
2
2
  @use 'typography' as *;
3
3
  @use 'sass:map';
4
4
 
5
- $themes: (
6
- "bleu_iceberg": $bleu-iceberg,
7
- "violet": $violet,
8
- "vert_foret": $vert-foret
9
- );
10
-
11
5
  @mixin apply-theme($targetTheme: bleu_iceberg, $mode: light) {
12
- $targetTheme: map.get($themes, $targetTheme, $mode);
13
-
14
- @include extract-custom-properties-from-theme($targetTheme);
6
+ $selectedTheme: map.get($themes, $targetTheme, $mode);
7
+ @include extract-custom-properties-from-theme($selectedTheme);
15
8
  }
16
9
 
17
-
18
10
  @mixin theme-selector($targetTheme: bleu_iceberg, $mode: light) {
19
11
  $theme: map.get($themes, $targetTheme, $mode);
20
12
 
@@ -12,3 +12,9 @@ $vert-foret: (
12
12
  "light": $vert-foret-light,
13
13
  "dark": $vert-foret-dark,
14
14
  );
15
+
16
+ $themes: (
17
+ "bleu_iceberg": $bleu-iceberg,
18
+ "violet": $violet,
19
+ "vert_foret": $vert-foret,
20
+ );
@@ -4,7 +4,10 @@
4
4
  $bleu-iceberg-dark: (
5
5
  "background-default": $greyscale-900,
6
6
  "background-hover": $greyscale-800,
7
- "background-pressed": $greyscale-700,
7
+ "background-neutral-regular-default": $greyscale-700,
8
+ "background-neutral-regular-hover": $greyscale-550,
9
+ "background-neutral-bold-default": $greyscale-200,
10
+ "background-neutral-bold-hover": $greyscale-50,
8
11
  "background-disabled": $greyscale-800,
9
12
  "background-inverse": $core-white,
10
13
  "background-brand-default": $bleu-iceberg-300,
@@ -20,13 +23,13 @@ $bleu-iceberg-dark: (
20
23
  "background-danger-default": $rouge-indications-400,
21
24
  "background-danger-hover": $rouge-indications-500,
22
25
  "background-danger-pressed": $rouge-indications-600,
26
+ "background-status-info-regular": $bleu-digital-400,
23
27
  "background-status-info-subtle": $bleu-digital-100,
24
- "background-status-info": $bleu-digital-400,
25
- "background-status-warning": $jaune-500,
28
+ "background-status-warning-regular": $jaune-500,
26
29
  "background-status-warning-subtle": $jaune-100,
27
- "background-status-success": $vert-digital-400,
30
+ "background-status-success-regular": $vert-digital-400,
28
31
  "background-status-success-subtle": $vert-digital-200,
29
- "background-status-alert": $rouge-indications-500,
32
+ "background-status-alert-regular": $rouge-indications-500,
30
33
  "background-status-alert-subtle": $rouge-indications-100,
31
34
  "border-primary": $greyscale-400,
32
35
  "border-secondary": $greyscale-600,
@@ -93,8 +96,6 @@ $bleu-iceberg-dark: (
93
96
  "content-secondary": $greyscale-100,
94
97
  "content-tertiary": $greyscale-300,
95
98
  "content-primary-inverse": $greyscale-900,
96
- "content-secondary-inverse": $greyscale-800,
97
- "content-tertiary-inverse": $greyscale-600,
98
99
  "content-disabled": $greyscale-700,
99
100
  "content-brand-default": $bleu-iceberg-0,
100
101
  "content-brand-hover": $bleu-iceberg-50,
@@ -107,17 +108,7 @@ $bleu-iceberg-dark: (
107
108
  "content-link-visited-press": $violet-300,
108
109
  "content-danger": $rouge-indications-400,
109
110
  "content-danger-hover": $rouge-indications-500,
110
- "content-danger-press": $rouge-indications-600,
111
111
  "content-danger-inverse": $core-white,
112
- "content-info": $bleu-digital-500,
113
- "content-info-inverse": $core-white,
114
- "content-info-bold": $bleu-digital-400,
115
- "content-warning": $jaune-indications-400,
116
- "content-warning-inverse": $core-white,
117
- "content-warning-bold": $jaune-indications-300,
118
- "content-success": $vert-digital-600,
119
- "content-success-inverse": $core-white,
120
- "content-success-bold": $vert-digital-500,
121
112
  "content-decorative": $greyscale-900,
122
113
  "content-status": $greyscale-900,
123
114
  "decorative-neutral": $greyscale-50,
@@ -153,7 +144,6 @@ $bleu-iceberg-dark: (
153
144
  "elevation-shadow-key": rgba(0, 0, 0, 0.28),
154
145
  "elevation-shadow-key-darker": rgba(0, 0, 0, 0.48),
155
146
  "elevation-shadow-key-brand": rgba(0, 0, 0, 0.21),
156
- "gradient-default": #ffffff,
157
147
  // TODO remove this color (not a real token)
158
148
  "background-brand-hover-opacity-20": $bleu-iceberg-200-opacity-20,
159
149
  // TODO remove this color (not a real token)
@@ -4,7 +4,10 @@
4
4
  $bleu-iceberg-light: (
5
5
  "background-default": $core-white,
6
6
  "background-hover": $greyscale-50,
7
- "background-pressed": $greyscale-100,
7
+ "background-neutral-regular-default": $greyscale-100,
8
+ "background-neutral-regular-hover": $greyscale-250,
9
+ "background-neutral-bold-default": $greyscale-600,
10
+ "background-neutral-bold-hover": $greyscale-750,
8
11
  "background-disabled": $greyscale-0,
9
12
  "background-inverse": $greyscale-900,
10
13
  "background-brand-default": $bleu-iceberg-600,
@@ -20,13 +23,13 @@ $bleu-iceberg-light: (
20
23
  "background-danger-default": $rouge-indications-600,
21
24
  "background-danger-hover": $rouge-indications-700,
22
25
  "background-danger-pressed": $rouge-indications-800,
26
+ "background-status-info-regular": $bleu-digital-400,
23
27
  "background-status-info-subtle": $bleu-digital-100,
24
- "background-status-info": $bleu-digital-400,
25
- "background-status-warning": $jaune-500,
28
+ "background-status-warning-regular": $jaune-500,
26
29
  "background-status-warning-subtle": $jaune-100,
27
- "background-status-success": $vert-digital-400,
30
+ "background-status-success-regular": $vert-digital-400,
28
31
  "background-status-success-subtle": $vert-digital-200,
29
- "background-status-alert": $rouge-indications-500,
32
+ "background-status-alert-regular": $rouge-indications-500,
30
33
  "background-status-alert-subtle": $rouge-indications-100,
31
34
  "border-primary": $greyscale-600,
32
35
  "border-secondary": $greyscale-400,
@@ -93,8 +96,6 @@ $bleu-iceberg-light: (
93
96
  "content-secondary": $greyscale-800,
94
97
  "content-tertiary": $greyscale-600,
95
98
  "content-primary-inverse": $core-white,
96
- "content-secondary-inverse": $greyscale-100,
97
- "content-tertiary-inverse": $greyscale-300,
98
99
  "content-disabled": $greyscale-200,
99
100
  "content-brand-default": $bleu-iceberg-600,
100
101
  "content-brand-hover": $bleu-iceberg-700,
@@ -107,17 +108,7 @@ $bleu-iceberg-light: (
107
108
  "content-link-visited-press": $violet-800,
108
109
  "content-danger": $rouge-indications-600,
109
110
  "content-danger-hover": $rouge-indications-700,
110
- "content-danger-press": $rouge-indications-800,
111
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
112
  "content-decorative": $greyscale-900,
122
113
  "content-status": $greyscale-900,
123
114
  "decorative-neutral": $greyscale-50,
@@ -153,7 +144,6 @@ $bleu-iceberg-light: (
153
144
  "elevation-shadow-key": rgba(0, 0, 0, 0.14),
154
145
  "elevation-shadow-key-darker": rgba(0, 0, 0, 0.24),
155
146
  "elevation-shadow-key-brand": rgba(0, 0, 0, 0.31),
156
- "gradient-default": #ffffff,
157
147
  // TODO remove this color (not a real token)
158
148
  "background-brand-hover-opacity-20": $bleu-iceberg-700-opacity-20,
159
149
  // TODO remove this color (not a real token)
@@ -4,7 +4,10 @@
4
4
  $vert-foret-dark: (
5
5
  "background-default": $greyscale-900,
6
6
  "background-hover": $greyscale-800,
7
- "background-pressed": $greyscale-700,
7
+ "background-neutral-regular-default": $greyscale-700,
8
+ "background-neutral-regular-hover": $greyscale-550,
9
+ "background-neutral-bold-default": $greyscale-200,
10
+ "background-neutral-bold-hover": $greyscale-50,
8
11
  "background-disabled": $greyscale-800,
9
12
  "background-inverse": $core-white,
10
13
  "background-brand-default": $vert-foret-300,
@@ -20,13 +23,13 @@ $vert-foret-dark: (
20
23
  "background-danger-default": $rouge-indications-400,
21
24
  "background-danger-hover": $rouge-indications-500,
22
25
  "background-danger-pressed": $rouge-indications-600,
26
+ "background-status-info-regular": $bleu-digital-400,
23
27
  "background-status-info-subtle": $bleu-digital-100,
24
- "background-status-info": $bleu-digital-400,
25
- "background-status-warning": $jaune-500,
28
+ "background-status-warning-regular": $jaune-500,
26
29
  "background-status-warning-subtle": $jaune-100,
27
- "background-status-success": $vert-digital-400,
30
+ "background-status-success-regular": $vert-digital-400,
28
31
  "background-status-success-subtle": $vert-digital-200,
29
- "background-status-alert": $rouge-indications-500,
32
+ "background-status-alert-regular": $rouge-indications-500,
30
33
  "background-status-alert-subtle": $rouge-indications-100,
31
34
  "border-primary": $greyscale-400,
32
35
  "border-secondary": $greyscale-600,
@@ -93,8 +96,6 @@ $vert-foret-dark: (
93
96
  "content-secondary": $greyscale-100,
94
97
  "content-tertiary": $greyscale-300,
95
98
  "content-primary-inverse": $greyscale-900,
96
- "content-secondary-inverse": $greyscale-800,
97
- "content-tertiary-inverse": $greyscale-600,
98
99
  "content-disabled": $greyscale-700,
99
100
  "content-brand-default": $vert-foret-0,
100
101
  "content-brand-hover": $vert-foret-50,
@@ -107,17 +108,7 @@ $vert-foret-dark: (
107
108
  "content-link-visited-press": $violet-300,
108
109
  "content-danger": $rouge-indications-400,
109
110
  "content-danger-hover": $rouge-indications-500,
110
- "content-danger-press": $rouge-indications-600,
111
111
  "content-danger-inverse": $core-white,
112
- "content-info": $bleu-digital-500,
113
- "content-info-inverse": $core-white,
114
- "content-info-bold": $bleu-digital-400,
115
- "content-warning": $jaune-indications-400,
116
- "content-warning-inverse": $core-white,
117
- "content-warning-bold": $jaune-indications-300,
118
- "content-success": $vert-digital-600,
119
- "content-success-inverse": $core-white,
120
- "content-success-bold": $vert-digital-500,
121
112
  "content-decorative": $greyscale-900,
122
113
  "content-status": $greyscale-900,
123
114
  "decorative-neutral": $greyscale-50,
@@ -153,7 +144,6 @@ $vert-foret-dark: (
153
144
  "elevation-shadow-key": rgba(0, 0, 0, 0.28),
154
145
  "elevation-shadow-key-darker": rgba(0, 0, 0, 0.48),
155
146
  "elevation-shadow-key-brand": rgba(0, 0, 0, 0.21),
156
- "gradient-default": #ffffff,
157
147
  // TODO remove this color (not a real token)
158
148
  "background-brand-hover-opacity-20": $vert-foret-200-opacity-20,
159
149
  // TODO remove this color (not a real token)
@@ -4,7 +4,10 @@
4
4
  $vert-foret-light: (
5
5
  "background-default": $core-white,
6
6
  "background-hover": $greyscale-50,
7
- "background-pressed": $greyscale-100,
7
+ "background-neutral-regular-default": $greyscale-100,
8
+ "background-neutral-regular-hover": $greyscale-250,
9
+ "background-neutral-bold-default": $greyscale-600,
10
+ "background-neutral-bold-hover": $greyscale-750,
8
11
  "background-disabled": $greyscale-0,
9
12
  "background-inverse": $greyscale-900,
10
13
  "background-brand-default": $vert-foret-600,
@@ -20,13 +23,13 @@ $vert-foret-light: (
20
23
  "background-danger-default": $rouge-indications-600,
21
24
  "background-danger-hover": $rouge-indications-700,
22
25
  "background-danger-pressed": $rouge-indications-800,
26
+ "background-status-info-regular": $bleu-digital-400,
23
27
  "background-status-info-subtle": $bleu-digital-100,
24
- "background-status-info": $bleu-digital-400,
25
- "background-status-warning": $jaune-500,
28
+ "background-status-warning-regular": $jaune-500,
26
29
  "background-status-warning-subtle": $jaune-100,
27
- "background-status-success": $vert-digital-400,
30
+ "background-status-success-regular": $vert-digital-400,
28
31
  "background-status-success-subtle": $vert-digital-200,
29
- "background-status-alert": $rouge-indications-500,
32
+ "background-status-alert-regular": $rouge-indications-500,
30
33
  "background-status-alert-subtle": $rouge-indications-100,
31
34
  "border-primary": $greyscale-600,
32
35
  "border-secondary": $greyscale-400,
@@ -93,8 +96,6 @@ $vert-foret-light: (
93
96
  "content-secondary": $greyscale-800,
94
97
  "content-tertiary": $greyscale-600,
95
98
  "content-primary-inverse": $core-white,
96
- "content-secondary-inverse": $greyscale-100,
97
- "content-tertiary-inverse": $greyscale-300,
98
99
  "content-disabled": $greyscale-200,
99
100
  "content-brand-default": $vert-foret-600,
100
101
  "content-brand-hover": $vert-foret-700,
@@ -107,17 +108,7 @@ $vert-foret-light: (
107
108
  "content-link-visited-press": $violet-800,
108
109
  "content-danger": $rouge-indications-600,
109
110
  "content-danger-hover": $rouge-indications-700,
110
- "content-danger-press": $rouge-indications-800,
111
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
112
  "content-decorative": $greyscale-900,
122
113
  "content-status": $greyscale-900,
123
114
  "decorative-neutral": $greyscale-50,
@@ -153,7 +144,6 @@ $vert-foret-light: (
153
144
  "elevation-shadow-key": rgba(0, 0, 0, 0.14),
154
145
  "elevation-shadow-key-darker": rgba(0, 0, 0, 0.24),
155
146
  "elevation-shadow-key-brand": rgba(0, 0, 0, 0.31),
156
- "gradient-default": #ffffff,
157
147
  // TODO remove this color (not a real token)
158
148
  "background-brand-hover-opacity-20": $vert-foret-700-opacity-20,
159
149
  // TODO remove this color (not a real token)
@@ -4,7 +4,10 @@
4
4
  $violet-dark: (
5
5
  "background-default": $greyscale-900,
6
6
  "background-hover": $greyscale-800,
7
- "background-pressed": $greyscale-700,
7
+ "background-neutral-regular-default": $greyscale-700,
8
+ "background-neutral-regular-hover": $greyscale-550,
9
+ "background-neutral-bold-default": $greyscale-200,
10
+ "background-neutral-bold-hover": $greyscale-50,
8
11
  "background-disabled": $greyscale-800,
9
12
  "background-inverse": $core-white,
10
13
  "background-brand-default": $violet-300,
@@ -20,13 +23,13 @@ $violet-dark: (
20
23
  "background-danger-default": $rouge-indications-400,
21
24
  "background-danger-hover": $rouge-indications-500,
22
25
  "background-danger-pressed": $rouge-indications-600,
26
+ "background-status-info-regular": $bleu-digital-400,
23
27
  "background-status-info-subtle": $bleu-digital-100,
24
- "background-status-info": $bleu-digital-400,
25
- "background-status-warning": $jaune-500,
28
+ "background-status-warning-regular": $jaune-500,
26
29
  "background-status-warning-subtle": $jaune-100,
27
- "background-status-success": $vert-digital-400,
30
+ "background-status-success-regular": $vert-digital-400,
28
31
  "background-status-success-subtle": $vert-digital-200,
29
- "background-status-alert": $rouge-indications-500,
32
+ "background-status-alert-regular": $rouge-indications-500,
30
33
  "background-status-alert-subtle": $rouge-indications-100,
31
34
  "border-primary": $greyscale-400,
32
35
  "border-secondary": $greyscale-600,
@@ -93,8 +96,6 @@ $violet-dark: (
93
96
  "content-secondary": $greyscale-100,
94
97
  "content-tertiary": $greyscale-300,
95
98
  "content-primary-inverse": $greyscale-900,
96
- "content-secondary-inverse": $greyscale-800,
97
- "content-tertiary-inverse": $greyscale-600,
98
99
  "content-disabled": $greyscale-700,
99
100
  "content-brand-default": $violet-0,
100
101
  "content-brand-hover": $violet-50,
@@ -107,17 +108,7 @@ $violet-dark: (
107
108
  "content-link-visited-press": $violet-300,
108
109
  "content-danger": $rouge-indications-400,
109
110
  "content-danger-hover": $rouge-indications-500,
110
- "content-danger-press": $rouge-indications-600,
111
111
  "content-danger-inverse": $core-white,
112
- "content-info": $bleu-digital-500,
113
- "content-info-inverse": $core-white,
114
- "content-info-bold": $bleu-digital-400,
115
- "content-warning": $jaune-indications-400,
116
- "content-warning-inverse": $core-white,
117
- "content-warning-bold": $jaune-indications-300,
118
- "content-success": $vert-digital-600,
119
- "content-success-inverse": $core-white,
120
- "content-success-bold": $vert-digital-500,
121
112
  "content-decorative": $greyscale-900,
122
113
  "content-status": $greyscale-900,
123
114
  "decorative-neutral": $greyscale-50,
@@ -153,7 +144,6 @@ $violet-dark: (
153
144
  "elevation-shadow-key": rgba(0, 0, 0, 0.28),
154
145
  "elevation-shadow-key-darker": rgba(0, 0, 0, 0.48),
155
146
  "elevation-shadow-key-brand": rgba(0, 0, 0, 0.21),
156
- "gradient-default": #ffffff,
157
147
  // TODO remove this color (not a real token)
158
148
  "background-brand-hover-opacity-20": $violet-200-opacity-20,
159
149
  // TODO remove this color (not a real token)
@@ -4,7 +4,10 @@
4
4
  $violet-light: (
5
5
  "background-default": $core-white,
6
6
  "background-hover": $greyscale-50,
7
- "background-pressed": $greyscale-100,
7
+ "background-neutral-regular-default": $greyscale-100,
8
+ "background-neutral-regular-hover": $greyscale-250,
9
+ "background-neutral-bold-default": $greyscale-600,
10
+ "background-neutral-bold-hover": $greyscale-750,
8
11
  "background-disabled": $greyscale-0,
9
12
  "background-inverse": $greyscale-900,
10
13
  "background-brand-default": $violet-600,
@@ -20,13 +23,13 @@ $violet-light: (
20
23
  "background-danger-default": $rouge-indications-600,
21
24
  "background-danger-hover": $rouge-indications-700,
22
25
  "background-danger-pressed": $rouge-indications-800,
26
+ "background-status-info-regular": $bleu-digital-400,
23
27
  "background-status-info-subtle": $bleu-digital-100,
24
- "background-status-info": $bleu-digital-400,
25
- "background-status-warning": $jaune-500,
28
+ "background-status-warning-regular": $jaune-500,
26
29
  "background-status-warning-subtle": $jaune-100,
27
- "background-status-success": $vert-digital-400,
30
+ "background-status-success-regular": $vert-digital-400,
28
31
  "background-status-success-subtle": $vert-digital-200,
29
- "background-status-alert": $rouge-indications-500,
32
+ "background-status-alert-regular": $rouge-indications-500,
30
33
  "background-status-alert-subtle": $rouge-indications-100,
31
34
  "border-primary": $greyscale-600,
32
35
  "border-secondary": $greyscale-400,
@@ -93,8 +96,6 @@ $violet-light: (
93
96
  "content-secondary": $greyscale-800,
94
97
  "content-tertiary": $greyscale-600,
95
98
  "content-primary-inverse": $core-white,
96
- "content-secondary-inverse": $greyscale-100,
97
- "content-tertiary-inverse": $greyscale-300,
98
99
  "content-disabled": $greyscale-200,
99
100
  "content-brand-default": $violet-600,
100
101
  "content-brand-hover": $violet-700,
@@ -107,17 +108,7 @@ $violet-light: (
107
108
  "content-link-visited-press": $violet-800,
108
109
  "content-danger": $rouge-indications-600,
109
110
  "content-danger-hover": $rouge-indications-700,
110
- "content-danger-press": $rouge-indications-800,
111
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
112
  "content-decorative": $greyscale-900,
122
113
  "content-status": $greyscale-900,
123
114
  "decorative-neutral": $greyscale-50,
@@ -153,7 +144,6 @@ $violet-light: (
153
144
  "elevation-shadow-key": rgba(0, 0, 0, 0.14),
154
145
  "elevation-shadow-key-darker": rgba(0, 0, 0, 0.24),
155
146
  "elevation-shadow-key-brand": rgba(0, 0, 0, 0.31),
156
- "gradient-default": #ffffff,
157
147
  // TODO remove this color (not a real token)
158
148
  "background-brand-hover-opacity-20": $violet-700-opacity-20,
159
149
  // TODO remove this color (not a real token)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@design-system-rte/core",
3
- "version": "0.6.0",
3
+ "version": "0.9.0",
4
4
  "main": "index.js",
5
5
  "scripts": {
6
6
  "lint": "eslint .",
@@ -13,7 +13,7 @@
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"