@taiga-ui/core 4.5.0 → 4.6.0-canary.d8f9586
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/components/data-list/data-list.component.d.ts +1 -1
- package/components/dialog/dialog.component.d.ts +1 -1
- package/components/dialog/dialogs.component.d.ts +2 -2
- package/components/error/error.component.d.ts +1 -1
- package/components/notification/notification.directive.d.ts +1 -1
- package/components/textfield/textfield.component.d.ts +8 -9
- package/components/textfield/textfield.directive.d.ts +0 -1
- package/directives/appearance/appearance.directive.d.ts +3 -2
- package/directives/appearance/appearance.options.d.ts +6 -1
- package/directives/dropdown/dropdown.directive.d.ts +1 -1
- package/directives/hint/hint.component.d.ts +1 -1
- package/esm2022/components/alert/alert.component.mjs +6 -6
- package/esm2022/components/alert/alerts.component.mjs +2 -1
- package/esm2022/components/calendar/calendar-sheet.component.mjs +5 -5
- package/esm2022/components/calendar/calendar-spin.component.mjs +3 -3
- package/esm2022/components/calendar/calendar-year.component.mjs +3 -3
- package/esm2022/components/calendar/calendar.component.mjs +5 -5
- package/esm2022/components/data-list/data-list.component.mjs +6 -6
- package/esm2022/components/dialog/dialog.component.mjs +6 -5
- package/esm2022/components/dialog/dialogs.component.mjs +8 -15
- package/esm2022/components/error/error.component.mjs +8 -8
- package/esm2022/components/expand/expand.component.mjs +3 -3
- package/esm2022/components/root/root.component.mjs +7 -7
- package/esm2022/components/scrollbar/scroll-controls.component.mjs +5 -5
- package/esm2022/components/scrollbar/scrollbar.component.mjs +3 -3
- package/esm2022/components/scrollbar/scrollbar.directive.mjs +3 -3
- package/esm2022/components/spin-button/spin-button.component.mjs +3 -3
- package/esm2022/components/textfield/select.directive.mjs +3 -3
- package/esm2022/components/textfield/textfield.component.mjs +18 -17
- package/esm2022/components/textfield/textfield.directive.mjs +3 -5
- package/esm2022/directives/appearance/appearance.directive.mjs +1 -1
- package/esm2022/directives/appearance/appearance.options.mjs +1 -1
- package/esm2022/directives/dropdown/dropdown.component.mjs +2 -2
- package/esm2022/directives/dropdown/dropdown.directive.mjs +1 -2
- package/esm2022/directives/group/group.directive.mjs +5 -5
- package/esm2022/directives/hint/hint-unstyled.component.mjs +3 -3
- package/esm2022/directives/hint/hint.component.mjs +4 -3
- package/esm2022/directives/hint/hints.component.mjs +3 -3
- package/fesm2022/taiga-ui-core-components-alert.mjs +5 -5
- package/fesm2022/taiga-ui-core-components-alert.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-components-calendar.mjs +13 -13
- package/fesm2022/taiga-ui-core-components-calendar.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-components-data-list.mjs +5 -5
- package/fesm2022/taiga-ui-core-components-data-list.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-components-dialog.mjs +10 -18
- package/fesm2022/taiga-ui-core-components-dialog.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-components-error.mjs +7 -7
- package/fesm2022/taiga-ui-core-components-error.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-components-expand.mjs +2 -2
- package/fesm2022/taiga-ui-core-components-expand.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-components-root.mjs +7 -7
- package/fesm2022/taiga-ui-core-components-root.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-components-scrollbar.mjs +8 -8
- package/fesm2022/taiga-ui-core-components-scrollbar.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-components-spin-button.mjs +3 -3
- package/fesm2022/taiga-ui-core-components-spin-button.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-components-textfield.mjs +23 -22
- package/fesm2022/taiga-ui-core-components-textfield.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-directives-appearance.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-directives-dropdown.mjs +2 -2
- package/fesm2022/taiga-ui-core-directives-dropdown.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-directives-group.mjs +4 -4
- package/fesm2022/taiga-ui-core-directives-group.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-directives-hint.mjs +5 -5
- package/fesm2022/taiga-ui-core-directives-hint.mjs.map +1 -1
- package/package.json +324 -324
- package/styles/components/group.less +10 -33
- package/styles/components/textfield.less +31 -22
- package/styles/theme/appearance/floating.less +2 -2
- package/styles/theme/appearance/glass.less +3 -3
- package/styles/theme/appearance/opposite.less +2 -2
- package/styles/theme/appearance/textfield.less +6 -1
- package/styles/theme/palette.less +62 -60
- package/styles/theme/wrapper.less +1 -1
|
@@ -26,26 +26,23 @@
|
|
|
26
26
|
|
|
27
27
|
--t-group-radius: var(--tui-radius-l);
|
|
28
28
|
--t-group-margin: -1px;
|
|
29
|
-
--t-group-clip: inset(-
|
|
29
|
+
--t-group-clip: inset(-1rem 1px -1rem -1rem);
|
|
30
30
|
|
|
31
31
|
& > * {
|
|
32
32
|
z-index: 1;
|
|
33
33
|
flex: 1 1 0;
|
|
34
34
|
min-inline-size: 0;
|
|
35
35
|
|
|
36
|
-
|
|
37
|
-
&._disabled
|
|
36
|
+
&:disabled,
|
|
37
|
+
&._disabled {
|
|
38
38
|
z-index: 0;
|
|
39
39
|
}
|
|
40
40
|
|
|
41
|
-
&:invalid
|
|
41
|
+
&:invalid,
|
|
42
|
+
&[data-mode='invalid'] {
|
|
42
43
|
z-index: 2;
|
|
43
44
|
|
|
44
45
|
--t-group-clip: none;
|
|
45
|
-
|
|
46
|
-
&:hover {
|
|
47
|
-
z-index: 4;
|
|
48
|
-
}
|
|
49
46
|
}
|
|
50
47
|
|
|
51
48
|
&:has(:invalid),
|
|
@@ -53,44 +50,28 @@
|
|
|
53
50
|
z-index: 2;
|
|
54
51
|
|
|
55
52
|
--t-group-clip: none;
|
|
56
|
-
|
|
57
|
-
&:hover {
|
|
58
|
-
z-index: 4;
|
|
59
|
-
}
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
&:hover {
|
|
63
|
-
z-index: 3;
|
|
64
|
-
|
|
65
|
-
--t-group-clip: inset(-1px 0.5px -1px -1px);
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
&:has([data-state='hover']) {
|
|
69
|
-
z-index: 3;
|
|
70
|
-
|
|
71
|
-
--t-group-clip: none;
|
|
72
53
|
}
|
|
73
54
|
|
|
74
55
|
&:focus-within {
|
|
75
|
-
z-index:
|
|
56
|
+
z-index: 3;
|
|
76
57
|
|
|
77
58
|
--t-group-clip: none;
|
|
78
59
|
}
|
|
79
60
|
|
|
80
61
|
&:has([data-focus='true']) {
|
|
81
|
-
z-index:
|
|
62
|
+
z-index: 3;
|
|
82
63
|
|
|
83
64
|
--t-group-clip: none;
|
|
84
65
|
}
|
|
85
66
|
|
|
86
67
|
&[data-mode='checked'] {
|
|
87
|
-
z-index:
|
|
68
|
+
z-index: 4;
|
|
88
69
|
|
|
89
70
|
--t-group-clip: none;
|
|
90
71
|
}
|
|
91
72
|
|
|
92
73
|
&:has([tuiBlock]:checked) {
|
|
93
|
-
z-index:
|
|
74
|
+
z-index: 4;
|
|
94
75
|
|
|
95
76
|
--t-group-clip: none;
|
|
96
77
|
}
|
|
@@ -124,7 +105,7 @@
|
|
|
124
105
|
display: inline-flex;
|
|
125
106
|
flex-direction: column;
|
|
126
107
|
|
|
127
|
-
--t-group-clip: inset(-
|
|
108
|
+
--t-group-clip: inset(-1rem -1rem 1px -1rem);
|
|
128
109
|
|
|
129
110
|
& > * {
|
|
130
111
|
min-block-size: auto;
|
|
@@ -146,10 +127,6 @@
|
|
|
146
127
|
&:only-child {
|
|
147
128
|
border-radius: var(--t-group-radius);
|
|
148
129
|
}
|
|
149
|
-
|
|
150
|
-
&:hover {
|
|
151
|
-
--t-group-clip: inset(-1px -1px 0.5px -1px);
|
|
152
|
-
}
|
|
153
130
|
}
|
|
154
131
|
}
|
|
155
132
|
}
|
|
@@ -25,10 +25,6 @@ tui-textfield {
|
|
|
25
25
|
--t-right: 2.25rem;
|
|
26
26
|
}
|
|
27
27
|
|
|
28
|
-
&::before {
|
|
29
|
-
margin-inline-end: 0.75rem;
|
|
30
|
-
}
|
|
31
|
-
|
|
32
28
|
&::after {
|
|
33
29
|
margin-inline-start: 0.25rem;
|
|
34
30
|
}
|
|
@@ -59,7 +55,7 @@ tui-textfield {
|
|
|
59
55
|
}
|
|
60
56
|
|
|
61
57
|
&::after {
|
|
62
|
-
margin: 0 -0.175rem 0 0.
|
|
58
|
+
margin: 0 -0.175rem 0 0.575rem;
|
|
63
59
|
font-size: 1rem;
|
|
64
60
|
}
|
|
65
61
|
|
|
@@ -70,6 +66,7 @@ tui-textfield {
|
|
|
70
66
|
|
|
71
67
|
.t-content {
|
|
72
68
|
gap: 0;
|
|
69
|
+
margin-inline-end: -0.325rem;
|
|
73
70
|
}
|
|
74
71
|
}
|
|
75
72
|
|
|
@@ -93,13 +90,17 @@ tui-textfield {
|
|
|
93
90
|
}
|
|
94
91
|
|
|
95
92
|
&::after {
|
|
96
|
-
margin: 0 -0.125rem 0 0.
|
|
93
|
+
margin: 0 -0.125rem 0 0.5rem;
|
|
97
94
|
}
|
|
98
95
|
|
|
99
96
|
input,
|
|
100
97
|
select {
|
|
101
98
|
font: var(--tui-font-text-s);
|
|
102
99
|
}
|
|
100
|
+
|
|
101
|
+
.t-content {
|
|
102
|
+
margin-inline-end: -0.125rem;
|
|
103
|
+
}
|
|
103
104
|
}
|
|
104
105
|
|
|
105
106
|
/*
|
|
@@ -120,6 +121,7 @@ tui-textfield {
|
|
|
120
121
|
|
|
121
122
|
&::before {
|
|
122
123
|
z-index: 1;
|
|
124
|
+
margin-inline-end: 0.75rem;
|
|
123
125
|
}
|
|
124
126
|
|
|
125
127
|
&:has(:disabled:not(.t-filler, button, option))::before,
|
|
@@ -141,9 +143,11 @@ tui-textfield {
|
|
|
141
143
|
select {
|
|
142
144
|
padding-top: calc(var(--t-height) / 3);
|
|
143
145
|
|
|
144
|
-
|
|
146
|
+
&:not(:-webkit-autofill)::placeholder,
|
|
145
147
|
&._empty {
|
|
146
|
-
color:
|
|
148
|
+
caret-color: var(--tui-text-primary);
|
|
149
|
+
color: transparent !important;
|
|
150
|
+
-webkit-text-fill-color: transparent !important;
|
|
147
151
|
}
|
|
148
152
|
}
|
|
149
153
|
}
|
|
@@ -155,9 +159,11 @@ tui-textfield {
|
|
|
155
159
|
select {
|
|
156
160
|
padding-top: calc(var(--t-height) / 3);
|
|
157
161
|
|
|
158
|
-
|
|
162
|
+
&:not(:-webkit-autofill)::placeholder,
|
|
159
163
|
&._empty {
|
|
160
|
-
color:
|
|
164
|
+
caret-color: var(--tui-text-primary);
|
|
165
|
+
color: transparent !important;
|
|
166
|
+
-webkit-text-fill-color: transparent !important;
|
|
161
167
|
}
|
|
162
168
|
}
|
|
163
169
|
}
|
|
@@ -191,7 +197,7 @@ tui-textfield {
|
|
|
191
197
|
& ~ .t-content {
|
|
192
198
|
opacity: var(--tui-disabled-opacity);
|
|
193
199
|
|
|
194
|
-
|
|
200
|
+
tui-icon {
|
|
195
201
|
display: none;
|
|
196
202
|
}
|
|
197
203
|
}
|
|
@@ -218,7 +224,9 @@ tui-textfield {
|
|
|
218
224
|
.appearance-focus({
|
|
219
225
|
&::placeholder,
|
|
220
226
|
&._empty {
|
|
221
|
-
color: var(--tui-text-
|
|
227
|
+
caret-color: var(--tui-text-primary);
|
|
228
|
+
color: transparent !important;
|
|
229
|
+
-webkit-text-fill-color: var(--tui-text-tertiary) !important;
|
|
222
230
|
}
|
|
223
231
|
|
|
224
232
|
& ~ label {
|
|
@@ -228,6 +236,13 @@ tui-textfield {
|
|
|
228
236
|
}
|
|
229
237
|
});
|
|
230
238
|
}
|
|
239
|
+
|
|
240
|
+
.ios-only({
|
|
241
|
+
&._ios-fix {
|
|
242
|
+
position: fixed;
|
|
243
|
+
left: 1000rem;
|
|
244
|
+
}
|
|
245
|
+
});
|
|
231
246
|
}
|
|
232
247
|
|
|
233
248
|
label:not([data-orientation='vertical']) {
|
|
@@ -250,16 +265,6 @@ tui-textfield {
|
|
|
250
265
|
cursor: pointer;
|
|
251
266
|
}
|
|
252
267
|
|
|
253
|
-
input:defined,
|
|
254
|
-
select:defined {
|
|
255
|
-
.ios-only({
|
|
256
|
-
&._ios-fix {
|
|
257
|
-
position: fixed;
|
|
258
|
-
left: 1000rem;
|
|
259
|
-
}
|
|
260
|
-
});
|
|
261
|
-
}
|
|
262
|
-
|
|
263
268
|
button,
|
|
264
269
|
a {
|
|
265
270
|
pointer-events: auto;
|
|
@@ -271,6 +276,10 @@ tui-textfield {
|
|
|
271
276
|
gap: 0.25rem;
|
|
272
277
|
margin-inline-start: auto;
|
|
273
278
|
isolation: isolate;
|
|
279
|
+
|
|
280
|
+
tui-icon {
|
|
281
|
+
pointer-events: auto;
|
|
282
|
+
}
|
|
274
283
|
}
|
|
275
284
|
|
|
276
285
|
.t-clear {
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
[tuiAppearance][data-appearance='floating'] {
|
|
4
4
|
background: #fff;
|
|
5
|
-
color:
|
|
6
|
-
box-shadow: 0 0.25rem 1.25rem
|
|
5
|
+
color: rgb(0 0 0 / 80%);
|
|
6
|
+
box-shadow: 0 0.25rem 1.25rem rgb(0 0 0 / 10%);
|
|
7
7
|
|
|
8
8
|
.appearance-hover({
|
|
9
9
|
box-shadow: 0 0.875rem 2.625rem rgba(0, 0, 0, 0.14);
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
@import '@taiga-ui/core/styles/taiga-ui-local.less';
|
|
2
2
|
|
|
3
3
|
[tuiAppearance][data-appearance='glass'] {
|
|
4
|
-
background:
|
|
4
|
+
background: rgb(0 0 0 / 40%);
|
|
5
5
|
color: #fff;
|
|
6
6
|
backdrop-filter: blur(1rem);
|
|
7
7
|
|
|
8
|
-
--tui-border-focus:
|
|
8
|
+
--tui-border-focus: rgb(255 255 255 / 64%);
|
|
9
9
|
|
|
10
10
|
.appearance-hover({
|
|
11
11
|
background: rgba(0, 0, 0, 0.48);
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
|
|
19
19
|
[tuiTheme='dark'] [tuiAppearance][data-appearance='glass'],
|
|
20
20
|
[tuiTheme='dark'][tuiAppearance][data-appearance='glass'] {
|
|
21
|
-
background:
|
|
21
|
+
background: rgb(255 255 255 / 30%);
|
|
22
22
|
|
|
23
23
|
.appearance-hover({
|
|
24
24
|
background: rgba(255, 255, 255, 0.4);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
@import '@taiga-ui/core/styles/taiga-ui-local.less';
|
|
2
2
|
|
|
3
3
|
[tuiAppearance][data-appearance='opposite'] {
|
|
4
|
-
--tui-border-focus:
|
|
4
|
+
--tui-border-focus: rgb(255 255 255 / 64%);
|
|
5
5
|
|
|
6
6
|
background: var(--tui-background-accent-opposite);
|
|
7
7
|
color: var(--tui-background-base);
|
|
@@ -17,5 +17,5 @@
|
|
|
17
17
|
|
|
18
18
|
[tuiTheme='dark'] [tuiAppearance][data-appearance='opposite'],
|
|
19
19
|
[tuiTheme='dark'][tuiAppearance][data-appearance='opposite'] {
|
|
20
|
-
--tui-border-focus:
|
|
20
|
+
--tui-border-focus: rgb(51 51 51 / 48%);
|
|
21
21
|
}
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
[tuiAppearance][data-appearance='textfield'] {
|
|
4
4
|
.transition(~'box-shadow, background, outline-color, border-color');
|
|
5
5
|
|
|
6
|
-
--t-shadow: 0 0.125rem 0.1875rem
|
|
6
|
+
--t-shadow: 0 0.125rem 0.1875rem rgb(0 0 0 / 10%);
|
|
7
7
|
|
|
8
8
|
background-color: var(--tui-background-base);
|
|
9
9
|
color: var(--tui-text-primary);
|
|
@@ -42,6 +42,11 @@
|
|
|
42
42
|
caret-color: var(--tui-text-primary) !important;
|
|
43
43
|
border-color: var(--tui-service-autofill-background) !important;
|
|
44
44
|
box-shadow: 0 0 0 100rem var(--tui-service-autofill-background) inset !important;
|
|
45
|
+
transition: background-color 600000s 0s;
|
|
46
|
+
|
|
47
|
+
&::placeholder {
|
|
48
|
+
-webkit-text-fill-color: var(--tui-text-secondary);
|
|
49
|
+
}
|
|
45
50
|
}
|
|
46
51
|
}
|
|
47
52
|
|
|
@@ -2,40 +2,41 @@
|
|
|
2
2
|
// Backgrounds
|
|
3
3
|
--tui-background-base: #222;
|
|
4
4
|
--tui-background-base-alt: #333;
|
|
5
|
-
--tui-background-neutral-1:
|
|
6
|
-
--tui-background-neutral-1-hover:
|
|
7
|
-
--tui-background-neutral-1-pressed:
|
|
8
|
-
--tui-background-neutral-2:
|
|
9
|
-
--tui-background-neutral-2-hover:
|
|
10
|
-
--tui-background-neutral-2-pressed:
|
|
5
|
+
--tui-background-neutral-1: rgb(255 255 255 / 8%);
|
|
6
|
+
--tui-background-neutral-1-hover: rgb(255 255 255 / 16%);
|
|
7
|
+
--tui-background-neutral-1-pressed: rgb(255 255 255 / 24%);
|
|
8
|
+
--tui-background-neutral-2: rgb(255 255 255 / 24%);
|
|
9
|
+
--tui-background-neutral-2-hover: rgb(255 255 255 / 32%);
|
|
10
|
+
--tui-background-neutral-2-pressed: rgb(255 255 255 / 40%);
|
|
11
11
|
--tui-background-accent-opposite: #fff;
|
|
12
12
|
--tui-background-accent-opposite-hover: #f6f6f6;
|
|
13
13
|
--tui-background-accent-opposite-pressed: #ededed;
|
|
14
|
-
--tui-background-elevation-1: #
|
|
15
|
-
--tui-background-elevation-2: #
|
|
14
|
+
--tui-background-elevation-1: #292929;
|
|
15
|
+
--tui-background-elevation-2: #333;
|
|
16
|
+
--tui-background-elevation-3: #333;
|
|
16
17
|
// Other
|
|
17
|
-
--tui-service-autofill-background: rgb(85
|
|
18
|
-
--tui-border-normal:
|
|
19
|
-
--tui-border-hover:
|
|
20
|
-
--tui-border-focus:
|
|
18
|
+
--tui-service-autofill-background: rgb(85 74 42);
|
|
19
|
+
--tui-border-normal: rgb(255 255 255 / 14%);
|
|
20
|
+
--tui-border-hover: rgb(255 255 255 / 60%);
|
|
21
|
+
--tui-border-focus: rgb(255 255 255 / 64%);
|
|
21
22
|
// Statuses
|
|
22
|
-
--tui-status-negative:
|
|
23
|
-
--tui-status-negative-pale:
|
|
24
|
-
--tui-status-negative-pale-hover:
|
|
25
|
-
--tui-status-positive: rgb(74
|
|
26
|
-
--tui-status-positive-pale:
|
|
27
|
-
--tui-status-positive-pale-hover:
|
|
28
|
-
--tui-status-warning: rgb(255
|
|
29
|
-
--tui-status-warning-pale:
|
|
30
|
-
--tui-status-warning-pale-hover:
|
|
31
|
-
--tui-status-info: rgb(112
|
|
32
|
-
--tui-status-info-pale:
|
|
33
|
-
--tui-status-info-pale-hover:
|
|
34
|
-
--tui-status-neutral: rgb(149
|
|
23
|
+
--tui-status-negative: rgb(255 140 103 / 100%);
|
|
24
|
+
--tui-status-negative-pale: rgb(244 87 37 / 32%);
|
|
25
|
+
--tui-status-negative-pale-hover: rgb(244 87 37 / 40%);
|
|
26
|
+
--tui-status-positive: rgb(74 201 155);
|
|
27
|
+
--tui-status-positive-pale: rgb(74 201 155 / 32%);
|
|
28
|
+
--tui-status-positive-pale-hover: rgb(74 201 155 / 40%);
|
|
29
|
+
--tui-status-warning: rgb(255 199 0);
|
|
30
|
+
--tui-status-warning-pale: rgb(255 199 0 / 32%);
|
|
31
|
+
--tui-status-warning-pale-hover: rgb(255 199 0 / 40%);
|
|
32
|
+
--tui-status-info: rgb(112 182 246);
|
|
33
|
+
--tui-status-info-pale: rgb(112 182 246 / 32%);
|
|
34
|
+
--tui-status-info-pale-hover: rgb(112 182 246 / 40%);
|
|
35
|
+
--tui-status-neutral: rgb(149 155 164);
|
|
35
36
|
// Text
|
|
36
|
-
--tui-text-primary:
|
|
37
|
-
--tui-text-secondary:
|
|
38
|
-
--tui-text-tertiary:
|
|
37
|
+
--tui-text-primary: rgb(255 255 255 / 100%);
|
|
38
|
+
--tui-text-secondary: rgb(255 255 255 / 72%);
|
|
39
|
+
--tui-text-tertiary: rgb(255 255 255 / 60%);
|
|
39
40
|
--tui-text-action: #6788ff;
|
|
40
41
|
--tui-text-action-hover: #526ed3;
|
|
41
42
|
--tui-text-positive: #44c596;
|
|
@@ -49,12 +50,12 @@
|
|
|
49
50
|
// Backgrounds
|
|
50
51
|
--tui-background-base: #fff;
|
|
51
52
|
--tui-background-base-alt: #f6f6f6;
|
|
52
|
-
--tui-background-neutral-1:
|
|
53
|
-
--tui-background-neutral-1-hover:
|
|
54
|
-
--tui-background-neutral-1-pressed:
|
|
55
|
-
--tui-background-neutral-2:
|
|
56
|
-
--tui-background-neutral-2-hover:
|
|
57
|
-
--tui-background-neutral-2-pressed:
|
|
53
|
+
--tui-background-neutral-1: rgb(0 0 0 / 4%);
|
|
54
|
+
--tui-background-neutral-1-hover: rgb(0 0 0 / 8%);
|
|
55
|
+
--tui-background-neutral-1-pressed: rgb(0 0 0 / 12%);
|
|
56
|
+
--tui-background-neutral-2: rgb(0 0 0 / 8%);
|
|
57
|
+
--tui-background-neutral-2-hover: rgb(0 0 0 / 10%);
|
|
58
|
+
--tui-background-neutral-2-pressed: rgb(0 0 0 / 14%);
|
|
58
59
|
--tui-background-accent-1: #526ed3;
|
|
59
60
|
--tui-background-accent-1-hover: #6c86e2;
|
|
60
61
|
--tui-background-accent-1-pressed: #314692;
|
|
@@ -66,31 +67,32 @@
|
|
|
66
67
|
--tui-background-accent-opposite-pressed: #808080;
|
|
67
68
|
--tui-background-elevation-1: #fff;
|
|
68
69
|
--tui-background-elevation-2: #fff;
|
|
70
|
+
--tui-background-elevation-3: #fff;
|
|
69
71
|
// Other
|
|
70
72
|
--tui-service-autofill-background: #fff5c0;
|
|
71
|
-
--tui-service-selection-background:
|
|
72
|
-
--tui-service-backdrop:
|
|
73
|
-
--tui-border-normal:
|
|
74
|
-
--tui-border-hover:
|
|
75
|
-
--tui-border-focus:
|
|
73
|
+
--tui-service-selection-background: rgb(112 182 246 / 12%);
|
|
74
|
+
--tui-service-backdrop: rgb(0 0 0 / 75%);
|
|
75
|
+
--tui-border-normal: rgb(0 0 0 / 10%);
|
|
76
|
+
--tui-border-hover: rgb(0 0 0 / 16%);
|
|
77
|
+
--tui-border-focus: rgb(51 51 51 / 64%);
|
|
76
78
|
// Statuses
|
|
77
|
-
--tui-status-negative:
|
|
78
|
-
--tui-status-negative-pale:
|
|
79
|
-
--tui-status-negative-pale-hover:
|
|
80
|
-
--tui-status-positive:
|
|
81
|
-
--tui-status-positive-pale:
|
|
82
|
-
--tui-status-positive-pale-hover:
|
|
83
|
-
--tui-status-warning:
|
|
84
|
-
--tui-status-warning-pale:
|
|
85
|
-
--tui-status-warning-pale-hover:
|
|
86
|
-
--tui-status-info:
|
|
87
|
-
--tui-status-info-pale:
|
|
88
|
-
--tui-status-info-pale-hover:
|
|
89
|
-
--tui-status-neutral: rgb(121
|
|
79
|
+
--tui-status-negative: rgb(244 87 37 / 100%);
|
|
80
|
+
--tui-status-negative-pale: rgb(244 87 37 / 12%);
|
|
81
|
+
--tui-status-negative-pale-hover: rgb(244 87 37 / 24%);
|
|
82
|
+
--tui-status-positive: rgb(74 201 155 / 100%);
|
|
83
|
+
--tui-status-positive-pale: rgb(74 201 155 / 12%);
|
|
84
|
+
--tui-status-positive-pale-hover: rgb(74 201 155 / 24%);
|
|
85
|
+
--tui-status-warning: rgb(255 199 0 / 100%);
|
|
86
|
+
--tui-status-warning-pale: rgb(255 199 0 / 12%);
|
|
87
|
+
--tui-status-warning-pale-hover: rgb(255 199 0 / 24%);
|
|
88
|
+
--tui-status-info: rgb(112 182 246 / 100%);
|
|
89
|
+
--tui-status-info-pale: rgb(112 182 246 / 12%);
|
|
90
|
+
--tui-status-info-pale-hover: rgb(112 182 246 / 24%);
|
|
91
|
+
--tui-status-neutral: rgb(121 129 140);
|
|
90
92
|
// Text
|
|
91
|
-
--tui-text-primary:
|
|
92
|
-
--tui-text-secondary:
|
|
93
|
-
--tui-text-tertiary:
|
|
93
|
+
--tui-text-primary: rgb(27 31 59 / 100%);
|
|
94
|
+
--tui-text-secondary: rgb(27 31 59 / 65%);
|
|
95
|
+
--tui-text-tertiary: rgb(27 31 59 / 40%);
|
|
94
96
|
--tui-text-primary-on-accent-1: #fff;
|
|
95
97
|
--tui-text-primary-on-accent-2: #fff;
|
|
96
98
|
--tui-text-action: #526ed3;
|
|
@@ -124,9 +126,9 @@
|
|
|
124
126
|
--tui-chart-categorical-21: #3682db;
|
|
125
127
|
--tui-chart-categorical-22: #34b41f;
|
|
126
128
|
// Shadows
|
|
127
|
-
--tui-shadow-small: 0 0.25rem 1.25rem
|
|
128
|
-
--tui-shadow-small-hover: 0 1rem 2.5rem
|
|
129
|
-
--tui-shadow-medium: 0 0.375rem 2rem
|
|
130
|
-
--tui-shadow-medium-hover: 0 1.25rem 4rem
|
|
131
|
-
--tui-shadow-popup: 0 1.25rem 3rem
|
|
129
|
+
--tui-shadow-small: 0 0.25rem 1.25rem rgb(0 0 0 / 10%);
|
|
130
|
+
--tui-shadow-small-hover: 0 1rem 2.5rem rgb(0 0 0 / 14%);
|
|
131
|
+
--tui-shadow-medium: 0 0.375rem 2rem rgb(0 0 0 / 12%);
|
|
132
|
+
--tui-shadow-medium-hover: 0 1.25rem 4rem rgb(0 0 0 / 18%);
|
|
133
|
+
--tui-shadow-popup: 0 1.25rem 3rem rgb(0 0 0 / 20%);
|
|
132
134
|
}
|