igniteui-theming 6.3.0 → 6.4.0-beta.2
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/package.json +1 -1
- package/sass/themes/schemas/components/dark/_checkbox.scss +91 -5
- package/sass/themes/schemas/components/dark/_navdrawer.scss +22 -26
- package/sass/themes/schemas/components/dark/_radio.scss +65 -24
- package/sass/themes/schemas/components/dark/_switch.scss +92 -38
- package/sass/themes/schemas/components/elevation/_navdrawer.scss +0 -6
- package/sass/themes/schemas/components/elevation/_switch.scss +4 -4
- package/sass/themes/schemas/components/light/_checkbox.scss +101 -53
- package/sass/themes/schemas/components/light/_navdrawer.scss +196 -59
- package/sass/themes/schemas/components/light/_radio.scss +59 -34
- package/sass/themes/schemas/components/light/_switch.scss +91 -18
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "igniteui-theming",
|
|
3
|
-
"version": "6.
|
|
3
|
+
"version": "6.4.0-beta.2",
|
|
4
4
|
"description": "A set of Sass variables, mixins, and functions for generating palettes, typography, and elevations used by Ignite UI components.",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -15,15 +15,64 @@ $dark-material-checkbox: $material-checkbox;
|
|
|
15
15
|
|
|
16
16
|
/// Generates a dark fluent checkbox schema.
|
|
17
17
|
/// @type {Map}
|
|
18
|
-
/// @prop {Map}
|
|
18
|
+
/// @prop {Map} tick-color-hover [color: ('gray', 400)] - The checked mark color on hover when the control in unchecked.
|
|
19
|
+
/// @prop {Map} focus-outline-color [color: ('gray', 400)] - The focus outlined color.
|
|
20
|
+
/// @prop {Map} fill-color [color: ('primary', 300)] - The checked border and fill colors.
|
|
21
|
+
/// @prop {Map} fill-color-hover [color: ('primary', 100)] - The checked border and fill colors on hover.
|
|
22
|
+
/// @prop {Map} disabled-color [color: ('gray', 100)] - The disabled border and fill colors.
|
|
23
|
+
/// @prop {Map} disabled-color-label [color: ('gray', 300)] - The disabled color of the label.
|
|
24
|
+
/// @prop {Map} error-color [color: ('error', 100)] - The border and fill colors in invalid state.
|
|
25
|
+
/// @prop {Map} error-color-hover [color: ('error', 50)] - The border and fill colors in invalid state on hover.
|
|
19
26
|
/// @requires $fluent-checkbox
|
|
20
27
|
$dark-fluent-checkbox: extend(
|
|
21
28
|
$fluent-checkbox,
|
|
22
29
|
(
|
|
30
|
+
tick-color-hover: (
|
|
31
|
+
color: (
|
|
32
|
+
'gray',
|
|
33
|
+
400,
|
|
34
|
+
),
|
|
35
|
+
),
|
|
36
|
+
focus-outline-color: (
|
|
37
|
+
color: (
|
|
38
|
+
'gray',
|
|
39
|
+
400,
|
|
40
|
+
),
|
|
41
|
+
),
|
|
42
|
+
fill-color: (
|
|
43
|
+
color: (
|
|
44
|
+
'primary',
|
|
45
|
+
300,
|
|
46
|
+
),
|
|
47
|
+
),
|
|
23
48
|
fill-color-hover: (
|
|
24
49
|
color: (
|
|
25
50
|
'primary',
|
|
26
|
-
|
|
51
|
+
100,
|
|
52
|
+
),
|
|
53
|
+
),
|
|
54
|
+
disabled-color: (
|
|
55
|
+
color: (
|
|
56
|
+
'gray',
|
|
57
|
+
100,
|
|
58
|
+
),
|
|
59
|
+
),
|
|
60
|
+
disabled-color-label: (
|
|
61
|
+
color: (
|
|
62
|
+
'gray',
|
|
63
|
+
300,
|
|
64
|
+
),
|
|
65
|
+
),
|
|
66
|
+
error-color: (
|
|
67
|
+
color: (
|
|
68
|
+
'error',
|
|
69
|
+
100,
|
|
70
|
+
),
|
|
71
|
+
),
|
|
72
|
+
error-color-hover: (
|
|
73
|
+
color: (
|
|
74
|
+
'error',
|
|
75
|
+
50,
|
|
27
76
|
),
|
|
28
77
|
),
|
|
29
78
|
)
|
|
@@ -31,15 +80,52 @@ $dark-fluent-checkbox: extend(
|
|
|
31
80
|
|
|
32
81
|
/// Generates a dark bootstrap checkbox schema.
|
|
33
82
|
/// @type {Map}
|
|
34
|
-
/// @prop {Map}
|
|
83
|
+
/// @prop {Map} focus-outline-color [color: ('primary', 900, 0.5)] - The focus outlined color.
|
|
84
|
+
/// @prop {Map} focus-outline-color-error [color: ('error', 900, 0.5)] - The focus outlined color for focused invalid state.
|
|
85
|
+
/// @prop {Map} disabled-color [color: ('gray', 100)] - The disabled border color.
|
|
86
|
+
/// @prop {Map} disabled-color-label [color: ('gray', 300)] - The disabled color of the label.
|
|
87
|
+
/// @prop {Map} error-color [color: ('error', 300)] - The border and fill colors in invalid state.
|
|
88
|
+
/// @prop {Map} error-color-hover [color: ('error', 400)] - The border and fill colors in invalid state on hover.
|
|
35
89
|
/// @requires $bootstrap-checkbox
|
|
36
90
|
$dark-bootstrap-checkbox: extend(
|
|
37
91
|
$bootstrap-checkbox,
|
|
38
92
|
(
|
|
39
|
-
|
|
93
|
+
focus-outline-color: (
|
|
40
94
|
color: (
|
|
41
|
-
'
|
|
95
|
+
'primary',
|
|
42
96
|
900,
|
|
97
|
+
0.5,
|
|
98
|
+
),
|
|
99
|
+
),
|
|
100
|
+
focus-outline-color-error: (
|
|
101
|
+
color: (
|
|
102
|
+
'error',
|
|
103
|
+
900,
|
|
104
|
+
0.5,
|
|
105
|
+
),
|
|
106
|
+
),
|
|
107
|
+
disabled-color: (
|
|
108
|
+
color: (
|
|
109
|
+
'gray',
|
|
110
|
+
100,
|
|
111
|
+
),
|
|
112
|
+
),
|
|
113
|
+
disabled-color-label: (
|
|
114
|
+
color: (
|
|
115
|
+
'gray',
|
|
116
|
+
300,
|
|
117
|
+
),
|
|
118
|
+
),
|
|
119
|
+
error-color: (
|
|
120
|
+
color: (
|
|
121
|
+
'error',
|
|
122
|
+
300,
|
|
123
|
+
),
|
|
124
|
+
),
|
|
125
|
+
error-color-hover: (
|
|
126
|
+
color: (
|
|
127
|
+
'error',
|
|
128
|
+
400,
|
|
43
129
|
),
|
|
44
130
|
),
|
|
45
131
|
)
|
|
@@ -7,54 +7,52 @@
|
|
|
7
7
|
/// @access public
|
|
8
8
|
////
|
|
9
9
|
|
|
10
|
-
/// Generates a base dark navdrawer schema.
|
|
11
|
-
/// @type {Map}
|
|
12
|
-
/// @prop {Map} item-hover-background [color: ('gray', 100, .5)] - The item's hover background color.
|
|
13
|
-
$dark-base-navdrawer: (
|
|
14
|
-
item-hover-background: (
|
|
15
|
-
color: (
|
|
16
|
-
'gray',
|
|
17
|
-
100,
|
|
18
|
-
0.5,
|
|
19
|
-
),
|
|
20
|
-
),
|
|
21
|
-
);
|
|
22
|
-
|
|
23
10
|
/// Generates a dark material navdrawer schema.
|
|
24
11
|
/// @type {Map}
|
|
25
12
|
/// @requires $material-navdrawer
|
|
26
|
-
|
|
27
|
-
$dark-material-navdrawer: extend($material-navdrawer, $dark-base-navdrawer);
|
|
13
|
+
$dark-material-navdrawer: extend($material-navdrawer);
|
|
28
14
|
|
|
29
15
|
/// Generates a dark fluent navdrawer schema.
|
|
30
16
|
/// @type {Map}
|
|
17
|
+
/// @prop {Map} item-hover-icon-color [color: ('primary', 100)] - The item's hover icon color.
|
|
18
|
+
/// @prop {Map} item-icon-color [color: ('primary', 200)] - The item's icon color.
|
|
19
|
+
/// @prop {Map} item-hover-background [color: ('gray', 200, .12)] - The item's hover background color.
|
|
31
20
|
/// @prop {Map} item-active-text-color [color: ('primary', 200)] - The item's active text color.
|
|
32
21
|
/// @prop {Map} item-active-icon-color [color: ('primary', 100)] - The item's icon active color.
|
|
33
|
-
/// @prop {Map} item-active-background [color: ('primary',
|
|
22
|
+
/// @prop {Map} item-active-background [color: ('primary', 300, .12)] - The item's active background color.
|
|
34
23
|
/// @requires $fluent-navdrawer
|
|
35
|
-
/// @requires $dark-base-navdrawer
|
|
36
24
|
$dark-fluent-navdrawer: extend(
|
|
37
25
|
$fluent-navdrawer,
|
|
38
|
-
$dark-base-navdrawer,
|
|
39
26
|
(
|
|
40
|
-
item-
|
|
27
|
+
item-hover-icon-color: (
|
|
28
|
+
color: (
|
|
29
|
+
'primary',
|
|
30
|
+
100,
|
|
31
|
+
),
|
|
32
|
+
),
|
|
33
|
+
item-icon-color: (
|
|
41
34
|
color: (
|
|
42
35
|
'primary',
|
|
43
36
|
200,
|
|
44
37
|
),
|
|
45
38
|
),
|
|
46
|
-
|
|
39
|
+
item-hover-background: (
|
|
40
|
+
color: (
|
|
41
|
+
'gray',
|
|
42
|
+
200,
|
|
43
|
+
0.12,
|
|
44
|
+
),
|
|
45
|
+
),
|
|
47
46
|
item-active-icon-color: (
|
|
48
47
|
color: (
|
|
49
48
|
'primary',
|
|
50
|
-
|
|
49
|
+
50,
|
|
51
50
|
),
|
|
52
51
|
),
|
|
53
|
-
|
|
54
52
|
item-active-background: (
|
|
55
53
|
color: (
|
|
56
|
-
'
|
|
57
|
-
|
|
54
|
+
'gray',
|
|
55
|
+
300,
|
|
58
56
|
0.12,
|
|
59
57
|
),
|
|
60
58
|
),
|
|
@@ -65,10 +63,8 @@ $dark-fluent-navdrawer: extend(
|
|
|
65
63
|
/// @type {Map}
|
|
66
64
|
/// @prop {Map} item-hover-background [color: ('gray', 100)] - The item's hover background color.
|
|
67
65
|
/// @requires $bootstrap-navdrawer
|
|
68
|
-
/// @requires $dark-base-navdrawer
|
|
69
66
|
$dark-bootstrap-navdrawer: extend(
|
|
70
67
|
$bootstrap-navdrawer,
|
|
71
|
-
$dark-base-navdrawer,
|
|
72
68
|
(
|
|
73
69
|
item-hover-background: (
|
|
74
70
|
color: (
|
|
@@ -8,25 +8,6 @@
|
|
|
8
8
|
/// @access public
|
|
9
9
|
////
|
|
10
10
|
|
|
11
|
-
/// Generates a base dark radio schema.
|
|
12
|
-
/// @type {Map}
|
|
13
|
-
/// @prop {Map} fill-color-hover [color: ('gray', 900)] - The checked border and dot colors on hover.
|
|
14
|
-
/// @prop {Map} fill-hover-border-color [color: ('gray', 900)] - The text color used for the label text.
|
|
15
|
-
$base-dark-radio: (
|
|
16
|
-
fill-color-hover: (
|
|
17
|
-
color: (
|
|
18
|
-
'gray',
|
|
19
|
-
900,
|
|
20
|
-
),
|
|
21
|
-
),
|
|
22
|
-
fill-hover-border-color: (
|
|
23
|
-
color: (
|
|
24
|
-
'gray',
|
|
25
|
-
900,
|
|
26
|
-
),
|
|
27
|
-
),
|
|
28
|
-
);
|
|
29
|
-
|
|
30
11
|
/// Generates a dark material radio schema.
|
|
31
12
|
/// @type {Map}
|
|
32
13
|
/// @requires $material-radio
|
|
@@ -38,7 +19,9 @@ $dark-material-radio: $material-radio;
|
|
|
38
19
|
/// @prop {Map} fill-color [color: ('primary', 300)] - The checked border and dot colors.
|
|
39
20
|
/// @prop {Map} fill-hover-border-color [color: ('primary', 100)] - The text color used for the label text.
|
|
40
21
|
/// @prop {Map} fill-color-hover [color: ('primary', 100)] - The checked border and dot colors on hover.
|
|
41
|
-
/// @prop {Map}
|
|
22
|
+
/// @prop {Map} focus-outline-color [color: ('gray', 400)] - The focus outlined color.
|
|
23
|
+
/// @prop {Map} error-color [color: ('error', 100)] - The label, border and dot color in invalid state.
|
|
24
|
+
/// @prop {Map} error-color-hover [color: ('error', 50)] - The border and dot color in invalid state on hover.
|
|
42
25
|
/// @prop {Map} disabled-color [color: ('gray', 100)] - The disabled border and dot colors.
|
|
43
26
|
/// @prop {Map} disabled-fill-color [color: ('gray', 100)] - The disabled checked border and dot colors.
|
|
44
27
|
/// @prop {Map} disabled-label-color [color: ('gray', 300)] - The disabled label color.
|
|
@@ -70,10 +53,22 @@ $dark-fluent-radio: extend(
|
|
|
70
53
|
100,
|
|
71
54
|
),
|
|
72
55
|
),
|
|
56
|
+
focus-outline-color: (
|
|
57
|
+
color: (
|
|
58
|
+
'gray',
|
|
59
|
+
400,
|
|
60
|
+
),
|
|
61
|
+
),
|
|
62
|
+
error-color: (
|
|
63
|
+
color: (
|
|
64
|
+
'error',
|
|
65
|
+
100,
|
|
66
|
+
),
|
|
67
|
+
),
|
|
73
68
|
error-color-hover: (
|
|
74
69
|
color: (
|
|
75
70
|
'error',
|
|
76
|
-
|
|
71
|
+
50,
|
|
77
72
|
),
|
|
78
73
|
),
|
|
79
74
|
disabled-color: (
|
|
@@ -100,8 +95,55 @@ $dark-fluent-radio: extend(
|
|
|
100
95
|
/// Generates a dark bootstrap radio schema.
|
|
101
96
|
/// @type {Map}
|
|
102
97
|
/// @requires $bootstrap-radio
|
|
103
|
-
/// @
|
|
104
|
-
|
|
98
|
+
/// @prop {Map} focus-outline-color [color: ('primary', 900, 0.5)] - The focus outline color.
|
|
99
|
+
/// @prop {Map} focus-outline-color-error [color: ('error', 900, 0.5)] - The focus outline color when radio is invalid.
|
|
100
|
+
/// @prop {Map} error-color [color: ('error', 300)] - The label, border and dot color in invalid state.
|
|
101
|
+
/// @prop {Map} error-color-hover [color: ('error', 400)] - The focus outlined color in invalid state.
|
|
102
|
+
/// @prop {Map} disabled-color [color: ('gray', 100)] - The disabled border color.
|
|
103
|
+
/// @prop {Map} disabled-label-color [color: ('gray', 300)] - The disabled label color.
|
|
104
|
+
$dark-bootstrap-radio: extend(
|
|
105
|
+
$bootstrap-radio,
|
|
106
|
+
(
|
|
107
|
+
focus-outline-color: (
|
|
108
|
+
color: (
|
|
109
|
+
'primary',
|
|
110
|
+
900,
|
|
111
|
+
0.5,
|
|
112
|
+
),
|
|
113
|
+
),
|
|
114
|
+
focus-outline-color-error: (
|
|
115
|
+
color: (
|
|
116
|
+
'error',
|
|
117
|
+
900,
|
|
118
|
+
0.5,
|
|
119
|
+
),
|
|
120
|
+
),
|
|
121
|
+
error-color: (
|
|
122
|
+
color: (
|
|
123
|
+
'error',
|
|
124
|
+
300,
|
|
125
|
+
),
|
|
126
|
+
),
|
|
127
|
+
error-color-hover: (
|
|
128
|
+
color: (
|
|
129
|
+
'error',
|
|
130
|
+
400,
|
|
131
|
+
),
|
|
132
|
+
),
|
|
133
|
+
disabled-color: (
|
|
134
|
+
color: (
|
|
135
|
+
'gray',
|
|
136
|
+
100,
|
|
137
|
+
),
|
|
138
|
+
),
|
|
139
|
+
disabled-label-color: (
|
|
140
|
+
color: (
|
|
141
|
+
'gray',
|
|
142
|
+
300,
|
|
143
|
+
),
|
|
144
|
+
),
|
|
145
|
+
)
|
|
146
|
+
);
|
|
105
147
|
|
|
106
148
|
/// Generates a dark indigo radio schema.
|
|
107
149
|
/// @type {Map}
|
|
@@ -116,7 +158,6 @@ $dark-bootstrap-radio: extend($bootstrap-radio, $base-dark-radio);
|
|
|
116
158
|
/// @prop {Map} error-color-hover [color: ('error', 300)] - The focus outlined color in invalid state.
|
|
117
159
|
/// @prop {Map} focus-outline-color-error [color: ('error', 400, 0.5)] - The focus outline color when radio is filled and invalid.
|
|
118
160
|
/// @requires $indigo-radio
|
|
119
|
-
/// @requires $base-dark-radio
|
|
120
161
|
$dark-indigo-radio: extend(
|
|
121
162
|
$indigo-radio,
|
|
122
163
|
(
|
|
@@ -9,52 +9,60 @@
|
|
|
9
9
|
////
|
|
10
10
|
|
|
11
11
|
/* stylelint-disable max-line-length */
|
|
12
|
-
|
|
13
|
-
/// Generates a base dark switch schema.
|
|
14
|
-
/// @type {Map}
|
|
15
|
-
/// @prop {Color} thumb-disabled-color [color: ('gray', 200)] - The color of the thumb when the switch is disabled.
|
|
16
|
-
$base-dark-switch: (
|
|
17
|
-
thumb-disabled-color: (
|
|
18
|
-
color: (
|
|
19
|
-
'gray',
|
|
20
|
-
200,
|
|
21
|
-
),
|
|
22
|
-
),
|
|
23
|
-
);
|
|
24
|
-
|
|
25
12
|
/// Generates a dark material switch schema.
|
|
26
13
|
/// @type {Map}
|
|
14
|
+
/// @prop {Map} thumb-off-color [color: ('gray', 100)] - The color of the thumb when the switch is off.
|
|
15
|
+
/// @prop {Map} thumb-disabled-color [color: ('gray', 200)] - The color of the thumb when the switch is disabled.
|
|
27
16
|
/// @requires $material-switch
|
|
28
|
-
|
|
29
|
-
$
|
|
17
|
+
$dark-material-switch: extend(
|
|
18
|
+
$material-switch,
|
|
19
|
+
(
|
|
20
|
+
thumb-off-color: (
|
|
21
|
+
color: (
|
|
22
|
+
'gray',
|
|
23
|
+
100,
|
|
24
|
+
),
|
|
25
|
+
),
|
|
26
|
+
thumb-disabled-color: (
|
|
27
|
+
color: (
|
|
28
|
+
'gray',
|
|
29
|
+
200,
|
|
30
|
+
),
|
|
31
|
+
),
|
|
32
|
+
)
|
|
33
|
+
);
|
|
30
34
|
|
|
31
35
|
/// Generates a dark fluent switch schema.
|
|
32
36
|
/// @type {Map}
|
|
33
|
-
/// @prop {Map}
|
|
37
|
+
/// @prop {Map} focus-outline-color [color: ('gray', 400)] - The focus outlined color.
|
|
38
|
+
/// @prop {Map} border-color [color: ('gray', 400)] - The border color of the switch.
|
|
34
39
|
/// @prop {Map} border-on-color [color: ('primary', 300)] - The border color of the on-switch.
|
|
35
|
-
/// @prop {Map} border-on-hover-color [color
|
|
36
|
-
/// @prop {Map} border-disabled-color [color: ('gray', 200)] - The border color of the disabled switch.
|
|
40
|
+
/// @prop {Map} border-on-hover-color [color('primary',100)] - The border color of the on-switch.
|
|
37
41
|
/// @prop {Map} track-on-color [color: ('primary', 300)] - The color of the track when the switch is on.
|
|
38
|
-
/// @prop {Map} track-on-disabled-color [color: ('gray', 200)] - The color of the track when the switch is on and disabled.
|
|
39
42
|
/// @prop {Map} track-on-hover-color [color: ('primary', 100)] - The color of the track when the switch is on and hovered.
|
|
40
|
-
/// @prop {Map}
|
|
43
|
+
/// @prop {Map} track-off-color [color: ('gray', 50)] - The color of the track when the switch is off.
|
|
44
|
+
/// @prop {Map} thumb-off-color [color: ('gray', 400)] - The color of the thumb when the switch is off.
|
|
45
|
+
/// @prop {Map} label-disabled-color [color: ('gray', 300)] - The color of the switch label when the switch is disabled
|
|
46
|
+
/// @prop {Map} border-disabled-color [color: ('gray', 100)] - The border color of the disabled switch.
|
|
47
|
+
/// @prop {Map} track-disabled-color [color: ('gray', 50)] - The color of the track when the switch is disabled.
|
|
48
|
+
/// @prop {Map} track-on-disabled-color [color: ('gray', 100)] - The color of the track when the switch is on and disabled.
|
|
49
|
+
/// @prop {Map} thumb-disabled-color [color: ('gray', 100)] - The color of the thumb when the switch is disabled.
|
|
50
|
+
/// @prop {Map} thumb-on-disabled-color [color: ('gray', 50)] - The color of the thumb when the switch is on and disabled.
|
|
41
51
|
/// @prop {Map} error-color [color: ('gray', 500)] - The border and thumb color in invalid state.
|
|
42
52
|
/// @requires $fluent-switch
|
|
43
|
-
/// @requires $base-dark-switch
|
|
44
53
|
$dark-fluent-switch: extend(
|
|
45
54
|
$fluent-switch,
|
|
46
|
-
$base-dark-switch,
|
|
47
55
|
(
|
|
48
|
-
|
|
56
|
+
focus-outline-color: (
|
|
49
57
|
color: (
|
|
50
58
|
'gray',
|
|
51
|
-
|
|
59
|
+
400,
|
|
52
60
|
),
|
|
53
61
|
),
|
|
54
|
-
|
|
62
|
+
border-color: (
|
|
55
63
|
color: (
|
|
56
64
|
'gray',
|
|
57
|
-
|
|
65
|
+
400,
|
|
58
66
|
),
|
|
59
67
|
),
|
|
60
68
|
border-on-color: (
|
|
@@ -75,22 +83,58 @@ $dark-fluent-switch: extend(
|
|
|
75
83
|
300,
|
|
76
84
|
),
|
|
77
85
|
),
|
|
86
|
+
track-off-color: (
|
|
87
|
+
color: (
|
|
88
|
+
'gray',
|
|
89
|
+
50,
|
|
90
|
+
),
|
|
91
|
+
),
|
|
78
92
|
track-on-hover-color: (
|
|
79
93
|
color: (
|
|
80
94
|
'primary',
|
|
81
95
|
100,
|
|
82
96
|
),
|
|
83
97
|
),
|
|
98
|
+
thumb-off-color: (
|
|
99
|
+
color: (
|
|
100
|
+
'gray',
|
|
101
|
+
400,
|
|
102
|
+
),
|
|
103
|
+
),
|
|
104
|
+
label-disabled-color: (
|
|
105
|
+
color: (
|
|
106
|
+
'gray',
|
|
107
|
+
300,
|
|
108
|
+
),
|
|
109
|
+
),
|
|
84
110
|
border-disabled-color: (
|
|
85
111
|
color: (
|
|
86
112
|
'gray',
|
|
87
|
-
|
|
113
|
+
100,
|
|
114
|
+
),
|
|
115
|
+
),
|
|
116
|
+
track-disabled-color: (
|
|
117
|
+
color: (
|
|
118
|
+
'gray',
|
|
119
|
+
50,
|
|
88
120
|
),
|
|
89
121
|
),
|
|
90
122
|
track-on-disabled-color: (
|
|
91
123
|
color: (
|
|
92
124
|
'gray',
|
|
93
|
-
|
|
125
|
+
100,
|
|
126
|
+
),
|
|
127
|
+
),
|
|
128
|
+
thumb-disabled-color: (
|
|
129
|
+
color: (
|
|
130
|
+
'gray',
|
|
131
|
+
100,
|
|
132
|
+
),
|
|
133
|
+
),
|
|
134
|
+
thumb-on-disabled-color: (
|
|
135
|
+
color: (
|
|
136
|
+
'gray',
|
|
137
|
+
50,
|
|
94
138
|
),
|
|
95
139
|
),
|
|
96
140
|
error-color: (
|
|
@@ -105,30 +149,40 @@ $dark-fluent-switch: extend(
|
|
|
105
149
|
/// Generates a dark bootstrap switch schema.
|
|
106
150
|
/// @type {Map}
|
|
107
151
|
/// @prop {Map} thumb-on-color [color: ('gray', 900)] - The color of the thumb when the switch is on.
|
|
108
|
-
/// @prop {Map}
|
|
109
|
-
/// @prop {Map}
|
|
152
|
+
/// @prop {Map} label-disabled-color [color: ('gray', 300)] - The color of the switch label when the switch is disabled
|
|
153
|
+
/// @prop {Map} border-disabled-color [color: ('gray', 100)] - The border color of the disabled switch.
|
|
154
|
+
/// @prop {Map} track-disabled-color [color: 'surface'] - The color of the track when the switch is on and disabled.
|
|
155
|
+
/// @prop {Map} thumb-disabled-color [color: ('gray', 100)] - The color of the thumb when the switch is on and disabled.
|
|
110
156
|
/// @requires $bootstrap-switch
|
|
111
|
-
/// @requires $base-dark-switch
|
|
112
157
|
$dark-bootstrap-switch: extend(
|
|
113
158
|
$bootstrap-switch,
|
|
114
|
-
$base-dark-switch,
|
|
115
159
|
(
|
|
116
|
-
|
|
160
|
+
focus-outline-color: (
|
|
117
161
|
color: (
|
|
118
|
-
'
|
|
162
|
+
'primary',
|
|
119
163
|
900,
|
|
164
|
+
0.5,
|
|
120
165
|
),
|
|
121
166
|
),
|
|
122
|
-
|
|
167
|
+
label-disabled-color: (
|
|
123
168
|
color: (
|
|
124
169
|
'gray',
|
|
125
|
-
|
|
170
|
+
300,
|
|
126
171
|
),
|
|
127
172
|
),
|
|
128
|
-
|
|
173
|
+
border-disabled-color: (
|
|
129
174
|
color: (
|
|
130
175
|
'gray',
|
|
131
|
-
|
|
176
|
+
100,
|
|
177
|
+
),
|
|
178
|
+
),
|
|
179
|
+
track-disabled-color: (
|
|
180
|
+
color: 'surface',
|
|
181
|
+
),
|
|
182
|
+
thumb-disabled-color: (
|
|
183
|
+
color: (
|
|
184
|
+
'gray',
|
|
185
|
+
100,
|
|
132
186
|
),
|
|
133
187
|
),
|
|
134
188
|
)
|
|
@@ -7,11 +7,5 @@
|
|
|
7
7
|
/// @type Map
|
|
8
8
|
/// @prop {Map} elevation [16] - The elevation level, between 0-24, to be used for the drawer.
|
|
9
9
|
$default-elevation-navdrawer: (
|
|
10
|
-
elevation: 16,
|
|
11
|
-
);
|
|
12
|
-
|
|
13
|
-
/// @type Map
|
|
14
|
-
/// @prop {Map} elevation [0] - The elevation level, between 0-24, to be used for the drawer.
|
|
15
|
-
$indigo-elevation-navdrawer: (
|
|
16
10
|
elevation: 0,
|
|
17
11
|
);
|
|
@@ -5,11 +5,11 @@
|
|
|
5
5
|
////
|
|
6
6
|
|
|
7
7
|
/// @type Map
|
|
8
|
-
/// @prop {Number} resting-elevation [
|
|
9
|
-
/// @prop {Number} hover-elevation [
|
|
8
|
+
/// @prop {Number} resting-elevation [1] - The elevation level, between 0-24, to be used for the resting state.
|
|
9
|
+
/// @prop {Number} hover-elevation [1] - The elevation level, between 0-24, to be used for the hover state.
|
|
10
10
|
/// @prop {Number} disabled-elevation [1] - The elevation level, between 0-24, to be used for the disabled state.
|
|
11
11
|
$default-elevation-switch: (
|
|
12
|
-
resting-elevation:
|
|
13
|
-
hover-elevation:
|
|
12
|
+
resting-elevation: 1,
|
|
13
|
+
hover-elevation: 1,
|
|
14
14
|
disabled-elevation: 1,
|
|
15
15
|
);
|