devextreme-themebuilder 23.2.2-beta → 23.2.3
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/data/metadata/dx-theme-builder-metadata.js +2 -2
- package/data/scss/bundles/dx.fluent.saas.dark.compact.scss +12 -0
- package/data/scss/bundles/dx.fluent.saas.dark.scss +12 -0
- package/data/scss/bundles/dx.fluent.saas.light.compact.scss +12 -0
- package/data/scss/bundles/dx.fluent.saas.light.scss +12 -0
- package/data/scss/widgets/base/_form.scss +0 -4
- package/data/scss/widgets/base/_gallery.scss +7 -0
- package/data/scss/widgets/base/_menu.scss +2 -6
- package/data/scss/widgets/base/_menuBase.scss +6 -12
- package/data/scss/widgets/base/_tabPanel.scss +5 -7
- package/data/scss/widgets/base/_tabs.scss +31 -4
- package/data/scss/widgets/base/dateRangeBox/_index.scss +2 -0
- package/data/scss/widgets/base/filterBuilder/_index.scss +4 -2
- package/data/scss/widgets/base/list/_index.scss +0 -19
- package/data/scss/widgets/base/lookup/_mixins.scss +15 -10
- package/data/scss/widgets/base/scheduler/_index.scss +0 -10
- package/data/scss/widgets/base/scheduler/appointment/regular/_index.scss +2 -4
- package/data/scss/widgets/base/textEditor/_mixins.scss +5 -10
- package/data/scss/widgets/base/treeView/_index.scss +1 -0
- package/data/scss/widgets/fluent/_colors.scss +127 -104
- package/data/scss/widgets/fluent/_sizes.scss +9 -14
- package/data/scss/widgets/fluent/accordion/_colors.scss +2 -7
- package/data/scss/widgets/fluent/accordion/_index.scss +2 -1
- package/data/scss/widgets/fluent/accordion/_sizes.scss +9 -1
- package/data/scss/widgets/fluent/badge/_colors.scss +3 -1
- package/data/scss/widgets/fluent/button/_colors.scss +95 -69
- package/data/scss/widgets/fluent/button/_index.scss +3 -8
- package/data/scss/widgets/fluent/button/_mixins.scss +0 -4
- package/data/scss/widgets/fluent/calendar/_colors.scss +11 -6
- package/data/scss/widgets/fluent/card/_index.scss +1 -1
- package/data/scss/widgets/fluent/checkBox/_index.scss +0 -1
- package/data/scss/widgets/fluent/checkBox/_sizes.scss +1 -1
- package/data/scss/widgets/fluent/common/_index.scss +4 -32
- package/data/scss/widgets/fluent/common/_mixins.scss +1 -1
- package/data/scss/widgets/fluent/contextMenu/_index.scss +12 -3
- package/data/scss/widgets/fluent/contextMenu/_sizes.scss +1 -3
- package/data/scss/widgets/fluent/dataGrid/_colors.scss +7 -1
- package/data/scss/widgets/fluent/dateBox/_colors.scss +0 -2
- package/data/scss/widgets/fluent/dateBox/_index.scss +0 -8
- package/data/scss/widgets/fluent/diagram/_index.scss +5 -5
- package/data/scss/widgets/fluent/fileManager/_colors.scss +1 -1
- package/data/scss/widgets/fluent/filterBuilder/_colors.scss +1 -1
- package/data/scss/widgets/fluent/filterBuilder/_index.scss +0 -13
- package/data/scss/widgets/fluent/filterBuilder/_sizes.scss +7 -6
- package/data/scss/widgets/fluent/form/_colors.scss +15 -1
- package/data/scss/widgets/fluent/form/_index.scss +0 -12
- package/data/scss/widgets/fluent/gallery/_index.scss +0 -7
- package/data/scss/widgets/fluent/gridBase/_colors.scss +11 -3
- package/data/scss/widgets/fluent/gridBase/_index.scss +3 -3
- package/data/scss/widgets/fluent/htmlEditor/_colors.scss +2 -2
- package/data/scss/widgets/fluent/htmlEditor/_index.scss +1 -1
- package/data/scss/widgets/fluent/list/_colors.scss +24 -17
- package/data/scss/widgets/fluent/list/_index.scss +3 -0
- package/data/scss/widgets/fluent/loadIndicator/_colors.scss +9 -1
- package/data/scss/widgets/fluent/lookup/_colors.scss +3 -1
- package/data/scss/widgets/fluent/lookup/_index.scss +1 -4
- package/data/scss/widgets/fluent/menu/_colors.scss +4 -17
- package/data/scss/widgets/fluent/menuBase/_colors.scss +2 -0
- package/data/scss/widgets/fluent/menuBase/_index.scss +4 -20
- package/data/scss/widgets/fluent/numberBox/_colors.scss +2 -2
- package/data/scss/widgets/fluent/pivotGrid/_colors.scss +10 -2
- package/data/scss/widgets/fluent/pivotGrid/_index.scss +0 -13
- package/data/scss/widgets/fluent/progressBar/_colors.scss +2 -2
- package/data/scss/widgets/fluent/radioButton/_index.scss +8 -8
- package/data/scss/widgets/fluent/radioButton/_sizes.scss +2 -9
- package/data/scss/widgets/fluent/radioGroup/_colors.scss +0 -2
- package/data/scss/widgets/fluent/scheduler/_colors.scss +8 -1
- package/data/scss/widgets/fluent/scheduler/_index.scss +46 -0
- package/data/scss/widgets/fluent/scheduler/_sizes.scss +9 -0
- package/data/scss/widgets/fluent/scrollable/_colors.scss +1 -1
- package/data/scss/widgets/fluent/selectBox/_colors.scss +1 -1
- package/data/scss/widgets/fluent/slider/_colors.scss +2 -3
- package/data/scss/widgets/fluent/slider/_index.scss +3 -10
- package/data/scss/widgets/fluent/slider/_sizes.scss +6 -6
- package/data/scss/widgets/fluent/switch/_colors.scss +1 -1
- package/data/scss/widgets/fluent/tabPanel/_index.scss +6 -0
- package/data/scss/widgets/fluent/tabs/layout/tab/_base.scss +30 -19
- package/data/scss/widgets/fluent/tabs/layout/tabs/_index.scss +0 -4
- package/data/scss/widgets/fluent/tabs/variables/_colors.scss +5 -5
- package/data/scss/widgets/fluent/tabs/variables/_sizes.scss +1 -6
- package/data/scss/widgets/fluent/tagBox/_colors.scss +3 -3
- package/data/scss/widgets/fluent/textEditor/_colors.scss +77 -22
- package/data/scss/widgets/fluent/textEditor/_index.scss +46 -29
- package/data/scss/widgets/fluent/timeView/_index.scss +1 -1
- package/data/scss/widgets/fluent/tooltip/_colors.scss +2 -5
- package/data/scss/widgets/fluent/tooltip/_index.scss +1 -0
- package/data/scss/widgets/fluent/tooltip/_sizes.scss +2 -2
- package/data/scss/widgets/fluent/treeView/_colors.scss +2 -14
- package/data/scss/widgets/fluent/typography/_index.scss +1 -1
- package/data/scss/widgets/generic/common/_index.scss +4 -0
- package/data/scss/widgets/generic/filterBuilder/_colors.scss +8 -8
- package/data/scss/widgets/generic/form/_index.scss +6 -0
- package/data/scss/widgets/generic/form/_sizes.scss +1 -0
- package/data/scss/widgets/generic/gallery/_index.scss +0 -6
- package/data/scss/widgets/generic/gridBase/_colors.scss +2 -2
- package/data/scss/widgets/generic/list/_index.scss +23 -4
- package/data/scss/widgets/generic/lookup/_colors.scss +3 -1
- package/data/scss/widgets/generic/lookup/_index.scss +1 -4
- package/data/scss/widgets/generic/menu/_index.scss +6 -23
- package/data/scss/widgets/generic/menuBase/_index.scss +9 -30
- package/data/scss/widgets/generic/tabPanel/layout/tab/_base.scss +7 -3
- package/data/scss/widgets/generic/tabPanel/variables/_sizes.scss +1 -0
- package/data/scss/widgets/generic/tabs/layout/tab/_base.scss +24 -16
- package/data/scss/widgets/generic/tabs/layout/tab/_vertical.scss +9 -9
- package/data/scss/widgets/generic/tabs/variables/_sizes.scss +7 -8
- package/data/scss/widgets/generic/textEditor/_index.scss +2 -2
- package/data/scss/widgets/material/_sizes.scss +0 -5
- package/data/scss/widgets/material/accordion/_sizes.scss +8 -0
- package/data/scss/widgets/material/common/_index.scss +4 -0
- package/data/scss/widgets/material/filterBuilder/_colors.scss +1 -1
- package/data/scss/widgets/material/filterBuilder/_index.scss +0 -9
- package/data/scss/widgets/material/filterBuilder/_sizes.scss +4 -4
- package/data/scss/widgets/material/form/_index.scss +11 -11
- package/data/scss/widgets/material/form/_sizes.scss +1 -0
- package/data/scss/widgets/material/gallery/_index.scss +0 -7
- package/data/scss/widgets/material/gridBase/_colors.scss +1 -1
- package/data/scss/widgets/material/gridBase/_index.scss +3 -3
- package/data/scss/widgets/material/list/_index.scss +6 -2
- package/data/scss/widgets/material/lookup/_colors.scss +3 -1
- package/data/scss/widgets/material/lookup/_index.scss +1 -4
- package/data/scss/widgets/material/menuBase/_index.scss +4 -18
- package/data/scss/widgets/material/scheduler/_index.scss +12 -0
- package/data/scss/widgets/material/slider/_colors.scss +0 -1
- package/data/scss/widgets/material/slider/_index.scss +3 -1
- package/data/scss/widgets/material/slider/_sizes.scss +3 -0
- package/data/scss/widgets/material/tabPanel/_index.scss +6 -0
- package/data/scss/widgets/material/tabs/layout/tab/_base.scss +15 -7
- package/data/scss/widgets/material/tabs/layout/tab/styling-mode/_primary.scss +5 -0
- package/data/scss/widgets/material/tabs/layout/tab/styling-mode/_secondary.scss +5 -1
- package/data/scss/widgets/material/tabs/variables/_sizes.scss +3 -7
- package/data/scss/widgets/material/textEditor/_index.scss +1 -1
- package/data/scss/widgets/material/treeView/_colors.scss +0 -3
- package/modules/themes.js +12 -0
- package/package.json +1 -1
|
@@ -16,6 +16,10 @@
|
|
|
16
16
|
}
|
|
17
17
|
}
|
|
18
18
|
|
|
19
|
+
.dx-tabpanel-tab {
|
|
20
|
+
flex-basis: unset;
|
|
21
|
+
}
|
|
22
|
+
|
|
19
23
|
.dx-tabpanel-tabs-position-right {
|
|
20
24
|
flex-direction: row-reverse;
|
|
21
25
|
|
|
@@ -36,16 +40,10 @@
|
|
|
36
40
|
}
|
|
37
41
|
}
|
|
38
42
|
|
|
39
|
-
.dx-tabpanel-tabs {
|
|
43
|
+
.dx-tabpanel .dx-tabpanel-tabs {
|
|
40
44
|
.dx-tabs {
|
|
41
45
|
height: 100%;
|
|
42
46
|
}
|
|
43
|
-
|
|
44
|
-
.dx-tab {
|
|
45
|
-
flex-basis: unset;
|
|
46
|
-
flex-grow: 1;
|
|
47
|
-
flex-shrink: 1;
|
|
48
|
-
}
|
|
49
47
|
}
|
|
50
48
|
|
|
51
49
|
.dx-tabpanel-container {
|
|
@@ -27,9 +27,21 @@
|
|
|
27
27
|
&.dx-overflow-hidden {
|
|
28
28
|
overflow: hidden;
|
|
29
29
|
}
|
|
30
|
+
|
|
31
|
+
&.dx-tabs-vertical .dx-tabs-wrapper .dx-tab-text {
|
|
32
|
+
white-space: normal;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.dx-tab-text-span,
|
|
36
|
+
.dx-tab-text-span-pseudo {
|
|
37
|
+
width: 100%;
|
|
38
|
+
|
|
39
|
+
@include dx-overflow();
|
|
40
|
+
}
|
|
30
41
|
}
|
|
31
42
|
|
|
32
43
|
.dx-tabs-scrollable {
|
|
44
|
+
width: 100%;
|
|
33
45
|
overflow: hidden;
|
|
34
46
|
|
|
35
47
|
.dx-tabs-wrapper {
|
|
@@ -59,15 +71,25 @@
|
|
|
59
71
|
.dx-tab {
|
|
60
72
|
flex-basis: unset;
|
|
61
73
|
flex-grow: 1;
|
|
62
|
-
min-width: 0;
|
|
63
74
|
}
|
|
64
75
|
}
|
|
65
76
|
|
|
77
|
+
.dx-tabs:not(.dx-tabs-vertical) .dx-tabs-scrollable .dx-tab {
|
|
78
|
+
flex-basis: 100%;
|
|
79
|
+
min-width: max-content;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
.dx-tabs:not(.dx-tabs-scrolling-enabled) {
|
|
83
|
+
min-width: min-content;
|
|
84
|
+
}
|
|
85
|
+
|
|
66
86
|
.dx-tab {
|
|
67
87
|
position: relative;
|
|
68
88
|
display: inline-flex;
|
|
69
|
-
align-items:
|
|
89
|
+
align-items: stretch;
|
|
70
90
|
justify-content: center;
|
|
91
|
+
flex-basis: 100%;
|
|
92
|
+
min-width: max-content;
|
|
71
93
|
cursor: pointer;
|
|
72
94
|
|
|
73
95
|
@include dx-tabs-link();
|
|
@@ -90,9 +112,8 @@
|
|
|
90
112
|
display: inline-flex;
|
|
91
113
|
align-items: center;
|
|
92
114
|
justify-content: center;
|
|
115
|
+
width: 100%;
|
|
93
116
|
-webkit-user-drag: none;
|
|
94
|
-
|
|
95
|
-
@include dx-overflow();
|
|
96
117
|
}
|
|
97
118
|
|
|
98
119
|
.dx-tabs-nav-button {
|
|
@@ -113,6 +134,10 @@
|
|
|
113
134
|
flex-direction: column;
|
|
114
135
|
width: auto;
|
|
115
136
|
|
|
137
|
+
.dx-tab {
|
|
138
|
+
min-width: 0;
|
|
139
|
+
}
|
|
140
|
+
|
|
116
141
|
.dx-tabs-wrapper {
|
|
117
142
|
flex-direction: column;
|
|
118
143
|
height: auto;
|
|
@@ -137,9 +162,11 @@
|
|
|
137
162
|
}
|
|
138
163
|
|
|
139
164
|
.dx-tabs-icon-position-top .dx-tab-text {
|
|
165
|
+
text-align: center;
|
|
140
166
|
flex-direction: column;
|
|
141
167
|
}
|
|
142
168
|
|
|
143
169
|
.dx-tabs-icon-position-bottom .dx-tab-text {
|
|
170
|
+
text-align: center;
|
|
144
171
|
flex-direction: column-reverse;
|
|
145
172
|
}
|
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
&.dx-editor-outlined {
|
|
14
14
|
border: 0;
|
|
15
15
|
box-shadow: none;
|
|
16
|
+
background-color: transparent;
|
|
16
17
|
|
|
17
18
|
&.dx-texteditor-with-label,
|
|
18
19
|
&.dx-texteditor-with-floating-label {
|
|
@@ -34,6 +35,7 @@
|
|
|
34
35
|
|
|
35
36
|
&.dx-editor-underlined {
|
|
36
37
|
border-bottom: 0;
|
|
38
|
+
background-color: transparent;
|
|
37
39
|
|
|
38
40
|
&::before {
|
|
39
41
|
margin-left: 0;
|
|
@@ -27,27 +27,8 @@ $list-searchbox-margin-bottom: 5px;
|
|
|
27
27
|
}
|
|
28
28
|
|
|
29
29
|
.dx-list-group-header {
|
|
30
|
-
&::before {
|
|
31
|
-
width: 0;
|
|
32
|
-
height: 0;
|
|
33
|
-
display: block;
|
|
34
|
-
float: right;
|
|
35
|
-
margin-top: 6px;
|
|
36
|
-
border-style: solid;
|
|
37
|
-
border-color: transparent;
|
|
38
|
-
border-width: 5px 5px 0 5px;
|
|
39
|
-
}
|
|
40
|
-
|
|
41
30
|
.dx-list-collapsible-groups & {
|
|
42
31
|
cursor: pointer;
|
|
43
|
-
|
|
44
|
-
&::before {
|
|
45
|
-
content: ' ';
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
.dx-list-group-collapsed &::before {
|
|
50
|
-
border-width: 0 5px 5px 5px;
|
|
51
32
|
}
|
|
52
33
|
}
|
|
53
34
|
|
|
@@ -1,24 +1,29 @@
|
|
|
1
1
|
@use "../icons" as *;
|
|
2
2
|
|
|
3
3
|
@mixin dx-lookup-arrow(
|
|
4
|
-
$
|
|
5
|
-
$
|
|
6
|
-
$
|
|
7
|
-
$
|
|
8
|
-
$
|
|
4
|
+
$spin-icon-glyph,
|
|
5
|
+
$spin-icon-glyph-rtl,
|
|
6
|
+
$arror-width,
|
|
7
|
+
$icon-color,
|
|
8
|
+
$icon-color-active,
|
|
9
|
+
$icon-size,
|
|
9
10
|
) {
|
|
10
11
|
.dx-lookup-arrow {
|
|
11
|
-
@include dx-icon($
|
|
12
|
+
@include dx-icon($spin-icon-glyph);
|
|
12
13
|
|
|
13
14
|
.dx-rtl & {
|
|
14
15
|
&::before {
|
|
15
|
-
content: $
|
|
16
|
+
content: $spin-icon-glyph-rtl;
|
|
16
17
|
}
|
|
17
18
|
}
|
|
18
19
|
|
|
19
|
-
width: $
|
|
20
|
-
color: $
|
|
20
|
+
width: $arror-width;
|
|
21
|
+
color: $icon-color;
|
|
22
|
+
|
|
23
|
+
.dx-dropdowneditor-active & {
|
|
24
|
+
color: $icon-color-active;
|
|
25
|
+
}
|
|
21
26
|
|
|
22
|
-
@include dx-icon-font-centered-sizing($
|
|
27
|
+
@include dx-icon-font-centered-sizing($icon-size);
|
|
23
28
|
}
|
|
24
29
|
}
|
|
@@ -432,16 +432,6 @@ $scheduler-appointment-form-label-padding: 20px;
|
|
|
432
432
|
}
|
|
433
433
|
}
|
|
434
434
|
|
|
435
|
-
.dx-scheduler-appointment-recurrence {
|
|
436
|
-
.dx-scheduler-appointment-content {
|
|
437
|
-
padding: $scheduler-appointment-recurrence-content-padding;
|
|
438
|
-
|
|
439
|
-
.dx-rtl & {
|
|
440
|
-
padding: $scheduler-appointment-recurrence-content-padding-rtl;
|
|
441
|
-
}
|
|
442
|
-
}
|
|
443
|
-
}
|
|
444
|
-
|
|
445
435
|
.dx-scheduler-appointment-content {
|
|
446
436
|
padding: $scheduler-appointment-content-padding;
|
|
447
437
|
cursor: pointer;
|
|
@@ -53,7 +53,7 @@ $reduced-icon-offset: null !default;
|
|
|
53
53
|
background-color: $appointment-active-color;
|
|
54
54
|
border-radius: 4px;
|
|
55
55
|
}
|
|
56
|
-
|
|
56
|
+
|
|
57
57
|
&.dx-scheduler-appointment-has-resource-color:not(.dx-scheduler-appointment-drag-source)::before {
|
|
58
58
|
@include dx-scheduler-appointment-shadow-color-mixin();
|
|
59
59
|
}
|
|
@@ -133,13 +133,11 @@ $reduced-icon-offset: null !default;
|
|
|
133
133
|
top: 3px;
|
|
134
134
|
right: $reduced-icon-offset;
|
|
135
135
|
|
|
136
|
-
@include dx-icon(
|
|
136
|
+
@include dx-icon(arrowback);
|
|
137
137
|
|
|
138
138
|
.dx-rtl & {
|
|
139
139
|
right: auto;
|
|
140
140
|
left: 3px;
|
|
141
|
-
|
|
142
|
-
@include dx-icon(arrowleft);
|
|
143
141
|
}
|
|
144
142
|
}
|
|
145
143
|
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
$label-font-size,
|
|
13
13
|
$label-offset-y,
|
|
14
14
|
$label-height,
|
|
15
|
-
$
|
|
15
|
+
$label-backdrop-bg
|
|
16
16
|
) {
|
|
17
17
|
.dx-label {
|
|
18
18
|
border-top-width: 0;
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
}
|
|
28
28
|
|
|
29
29
|
&::before {
|
|
30
|
-
background-color: $
|
|
30
|
+
background-color: $label-backdrop-bg;
|
|
31
31
|
}
|
|
32
32
|
}
|
|
33
33
|
|
|
@@ -139,7 +139,7 @@
|
|
|
139
139
|
$label-backdrop-offset-y,
|
|
140
140
|
$label-before-min-width,
|
|
141
141
|
$label-after-min-width,
|
|
142
|
-
$
|
|
142
|
+
$label-backdrop-bg,
|
|
143
143
|
$texteditor-border,
|
|
144
144
|
$texteditor-border-color,
|
|
145
145
|
$texteditor-border-bottom-color,
|
|
@@ -238,6 +238,7 @@
|
|
|
238
238
|
height: 3px;
|
|
239
239
|
top: -$label-backdrop-offset-y;
|
|
240
240
|
margin-inline-start: -2px;
|
|
241
|
+
background-color: $label-backdrop-bg;
|
|
241
242
|
}
|
|
242
243
|
}
|
|
243
244
|
}
|
|
@@ -248,12 +249,6 @@
|
|
|
248
249
|
outline: none;
|
|
249
250
|
margin-top: $label-offset-y;
|
|
250
251
|
|
|
251
|
-
.dx-label {
|
|
252
|
-
&::before {
|
|
253
|
-
background-color: $base-bg;
|
|
254
|
-
}
|
|
255
|
-
}
|
|
256
|
-
|
|
257
252
|
&.dx-texteditor:not(.dx-daterangebox) {
|
|
258
253
|
border: $texteditor-border;
|
|
259
254
|
box-shadow: none;
|
|
@@ -353,7 +348,7 @@
|
|
|
353
348
|
$texteditor-label-font-size,
|
|
354
349
|
$label-offset-y,
|
|
355
350
|
$label-active-height,
|
|
356
|
-
$
|
|
351
|
+
$label-backdrop-bg
|
|
357
352
|
);
|
|
358
353
|
}
|
|
359
354
|
|
|
@@ -1,23 +1,28 @@
|
|
|
1
1
|
$base-accent: getCustomVar(("$base-accent")) !default;
|
|
2
2
|
$base-font-family: getCustomVar(("$base-font-family")) !default;
|
|
3
|
+
$base-typography-bg: getCustomVar(("$base-typography-bg")) !default;
|
|
3
4
|
$base-bg: getCustomVar(("$base-bg")) !default;
|
|
5
|
+
$base-hover-bg: getCustomVar(("$base-hover-bg")) !default;
|
|
6
|
+
$base-active-bg: getCustomVar(("$base-active-bg")) !default;
|
|
7
|
+
$base-selected-bg: getCustomVar(("$base-selected-bg")) !default;
|
|
4
8
|
$base-border-color: getCustomVar(("$base-border-color")) !default;
|
|
9
|
+
$base-border-color-accessible: getCustomVar(("$base-border-color-accessible")) !default;
|
|
5
10
|
$base-success: getCustomVar(("$base-success")) !default;
|
|
6
11
|
$base-warning: getCustomVar(("$base-warning")) !default;
|
|
7
12
|
$base-danger: getCustomVar(("$base-danger")) !default;
|
|
8
13
|
$base-text-color: getCustomVar(("$base-text-color")) !default;
|
|
14
|
+
$base-label-color: getCustomVar(("$base-label-color")) !default;
|
|
15
|
+
$base-icon-color: getCustomVar(("$base-icon-color")) !default;
|
|
9
16
|
$base-hover-color: getCustomVar(("$base-hover-color")) !default;
|
|
10
|
-
$base-hover-bg: getCustomVar(("$base-hover-bg")) !default;
|
|
11
17
|
$base-focus-color: getCustomVar(("$base-focus-color")) !default;
|
|
12
18
|
$base-focus-bg: getCustomVar(("$base-focus-bg")) !default;
|
|
13
|
-
$base-label-color: getCustomVar(("$base-label-color")) !default;
|
|
14
|
-
$base-icon-color: getCustomVar(("$base-icon-color")) !default;
|
|
15
19
|
$base-spin-icon-color: getCustomVar(("$base-spin-icon-color")) !default;
|
|
16
20
|
$base-link-color: getCustomVar(("$base-link-color")) !default;
|
|
17
21
|
|
|
18
22
|
@forward "./variables";
|
|
19
23
|
@use "./variables" as *;
|
|
20
24
|
@use "sass:color";
|
|
25
|
+
|
|
21
26
|
$color: null !default;
|
|
22
27
|
$mode: null !default;
|
|
23
28
|
|
|
@@ -29,18 +34,11 @@ $base-accent-selected: null !default;
|
|
|
29
34
|
|
|
30
35
|
$fluent-color-theme-modificator: null !default;
|
|
31
36
|
$base-font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, avenir next, avenir, helvetica neue, helvetica, Cantarell, Ubuntu, roboto, noto, arial, sans-serif !default; // stylelint-disable-line value-keyword-case
|
|
37
|
+
$base-typography-bg: null !default;
|
|
32
38
|
$base-bg: null !default;
|
|
33
|
-
$base-bg
|
|
34
|
-
$base-bg
|
|
35
|
-
$base-bg
|
|
36
|
-
|
|
37
|
-
$typography-bg: null !default;
|
|
38
|
-
|
|
39
|
-
$base-accent-bg: null !default;
|
|
40
|
-
|
|
41
|
-
$base-neutral-foreground2: null !default;
|
|
42
|
-
$base-neutral-foreground3: null !default;
|
|
43
|
-
$base-neutral-foreground4: null !default;
|
|
39
|
+
$base-hover-bg: null !default;
|
|
40
|
+
$base-active-bg: null !default;
|
|
41
|
+
$base-selected-bg: null !default;
|
|
44
42
|
$base-border-color: null !default;
|
|
45
43
|
$base-border-color-hover: null !default;
|
|
46
44
|
$base-border-color-focused: null !default;
|
|
@@ -56,9 +54,6 @@ $base-shadow-color: null !default;
|
|
|
56
54
|
$base-foreground-disabled: null !default;
|
|
57
55
|
$base-background-disabled: null !default;
|
|
58
56
|
$base-success: null !default;
|
|
59
|
-
$base-success-hover: null !default;
|
|
60
|
-
$base-success-active: null !default;
|
|
61
|
-
$base-success-selected: null !default;
|
|
62
57
|
$base-warning: #fde300 !default;
|
|
63
58
|
$base-danger: null !default;
|
|
64
59
|
$base-danger-hover: null !default;
|
|
@@ -66,6 +61,8 @@ $base-danger-active: null !default;
|
|
|
66
61
|
$base-danger-selected: null !default;
|
|
67
62
|
$base-text-color: null !default;
|
|
68
63
|
$base-inverted-text-color: null !default;
|
|
64
|
+
$base-label-color: null !default;
|
|
65
|
+
$base-icon-color: null !default;
|
|
69
66
|
|
|
70
67
|
$base-disabled-opacity: 0.38 !default;
|
|
71
68
|
$base-border-color-disabled: null !default;
|
|
@@ -77,53 +74,72 @@ $scrollview-pulldown-path: null !default;
|
|
|
77
74
|
$fluent-color-accent-modificator: "blue" !default;
|
|
78
75
|
}
|
|
79
76
|
|
|
77
|
+
@if $color == "saas" {
|
|
78
|
+
$fluent-color-accent-modificator: "saas" !default;
|
|
79
|
+
}
|
|
80
|
+
|
|
80
81
|
@if $mode == "light" {
|
|
81
82
|
$fluent-color-theme-modificator: "light" !default;
|
|
82
83
|
|
|
83
|
-
$base-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
84
|
+
$base-bg: rgba(255, 255, 255, 1) !default;
|
|
85
|
+
|
|
86
|
+
@if $color == "blue" {
|
|
87
|
+
$base-hover-bg: darken($base-bg, 3.9) !default;
|
|
88
|
+
$base-typography-bg: rgba(250, 250, 250, 1) !default;
|
|
89
|
+
|
|
90
|
+
$base-accent: rgba(15, 108, 189, 1) !default;
|
|
91
|
+
$base-success: rgba(16, 124, 16, 1) !default;
|
|
92
|
+
$base-danger: rgba(209, 52, 56, 1) !default;
|
|
93
|
+
$base-text-color: rgba(36, 36, 36, 1) !default;
|
|
94
|
+
$base-label-color: lighten($base-text-color, 29.80) !default;
|
|
95
|
+
$base-icon-color: lighten($base-text-color, 23.92) !default;
|
|
96
|
+
$base-border-color: rgba(224, 224, 224, 1) !default;
|
|
97
|
+
$base-border-color-accessible: darken($base-border-color, 49.8) !default;
|
|
98
|
+
$base-shadow-color: #000 !default;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
@if $color == "saas" {
|
|
102
|
+
$base-accent: #5486ff !default;
|
|
103
|
+
$base-typography-bg: #FAFBFF !default;
|
|
104
|
+
|
|
105
|
+
$base-hover-bg: mix(#FFF, $base-accent, 85%) !default;
|
|
106
|
+
|
|
107
|
+
$base-success: #19914B !default;
|
|
108
|
+
$base-danger: #DC2828 !default;
|
|
109
|
+
$base-text-color: #21293b !default;
|
|
110
|
+
$base-label-color: lighten($base-text-color, 19) !default;
|
|
111
|
+
$base-icon-color: lighten($base-text-color, 10) !default;
|
|
112
|
+
$base-border-color: #e5e8f0 !default;
|
|
113
|
+
$base-border-color-accessible: darken($base-border-color, 20) !default;
|
|
114
|
+
$base-shadow-color: #3D4A6C !default;
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
$base-accent-hover: darken(desaturate($base-accent, 4.18), 4.71) !default;
|
|
118
|
+
$base-accent-active: darken(desaturate(adjust-hue($base-accent, -1), 4.65), 9.61) !default;
|
|
119
|
+
$base-accent-selected: darken(desaturate($base-accent-active, 2.02), 4.71) !default;
|
|
120
|
+
|
|
121
|
+
$base-foreground-disabled: lighten($base-text-color, 60) !default;
|
|
122
|
+
|
|
123
|
+
$base-selected-bg: darken($base-hover-bg, 3.92) !default;
|
|
124
|
+
$base-active-bg: darken($base-hover-bg, 8.24) !default;
|
|
125
|
+
$base-background-disabled: darken($base-hover-bg, 1.96) !default;
|
|
126
|
+
|
|
127
|
+
$base-border-color-hover: darken($base-border-color, 9.8) !default;
|
|
128
|
+
$base-border-color-focused: darken($base-border-color, 17.65) !default;
|
|
129
|
+
|
|
130
|
+
$base-border-color-accessible-hover: darken($base-border-color-accessible, 3.92) !default;
|
|
131
|
+
$base-border-color-accessible-focused: darken($base-border-color-accessible-hover, 3.92) !default;
|
|
132
|
+
$base-border-color-disabled: $base-border-color !default;
|
|
133
|
+
|
|
134
|
+
$base-separator-color: $base-border-color !default;
|
|
135
|
+
|
|
136
|
+
$base-inverted-bg: darken($base-bg, 100%) !default;
|
|
87
137
|
|
|
88
|
-
$base-text-color: rgba(36, 36, 36, 1) !default; // #242424;
|
|
89
|
-
$base-neutral-foreground2: lighten($base-text-color, 11.76) !default; // #424242;
|
|
90
|
-
$base-neutral-foreground3: lighten($base-text-color, 23.92) !default; // #616161;
|
|
91
|
-
$base-neutral-foreground4: lighten($base-text-color, 29.80) !default; // #707070
|
|
92
|
-
$base-foreground-disabled: lighten($base-text-color, 60) !default; // #bdbdbd
|
|
93
|
-
|
|
94
|
-
$base-accent-bg: $base-accent !default; // #0F6CBD
|
|
95
|
-
|
|
96
|
-
$base-bg: rgba(255, 255, 255, 1) !default; // #FFFFFF
|
|
97
|
-
$base-bg-hover: darken($base-bg, 3.9) !default; // #F5F5F5
|
|
98
|
-
$base-bg-selected: darken($base-bg, 7.8) !default; // #EBEBEB
|
|
99
|
-
$base-bg-active: darken($base-bg, 12.2) !default; // #E0E0E0
|
|
100
|
-
$base-background-disabled: darken($base-bg, 5.9) !default; // f0f0f0
|
|
101
|
-
|
|
102
|
-
$typography-bg: darken($base-bg, 2) !default; // #FAFAFA
|
|
103
|
-
|
|
104
|
-
$base-border-color: rgba(224, 224, 224, 1) !default; // #e0e0e0
|
|
105
|
-
$base-border-color-hover: darken($base-border-color, 9.8) !default; // #c7c7c7
|
|
106
|
-
$base-border-color-focused: darken($base-border-color, 17.65) !default; // #b3b3b3
|
|
107
|
-
$base-border-color-accessible: darken($base-border-color, 49.8) !default; // #616161
|
|
108
|
-
$base-border-color-accessible-hover: darken($base-border-color-accessible, 3.92) !default; // #575757
|
|
109
|
-
$base-border-color-accessible-focused: darken($base-border-color-accessible-hover, 3.92) !default; // #4d4d4d
|
|
110
|
-
$base-border-color-disabled: $base-border-color !default; // e0e0e0
|
|
111
|
-
|
|
112
|
-
$base-separator-color: $base-border-color !default; // #E0E0E0
|
|
113
|
-
|
|
114
|
-
$base-inverted-bg: darken($base-bg, 100%) !default; // #EBF3FC
|
|
115
|
-
$base-shadow-color: $base-inverted-bg !default;
|
|
116
138
|
$base-inverted-text-color: #fff !default;
|
|
117
139
|
|
|
118
|
-
$base-danger:
|
|
119
|
-
$base-danger-
|
|
120
|
-
$base-danger-
|
|
121
|
-
$base-danger-selected: darken(desaturate($base-danger, 2.78), 22.55) !default; // #751D1F
|
|
122
|
-
|
|
123
|
-
$base-success: rgba(16, 124, 16, 1) !default; // #107c10
|
|
124
|
-
$base-success-hover: darken(saturate($base-success, 0.63), 2.75) !default; // #0e700e
|
|
125
|
-
$base-success-active: darken(desaturate($base-success, 0.95), 19.22) !default; // #052505
|
|
126
|
-
$base-success-selected: darken(desaturate($base-success, 0.22), 12.16) !default; // #094509
|
|
140
|
+
$base-danger-hover: darken(desaturate($base-danger, 3.05), 5.10) !default;
|
|
141
|
+
$base-danger-active: darken(desaturate($base-danger, 3.56), 35.69) !default;
|
|
142
|
+
$base-danger-selected: darken(desaturate($base-danger, 2.78), 22.55) !default;
|
|
127
143
|
|
|
128
144
|
$scrollview-pulldown-path: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAABkCAQAAABebbrxAAABD0lEQVRo3u2XvQ3CMBCFLbmjYYGsAA2wA1X2gAbEAEwB2eIKflagh6zACJAuUihASUic+M5GNH56dT7J8efTPUXKkDkzrS8LpQAEMBygcwAss2UGQADDBmLa+AMvzAAIYNhATBt/YMEMgACGDcS0wbQBEEAAAQQQwD8CEzaiL7sKqOnojTuQrh95SKkX7kqD5j+M6O6Mu1NkupQJZU64B426bjmmXIzLKe7TZiUGLmweyhTa28XWdJKpYn8pXIVub1U4T4+jUKkKbyWeWhR6Vqpwd+w+hb5U4S/ta54qkhZgVihxrxWaznZVZD2lqVDaVkVafOoKGVWRN6nZR6GMxr+qZjHl3aq4db0NLXld7wVjuu7NS9f7yAAAAABJRU5ErkJggg==") !default;
|
|
129
145
|
}
|
|
@@ -131,61 +147,64 @@ $scrollview-pulldown-path: null !default;
|
|
|
131
147
|
@if $mode == "dark" {
|
|
132
148
|
$fluent-color-theme-modificator: "dark" !default;
|
|
133
149
|
|
|
134
|
-
$
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
150
|
+
@if $color == "blue" {
|
|
151
|
+
$base-bg: rgba(41, 41, 41, 1) !default;
|
|
152
|
+
$base-accent: rgba(71, 158, 245, 1) !default;
|
|
153
|
+
$base-success: #54B054 !default;
|
|
154
|
+
$base-danger: rgba(227, 125, 128, 1) !default;
|
|
155
|
+
$base-border-color: rgba(97, 97, 97, 1) !default;
|
|
156
|
+
|
|
157
|
+
$base-typography-bg: #1F1F1F !default;
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
@if $color == "saas" {
|
|
161
|
+
$base-bg: rgba(30, 40, 50, 1) !default;
|
|
162
|
+
$base-accent: #5492F6 !default;
|
|
163
|
+
$base-success: #10B230 !default;
|
|
164
|
+
$base-danger: #F92F2F !default;
|
|
165
|
+
$base-border-color: #414B5F !default;
|
|
138
166
|
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
$base-neutral-foreground3: darken($base-text-color, 32.16) !default; // #adadad;
|
|
142
|
-
$base-neutral-foreground4: darken($base-text-color, 40.00) !default; // #999999
|
|
143
|
-
$base-foreground-disabled: darken($base-text-color, 63.9) !default; // #5c5c5c
|
|
144
|
-
|
|
145
|
-
$base-accent-bg: darken(desaturate(adjust-hue($base-accent, 358.4), 8.6), 26.7) !default; // #115EA3
|
|
146
|
-
|
|
147
|
-
$base-bg: rgba(41, 41, 41, 1) !default; // #292929
|
|
148
|
-
$base-bg-hover: lighten($base-bg, 7.8) !default; // #3D3D3D
|
|
149
|
-
$base-bg-selected: lighten($base-bg, 5.9) !default; // #383838
|
|
150
|
-
$base-bg-active: darken($base-bg, 3.9) !default; // #1F1F1F
|
|
151
|
-
$base-background-disabled: darken($base-bg, 8.2) !default; // #141414
|
|
152
|
-
|
|
153
|
-
$typography-bg: $base-bg-active !default; // #1F1F1F
|
|
167
|
+
$base-typography-bg: #141E28 !default;
|
|
168
|
+
}
|
|
154
169
|
|
|
155
|
-
$base-
|
|
156
|
-
$base-
|
|
157
|
-
$base-
|
|
158
|
-
|
|
159
|
-
$base-
|
|
160
|
-
$base-
|
|
161
|
-
$base-
|
|
162
|
-
|
|
163
|
-
|
|
170
|
+
$base-accent-hover: lighten(desaturate($base-accent, 1.67), 5.29) !default;
|
|
171
|
+
$base-accent-active: darken(desaturate(adjust-hue($base-accent, -1), 16.30), 10.59) !default;
|
|
172
|
+
$base-accent-selected: darken(desaturate(adjust-hue($base-accent, -3), 9.05), 31.57) !default;
|
|
173
|
+
|
|
174
|
+
$base-text-color: rgba(255, 255, 255, 1) !default;
|
|
175
|
+
$base-label-color: darken($base-text-color, 40.00) !default;
|
|
176
|
+
$base-icon-color: darken($base-text-color, 32.16) !default;
|
|
177
|
+
$base-foreground-disabled: darken($base-text-color, 63.9) !default;
|
|
178
|
+
|
|
179
|
+
$base-bg: rgba(41, 41, 41, 1) !default;
|
|
180
|
+
$base-hover-bg: lighten($base-bg, 7.8) !default;
|
|
181
|
+
$base-selected-bg: lighten($base-bg, 5.9) !default;
|
|
182
|
+
$base-active-bg: darken($base-bg, 3.9) !default;
|
|
183
|
+
$base-background-disabled: darken($base-bg, 8.2) !default;
|
|
184
|
+
|
|
185
|
+
$base-border-color-hover: lighten($base-border-color, 7.84) !default;
|
|
186
|
+
$base-border-color-focused: lighten($base-border-color, 3.92) !default;
|
|
187
|
+
$base-border-color-accessible: lighten($base-border-color, 29.8) !default;
|
|
188
|
+
$base-border-color-accessible-hover: lighten($base-border-color-accessible, 6.27) !default;
|
|
189
|
+
$base-border-color-accessible-focused: lighten($base-border-color-accessible-hover, 3.92) !default;
|
|
190
|
+
$base-border-color-disabled: darken($base-border-color, 12.16) !default;
|
|
191
|
+
|
|
192
|
+
$base-separator-color: darken($base-border-color, 5.88) !default;
|
|
164
193
|
|
|
165
194
|
$base-inverted-bg: lighten($base-bg, 100%) !default;
|
|
166
195
|
$base-shadow-color: #000 !default;
|
|
167
196
|
$base-inverted-text-color: #000 !default;
|
|
168
197
|
|
|
169
|
-
$base-danger:
|
|
170
|
-
$base-danger-
|
|
171
|
-
$base-danger-
|
|
172
|
-
$base-danger-selected: lighten(saturate(adjust-hue($base-danger, 0.7), 1.3), 14.9); // #F1BBBC
|
|
173
|
-
|
|
174
|
-
$base-success: #54B054 !default; // #54B054
|
|
175
|
-
$base-success-hover: lighten(saturate($base-success, 5.4), 22.5) !default; // #9FD89F
|
|
176
|
-
$base-success-active: lighten(saturate($base-success, 10.6), 45.3) !default; // #F1FAF1
|
|
177
|
-
$base-success-selected: lighten(saturate($base-success, 5.3), 34.1) !default; // #C9E9C9
|
|
198
|
+
$base-danger-hover: lighten(saturate($base-danger, 0.44), 7.45) !default;
|
|
199
|
+
$base-danger-active: lighten(desaturate(adjust-hue($base-danger, 1.8), 0.9), 28.8) !default;
|
|
200
|
+
$base-danger-selected: lighten(saturate(adjust-hue($base-danger, 0.7), 1.3), 14.9);
|
|
178
201
|
|
|
179
202
|
$scrollview-pulldown-path: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAABkCAQAAABebbrxAAABD0lEQVRo3u2XvQ3CMBCFLbmjYYGsAA2wA1X2gAbEAEwB2eIKflagh6zACJAuUihASUic+M5GNH56dT7J8efTPUXKkDkzrS8LpQAEMBygcwAss2UGQADDBmLa+AMvzAAIYNhATBt/YMEMgACGDcS0wbQBEEAAAQQQwD8CEzaiL7sKqOnojTuQrh95SKkX7kqD5j+M6O6Mu1NkupQJZU64B426bjmmXIzLKe7TZiUGLmweyhTa28XWdJKpYn8pXIVub1U4T4+jUKkKbyWeWhR6Vqpwd+w+hb5U4S/ta54qkhZgVihxrxWaznZVZD2lqVDaVkVafOoKGVWRN6nZR6GMxr+qZjHl3aq4db0NLXld7wVjuu7NS9f7yAAAAABJRU5ErkJggg==") !default;
|
|
180
203
|
}
|
|
181
204
|
$base-hover-color: $base-text-color !default;
|
|
182
|
-
$typography-color: $base-text-color !default;
|
|
183
|
-
$base-hover-bg: $base-bg-hover !default;
|
|
184
205
|
$base-focus-color: $base-inverted-text-color !default;
|
|
185
|
-
$base-focus-bg: $base-bg
|
|
186
|
-
$base-
|
|
187
|
-
$base-icon-color: $base-neutral-foreground3 !default;
|
|
188
|
-
$base-spin-icon-color: $base-neutral-foreground3 !default;
|
|
206
|
+
$base-focus-bg: $base-hover-bg !default;
|
|
207
|
+
$base-spin-icon-color: $base-icon-color !default;
|
|
189
208
|
$base-link-color: $base-accent !default;
|
|
190
209
|
$typography-link-color: $base-link-color !default;
|
|
191
210
|
|
|
@@ -198,18 +217,22 @@ $base-invalid-color-selected: $base-danger-selected !default;
|
|
|
198
217
|
$never-used: collector((
|
|
199
218
|
"$base-accent": $base-accent,
|
|
200
219
|
"$base-font-family": $base-font-family,
|
|
220
|
+
"$base-typography-bg": $base-typography-bg,
|
|
201
221
|
"$base-bg": $base-bg,
|
|
222
|
+
"$base-hover-bg": $base-hover-bg,
|
|
223
|
+
"$base-active-bg": $base-active-bg,
|
|
224
|
+
"$base-selected-bg": $base-selected-bg,
|
|
202
225
|
"$base-border-color": $base-border-color,
|
|
226
|
+
"$base-border-color-accessible": $base-border-color-accessible,
|
|
203
227
|
"$base-success": $base-success,
|
|
204
228
|
"$base-warning": $base-warning,
|
|
205
229
|
"$base-danger": $base-danger,
|
|
206
230
|
"$base-text-color": $base-text-color,
|
|
231
|
+
"$base-label-color": $base-label-color,
|
|
232
|
+
"$base-icon-color": $base-icon-color,
|
|
207
233
|
"$base-hover-color": $base-hover-color,
|
|
208
|
-
"$base-hover-bg": $base-hover-bg,
|
|
209
234
|
"$base-focus-color": $base-focus-color,
|
|
210
235
|
"$base-focus-bg": $base-focus-bg,
|
|
211
|
-
"$base-label-color": $base-label-color,
|
|
212
|
-
"$base-icon-color": $base-icon-color,
|
|
213
236
|
"$base-spin-icon-color": $base-spin-icon-color,
|
|
214
237
|
"$base-link-color": $base-link-color,
|
|
215
238
|
));
|