@carbon/themes 10.27.0-rc.0 → 10.28.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.
@@ -0,0 +1,247 @@
1
+ // Code generated by @carbon/themes. DO NOT EDIT.
2
+ //
3
+ // Copyright IBM Corp. 2018, 2019
4
+ //
5
+ // This source code is licensed under the Apache-2.0 license found in the
6
+ // LICENSE file in the root directory of this source tree.
7
+ //
8
+
9
+ @use 'sass:map';
10
+ @use '@carbon/layout';
11
+ @use '@carbon/type';
12
+ @use '../utilities';
13
+
14
+ $white: utilities.merge(
15
+ layout.$spacing,
16
+ layout.$fluid-spacing,
17
+ type.$tokens,
18
+ (
19
+ interactive-01: #0f62fe,
20
+ interactive-02: #393939,
21
+ interactive-03: #0f62fe,
22
+ interactive-04: #0f62fe,
23
+ ui-background: #ffffff,
24
+ ui-01: #f4f4f4,
25
+ ui-02: #ffffff,
26
+ ui-03: #e0e0e0,
27
+ ui-04: #8d8d8d,
28
+ ui-05: #161616,
29
+ text-01: #161616,
30
+ text-02: #525252,
31
+ text-03: #a8a8a8,
32
+ text-04: #ffffff,
33
+ text-05: #6f6f6f,
34
+ text-error: #da1e28,
35
+ icon-01: #161616,
36
+ icon-02: #525252,
37
+ icon-03: #ffffff,
38
+ link-01: #0f62fe,
39
+ link-02: #0043ce,
40
+ inverse-link: #78a9ff,
41
+ field-01: #f4f4f4,
42
+ field-02: #ffffff,
43
+ inverse-01: #ffffff,
44
+ inverse-02: #393939,
45
+ support-01: #da1e28,
46
+ support-02: #24a148,
47
+ support-03: #f1c21b,
48
+ support-04: #0043ce,
49
+ inverse-support-01: #fa4d56,
50
+ inverse-support-02: #42be65,
51
+ inverse-support-03: #f1c21b,
52
+ inverse-support-04: #4589ff,
53
+ overlay-01: rgba(22, 22, 22, 0.5),
54
+ danger-01: #da1e28,
55
+ danger-02: #da1e28,
56
+ focus: #0f62fe,
57
+ inverse-focus-ui: #ffffff,
58
+ hover-primary: #0353e9,
59
+ active-primary: #002d9c,
60
+ hover-primary-text: #0043ce,
61
+ hover-secondary: #4c4c4c,
62
+ active-secondary: #6f6f6f,
63
+ hover-tertiary: #0353e9,
64
+ active-tertiary: #002d9c,
65
+ hover-ui: #e5e5e5,
66
+ hover-light-ui: #e5e5e5,
67
+ active-ui: #c6c6c6,
68
+ active-light-ui: #c6c6c6,
69
+ selected-ui: #e0e0e0,
70
+ selected-light-ui: #e0e0e0,
71
+ inverse-hover-ui: #4c4c4c,
72
+ hover-selected-ui: #cacaca,
73
+ hover-danger: #b81921,
74
+ active-danger: #750e13,
75
+ hover-row: #e5e5e5,
76
+ visited-link: #8a3ffc,
77
+ disabled-01: #f4f4f4,
78
+ disabled-02: #c6c6c6,
79
+ disabled-03: #8d8d8d,
80
+ highlight: #d0e2ff,
81
+ decorative-01: #e0e0e0,
82
+ button-separator: #e0e0e0,
83
+ skeleton-01: #e5e5e5,
84
+ skeleton-02: #c6c6c6,
85
+ brand-01: #0f62fe,
86
+ brand-02: #393939,
87
+ brand-03: #0f62fe,
88
+ active-01: #c6c6c6,
89
+ hover-field: #e5e5e5,
90
+ danger: #da1e28,
91
+ )
92
+ ) !default;
93
+
94
+ /// Carbon's g10 color theme
95
+ /// @type Map
96
+ /// @access public
97
+ /// @group @carbon/themes
98
+ $g10: map.merge(
99
+ $white,
100
+ (
101
+ ui-background: #f4f4f4,
102
+ ui-01: #ffffff,
103
+ ui-02: #f4f4f4,
104
+ field-01: #ffffff,
105
+ field-02: #f4f4f4,
106
+ disabled-01: #ffffff,
107
+ highlight: #edf5ff,
108
+ )
109
+ ) !default;
110
+
111
+ /// Carbon's g90 color theme
112
+ /// @type Map
113
+ /// @access public
114
+ /// @group @carbon/themes
115
+ $g90: map.merge(
116
+ $white,
117
+ (
118
+ interactive-02: #6f6f6f,
119
+ interactive-03: #ffffff,
120
+ interactive-04: #4589ff,
121
+ ui-background: #262626,
122
+ ui-01: #393939,
123
+ ui-02: #525252,
124
+ ui-03: #525252,
125
+ ui-05: #f4f4f4,
126
+ text-01: #f4f4f4,
127
+ text-02: #c6c6c6,
128
+ text-03: #6f6f6f,
129
+ text-05: #8d8d8d,
130
+ text-error: #ffb3b8,
131
+ icon-01: #f4f4f4,
132
+ icon-02: #c6c6c6,
133
+ link-01: #78a9ff,
134
+ link-02: #a6c8ff,
135
+ inverse-link: #0f62fe,
136
+ field-01: #393939,
137
+ field-02: #525252,
138
+ inverse-01: #161616,
139
+ inverse-02: #f4f4f4,
140
+ support-01: #ff8389,
141
+ support-02: #42be65,
142
+ support-04: #4589ff,
143
+ inverse-support-01: #da1e28,
144
+ inverse-support-02: #24a148,
145
+ inverse-support-04: #0f62fe,
146
+ overlay-01: rgba(22, 22, 22, 0.7),
147
+ danger-02: #ff8389,
148
+ focus: #ffffff,
149
+ inverse-focus-ui: #0f62fe,
150
+ hover-primary-text: #a6c8ff,
151
+ hover-secondary: #606060,
152
+ active-secondary: #393939,
153
+ hover-tertiary: #f4f4f4,
154
+ active-tertiary: #c6c6c6,
155
+ hover-ui: #4c4c4c,
156
+ hover-light-ui: #656565,
157
+ active-ui: #6f6f6f,
158
+ active-light-ui: #8d8d8d,
159
+ selected-ui: #525252,
160
+ selected-light-ui: #6f6f6f,
161
+ inverse-hover-ui: #e5e5e5,
162
+ hover-selected-ui: #656565,
163
+ hover-row: #4c4c4c,
164
+ visited-link: #be95ff,
165
+ disabled-01: #393939,
166
+ disabled-02: #6f6f6f,
167
+ disabled-03: #a8a8a8,
168
+ highlight: #0043ce,
169
+ decorative-01: #6f6f6f,
170
+ button-separator: #161616,
171
+ skeleton-01: #353535,
172
+ skeleton-02: #525252,
173
+ brand-02: #6f6f6f,
174
+ brand-03: #ffffff,
175
+ active-01: #6f6f6f,
176
+ hover-field: #4c4c4c,
177
+ )
178
+ ) !default;
179
+
180
+ /// Carbon's g100 color theme
181
+ /// @type Map
182
+ /// @access public
183
+ /// @group @carbon/themes
184
+ $g100: map.merge(
185
+ $white,
186
+ (
187
+ interactive-02: #6f6f6f,
188
+ interactive-03: #ffffff,
189
+ interactive-04: #4589ff,
190
+ ui-background: #161616,
191
+ ui-01: #262626,
192
+ ui-02: #393939,
193
+ ui-03: #393939,
194
+ ui-04: #6f6f6f,
195
+ ui-05: #f4f4f4,
196
+ text-01: #f4f4f4,
197
+ text-02: #c6c6c6,
198
+ text-03: #6f6f6f,
199
+ text-05: #8d8d8d,
200
+ text-error: #ff8389,
201
+ icon-01: #f4f4f4,
202
+ icon-02: #c6c6c6,
203
+ link-01: #78a9ff,
204
+ link-02: #a6c8ff,
205
+ inverse-link: #0f62fe,
206
+ field-01: #262626,
207
+ field-02: #393939,
208
+ inverse-01: #161616,
209
+ inverse-02: #f4f4f4,
210
+ support-01: #fa4d56,
211
+ support-02: #42be65,
212
+ support-04: #4589ff,
213
+ inverse-support-01: #da1e28,
214
+ inverse-support-02: #24a148,
215
+ inverse-support-04: #0f62fe,
216
+ overlay-01: rgba(22, 22, 22, 0.7),
217
+ danger-02: #fa4d56,
218
+ focus: #ffffff,
219
+ inverse-focus-ui: #0f62fe,
220
+ hover-primary-text: #a6c8ff,
221
+ hover-secondary: #606060,
222
+ active-secondary: #393939,
223
+ hover-tertiary: #f4f4f4,
224
+ active-tertiary: #c6c6c6,
225
+ hover-ui: #353535,
226
+ hover-light-ui: #4c4c4c,
227
+ active-ui: #525252,
228
+ active-light-ui: #6f6f6f,
229
+ selected-ui: #393939,
230
+ selected-light-ui: #525252,
231
+ inverse-hover-ui: #e5e5e5,
232
+ hover-selected-ui: #4c4c4c,
233
+ hover-row: #353535,
234
+ visited-link: #be95ff,
235
+ disabled-01: #262626,
236
+ disabled-02: #525252,
237
+ highlight: #002d9c,
238
+ decorative-01: #525252,
239
+ button-separator: #161616,
240
+ skeleton-01: #353535,
241
+ skeleton-02: #525252,
242
+ brand-02: #6f6f6f,
243
+ brand-03: #ffffff,
244
+ active-01: #525252,
245
+ hover-field: #353535,
246
+ )
247
+ ) !default;
package/src/g10.js CHANGED
@@ -67,6 +67,7 @@ export const icon02 = gray70;
67
67
  export const icon03 = white;
