@dialpad/dialtone-css 8.54.0 → 8.56.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.
- package/lib/build/fonts/SeasonMix-Bold.woff2 +0 -0
- package/lib/build/fonts/SeasonMix-Regular.woff2 +0 -0
- package/lib/build/fonts/SeasonMix-SemiBold.woff2 +0 -0
- package/lib/build/less/components/badge.less +3 -2
- package/lib/build/less/components/banner.less +1 -1
- package/lib/build/less/components/breadcrumbs.less +2 -2
- package/lib/build/less/components/button.less +61 -0
- package/lib/build/less/components/chip.less +7 -7
- package/lib/build/less/components/datepicker.less +2 -2
- package/lib/build/less/components/empty-state.less +1 -1
- package/lib/build/less/components/input.less +7 -0
- package/lib/build/less/components/link.less +9 -4
- package/lib/build/less/components/list-group.less +2 -2
- package/lib/build/less/components/notice.less +5 -5
- package/lib/build/less/components/presence.less +1 -1
- package/lib/build/less/components/radio-checkbox.less +29 -17
- package/lib/build/less/components/selects.less +7 -8
- package/lib/build/less/components/toast.less +2 -2
- package/lib/build/less/components/toggle.less +13 -6
- package/lib/build/less/components/tooltip.less +3 -3
- package/lib/build/less/dialtone-globals.less +8 -8
- package/lib/build/less/recipes/leftbar_row.less +1 -1
- package/lib/build/less/utilities/backgrounds.less +8 -0
- package/lib/build/less/utilities/borders.less +16 -0
- package/lib/build/less/utilities/colors.less +3 -0
- package/lib/dist/dialtone-default-theme.css +16752 -13167
- package/lib/dist/dialtone-default-theme.min.css +1 -1
- package/lib/dist/dialtone-docs.json +1 -1
- package/lib/dist/dialtone.css +3467 -2592
- package/lib/dist/dialtone.min.css +1 -1
- package/lib/dist/fonts/SeasonMix-Bold.woff2 +0 -0
- package/lib/dist/fonts/SeasonMix-Regular.woff2 +0 -0
- package/lib/dist/fonts/SeasonMix-SemiBold.woff2 +0 -0
- package/lib/dist/tokens/tokens-base-dark.css +946 -161
- package/lib/dist/tokens/tokens-base-deca-dark.css +526 -56
- package/lib/dist/tokens/tokens-base-deca-light.css +522 -52
- package/lib/dist/tokens/tokens-base-light.css +913 -128
- package/lib/dist/tokens/tokens-debug-base.css +788 -3
- package/lib/dist/tokens/tokens-debug-dp.css +1034 -669
- package/lib/dist/tokens/tokens-deca-dark.css +804 -768
- package/lib/dist/tokens/tokens-deca-light.css +743 -707
- package/lib/dist/tokens/tokens-dp-dark.css +1289 -924
- package/lib/dist/tokens/tokens-dp-light.css +1338 -973
- package/lib/dist/tokens/tokens-expressive-dark.css +1289 -924
- package/lib/dist/tokens/tokens-expressive-light.css +1335 -970
- package/lib/dist/tokens/tokens-expressive-sm-dark.css +1289 -924
- package/lib/dist/tokens/tokens-expressive-sm-light.css +1335 -970
- package/lib/dist/tokens/tokens-tmo-dark.css +1445 -1080
- package/lib/dist/tokens/tokens-tmo-light.css +1480 -1115
- package/lib/dist/tokens-docs.json +1 -1
- package/package.json +3 -3
- package/lib/build/fonts/Archivo-Bold.woff2 +0 -0
- package/lib/build/fonts/Archivo-Regular.woff2 +0 -0
- package/lib/build/fonts/Archivo-SemiBold.woff2 +0 -0
- package/lib/build/fonts/ArchivoExpanded-SemiBold.woff2 +0 -0
- package/lib/build/fonts/ArchivoSemiExpanded-Medium.woff2 +0 -0
- package/lib/build/fonts/ArchivoSemiExpanded-SemiBold.woff2 +0 -0
- package/lib/dist/fonts/Archivo-Bold.woff2 +0 -0
- package/lib/dist/fonts/Archivo-Regular.woff2 +0 -0
- package/lib/dist/fonts/Archivo-SemiBold.woff2 +0 -0
- package/lib/dist/fonts/ArchivoExpanded-SemiBold.woff2 +0 -0
- package/lib/dist/fonts/ArchivoSemiExpanded-Medium.woff2 +0 -0
- package/lib/dist/fonts/ArchivoSemiExpanded-SemiBold.woff2 +0 -0
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -95,9 +95,10 @@
|
|
|
95
95
|
}
|
|
96
96
|
|
|
97
97
|
&--ai {
|
|
98
|
-
--badge-color-text: var(--dt-badge-color-foreground-
|
|
99
|
-
--badge-color-background: var(--dt-color-magenta
|
|
98
|
+
--badge-color-text: var(--dt-badge-color-foreground-ai);
|
|
99
|
+
--badge-color-background: var(--dt-color-brand-magenta); // fallback to gradient
|
|
100
100
|
|
|
101
|
+
text-shadow: var(--dt-size-50) var(--dt-size-50) 0 hsl(var(--dt-color-neutral-black-h), var(--dt-color-neutral-black-s), var(--dt-color-neutral-black-l), 0.6);
|
|
101
102
|
background-image: var(--dt-badge-color-background-ai);
|
|
102
103
|
}
|
|
103
104
|
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
.d-banner {
|
|
14
14
|
// Component CSS Vars
|
|
15
15
|
// ------------------------------------------------------------------------
|
|
16
|
-
--banner-color-border: var(--dt-color-border-
|
|
16
|
+
--banner-color-border: var(--dt-color-border-default);
|
|
17
17
|
--banner-line-height: var(--dt-font-line-height-200);
|
|
18
18
|
--banner-dialog-padding-y: var(--dt-space-400);
|
|
19
19
|
--banner-dialog-padding-x: var(--dt-space-500);
|
|
@@ -14,14 +14,14 @@
|
|
|
14
14
|
.d-breadcrumbs {
|
|
15
15
|
--breadcrumbs-font-size: var(--dt-font-size-200);
|
|
16
16
|
--breadcrumbs-line-height: var(--dt-font-line-height-300);
|
|
17
|
-
--breadcrumbs-color-separator: var(--dt-color-
|
|
17
|
+
--breadcrumbs-color-separator: var(--dt-color-foreground-muted);
|
|
18
18
|
--breadcrumbs-color-text: var(--dt-color-link-muted);
|
|
19
19
|
|
|
20
20
|
// ============================================================================
|
|
21
21
|
// $ INVERTED STYLE
|
|
22
22
|
// ----------------------------------------------------------------------------
|
|
23
23
|
&--inverted {
|
|
24
|
-
--breadcrumbs-color-separator: var(--dt-color-
|
|
24
|
+
--breadcrumbs-color-separator: var(--dt-color-foreground-muted-inverted);
|
|
25
25
|
--breadcrumbs-color-text: var(--dt-color-link-muted-inverted);
|
|
26
26
|
}
|
|
27
27
|
|
|
@@ -389,6 +389,62 @@
|
|
|
389
389
|
}
|
|
390
390
|
}
|
|
391
391
|
|
|
392
|
+
// $$ POSITIVE BUTTON
|
|
393
|
+
// ----------------------------------------------------------------------------
|
|
394
|
+
.d-btn--positive {
|
|
395
|
+
--button-color-text: var(--dt-action-color-foreground-positive-default);
|
|
396
|
+
--button-color-background: var(--dt-action-color-background-positive-default);
|
|
397
|
+
|
|
398
|
+
&:hover:not([disabled]) {
|
|
399
|
+
--button-color-text: var(--dt-action-color-foreground-positive-hover);
|
|
400
|
+
--button-color-background: var(--dt-action-color-background-positive-hover);
|
|
401
|
+
}
|
|
402
|
+
|
|
403
|
+
&:active:not([disabled]),
|
|
404
|
+
&.d-btn--active:not([disabled]),
|
|
405
|
+
&.d-btn--active:active:not([disabled]) {
|
|
406
|
+
--button-color-text: var(--dt-action-color-foreground-positive-active);
|
|
407
|
+
--button-color-background: var(
|
|
408
|
+
--dt-action-color-background-positive-active
|
|
409
|
+
);
|
|
410
|
+
}
|
|
411
|
+
|
|
412
|
+
&.d-btn--outlined {
|
|
413
|
+
--button-color-border: var(
|
|
414
|
+
--dt-action-color-border-positive-outlined-default
|
|
415
|
+
);
|
|
416
|
+
}
|
|
417
|
+
|
|
418
|
+
&.d-btn--primary {
|
|
419
|
+
--button-color-text: var(
|
|
420
|
+
--dt-action-color-foreground-positive-primary-default
|
|
421
|
+
);
|
|
422
|
+
--button-color-background: var(
|
|
423
|
+
--dt-action-color-background-positive-primary-default
|
|
424
|
+
);
|
|
425
|
+
|
|
426
|
+
&:hover:not([disabled]) {
|
|
427
|
+
--button-color-text: var(
|
|
428
|
+
--dt-action-color-foreground-positive-primary-default
|
|
429
|
+
);
|
|
430
|
+
--button-color-background: var(
|
|
431
|
+
--dt-action-color-background-positive-primary-hover
|
|
432
|
+
);
|
|
433
|
+
}
|
|
434
|
+
|
|
435
|
+
&:active:not([disabled]),
|
|
436
|
+
&.d-btn--active:not([disabled]),
|
|
437
|
+
&.d-btn--active:active:not([disabled]) {
|
|
438
|
+
--button-color-text: var(
|
|
439
|
+
--dt-action-color-foreground-positive-primary-default
|
|
440
|
+
);
|
|
441
|
+
--button-color-background: var(
|
|
442
|
+
--dt-action-color-background-positive-primary-active
|
|
443
|
+
);
|
|
444
|
+
}
|
|
445
|
+
}
|
|
446
|
+
}
|
|
447
|
+
|
|
392
448
|
// $$ INVERTED BUTTON
|
|
393
449
|
// ----------------------------------------------------------------------------
|
|
394
450
|
// -- Base, clear inverted button
|
|
@@ -651,6 +707,11 @@
|
|
|
651
707
|
opacity: var(--dt-opacity-600); // soften it
|
|
652
708
|
content: "";
|
|
653
709
|
|
|
710
|
+
// soften divider for muted outlined
|
|
711
|
+
.d-split-btn:has(.d-btn--outlined.d-btn--muted, .d-btn--outlined.d-btn--inverted) & {
|
|
712
|
+
opacity: var(--dt-opacity-300);
|
|
713
|
+
}
|
|
714
|
+
|
|
654
715
|
// hide divider line when hovering or focusing any button within the split button
|
|
655
716
|
.d-split-btn:has(:focus-visible, :hover, .d-btn--active) & {
|
|
656
717
|
opacity: 0;
|
|
@@ -79,7 +79,7 @@
|
|
|
79
79
|
.d-avatar {
|
|
80
80
|
--avatar-size-shape: var(--dt-size-550);
|
|
81
81
|
|
|
82
|
-
margin: var(--dt-space-200-negative) var(--dt-space-
|
|
82
|
+
margin: var(--dt-space-200-negative) var(--dt-space-350) var(--dt-space-200-negative) var(--dt-space-350-negative);
|
|
83
83
|
}
|
|
84
84
|
}
|
|
85
85
|
|
|
@@ -100,23 +100,23 @@
|
|
|
100
100
|
}
|
|
101
101
|
|
|
102
102
|
&:hover:not([disabled]) {
|
|
103
|
-
--button-color-background:
|
|
103
|
+
--button-color-background: var(--dt-action-color-background-muted-hover);
|
|
104
104
|
}
|
|
105
105
|
|
|
106
106
|
&:active:not([disabled]),
|
|
107
107
|
&.d-btn--active:not([disabled]),
|
|
108
108
|
&.d-btn--active:active:not([disabled]) {
|
|
109
|
-
--button-color-background:
|
|
109
|
+
--button-color-background: var(--dt-action-color-background-muted-active);
|
|
110
110
|
}
|
|
111
111
|
}
|
|
112
112
|
|
|
113
113
|
.d-chip__icon {
|
|
114
|
-
padding-right: var(--dt-space-
|
|
115
|
-
line-height:
|
|
114
|
+
padding-right: var(--dt-space-350);
|
|
115
|
+
line-height: 1;
|
|
116
116
|
}
|
|
117
117
|
|
|
118
118
|
.d-chip__label--active {
|
|
119
|
-
background-color: var(--dt-color-
|
|
119
|
+
background-color: var(--dt-color-surface-bold-opaque);
|
|
120
120
|
}
|
|
121
121
|
|
|
122
122
|
.d-chip__text {
|
|
@@ -146,7 +146,7 @@
|
|
|
146
146
|
.d-avatar {
|
|
147
147
|
--avatar-size-shape: var(--dt-size-500);
|
|
148
148
|
|
|
149
|
-
margin-right: var(--dt-space-
|
|
149
|
+
margin-right: var(--dt-space-350);
|
|
150
150
|
margin-left: var(--dt-space-300-negative);
|
|
151
151
|
}
|
|
152
152
|
}
|
|
@@ -71,8 +71,8 @@
|
|
|
71
71
|
font-variant-numeric: tabular-nums;
|
|
72
72
|
|
|
73
73
|
&--selected {
|
|
74
|
-
color: var(--dt-color-
|
|
75
|
-
background: var(--dt-color-
|
|
74
|
+
color: var(--dt-action-color-foreground-base-primary-default);
|
|
75
|
+
background: var(--dt-action-color-background-base-primary-default);
|
|
76
76
|
}
|
|
77
77
|
|
|
78
78
|
&--disabled {
|
|
@@ -27,6 +27,7 @@
|
|
|
27
27
|
// Component CSS Vars
|
|
28
28
|
// ------------------------------------------------------------------------
|
|
29
29
|
--input-color-border: var(--dt-inputs-color-border-default);
|
|
30
|
+
--input-color-border-hover: var(--dt-inputs-color-border-hover);
|
|
30
31
|
--input-color-background: var(--dt-inputs-color-background-default);
|
|
31
32
|
--input-color-background-disabled: var(--dt-inputs-color-background-disabled);
|
|
32
33
|
--input-color-text: var(--dt-inputs-color-foreground-default);
|
|
@@ -91,6 +92,12 @@
|
|
|
91
92
|
&::-ms-clear {
|
|
92
93
|
display: none;
|
|
93
94
|
}
|
|
95
|
+
// -- HOVER STATE
|
|
96
|
+
|
|
97
|
+
&:hover {
|
|
98
|
+
--input-color-border: var(--input-color-border-hover);
|
|
99
|
+
}
|
|
100
|
+
|
|
94
101
|
// -- FOCUS STATE
|
|
95
102
|
&:focus,
|
|
96
103
|
&:focus-within {
|
|
@@ -53,7 +53,8 @@
|
|
|
53
53
|
}
|
|
54
54
|
|
|
55
55
|
&:active {
|
|
56
|
-
--link-text-decoration: underline;
|
|
56
|
+
// --link-text-decoration: underline;
|
|
57
|
+
color: var(--link-color-default);
|
|
57
58
|
}
|
|
58
59
|
|
|
59
60
|
&:focus-visible {
|
|
@@ -165,7 +166,7 @@
|
|
|
165
166
|
--link-color-default-hover: var(--dt-color-link-primary-inverted-hover);
|
|
166
167
|
--link-text-decoration: none;
|
|
167
168
|
--link-padding: 0 var(--dt-space-200);
|
|
168
|
-
--link-background-color: hsl(var(--dt-color-
|
|
169
|
+
--link-background-color: hsl(var(--dt-color-surface-brand-strong-hsl) / 0.3);
|
|
169
170
|
|
|
170
171
|
line-height: var(--dt-font-line-height-200);
|
|
171
172
|
border-radius: var(--dt-size-radius-200);
|
|
@@ -178,17 +179,21 @@
|
|
|
178
179
|
&--mention {
|
|
179
180
|
--link-text-decoration: none;
|
|
180
181
|
--link-padding: 0 var(--dt-space-200);
|
|
181
|
-
--link-background-color: hsl(var(--dt-color-
|
|
182
|
+
--link-background-color: hsl(var(--dt-color-surface-brand-strong-hsl) / 0.1);
|
|
182
183
|
|
|
183
184
|
line-height: var(--dt-font-line-height-200);
|
|
184
185
|
border-radius: var(--dt-size-radius-200);
|
|
185
186
|
|
|
186
187
|
&:hover {
|
|
187
188
|
--link-text-decoration: underline;
|
|
188
|
-
--link-background-color: hsl(var(--dt-color-
|
|
189
|
+
--link-background-color: hsl(var(--dt-color-surface-brand-strong-hsl) / 0.25);
|
|
189
190
|
|
|
190
191
|
text-underline-offset: calc(var(--dt-size-border-300) - var(--dt-size-border-100));
|
|
191
192
|
text-decoration-thickness: var(--dt-size-border-50);
|
|
192
193
|
}
|
|
194
|
+
|
|
195
|
+
&:active {
|
|
196
|
+
--link-background-color: hsl(var(--dt-color-surface-brand-strong-hsl) / 0.1);
|
|
197
|
+
}
|
|
193
198
|
}
|
|
194
199
|
}
|
|
@@ -27,12 +27,12 @@
|
|
|
27
27
|
}
|
|
28
28
|
|
|
29
29
|
.d-list-group--link {
|
|
30
|
-
color: var(--dt-color-
|
|
30
|
+
color: var(--dt-color-foreground-secondary);
|
|
31
31
|
font-size: var(--dt-font-size-200);
|
|
32
32
|
text-decoration: none;
|
|
33
33
|
|
|
34
34
|
&:hover {
|
|
35
|
-
color: var(--dt-color-
|
|
35
|
+
color: var(--dt-color-foreground-primary);
|
|
36
36
|
background-color: hsla(var(--dt-color-purple-400-hsl) ~' / ' 85%);
|
|
37
37
|
}
|
|
38
38
|
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
--notice-color-background: var(--dt-color-surface-secondary);
|
|
19
19
|
--notice-color-text: var(--dt-color-foreground-primary);
|
|
20
20
|
--notice-color-icon: var(--notice-color-text);
|
|
21
|
-
--notice-color-shadow:
|
|
21
|
+
--notice-color-shadow: var(--dt-color-border-subtle);
|
|
22
22
|
--notice-padding: var(--dt-space-500);
|
|
23
23
|
--notice-font-size: var(--dt-font-size-200);
|
|
24
24
|
--notice-line-height: var(--dt-font-line-height-300);
|
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
gap: var(--dt-space-400);
|
|
62
62
|
align-items: center;
|
|
63
63
|
|
|
64
|
-
|
|
64
|
+
.d-btn {
|
|
65
65
|
color: var(--notice-color-text);
|
|
66
66
|
}
|
|
67
67
|
}
|
|
@@ -113,7 +113,7 @@
|
|
|
113
113
|
.d-banner--error,
|
|
114
114
|
.d-toast--error {
|
|
115
115
|
--notice-color-background: var(--dt-color-surface-critical);
|
|
116
|
-
--notice-color-icon: var(--dt-color-
|
|
116
|
+
--notice-color-icon: var(--dt-color-foreground-critical);
|
|
117
117
|
|
|
118
118
|
&.d-notice--important,
|
|
119
119
|
&.d-banner--important,
|
|
@@ -144,7 +144,7 @@
|
|
|
144
144
|
.d-banner--success,
|
|
145
145
|
.d-toast--success {
|
|
146
146
|
--notice-color-background: var(--dt-color-surface-success);
|
|
147
|
-
--notice-color-icon: var(--dt-color-
|
|
147
|
+
--notice-color-icon: var(--dt-color-foreground-success);
|
|
148
148
|
|
|
149
149
|
&.d-notice--important,
|
|
150
150
|
&.d-banner--important,
|
|
@@ -160,7 +160,7 @@
|
|
|
160
160
|
.d-banner--warning,
|
|
161
161
|
.d-toast--warning {
|
|
162
162
|
--notice-color-background: var(--dt-color-surface-warning);
|
|
163
|
-
--notice-color-icon: var(--dt-color-
|
|
163
|
+
--notice-color-icon: var(--dt-color-foreground-warning);
|
|
164
164
|
|
|
165
165
|
&.d-notice--important,
|
|
166
166
|
&.d-banner--important,
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
|
|
9
9
|
.d-presence {
|
|
10
10
|
--presence-color-border-base: var(--dt-theme-sidebar-color-background);
|
|
11
|
-
--presence-color-border-offline: var(--dt-color-
|
|
11
|
+
--presence-color-border-offline: var(--dt-color-border-bold);
|
|
12
12
|
--presence-color-background-active: var(--dt-theme-presence-color-background-available);
|
|
13
13
|
--presence-color-background-busy: var(--dt-theme-presence-color-background-busy-unavailable);
|
|
14
14
|
--presence-color-background-away: var(--dt-theme-presence-color-background-busy);
|
|
@@ -25,6 +25,7 @@
|
|
|
25
25
|
// Component specific CSS Vars
|
|
26
26
|
// ------------------------------------------------------------------------
|
|
27
27
|
--check-radio-color-border: var(--dt-checkbox-color-border-unchecked);
|
|
28
|
+
--check-radio-color-border-hover: var(--dt-checkbox-color-border-unchecked-hover);
|
|
28
29
|
--check-radio-color-border-checked: var(--dt-checkbox-color-border-checked);
|
|
29
30
|
--check-radio-color-border-disabled: var(--dt-inputs-color-border-disabled);
|
|
30
31
|
--check-radio-color-background: var(--dt-inputs-color-background-default);
|
|
@@ -55,10 +56,8 @@
|
|
|
55
56
|
display: none;
|
|
56
57
|
}
|
|
57
58
|
|
|
58
|
-
&:
|
|
59
|
-
|
|
60
|
-
outline: 0;
|
|
61
|
-
box-shadow: var(--dt-shadow-focus);
|
|
59
|
+
&:not(:disabled):hover {
|
|
60
|
+
border-color: var(--check-radio-color-border-hover);
|
|
62
61
|
}
|
|
63
62
|
|
|
64
63
|
&:checked {
|
|
@@ -182,9 +181,10 @@
|
|
|
182
181
|
@supports ((-webkit-appearance: none) or (-moz-appearance: none) or (appearance: none)) {
|
|
183
182
|
background-repeat: no-repeat;
|
|
184
183
|
background-position: center center;
|
|
185
|
-
background-size:
|
|
184
|
+
background-size: auto;
|
|
186
185
|
border-radius: var(--dt-size-radius-300);
|
|
187
186
|
|
|
187
|
+
&:focus,
|
|
188
188
|
&:focus-visible,
|
|
189
189
|
&:checked:focus-visible {
|
|
190
190
|
box-shadow: var(--dt-shadow-focus);
|
|
@@ -193,13 +193,18 @@
|
|
|
193
193
|
&:checked {
|
|
194
194
|
--check-radio-color-background: var(--check-radio-color-background-checked);
|
|
195
195
|
|
|
196
|
-
background-image: url("data:image/svg+xml,<svg width='
|
|
196
|
+
background-image: url("data:image/svg+xml,<svg width='14' height='14' viewBox='0 0 14 14' fill='none' xmlns='http://www.w3.org/2000/svg'> <path fill-rule='evenodd' clip-rule='evenodd' d='M12.1083 3.05806C12.3524 3.30214 12.3524 3.69786 12.1083 3.94194L5.69162 10.3586C5.44754 10.6027 5.05181 10.6027 4.80773 10.3586L1.89107 7.44194C1.64699 7.19786 1.64699 6.80214 1.89107 6.55806C2.13514 6.31398 2.53087 6.31398 2.77495 6.55806L5.24967 9.03278L11.2244 3.05806C11.4685 2.81398 11.8642 2.81398 12.1083 3.05806Z' fill='white'/> </svg>");
|
|
197
|
+
border: 0;
|
|
198
|
+
|
|
199
|
+
[data-dt-theme="dark"] & {
|
|
200
|
+
background-image: url("data:image/svg+xml,<svg width='14' height='14' viewBox='0 0 14 14' fill='none' xmlns='http://www.w3.org/2000/svg'> <path fill-rule='evenodd' clip-rule='evenodd' d='M12.1083 3.05806C12.3524 3.30214 12.3524 3.69786 12.1083 3.94194L5.69162 10.3586C5.44754 10.6027 5.05181 10.6027 4.80773 10.3586L1.89107 7.44194C1.64699 7.19786 1.64699 6.80214 1.89107 6.55806C2.13514 6.31398 2.53087 6.31398 2.77495 6.55806L5.24967 9.03278L11.2244 3.05806C11.4685 2.81398 11.8642 2.81398 12.1083 3.05806Z' fill='black'/> </svg>");
|
|
201
|
+
}
|
|
197
202
|
|
|
198
203
|
// Disabled
|
|
199
204
|
&[disabled] {
|
|
200
205
|
--check-radio-color-background: var(--check-radio-color-background-disabled);
|
|
201
206
|
|
|
202
|
-
background-image: url("data:image/svg+xml,<svg width='
|
|
207
|
+
background-image: url("data:image/svg+xml,<svg width='14' height='14' viewBox='0 0 14 14' fill='none' xmlns='http://www.w3.org/2000/svg'> <path fill-rule='evenodd' clip-rule='evenodd' d='M12.1083 3.05806C12.3524 3.30214 12.3524 3.69786 12.1083 3.94194L5.69162 10.3586C5.44754 10.6027 5.05181 10.6027 4.80773 10.3586L1.89107 7.44194C1.64699 7.19786 1.64699 6.80214 1.89107 6.55806C2.13514 6.31398 2.53087 6.31398 2.77495 6.55806L5.24967 9.03278L11.2244 3.05806C11.4685 2.81398 11.8642 2.81398 12.1083 3.05806Z' fill='gray'/> </svg>");
|
|
203
208
|
}
|
|
204
209
|
}
|
|
205
210
|
|
|
@@ -207,7 +212,7 @@
|
|
|
207
212
|
--check-radio-color-background: var(--check-radio-color-background-disabled);
|
|
208
213
|
--check-radio-color-border: var(--check-radio-color-border-disabled);
|
|
209
214
|
|
|
210
|
-
background-image: url("data:image/svg+xml,<svg width='
|
|
215
|
+
background-image: url("data:image/svg+xml,<svg width='14' height='14' viewBox='0 0 14 14' fill='none' xmlns='http://www.w3.org/2000/svg'> <path fill-rule='evenodd' clip-rule='evenodd' d='M12.1083 3.05806C12.3524 3.30214 12.3524 3.69786 12.1083 3.94194L5.69162 10.3586C5.44754 10.6027 5.05181 10.6027 4.80773 10.3586L1.89107 7.44194C1.64699 7.19786 1.64699 6.80214 1.89107 6.55806C2.13514 6.31398 2.53087 6.31398 2.77495 6.55806L5.24967 9.03278L11.2244 3.05806C11.4685 2.81398 11.8642 2.81398 12.1083 3.05806Z' fill='gray'/> </svg>");
|
|
211
216
|
}
|
|
212
217
|
|
|
213
218
|
&--indeterminate,
|
|
@@ -215,13 +220,18 @@
|
|
|
215
220
|
--check-radio-color-background: var(--check-radio-color-background-checked);
|
|
216
221
|
--check-radio-color-border: var(--check-radio-color-border-checked);
|
|
217
222
|
|
|
218
|
-
background-image: url("data:image/svg+xml,<svg width='
|
|
223
|
+
background-image: url("data:image/svg+xml,<svg width='14' height='14' viewBox='0 0 14 14' fill='none' xmlns='http://www.w3.org/2000/svg'> <path d='M11.9955 7C11.9955 7.55228 11.5478 8 10.9955 8H3.00415C2.45187 8 2.00415 7.55228 2.00415 7V7C2.00415 6.44772 2.45187 6 3.00415 6H10.9955C11.5478 6 11.9955 6.44772 11.9955 7V7Z' fill='white'/> </svg>");
|
|
224
|
+
border: 0;
|
|
225
|
+
|
|
226
|
+
[data-dt-theme="dark"] & {
|
|
227
|
+
background-image: url("data:image/svg+xml,<svg width='14' height='14' viewBox='0 0 14 14' fill='none' xmlns='http://www.w3.org/2000/svg'> <path d='M11.9955 7C11.9955 7.55228 11.5478 8 10.9955 8H3.00415C2.45187 8 2.00415 7.55228 2.00415 7V7C2.00415 6.44772 2.45187 6 3.00415 6H10.9955C11.5478 6 11.9955 6.44772 11.9955 7V7Z' fill='black'/> </svg>");
|
|
228
|
+
}
|
|
219
229
|
|
|
220
230
|
&[disabled] {
|
|
221
231
|
--check-radio-color-background: var(--check-radio-color-background-disabled);
|
|
222
232
|
--check-radio-color-border: var(--check-radio-color-border-disabled);
|
|
223
233
|
|
|
224
|
-
background-image: url("data:image/svg+xml,<svg width='
|
|
234
|
+
background-image: url("data:image/svg+xml,<svg width='14' height='14' viewBox='0 0 14 14' fill='none' xmlns='http://www.w3.org/2000/svg'> <path d='M11.9955 7C11.9955 7.55228 11.5478 8 10.9955 8H3.00415C2.45187 8 2.00415 7.55228 2.00415 7V7C2.00415 6.44772 2.45187 6 3.00415 6H10.9955C11.5478 6 11.9955 6.44772 11.9955 7V7Z' fill='gray'/> </svg>");
|
|
225
235
|
}
|
|
226
236
|
}
|
|
227
237
|
|
|
@@ -230,7 +240,7 @@
|
|
|
230
240
|
--check-radio-color-background: var(--check-radio-color-background-disabled);
|
|
231
241
|
--check-radio-color-border: var(--check-radio-color-border-disabled);
|
|
232
242
|
|
|
233
|
-
background-image: url("data:image/svg+xml,<svg width='
|
|
243
|
+
background-image: url("data:image/svg+xml,<svg width='14' height='14' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'><path d='M19 13H5v-2h14v2z' fill='hsl(240, 10%, 51%)'/></svg>");
|
|
234
244
|
}
|
|
235
245
|
|
|
236
246
|
// Disabled
|
|
@@ -258,15 +268,11 @@
|
|
|
258
268
|
--check-radio-color-background: var(--check-radio-color-background-disabled);
|
|
259
269
|
}
|
|
260
270
|
|
|
261
|
-
&:focus-visible,
|
|
262
|
-
&:checked:focus-visible {
|
|
263
|
-
box-shadow: var(--dt-shadow-focus), inset 0 0 0 var(--dt-size-200) var(--dt-color-neutral-white);
|
|
264
|
-
}
|
|
265
|
-
|
|
266
271
|
&:checked {
|
|
267
272
|
--check-radio-color-background: var(--check-radio-color-background-checked);
|
|
268
273
|
|
|
269
|
-
|
|
274
|
+
border-color: transparent;
|
|
275
|
+
box-shadow: inset 0 0 0 var(--dt-size-200) var(--dt-radio-color-foreground-checked);
|
|
270
276
|
|
|
271
277
|
// Disabled
|
|
272
278
|
&[disabled] {
|
|
@@ -274,6 +280,12 @@
|
|
|
274
280
|
}
|
|
275
281
|
}
|
|
276
282
|
|
|
283
|
+
&:focus,
|
|
284
|
+
&:focus-visible,
|
|
285
|
+
&:checked:focus-visible {
|
|
286
|
+
box-shadow: var(--dt-shadow-focus), inset 0 0 0 var(--dt-size-200) var(--dt-radio-color-foreground-checked);
|
|
287
|
+
}
|
|
288
|
+
|
|
277
289
|
&--disabled:checked {
|
|
278
290
|
--check-radio-color-border: var(--check-radio-color-border-disabled);
|
|
279
291
|
--check-radio-color-background: var(--check-radio-color-background-disabled);
|
|
@@ -35,16 +35,12 @@
|
|
|
35
35
|
z-index: var(--zi-selected);
|
|
36
36
|
width: var(--select-arrow-size);
|
|
37
37
|
height: var(--select-arrow-size);
|
|
38
|
-
background-image: url(
|
|
38
|
+
background-image: url("data:image/svg+xml,<svg width='14' height='14' viewBox='0 0 14 14' fill='none' xmlns='http://www.w3.org/2000/svg'> <path fill-rule='evenodd' clip-rule='evenodd' d='M6.55798 1.89155C6.80205 1.64748 7.19778 1.64748 7.44186 1.89155L10.3585 4.80822C10.6026 5.0523 10.6026 5.44803 10.3585 5.6921C10.1144 5.93618 9.71872 5.93618 9.47464 5.6921L6.99992 3.21738L4.52519 5.6921C4.28112 5.93618 3.88539 5.93618 3.64131 5.6921C3.39723 5.44803 3.39723 5.0523 3.64131 4.80822L6.55798 1.89155ZM3.64131 8.30822C3.88539 8.06414 4.28112 8.06414 4.52519 8.30822L6.99992 10.7829L9.47464 8.30822C9.71872 8.06414 10.1144 8.06414 10.3585 8.30822C10.6026 8.5523 10.6026 8.94803 10.3585 9.1921L7.44186 12.1088C7.19778 12.3528 6.80205 12.3528 6.55798 12.1088L3.64131 9.1921C3.39723 8.94803 3.39723 8.5523 3.64131 8.30822Z' fill='gray'/> </svg>");
|
|
39
39
|
background-repeat: no-repeat;
|
|
40
40
|
background-size: 100%;
|
|
41
41
|
transform: translateY(-50%);
|
|
42
42
|
content: '';
|
|
43
43
|
pointer-events: none;
|
|
44
|
-
|
|
45
|
-
.dialtone-theme-dark & {
|
|
46
|
-
background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMiIgaGVpZ2h0PSIxMiIgZmlsbD0ibm9uZSIgdmlld0JveD0iMCAwIDEyIDEyIj4KICA8cGF0aCBmaWxsPSIjQUFBIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik0zLjE0NiA3LjE0NmEuNS41IDAgMCAxIC43MDggMEw2IDkuMjkzbDIuMTQ2LTIuMTQ3YS41LjUgMCAxIDEgLjcwOC43MDhsLTIuNSAyLjVhLjUuNSAwIDAgMS0uNzA4IDBsLTIuNS0yLjVhLjUuNSAwIDAgMSAwLS43MDhabTIuNS01LjVhLjUuNSAwIDAgMSAuNzA4IDBsMi41IDIuNWEuNS41IDAgMSAxLS43MDguNzA4TDYgMi43MDcgMy44NTQgNC44NTRhLjUuNSAwIDAgMS0uNzA4LS43MDhsMi41LTIuNVoiIGNsaXAtcnVsZT0iZXZlbm9kZCIvPgo8L3N2Zz4K');
|
|
47
|
-
}
|
|
48
44
|
}
|
|
49
45
|
}
|
|
50
46
|
|
|
@@ -136,15 +132,18 @@
|
|
|
136
132
|
|
|
137
133
|
// $$ VALIDATION STATES
|
|
138
134
|
// ------------------------------------------------------------------------
|
|
139
|
-
.d-select__input--success
|
|
135
|
+
.d-select__input--success,
|
|
136
|
+
.d-select__input--success:hover {
|
|
140
137
|
--input-color-border: var(--dt-inputs-color-border-success);
|
|
141
138
|
}
|
|
142
139
|
|
|
143
|
-
.d-select__input--error
|
|
140
|
+
.d-select__input--error,
|
|
141
|
+
.d-select__input--error:hover {
|
|
144
142
|
--input-color-border: var(--dt-inputs-color-border-critical);
|
|
145
143
|
}
|
|
146
144
|
|
|
147
|
-
.d-select__input--warning
|
|
145
|
+
.d-select__input--warning,
|
|
146
|
+
.d-select__input--warning:hover {
|
|
148
147
|
--input-color-border: var(--dt-inputs-color-border-warning);
|
|
149
148
|
}
|
|
150
149
|
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
.d-toast {
|
|
27
27
|
// Component CSS Vars
|
|
28
28
|
// ------------------------------------------------------------------------
|
|
29
|
-
--toast-color-shadow:
|
|
29
|
+
--toast-color-shadow: var(--dt-color-border-subtle);
|
|
30
30
|
--toast-box-shadow: 0 0 0 var(--dt-size-100) var(--toast-color-shadow) inset, var(--dt-shadow-medium);
|
|
31
31
|
|
|
32
32
|
z-index: var(--zi-notification);
|
|
@@ -75,7 +75,7 @@
|
|
|
75
75
|
.d-toast--chat {
|
|
76
76
|
.d-notice__icon,
|
|
77
77
|
.d-toast__meta {
|
|
78
|
-
color: var(--dt-color-
|
|
78
|
+
color: var(--dt-color-foreground-tertiary);
|
|
79
79
|
}
|
|
80
80
|
|
|
81
81
|
.d-toast__meta {
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
// ------------------------------------------------------------------------
|
|
25
25
|
--toggle-transition-timing-function: var(--ttf-out-quint);
|
|
26
26
|
--toggle-transition-speed: var(--td300);
|
|
27
|
-
--toggle-color-background: var(--dt-color-
|
|
27
|
+
--toggle-color-background: hsl(var(--dt-color-surface-bold-h), var(--dt-color-surface-bold-s), 66.6666%);
|
|
28
28
|
--toggle-size-height: var(--dt-size-550); // 24
|
|
29
29
|
--toggle-size-width: var(--dt-size-650); // 48
|
|
30
30
|
--toggle-size-icon: var(--dt-size-500); // 16
|
|
@@ -64,10 +64,13 @@
|
|
|
64
64
|
display: none;
|
|
65
65
|
}
|
|
66
66
|
|
|
67
|
-
|
|
68
|
-
background-image: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik01LjM4MTI4IDUuMzgxMjhDNS43MjI5OSA1LjAzOTU3IDYuMjc3MDEgNS4wMzk1NyA2LjYxODcyIDUuMzgxMjhMMTIgMTAuNzYyNkwxNy4zODEzIDUuMzgxMjhDMTcuNzIzIDUuMDM5NTcgMTguMjc3IDUuMDM5NTcgMTguNjE4NyA1LjM4MTI4QzE4Ljk2MDQgNS43MjI5OSAxOC45NjA0IDYuMjc3MDEgMTguNjE4NyA2LjYxODcyTDEzLjIzNzQgMTJMMTguNjE4NyAxNy4zODEzQzE4Ljk2MDQgMTcuNzIzIDE4Ljk2MDQgMTguMjc3IDE4LjYxODcgMTguNjE4N0MxOC4yNzcgMTguOTYwNCAxNy43MjMgMTguOTYwNCAxNy4zODEzIDE4LjYxODdMMTIgMTMuMjM3NEw2LjYxODcyIDE4LjYxODdDNi4yNzcwMSAxOC45NjA0IDUuNzIyOTkgMTguOTYwNCA1LjM4MTI4IDE4LjYxODdDNS4wMzk1NyAxOC4yNzcgNS4wMzk1NyAxNy43MjMgNS4zODEyOCAxNy4zODEzTDEwLjc2MjYgMTJMNS4zODEyOCA2LjYxODcyQzUuMDM5NTcgNi4yNzcwMSA1LjAzOTU3IDUuNzIyOTkgNS4zODEyOCA1LjM4MTI4WiIgZmlsbD0id2hpdGUiLz4KPC9zdmc+Cg==');
|
|
67
|
+
background-image: url("data:image/svg+xml,<svg width='14' height='14' viewBox='0 0 14 14' fill='none' xmlns='http://www.w3.org/2000/svg'> <path fill-rule='evenodd' clip-rule='evenodd' d='M3.05806 3.05806C3.30214 2.81398 3.69786 2.81398 3.94194 3.05806L7 6.11612L10.0581 3.05806C10.3021 2.81398 10.6979 2.81398 10.9419 3.05806C11.186 3.30214 11.186 3.69786 10.9419 3.94194L7.88388 7L10.9419 10.0581C11.186 10.3021 11.186 10.6979 10.9419 10.9419C10.6979 11.186 10.3021 11.186 10.0581 10.9419L7 7.88388L3.94194 10.9419C3.69786 11.186 3.30214 11.186 3.05806 10.9419C2.81398 10.6979 2.81398 10.3021 3.05806 10.0581L6.11612 7L3.05806 3.94194C2.81398 3.69786 2.81398 3.30214 3.05806 3.05806Z' fill='white'/> </svg>");
|
|
69
68
|
background-repeat: no-repeat;
|
|
70
69
|
background-size: cover;
|
|
70
|
+
|
|
71
|
+
[data-dt-theme="dark"] & {
|
|
72
|
+
background-image: url("data:image/svg+xml,<svg width='14' height='14' viewBox='0 0 14 14' fill='none' xmlns='http://www.w3.org/2000/svg'> <path fill-rule='evenodd' clip-rule='evenodd' d='M3.05806 3.05806C3.30214 2.81398 3.69786 2.81398 3.94194 3.05806L7 6.11612L10.0581 3.05806C10.3021 2.81398 10.6979 2.81398 10.9419 3.05806C11.186 3.30214 11.186 3.69786 10.9419 3.94194L7.88388 7L10.9419 10.0581C11.186 10.3021 11.186 10.6979 10.9419 10.9419C10.6979 11.186 10.3021 11.186 10.0581 10.9419L7 7.88388L3.94194 10.9419C3.69786 11.186 3.30214 11.186 3.05806 10.9419C2.81398 10.6979 2.81398 10.3021 3.05806 10.0581L6.11612 7L3.05806 3.94194C2.81398 3.69786 2.81398 3.30214 3.05806 3.05806Z' fill='black'/> </svg>");
|
|
73
|
+
}
|
|
71
74
|
}
|
|
72
75
|
|
|
73
76
|
&::after {
|
|
@@ -76,7 +79,7 @@
|
|
|
76
79
|
left: var(--dt-space-100); // 1
|
|
77
80
|
width: calc(var(--toggle-size-icon) + var(--dt-size-300));
|
|
78
81
|
height: calc(var(--toggle-size-icon) + var(--dt-size-300));
|
|
79
|
-
background-color: var(--dt-color-
|
|
82
|
+
background-color: var(--dt-color-surface-primary);
|
|
80
83
|
border-radius: var(--dt-size-radius-circle);
|
|
81
84
|
cursor: pointer;
|
|
82
85
|
transition: left var(--toggle-transition-speed) var(--toggle-transition-timing-function);
|
|
@@ -105,11 +108,15 @@
|
|
|
105
108
|
// $$ CHECKED TOGGLE
|
|
106
109
|
// ----------------------------------------------------------------------------
|
|
107
110
|
&--checked {
|
|
108
|
-
--toggle-color-background: var(--dt-color-
|
|
111
|
+
--toggle-color-background: var(--dt-checkbox-color-background-checked);
|
|
109
112
|
|
|
110
113
|
.d-toggle__inner {
|
|
111
114
|
left: var(--dt-space-350); // 6
|
|
112
|
-
background-image: url(
|
|
115
|
+
background-image: url("data:image/svg+xml,<svg width='14' height='14' viewBox='0 0 14 14' fill='none' xmlns='http://www.w3.org/2000/svg'> <path fill-rule='evenodd' clip-rule='evenodd' d='M12.1083 3.05806C12.3524 3.30214 12.3524 3.69786 12.1083 3.94194L5.69162 10.3586C5.44754 10.6027 5.05181 10.6027 4.80773 10.3586L1.89107 7.44194C1.64699 7.19786 1.64699 6.80214 1.89107 6.55806C2.13514 6.31398 2.53087 6.31398 2.77495 6.55806L5.24967 9.03278L11.2244 3.05806C11.4685 2.81398 11.8642 2.81398 12.1083 3.05806Z' fill='white'/> </svg>");
|
|
116
|
+
|
|
117
|
+
[data-dt-theme="dark"] & {
|
|
118
|
+
background-image: url("data:image/svg+xml,<svg width='14' height='14' viewBox='0 0 14 14' fill='none' xmlns='http://www.w3.org/2000/svg'> <path fill-rule='evenodd' clip-rule='evenodd' d='M12.1083 3.05806C12.3524 3.30214 12.3524 3.69786 12.1083 3.94194L5.69162 10.3586C5.44754 10.6027 5.05181 10.6027 4.80773 10.3586L1.89107 7.44194C1.64699 7.19786 1.64699 6.80214 1.89107 6.55806C2.13514 6.31398 2.53087 6.31398 2.77495 6.55806L5.24967 9.03278L11.2244 3.05806C11.4685 2.81398 11.8642 2.81398 12.1083 3.05806Z' fill='black'/> </svg>");
|
|
119
|
+
}
|
|
113
120
|
}
|
|
114
121
|
|
|
115
122
|
&.d-toggle--small .d-toggle__inner {
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
}
|
|
48
48
|
|
|
49
49
|
.tippy-box[data-theme~='inverted'] > .tippy-svg-arrow {
|
|
50
|
-
fill: var(--dt-color-surface-
|
|
50
|
+
fill: var(--dt-color-surface-contrast-inverted);
|
|
51
51
|
}
|
|
52
52
|
|
|
53
53
|
.tippy-box[data-animation='fade'][data-state='hidden'] {
|
|
@@ -91,8 +91,8 @@
|
|
|
91
91
|
.d-tooltip--inverted {
|
|
92
92
|
// -- COMPONENT CSS VARS
|
|
93
93
|
// -----------------------
|
|
94
|
-
--tooltip-color-background: var(--dt-color-surface-
|
|
95
|
-
--tooltip-color-text: var(--dt-color-foreground-
|
|
94
|
+
--tooltip-color-background: var(--dt-color-surface-contrast-inverted);
|
|
95
|
+
--tooltip-color-text: var(--dt-color-foreground-primary);
|
|
96
96
|
}
|
|
97
97
|
|
|
98
98
|
// ============================================================================
|
|
@@ -20,23 +20,23 @@
|
|
|
20
20
|
|
|
21
21
|
@font-face {
|
|
22
22
|
font-weight: 400;
|
|
23
|
-
font-family:
|
|
23
|
+
font-family: "Season Mix";
|
|
24
24
|
font-style: normal;
|
|
25
|
-
src: url('../fonts/
|
|
25
|
+
src: url('../fonts/SeasonMix-Regular.woff2') format('woff2');
|
|
26
26
|
}
|
|
27
27
|
|
|
28
28
|
@font-face {
|
|
29
|
-
font-weight:
|
|
30
|
-
font-family:
|
|
29
|
+
font-weight: 600;
|
|
30
|
+
font-family: "Season Mix";
|
|
31
31
|
font-style: normal;
|
|
32
|
-
src: url('../fonts/
|
|
32
|
+
src: url('../fonts/SeasonMix-SemiBold.woff2') format('woff2');
|
|
33
33
|
}
|
|
34
34
|
|
|
35
35
|
@font-face {
|
|
36
|
-
font-weight:
|
|
37
|
-
font-family:
|
|
36
|
+
font-weight: 700;
|
|
37
|
+
font-family: "Season Mix";
|
|
38
38
|
font-style: normal;
|
|
39
|
-
src: url('../fonts/
|
|
39
|
+
src: url('../fonts/SeasonMix-Bold.woff2') format('woff2');
|
|
40
40
|
}
|
|
41
41
|
|
|
42
42
|
// Define custom font: "Segoe UI Adjusted" to fix some visual issues with the Segoe UI font
|
|
@@ -296,7 +296,7 @@
|
|
|
296
296
|
}
|
|
297
297
|
|
|
298
298
|
&__container--off-duty {
|
|
299
|
-
background-color: var(--dt-
|
|
299
|
+
background-color: var(--dt-color-surface-critical);
|
|
300
300
|
border: var(--dt-size-100) solid var(--dt-color-border-subtle);
|
|
301
301
|
border-radius: var(--dt-size-radius-500);
|
|
302
302
|
|