@carbon/charts 1.13.3 → 1.13.5

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,323 @@
1
+ @use '../../globals';
2
+
3
+ .#{globals.$prefix}--chart-holder {
4
+ --#{globals.$prefix}-layout-size-height-min: 0px;
5
+ --#{globals.$prefix}-layout-size-height-lg: 3rem;
6
+ --#{globals.$prefix}-layout-size-height-max: 999999999px;
7
+ --#{globals.$prefix}-layout-density-padding-inline-min: 0px;
8
+ --#{globals.$prefix}-layout-density-padding-inline-max: 999999999px;
9
+ --#{globals.$prefix}-layout-size-height-lg: 3rem;
10
+
11
+ .#{globals.$prefix}--modal {
12
+ position: fixed;
13
+ z-index: 9000;
14
+ display: flex;
15
+ align-items: center;
16
+ justify-content: center;
17
+ background-color: var(--#{globals.$prefix}-overlay, rgba(22, 22, 22, .5));
18
+ block-size: 100vh;
19
+ content: "";
20
+ inline-size: 100vw;
21
+ inset-block-start: 0;
22
+ inset-inline-start: 0;
23
+ opacity: 0;
24
+ transition: opacity .24s cubic-bezier(.4, .14, 1, 1), visibility 0ms linear .24s;
25
+ visibility: hidden;
26
+
27
+ &.is-visible {
28
+ z-index: 99999;
29
+
30
+ opacity: 1;
31
+ transition: opacity .24s cubic-bezier(0, 0, .3, 1),
32
+ visibility 0ms linear;
33
+ visibility: inherit;
34
+
35
+ .#{globals.$prefix}--modal-container {
36
+ transform: translateZ(0);
37
+ transition: transform .24s cubic-bezier(0, 0, .3, 1);
38
+ }
39
+ }
40
+
41
+ .#{globals.$prefix}--modal-container {
42
+
43
+ @media (min-width: 42rem) {
44
+ position: static;
45
+ width: 84%;
46
+ height: auto;
47
+ max-height: 90%;
48
+ }
49
+
50
+ @media (min-width: 66rem) {
51
+ width: 60%;
52
+ max-height: 84%;
53
+ }
54
+
55
+ @media (min-width: 82rem) {
56
+ width: 48%;
57
+ }
58
+
59
+ position: fixed;
60
+ top: 0;
61
+ display: grid;
62
+ overflow: hidden;
63
+ width: 100%;
64
+ height: 100%;
65
+ max-height: 100%;
66
+ background-color: var(--#{globals.$prefix}-layer);
67
+ grid-template-columns: 100%;
68
+ grid-template-rows: auto 1fr auto;
69
+ outline: 3px solid transparent;
70
+ outline-offset: -3px;
71
+ transform: translate3d(0, -24px, 0);
72
+ transform-origin: top center;
73
+ transition: transform .24s cubic-bezier(.4, .14, 1, 1);
74
+
75
+ .#{globals.$prefix}--modal-header {
76
+ padding-top: 1rem;
77
+ padding-right: 3rem;
78
+ padding-left: 1rem;
79
+ margin-bottom: 0.5rem;
80
+ grid-column: 1/-1;
81
+ grid-row: 1/1;
82
+
83
+ &__label {
84
+ margin-top: 0;
85
+ margin-bottom: 0;
86
+
87
+ box-sizing: border-box;
88
+ padding: 0;
89
+ border: 0;
90
+ margin: 0;
91
+ font-family: inherit;
92
+ vertical-align: baseline;
93
+ font-size: var(--#{globals.$prefix}-label-01-font-size, .75rem);
94
+ font-weight: var(--#{globals.$prefix}-label-01-font-weight, 400);
95
+ line-height: var(--#{globals.$prefix}-label-01-line-height, 1.33333);
96
+ letter-spacing: var(--#{globals.$prefix}-label-01-letter-spacing, .32px);
97
+ color: var(--#{globals.$prefix}-text-secondary, #525252);
98
+
99
+ // On paragraph with this class
100
+ --docs-content-width: 75%;
101
+ width: var(--docs-content-width);
102
+ }
103
+
104
+ &__heading {
105
+ margin-top: 0.5rem !important;
106
+ margin-bottom: 1rem !important;
107
+
108
+ box-sizing: border-box;
109
+ padding: 0;
110
+ border: 0;
111
+ margin: 0;
112
+ font-family: inherit;
113
+ vertical-align: baseline;
114
+ font-size: var(--#{globals.$prefix}-heading-03-font-size, 1.25rem);
115
+ font-weight: var(--#{globals.$prefix}-heading-03-font-weight, 400);
116
+ line-height: var(--#{globals.$prefix}-heading-03-line-height, 1.4);
117
+ letter-spacing: var(--#{globals.$prefix}-heading-03-letter-spacing, 0);
118
+ padding-right: calc(20% - 3rem);
119
+ color: var(--#{globals.$prefix}-text-primary, #161616);
120
+
121
+ // On paragraph with this class
122
+ --docs-content-width: 75%;
123
+ width: var(--docs-content-width);
124
+ }
125
+
126
+ .#{globals.$prefix}--modal-close {
127
+ &:hover {
128
+ background-color: var(--#{globals.$prefix}-layer-hover);
129
+ }
130
+
131
+ &:focus {
132
+ border-color: var(--cds-focus,#0f62fe);
133
+ outline: none;
134
+ }
135
+
136
+ position: absolute;
137
+ z-index: 2;
138
+ top: 0;
139
+ right: 0;
140
+ overflow: hidden;
141
+ width: 3rem;
142
+ height: 3rem;
143
+ padding: .75rem;
144
+ border: 2px solid transparent;
145
+ background-color: transparent;
146
+ cursor: pointer;
147
+ transition: background-color .11s cubic-bezier(.2, 0, .38, .9);
148
+
149
+ // button
150
+ margin: 0;
151
+ border-radius: 0;
152
+ font-family: inherit;
153
+
154
+ &__icon {
155
+ width: 1.25rem;
156
+ height: 1.25rem;
157
+ fill: var(--#{globals.$prefix}-icon-primary, #161616);
158
+ }
159
+ }
160
+ }
161
+
162
+ .#{globals.$prefix}--modal-content {
163
+ padding: 0 !important;
164
+ margin-bottom: 0;
165
+ color-scheme: var(--#{globals.$prefix}-color-scheme, light);
166
+ font-size: var(--#{globals.$prefix}-body-01-font-size, .875rem);
167
+ line-height: var(--#{globals.$prefix}-body-01-line-height, 1.42857);
168
+ letter-spacing: var(--#{globals.$prefix}-body-01-letter-spacing, .16px);
169
+ position: relative;
170
+ color: var(--#{globals.$prefix}-text-primary, #161616);
171
+ font-weight: 400;
172
+ grid-column: 1/-1;
173
+ grid-row: 2/-2;
174
+ overflow-y: auto;
175
+
176
+ .#{globals.$prefix}--data-table {
177
+ position: relative;
178
+ border-collapse: collapse;
179
+ width: 100%;
180
+ border-spacing: 0;
181
+
182
+ thead {
183
+ font-size: var(--#{globals.$prefix}-heading-compact-01-font-size, .875rem);
184
+ font-weight: var(--#{globals.$prefix}-heading-compact-01-font-weight, 600);
185
+ line-height: var(--#{globals.$prefix}-heading-compact-01-line-height, 1.28572);
186
+ letter-spacing: var(--#{globals.$prefix}-heading-compact-01-letter-spacing, .16px);
187
+ background-color: var(--#{globals.$prefix}-layer-accent);
188
+
189
+ tr {
190
+ width: 100%;
191
+ height: 3rem;
192
+ border: none;
193
+
194
+ th {
195
+ position: sticky;
196
+ top: 0;
197
+ padding-right: 1rem;
198
+ padding-left: 1rem;
199
+ background-color: var(--#{globals.$prefix}-layer-accent);
200
+ color: var(--#{globals.$prefix}-text-primary, #161616);
201
+
202
+ text-align: start;
203
+ vertical-align: middle;
204
+
205
+ .#{globals.$prefix}--table-header-label {
206
+ text-align: left;
207
+ }
208
+ }
209
+ }
210
+ }
211
+
212
+ tbody {
213
+ font-size: var(--#{globals.$prefix}-body-compact-01-font-size, .875rem);
214
+ font-weight: var(--#{globals.$prefix}-body-compact-01-font-weight, 400);
215
+ line-height: var(--#{globals.$prefix}-body-compact-01-line-height, 1.28572);
216
+ letter-spacing: var(--#{globals.$prefix}-body-compact-01-letter-spacing, .16px);
217
+ background-color: var(--#{globals.$prefix}-layer);
218
+ width: 100%;
219
+
220
+ tr {
221
+ &:hover {
222
+ background: var(--#{globals.$prefix}-layer-hover) !important;
223
+ }
224
+
225
+ transition: background-color 70ms cubic-bezier(0, 0, .38, .9);
226
+ width: 100;
227
+ height: 3rem;
228
+ border: none;
229
+
230
+ td {
231
+ transition: background-color 70ms cubic-bezier(0,0,.38,.9);
232
+ padding-right: 1rem;
233
+ padding-left: 1rem;
234
+ border-top: 1px solid var(--#{globals.$prefix}-layer);
235
+ border-bottom: 1px solid var(--#{globals.$prefix}-border-subtle);
236
+ color: var(--#{globals.$prefix}-text-secondary, #525252);
237
+ text-align: left;
238
+ vertical-align: middle;
239
+ }
240
+ }
241
+ }
242
+ }
243
+ }
244
+
245
+ .#{globals.$prefix}--modal-footer {
246
+ background-color: transparent;
247
+ display: flex;
248
+ height: 4rem;
249
+ justify-content: flex-end;
250
+ margin-top: auto;
251
+ grid-column: 1/-1;
252
+ grid-row: -1/-1;
253
+
254
+ .#{globals.$prefix}--#{globals.$charts-prefix}-modal-footer-spacer {
255
+ width: 50%;
256
+ }
257
+
258
+ .#{globals.$prefix}--btn {
259
+ max-width: none;
260
+ height: 4rem;
261
+ flex: 0 1 50%;
262
+ align-items: baseline;
263
+ padding-top: 0.875rem;
264
+ padding-bottom: 2rem;
265
+ margin: 0;
266
+ --#{globals.$prefix}-layout-size-height-local: clamp(var(--#{globals.$prefix}-layout-size-height-min), var(--#{globals.$prefix}-layout-size-height, var(--#{globals.$prefix}-layout-size-height-lg)), var(--#{globals.$prefix}-layout-size-height-max));
267
+ --#{globals.$prefix}-layout-density-padding-inline-local: clamp(var(--#{globals.$prefix}-layout-density-padding-inline-min), var(--#{globals.$prefix}-layout-density-padding-inline, var(--#{globals.$prefix}-layout-density-padding-inline-normal)), var(--#{globals.$prefix}-layout-density-padding-inline-max));
268
+ --temp-1lh: ( var(--#{globals.$prefix}-body-compact-01-line-height, 1.28572) * 1em );
269
+ --temp-expressive-1lh: ( var(--#{globals.$prefix}-body-compact-02-line-height, 1.375) * 1em );
270
+ --temp-padding-block-max: calc( (var(--#{globals.$prefix}-layout-size-height-lg) - var(--temp-1lh)) / 2 - .0625rem );
271
+ box-sizing: border-box;
272
+ padding: 0;
273
+ border: 0;
274
+ font-family: inherit;
275
+ font-size: var(--#{globals.$prefix}-body-compact-01-font-size, .875rem);
276
+ font-weight: var(--#{globals.$prefix}-body-compact-01-font-weight, 400);
277
+ line-height: var(--#{globals.$prefix}-body-compact-01-line-height, 1.28572);
278
+ letter-spacing: var(--#{globals.$prefix}-body-compact-01-letter-spacing, .16px);
279
+ position: relative;
280
+ display: inline-flex;
281
+ width: max-content;
282
+ max-width: 20rem;
283
+ min-height: var(--#{globals.$prefix}-layout-size-height-local);
284
+ justify-content: space-between;
285
+ border-radius: 0;
286
+ cursor: pointer;
287
+ outline: none;
288
+ padding-block: min((var(--#{globals.$prefix}-layout-size-height-local) - var(--temp-1lh)) / 2 - 0.0625rem,var(--temp-padding-block-max));
289
+ padding-inline-end: calc(var(--#{globals.$prefix}-layout-density-padding-inline-local) * 3 + 1rem - 0.0625rem);
290
+ padding-inline-start: calc(var(--#{globals.$prefix}-layout-density-padding-inline-local) - 0.0625rem);
291
+ text-align: left;
292
+ text-decoration: none;
293
+ transition: background 70ms cubic-bezier(0,0,.38,.9),box-shadow 70ms cubic-bezier(0,0,.38,.9),border-color 70ms cubic-bezier(0,0,.38,.9),outline 70ms cubic-bezier(0,0,.38,.9);
294
+ vertical-align: top;
295
+ }
296
+
297
+ .#{globals.$prefix}--btn-primary {
298
+ &:hover {
299
+ color: var(--#{globals.$prefix}-text-on-color, #ffffff);
300
+ background-color: var(--#{globals.$prefix}-button-primary-hover, #0050e6);
301
+ }
302
+
303
+ &:focus {
304
+ border-color: var(--cds-button-focus-color,var(--cds-focus,#0f62fe));
305
+ box-shadow: inset 0 0 0 1px var(--cds-button-focus-color,var(--cds-focus,#0f62fe)),inset 0 0 0 2px var(--cds-background,#ffffff);
306
+ }
307
+
308
+ border-width: 1px;
309
+ border-style: solid;
310
+ border-color: transparent;
311
+ background-color: var(--#{globals.$prefix}-button-primary, #0f62fe);
312
+ color: var(--#{globals.$prefix}-text-on-color, #ffffff);
313
+ }
314
+ }
315
+ }
316
+ }
317
+ }
318
+
319
+ @supports (-moz-appearance:none) {
320
+ .#{globals.$prefix}--data-table td {
321
+ background-clip: padding-box;
322
+ }
323
+ }
@@ -0,0 +1,2 @@
1
+ @use 'buttons';
2
+ @use 'modal';
package/scss/demos.scss CHANGED
@@ -1,39 +1,18 @@
1
- $charts-prefix: 'cc';
1
+ @use 'globals'; // Load Carbon Charts global variables
2
+ @use 'index'; // Load Carbon Charts styles
2
3
 
3
- // Variables picked up by @carbon/styles/scss/config in imports
4
- $prefix: 'cds'; // Default value
4
+ $css--font-face: false; // Don't load Plex
5
5
  $css--default-type: false; // Do not include default type
6
6
  $css--reset: false; // Do not include reset CSS
7
7
 
8
- // IBM Plex font for demo is loaded in .storybook/preview-head.html - don't include here
9
- @use '@carbon/styles/scss/config' with (
10
- $css--font-face: false
11
- );
12
- @use '@carbon/styles'; // primarily needed for toolbar
13
- @use '@carbon/styles/scss/type' as *; // used on line 230
14
-
15
- // Custom charting tokens
8
+ @use '@carbon/styles';
9
+ @use '@carbon/styles/scss/type';
16
10
  @use '@carbon/styles/scss/theme';
17
- @import 'tokens';
18
- @include theme.add-component-tokens($custom-charting-tokens);
19
- @import '@carbon/styles/scss/components/button/tokens.scss';
20
-
21
- @mixin default_transition { // used by colors
22
- transition: all 0.1s ease-out;
23
- }
24
- @import '@carbon/colors';
25
- @import 'colors';
26
-
27
- @import '@carbon/import-once/scss';
28
- @import 'components';
29
-
30
- @import 'graphs';
31
- @import 'type';
32
- @import 'chart-holder';
11
+ @use '@carbon/colors';
33
12
 
34
- .#{$prefix}--#{$charts-prefix}--chart-wrapper {
13
+ .#{globals.$prefix}--#{globals.$charts-prefix}--chart-wrapper {
35
14
  overflow: visible;
36
- font-family: var(--#{$prefix}-charts-font-family-condensed);
15
+ font-family: var(--#{globals.$prefix}-charts-font-family-condensed);
37
16
  }
38
17
 
39
18
  html {
@@ -214,7 +193,7 @@ div.container {
214
193
  }
215
194
 
216
195
  .welcome__heading {
217
- @include type-style('productive-heading-07');
196
+ @include type.type-style('productive-heading-07');
218
197
 
219
198
  color: #fff; // theme.$text-inverse;
220
199
  }
@@ -224,7 +203,7 @@ div.container {
224
203
  }
225
204
 
226
205
  .welcome__heading--other {
227
- @include type-style('productive-heading-04');
206
+ @include type.type-style('productive-heading-04');
228
207
 
229
208
  font-weight: 600;
230
209
  color: #4587fd;
@@ -283,17 +262,17 @@ div.container {
283
262
  margin-top: 30px;
284
263
  max-width: 700px;
285
264
 
286
- .#{$prefix}--col-md-6.#{$prefix}--col-lg-6 {
265
+ .#{globals.$prefix}--col-md-6.#{globals.$prefix}--col-lg-6 {
287
266
  border: 1px solid theme.$background;
288
267
  padding: 0;
289
268
  }
290
269
 
291
- .#{$prefix}--col-lg-6 {
270
+ .#{globals.$prefix}--col-lg-6 {
292
271
  width: 100%;
293
272
  }
294
273
 
295
274
  @media (min-width: 42rem) {
296
- .#{$prefix}--col-md-6 {
275
+ .#{globals.$prefix}--col-md-6 {
297
276
  display: block;
298
277
  max-width: 75%;
299
278
  flex: 0 0 75%;
@@ -301,7 +280,7 @@ div.container {
301
280
  }
302
281
 
303
282
  @media (min-width: 66rem) {
304
- .#{$prefix}--col-lg-6 {
283
+ .#{globals.$prefix}--col-lg-6 {
305
284
  display: block;
306
285
  max-width: 50%;
307
286
  flex: 0 0 50%;
@@ -309,7 +288,7 @@ div.container {
309
288
  }
310
289
  }
311
290
 
312
- .#{$prefix}--aspect-ratio--object {
291
+ .#{globals.$prefix}--aspect-ratio--object {
313
292
  position: absolute;
314
293
  top: 0;
315
294
  left: 0;
@@ -317,7 +296,7 @@ div.container {
317
296
  height: 100%;
318
297
  }
319
298
 
320
- .#{$prefix}--resource-card .#{$prefix}--tile {
299
+ .#{globals.$prefix}--resource-card .#{globals.$prefix}--tile {
321
300
  background: theme.$layer-01;
322
301
  height: 100%;
323
302
  padding: 1rem 25% 1rem 1rem;
@@ -326,24 +305,24 @@ div.container {
326
305
  text-decoration: none;
327
306
  }
328
307
 
329
- .#{$prefix}--resource-card .#{$prefix}--tile:hover {
308
+ .#{globals.$prefix}--resource-card .#{globals.$prefix}--tile:hover {
330
309
  background: theme.$background-hover;
331
310
  }
332
311
 
333
- .#{$prefix}--resource-card__title {
334
- @include type-style('productive-heading-03');
312
+ .#{globals.$prefix}--resource-card__title {
313
+ @include type.type-style('productive-heading-03');
335
314
  text-decoration: none;
336
315
  color: theme.$text-primary;
337
316
  }
338
317
 
339
- .#{$prefix}--resource-card__subtitle {
340
- @include type-style('heading-01');
318
+ .#{globals.$prefix}--resource-card__subtitle {
319
+ @include type.type-style('heading-01');
341
320
  font-weight: 400;
342
321
  text-decoration: none;
343
322
  color: theme.$text-primary;
344
323
  }
345
324
 
346
- .#{$prefix}--resource-card__icon--img {
325
+ .#{globals.$prefix}--resource-card__icon--img {
347
326
  position: absolute;
348
327
  bottom: 1rem;
349
328
  left: 1rem;
@@ -353,17 +332,17 @@ div.container {
353
332
  align-items: flex-end;
354
333
  }
355
334
 
356
- .#{$prefix}--resource-card__icon--img .gatsby-resp-image-wrapper,
357
- .#{$prefix}--resource-card__icon--img img[src*='gif'],
358
- .#{$prefix}--resource-card__icon--img img[src*='svg'] {
335
+ .#{globals.$prefix}--resource-card__icon--img .gatsby-resp-image-wrapper,
336
+ .#{globals.$prefix}--resource-card__icon--img img[src*='gif'],
337
+ .#{globals.$prefix}--resource-card__icon--img img[src*='svg'] {
359
338
  margin-bottom: 0;
360
339
  }
361
340
 
362
- .#{$prefix}--resource-card__icon--img .gatsby-resp-image-wrapper {
341
+ .#{globals.$prefix}--resource-card__icon--img .gatsby-resp-image-wrapper {
363
342
  position: static !important; //important needed to override inline style added by Gatsby
364
343
  }
365
344
 
366
- .#{$prefix}--resource-card__icon--action {
345
+ .#{globals.$prefix}--resource-card__icon--action {
367
346
  position: absolute;
368
347
  bottom: 1rem;
369
348
  right: 1rem;
@@ -371,62 +350,62 @@ div.container {
371
350
  height: 20px;
372
351
  }
373
352
 
374
- .#{$prefix}--resource-card .#{$prefix}--resource-card__icon--action svg {
353
+ .#{globals.$prefix}--resource-card .#{globals.$prefix}--resource-card__icon--action svg {
375
354
  fill: theme.$icon-primary;
376
355
  }
377
356
 
378
357
  // Dark
379
- .#{$prefix}--resource-card--dark .#{$prefix}--tile {
380
- background: $gray-90; //$background for gray 90 theme
358
+ .#{globals.$prefix}--resource-card--dark .#{globals.$prefix}--tile {
359
+ background: colors.$gray-90; //$background for gray 90 theme
381
360
  }
382
361
 
383
- .#{$prefix}--resource-card--dark .#{$prefix}--tile:hover {
384
- background: $gray-80; //$background-hover for gray 90 theme
362
+ .#{globals.$prefix}--resource-card--dark .#{globals.$prefix}--tile:hover {
363
+ background: colors.$gray-80; //$background-hover for gray 90 theme
385
364
  }
386
365
 
387
- .#{$prefix}--resource-card--dark .#{$prefix}--resource-card__title,
388
- .#{$prefix}--resource-card--dark .#{$prefix}--resource-card__subtitle {
366
+ .#{globals.$prefix}--resource-card--dark .#{globals.$prefix}--resource-card__title,
367
+ .#{globals.$prefix}--resource-card--dark .#{globals.$prefix}--resource-card__subtitle {
389
368
  color: theme.$text-on-color;
390
369
  }
391
370
 
392
- .#{$prefix}--resource-card--dark .#{$prefix}--resource-card__icon--action svg {
393
- fill: $gray-10;
371
+ .#{globals.$prefix}--resource-card--dark .#{globals.$prefix}--resource-card__icon--action svg {
372
+ fill: colors.$gray-10;
394
373
  }
395
374
 
396
375
  // Disabled
397
- .#{$prefix}--resource-card--disabled .#{$prefix}--tile:hover {
376
+ .#{globals.$prefix}--resource-card--disabled .#{globals.$prefix}--tile:hover {
398
377
  background: theme.$layer-01;
399
378
  cursor: not-allowed;
400
379
  }
401
380
 
402
- .#{$prefix}--resource-card--disabled .#{$prefix}--resource-card__title,
403
- .#{$prefix}--resource-card--disabled .#{$prefix}--resource-card__subtitle {
381
+ .#{globals.$prefix}--resource-card--disabled .#{globals.$prefix}--resource-card__title,
382
+ .#{globals.$prefix}--resource-card--disabled .#{globals.$prefix}--resource-card__subtitle {
404
383
  color: theme.$icon-on-color-disabled;
405
384
  }
406
385
 
407
- .#{$prefix}--resource-card--disabled .#{$prefix}--resource-card__icon--action svg {
386
+ .#{globals.$prefix}--resource-card--disabled .#{globals.$prefix}--resource-card__icon--action svg {
408
387
  fill: theme.$icon-disabled;
409
388
  }
410
389
 
411
- .#{$prefix}--resource-card--disabled .#{$prefix}--resource-card__icon--img {
390
+ .#{globals.$prefix}--resource-card--disabled .#{globals.$prefix}--resource-card__icon--img {
412
391
  filter: grayscale(100%);
413
392
  opacity: 0.5;
414
393
  }
415
394
 
416
395
  // Disabled dark
417
- .#{$prefix}--resource-card--disabled.#{$prefix}--resource-card--dark .#{$prefix}--tile:hover {
418
- background: $gray-90; //$background for gray 90 theme
396
+ .#{globals.$prefix}--resource-card--disabled.#{globals.$prefix}--resource-card--dark .#{globals.$prefix}--tile:hover {
397
+ background: colors.$gray-90; //$background for gray 90 theme
419
398
  }
420
399
 
421
- .#{$prefix}--resource-card--disabled.#{$prefix}--resource-card--dark
422
- .#{$prefix}--resource-card__title,
423
- .#{$prefix}--resource-card--disabled.#{$prefix}--resource-card--dark
424
- .#{$prefix}--resource-card__subtitle {
425
- color: $gray-50; //$icon-on-color-disabled for gray 90
400
+ .#{globals.$prefix}--resource-card--disabled.#{globals.$prefix}--resource-card--dark
401
+ .#{globals.$prefix}--resource-card__title,
402
+ .#{globals.$prefix}--resource-card--disabled.#{globals.$prefix}--resource-card--dark
403
+ .#{globals.$prefix}--resource-card__subtitle {
404
+ color: colors.$gray-50; //$icon-on-color-disabled for gray 90
426
405
  }
427
406
 
428
- .#{$prefix}--resource-card--disabled.#{$prefix}--resource-card--dark
429
- .#{$prefix}--resource-card__icon--action
407
+ .#{globals.$prefix}--resource-card--disabled.#{globals.$prefix}--resource-card--dark
408
+ .#{globals.$prefix}--resource-card__icon--action
430
409
  svg {
431
- fill: $gray-70; //$disabled-02 for gray 90
410
+ fill: colors.$gray-70; //$disabled-02 for gray 90
432
411
  }