68
68
 
69
69
  export const link01 = blue60;
70
+ export const link02 = blue70;
70
71
 
71
72
  export const inverseLink = blue40;
72
73
 
package/src/g100.js CHANGED
@@ -66,6 +66,7 @@ export const icon02 = gray30;
66
66
  export const icon03 = white;
67
67
 
68
68
  export const link01 = blue40;
69
+ export const link02 = blue30;
69
70
 
70
71
  export const inverseLink = blue60;
71
72
 
@@ -133,7 +134,7 @@ export const decorative01 = gray70;
133
134
  export const buttonSeparator = '#161616';
134
135
 
135
136
  export const skeleton01 = '#353535';
136
- export const skeleton02 = gray80;
137
+ export const skeleton02 = gray70;
137
138
 
138
139
  export {
139
140
  // Type
package/src/g90.js CHANGED
@@ -68,6 +68,7 @@ export const icon02 = gray30;
68
68
  export const icon03 = white;
69
69
 
70
70
  export const link01 = blue40;
71
+ export const link02 = blue30;
71
72
 
72
73
  export const inverseLink = blue60;
73
74
 
package/src/tokens.js CHANGED
@@ -37,6 +37,7 @@ const colors = [
37
37
  'icon03',
38
38
 
39
39
  'link01',
40
+ 'link02',
40
41
 
41
42
  'inverseLink',
42
43
 
@@ -187,6 +188,7 @@ export const unstable__meta = {
187
188
  'text05',
188
189
  'textError',
189
190
  'link01',
191
+ 'link02',
190
192
  'icon01',
191
193
  'icon02',
192
194
  'icon03',
package/src/v9.js CHANGED
@@ -31,6 +31,7 @@ export const icon02 = '#5a6872';
31
31
  export const icon03 = white;
32
32
 
33
33
  export const link01 = '#3d70b2';
34
+ export const link02 = '#3d70b2';
34
35
 
35
36
  export const inverseLink = '#5596e6';
36
37
 
package/src/white.js CHANGED
@@ -67,6 +67,7 @@ export const icon02 = gray70;
67
67
  export const icon03 = white;
68
68
 
69
69
  export const link01 = blue60;
70
+ export const link02 = blue70;
70
71
 
71
72
  export const inverseLink = blue40;
72
73
 
package/umd/index.js CHANGED
@@ -100,6 +100,7 @@
100
100
  var icon02 = colors$1.gray70;
101
101
  var icon03 = colors$1.white;
102
102
  var link01 = colors$1.blue60;
103
+ var link02 = colors$1.blue70;
103
104
  var inverseLink = colors$1.blue40;
104
105
  var field01 = colors$1.gray10;
105
106
  var field02 = colors$1.white;
@@ -176,6 +177,7 @@
176
177
  icon02: icon02,
177
178
  icon03: icon03,
178
179
  link01: link01,
180
+ link02: link02,
179
181
  inverseLink: inverseLink,
180
182
  field01: field01,
181
183
  field02: field02,
@@ -316,6 +318,7 @@
316
318
  var icon02$1 = colors$1.gray70;
317
319
  var icon03$1 = colors$1.white;
318
320
  var link01$1 = colors$1.blue60;
321
+ var link02$1 = colors$1.blue70;
319
322
  var inverseLink$1 = colors$1.blue40;
320
323
  var field01$1 = colors$1.white;
321
324
  var field02$1 = colors$1.gray10;
@@ -392,6 +395,7 @@
392
395
  icon02: icon02$1,
393
396
  icon03: icon03$1,
394
397
  link01: link01$1,
398
+ link02: link02$1,
395
399
  inverseLink: inverseLink$1,
396
400
  field01: field01$1,
397
401
  field02: field02$1,
@@ -532,6 +536,7 @@
532
536
  var icon02$2 = colors$1.gray30;
533
537
  var icon03$2 = colors$1.white;
534
538
  var link01$2 = colors$1.blue40;
539
+ var link02$2 = colors$1.blue30;
535
540
  var inverseLink$2 = colors$1.blue60;
536
541
  var field01$2 = colors$1.gray90;
537
542
  var field02$2 = colors$1.gray80;
@@ -577,7 +582,7 @@
577
582
  var decorative01$2 = colors$1.gray70;
578
583
  var buttonSeparator$2 = '#161616';
579
584
  var skeleton01$2 = '#353535';
580
- var skeleton02$2 = colors$1.gray80;
585
+ var skeleton02$2 = colors$1.gray70;
581
586
 
582
587
  var brand01$2 = interactive01$2;
583
588
  var brand02$2 = interactive02$2;
@@ -608,6 +613,7 @@
608
613
  icon02: icon02$2,
609
614
  icon03: icon03$2,
610
615
  link01: link01$2,
616
+ link02: link02$2,
611
617
  inverseLink: inverseLink$2,
612
618
  field01: field01$2,
613
619
  field02: field02$2,
@@ -748,6 +754,7 @@
748
754
  var icon02$3 = colors$1.gray30;
749
755
  var icon03$3 = colors$1.white;
750
756
  var link01$3 = colors$1.blue40;
757
+ var link02$3 = colors$1.blue30;
751
758
  var inverseLink$3 = colors$1.blue60;
752
759
  var field01$3 = colors$1.gray80;
753
760
  var field02$3 = colors$1.gray70;
@@ -824,6 +831,7 @@
824
831
  icon02: icon02$3,
825
832
  icon03: icon03$3,
826
833
  link01: link01$3,
834
+ link02: link02$3,
827
835
  inverseLink: inverseLink$3,
828
836
  field01: field01$3,
829
837
  field02: field02$3,
@@ -964,6 +972,7 @@
964
972
  var icon02$4 = '#5a6872';
965
973
  var icon03$4 = colors$1.white;
966
974
  var link01$4 = '#3d70b2';
975
+ var link02$4 = '#3d70b2';
967
976
  var inverseLink$4 = '#5596e6';
968
977
  var field01$4 = colors$1.white;
969
978
  var field02$4 = '#f4f7fb';
@@ -1040,6 +1049,7 @@
1040
1049
  icon02: icon02$4,
1041
1050
  icon03: icon03$4,
1042
1051
  link01: link01$4,
1052
+ link02: link02$4,
1043
1053
  inverseLink: inverseLink$4,
1044
1054
  field01: field01$4,
1045
1055
  field02: field02$4,
@@ -1163,7 +1173,7 @@
1163
1173
  // exported as in JavaScript
1164
1174
 
1165
1175
  var colors = [// Core
1166
- 'interactive01', 'interactive02', 'interactive03', 'interactive04', 'uiBackground', 'ui01', 'ui02', 'ui03', 'ui04', 'ui05', 'text01', 'text02', 'text03', 'text04', 'text05', 'textError', 'icon01', 'icon02', 'icon03', 'link01', 'inverseLink', 'field01', 'field02', 'inverse01', 'inverse02', 'support01', 'support02', 'support03', 'support04', 'inverseSupport01', 'inverseSupport02', 'inverseSupport03', 'inverseSupport04', 'overlay01', 'danger01', 'danger02', // Interactive states
1176
+ 'interactive01', 'interactive02', 'interactive03', 'interactive04', 'uiBackground', 'ui01', 'ui02', 'ui03', 'ui04', 'ui05', 'text01', 'text02', 'text03', 'text04', 'text05', 'textError', 'icon01', 'icon02', 'icon03', 'link01', 'link02', 'inverseLink', 'field01', 'field02', 'inverse01', 'inverse02', 'support01', 'support02', 'support03', 'support04', 'inverseSupport01', 'inverseSupport02', 'inverseSupport03', 'inverseSupport04', 'overlay01', 'danger01', 'danger02', // Interactive states
1167
1177
  'focus', 'inverseFocusUi', 'hoverPrimary', 'activePrimary', 'hoverPrimaryText', 'hoverSecondary', 'activeSecondary', 'hoverTertiary', 'activeTertiary', 'hoverUI', 'hoverLightUI', 'hoverSelectedUI', 'activeUI', 'activeLightUI', 'selectedUI', 'selectedLightUI', 'inverseHoverUI', 'hoverDanger', 'activeDanger', 'hoverRow', 'visitedLink', 'disabled01', 'disabled02', 'disabled03', 'highlight', 'decorative01', 'buttonSeparator', 'skeleton01', 'skeleton02', // Deprecated
1168
1178
  'brand01', 'brand02', 'brand03', 'active01', 'hoverField', 'danger'];
1169
1179
  var numbers = ['0', '1', '2', '3', '4', '5', '6', '7', '8', '9'];
@@ -1213,7 +1223,7 @@
1213
1223
  var unstable__meta = {
1214
1224
  colors: [{
1215
1225
  type: 'core',
1216
- tokens: ['uiBackground', 'interactive01', 'interactive02', 'interactive03', 'interactive04', 'brand01', 'brand02', 'brand03', 'danger', 'danger01', 'danger02', 'ui01', 'ui02', 'ui03', 'ui04', 'ui05', 'text01', 'text02', 'text03', 'text04', 'text05', 'textError', 'link01', 'icon01', 'icon02', 'icon03', 'field01', 'field02', 'inverse01', 'inverse02', 'inverseLink', 'support01', 'support02', 'support03', 'support04', 'inverseSupport01', 'inverseSupport02', 'inverseSupport03', 'inverseSupport04', 'overlay01']
1226
+ tokens: ['uiBackground', 'interactive01', 'interactive02', 'interactive03', 'interactive04', 'brand01', 'brand02', 'brand03', 'danger', 'danger01', 'danger02', 'ui01', 'ui02', 'ui03', 'ui04', 'ui05', 'text01', 'text02', 'text03', 'text04', 'text05', 'textError', 'link01', 'link02', 'icon01', 'icon02', 'icon03', 'field01', 'field02', 'inverse01', 'inverse02', 'inverseLink', 'support01', 'support02', 'support03', 'support04', 'inverseSupport01', 'inverseSupport02', 'inverseSupport03', 'inverseSupport04', 'overlay01']
1217
1227
  }, {
1218
1228
  type: 'interactive',
1219
1229
  tokens: ['focus', 'inverseFocusUi', 'hoverPrimary', 'hoverPrimaryText', 'hoverSecondary', 'hoverTertiary', 'hoverUI', 'hoverLightUI', 'hoverSelectedUI', 'hoverDanger', 'hoverRow', 'activePrimary', 'activeSecondary', 'activeTertiary', 'activeUI', 'activeLightUI', 'activeDanger', 'selectedUI', 'selectedLightUI', 'highlight', 'skeleton01', 'skeleton02', 'visitedLink', 'disabled01', 'disabled02', 'disabled03', 'inverseHoverUI', 'active01', 'hoverField', 'decorative01', 'buttonSeparator']
@@ -1654,6 +1664,7 @@
1654
1664
  exports.inverseSupport03 = inverseSupport03;
1655
1665
  exports.inverseSupport04 = inverseSupport04;
1656
1666
  exports.link01 = link01;
1667
+ exports.link02 = link02;
1657
1668
  exports.overlay01 = overlay01;
1658
1669
  exports.selectedLightUI = selectedLightUI;
1659
1670
  exports.selectedUI = selectedUI;