igniteui-theming 3.1.1-beta.1 → 3.2.0-beta.1
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/_list.scss +3 -1
- package/sass/themes/schemas/components/dark/_tree.scss +4 -0
- package/sass/themes/schemas/components/elevation/_card.scss +1 -25
- package/sass/themes/schemas/components/light/_card.scss +2 -14
- package/sass/themes/schemas/components/light/_dialog.scss +18 -0
- package/sass/themes/schemas/components/light/_tree.scss +4 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "igniteui-theming",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.2.0-beta.1",
|
|
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": {
|
|
@@ -91,7 +91,7 @@ $dark-bootstrap-list: extend(
|
|
|
91
91
|
/// Generates a dark indigo list schema
|
|
92
92
|
/// @type {Map}
|
|
93
93
|
/// @prop {Map} header-text-color [contrast-color: 'surface'] - The list header text color.
|
|
94
|
-
/// @prop {Map} item-background-hover [color: ('primary')] - The list item hover background.
|
|
94
|
+
/// @prop {Map} item-background-hover [color: ('primary', 500, .5)] - The list item hover background.
|
|
95
95
|
/// @prop {Map} item-background-active [color: ('primary')] - The active list item background color.
|
|
96
96
|
/// @requires $indigo-list
|
|
97
97
|
$dark-indigo-list: extend(
|
|
@@ -104,6 +104,8 @@ $dark-indigo-list: extend(
|
|
|
104
104
|
item-background-hover: (
|
|
105
105
|
color: (
|
|
106
106
|
'primary',
|
|
107
|
+
500,
|
|
108
|
+
0.5,
|
|
107
109
|
),
|
|
108
110
|
),
|
|
109
111
|
|
|
@@ -14,6 +14,7 @@
|
|
|
14
14
|
/// @type {Map}
|
|
15
15
|
/// @prop {Map} background-active [color: ('gray', 100)] - The background color used for the active tree node.
|
|
16
16
|
/// @prop {Map} foreground-active [color: ('gray', 900)] - The color used for the content in active state of the tree node.
|
|
17
|
+
/// @prop {Map} hover-color [color: ('gray', 50, .1)] - The background color used for the tree node on hover.
|
|
17
18
|
$base-dark-tree: (
|
|
18
19
|
background-active: (
|
|
19
20
|
color: (
|
|
@@ -49,6 +50,7 @@ $dark-tree: extend($light-tree, $base-dark-tree);
|
|
|
49
50
|
/// @prop {Map} foreground-selected [color: ('gray', 900)] - The color used for the content of the selected tree node.
|
|
50
51
|
/// @prop {Map} background-active-selected [color: ('gray', 200)] - The background color used for the active selected tree node.
|
|
51
52
|
/// @prop {Map} foreground-active-selected [color: ('gray', 900)] - The color used for the content of the active selected tree node.
|
|
53
|
+
/// @prop {Map} hover-color [color: ('gray', 200, .5)] - The background color used for the tree node on hover.
|
|
52
54
|
/// @requires $fluent-tree
|
|
53
55
|
/// @requires $base-dark-tree
|
|
54
56
|
$dark-fluent-tree: extend(
|
|
@@ -97,6 +99,7 @@ $dark-fluent-tree: extend(
|
|
|
97
99
|
|
|
98
100
|
/// Generates a dark bootstrap tree schema.
|
|
99
101
|
/// @type {Map}
|
|
102
|
+
/// @prop {Map} hover-color [color: ('gray', 500, .3)] - The background color used for the tree node on hover.
|
|
100
103
|
/// @requires $bootstrap-tree
|
|
101
104
|
/// @requires $base-dark-tree
|
|
102
105
|
$dark-bootstrap-tree: extend(
|
|
@@ -115,6 +118,7 @@ $dark-bootstrap-tree: extend(
|
|
|
115
118
|
|
|
116
119
|
/// Generates a dark indigo tree schema.
|
|
117
120
|
/// @type {Map}
|
|
121
|
+
/// @prop {Map} hover-color [color: ('primary', 200, .5)] - The background color used for the tree node on hover.
|
|
118
122
|
/// @requires $indigo-tree
|
|
119
123
|
/// @requires $base-dark-tree
|
|
120
124
|
$dark-indigo-tree: extend(
|
|
@@ -4,34 +4,10 @@
|
|
|
4
4
|
/// @access public
|
|
5
5
|
////
|
|
6
6
|
|
|
7
|
-
/// @type Map
|
|
8
|
-
/// @prop {Number} resting-elevation [2] - The elevation level, between 0-24, to be used for the resting state.
|
|
9
|
-
/// @prop {Number} hover-elevation [8] - The elevation level, between 0-24, to be used for the hover state.
|
|
10
|
-
$default-elevation-card: (
|
|
11
|
-
resting-elevation: 2,
|
|
12
|
-
hover-elevation: 8,
|
|
13
|
-
);
|
|
14
|
-
|
|
15
|
-
/// @type Map
|
|
16
|
-
/// @prop {Number} resting-elevation [0] - The elevation level, between 0-24, to be used for the resting state.
|
|
17
|
-
/// @prop {Number} hover-elevation [0] - The elevation level, between 0-24, to be used for the hover state.
|
|
18
|
-
$flat-card: (
|
|
19
|
-
resting-elevation: 0,
|
|
20
|
-
hover-elevation: 0,
|
|
21
|
-
);
|
|
22
|
-
|
|
23
|
-
/// @type Map
|
|
24
|
-
/// @requires {Map} $flat-card
|
|
25
|
-
$fluent-elevation-card: $flat-card;
|
|
26
|
-
|
|
27
|
-
/// @type Map
|
|
28
|
-
/// @requires {Map} $flat-card
|
|
29
|
-
$bootstrap-elevation-card: $flat-card;
|
|
30
|
-
|
|
31
7
|
/// @type Map
|
|
32
8
|
/// @prop {Number} resting-elevation [4] - The elevation level, between 0-24, to be used for the resting state.
|
|
33
9
|
/// @prop {Number} hover-elevation [6] - The elevation level, between 0-24, to be used for the hover state.
|
|
34
|
-
$
|
|
10
|
+
$default-elevation-card: (
|
|
35
11
|
resting-elevation: 4,
|
|
36
12
|
hover-elevation: 6,
|
|
37
13
|
);
|
|
@@ -16,8 +16,8 @@
|
|
|
16
16
|
/// @prop {Map} content-text-color [color: ('gray', 700)] - The text color of the card content.
|
|
17
17
|
/// @prop {Map} actions-text-color [color: ('gray', 700)] - The text color of the card buttons.
|
|
18
18
|
/// @prop {Map} outline-color [color: ('gray', 400, .54)] - The outline color of an outlined type card.
|
|
19
|
-
/// @prop {Number} resting-elevation [
|
|
20
|
-
/// @prop {Number} hover-elevation [
|
|
19
|
+
/// @prop {Number} resting-elevation [4] - The elevation level, between 0-24, to be used for the resting state.
|
|
20
|
+
/// @prop {Number} hover-elevation [6] - The elevation level, between 0-24, to be used for the hover state.
|
|
21
21
|
/// @prop {List} border-radius [(rem(4px), rem(0), rem(24px))] - The border radius used for card.
|
|
22
22
|
/// @requires {Map} $default-elevation-card
|
|
23
23
|
$light-card: extend(
|
|
@@ -76,14 +76,10 @@ $light-card: extend(
|
|
|
76
76
|
/// Generates a fluent card schema.
|
|
77
77
|
/// @type {Map}
|
|
78
78
|
/// @prop {Map} outline-color [color: ('gray', 200)] - The outline color of an outlined type card.
|
|
79
|
-
/// @prop {Number} resting-elevation [0] - The elevation level, between 0-24, to be used for the resting state.
|
|
80
|
-
/// @prop {Number} hover-elevation [0] - The elevation level, between 0-24, to be used for the hover state.
|
|
81
79
|
/// @prop {List} border-radius [(rem(2px), rem(0), rem(24px))] - The border radius used for card.
|
|
82
80
|
/// @requires {Map} $light-card
|
|
83
|
-
/// @requires {Map} $fluent-elevation-card
|
|
84
81
|
$fluent-card: extend(
|
|
85
82
|
$light-card,
|
|
86
|
-
$fluent-elevation-card,
|
|
87
83
|
(
|
|
88
84
|
outline-color: (
|
|
89
85
|
color: (
|
|
@@ -110,13 +106,9 @@ $fluent-card: extend(
|
|
|
110
106
|
/// @prop {Map} subtitle-text-color [color: ('gray', 800)] - The text color of the card subtitle.
|
|
111
107
|
/// @prop {Map} content-text-color [color: ('gray', 800)] - The text color of the card content.
|
|
112
108
|
/// @prop {Map} actions-text-color [color: ('gray', 900)] - The text color of the card buttons.
|
|
113
|
-
/// @prop {Number} resting-elevation [0] - The elevation level, between 0-24, to be used for the resting state.
|
|
114
|
-
/// @prop {Number} hover-elevation [0] - The elevation level, between 0-24, to be used for the hover state.
|
|
115
109
|
/// @requires {Map} $light-card
|
|
116
|
-
/// @requires {Map} $bootstrap-elevation-card
|
|
117
110
|
$bootstrap-card: extend(
|
|
118
111
|
$light-card,
|
|
119
|
-
$bootstrap-elevation-card,
|
|
120
112
|
(
|
|
121
113
|
background: (
|
|
122
114
|
contrast-color: (
|
|
@@ -169,14 +161,10 @@ $bootstrap-card: extend(
|
|
|
169
161
|
/// @prop {Map} subtitle-text-color [color: ('gray', 500)] - The text color of the card subtitle.
|
|
170
162
|
/// @prop {Map} content-text-color [color: ('gray', 700)] - The text color of the card content.
|
|
171
163
|
/// @prop {Map} actions-text-color [color: ('gray', 600)] - The text color of the card buttons.
|
|
172
|
-
/// @prop {Number} resting-elevation [4] - The elevation level, between 0-24, to be used for the resting state.
|
|
173
|
-
/// @prop {Number} hover-elevation [6] - The elevation level, between 0-24, to be used for the hover state.
|
|
174
164
|
/// @prop {List} border-radius [(rem(3px), rem(0), rem(24px))] - The border radius used for card.
|
|
175
165
|
/// @requires {Map} $light-card
|
|
176
|
-
/// @requires {Map} $indigo-elevation-card
|
|
177
166
|
$indigo-card: extend(
|
|
178
167
|
$light-card,
|
|
179
|
-
$indigo-elevation-card,
|
|
180
168
|
(
|
|
181
169
|
outline-color: (
|
|
182
170
|
color: (
|
|
@@ -14,6 +14,7 @@
|
|
|
14
14
|
/// @prop {Map} title-color [color: ('gray', 900)] - The dialog title text color.
|
|
15
15
|
/// @prop {Map} message-color [color: ('gray', 600)] - The dialog message text color.
|
|
16
16
|
/// @prop {Color} border-color [transparent] - The border color for dialog component.
|
|
17
|
+
/// @prop {Map} backdrop [color: ('gray', 50, .54)] - The dialog backdrop color.
|
|
17
18
|
/// @prop {Number} elevation [24] - The elevation level, between 0-24, to be used for the dialog.
|
|
18
19
|
/// @prop {List} border-radius [(rem(4px), rem(0), rem(36px))] - The border radius used for dialog.
|
|
19
20
|
/// @requires {Map} $default-elevation-dialog
|
|
@@ -40,6 +41,14 @@ $light-dialog: extend(
|
|
|
40
41
|
|
|
41
42
|
border-color: transparent,
|
|
42
43
|
|
|
44
|
+
backdrop: (
|
|
45
|
+
color: (
|
|
46
|
+
'gray',
|
|
47
|
+
500,
|
|
48
|
+
0.54,
|
|
49
|
+
),
|
|
50
|
+
),
|
|
51
|
+
|
|
43
52
|
border-radius: (
|
|
44
53
|
border-radius: (
|
|
45
54
|
rem(4px),
|
|
@@ -52,12 +61,21 @@ $light-dialog: extend(
|
|
|
52
61
|
|
|
53
62
|
/// Generates a fluent dialog schema.
|
|
54
63
|
/// @type {Map}
|
|
64
|
+
/// @prop {Map} backdrop [color: ('gray', 900, .4)] - The dialog backdrop color.
|
|
55
65
|
/// @prop {List} border-radius [(rem(2px), rem(0), rem(36px))] - The border radius used for dialog.
|
|
56
66
|
/// @prop {Map} message-color [color: ('gray', 700)] - The dialog message text color.
|
|
57
67
|
/// @requires {Map} $light-dialog
|
|
58
68
|
$fluent-dialog: extend(
|
|
59
69
|
$light-dialog,
|
|
60
70
|
(
|
|
71
|
+
backdrop: (
|
|
72
|
+
color: (
|
|
73
|
+
'gray',
|
|
74
|
+
900,
|
|
75
|
+
0.4,
|
|
76
|
+
),
|
|
77
|
+
),
|
|
78
|
+
|
|
61
79
|
border-radius: (
|
|
62
80
|
border-radius: (
|
|
63
81
|
rem(2px),
|
|
@@ -21,7 +21,8 @@
|
|
|
21
21
|
/// @prop {Map} foreground-active [contrast-color: ('gray', 200)] - The color used for the content in active state of the tree node.
|
|
22
22
|
/// @prop {Map} foreground-active-selected [contrast-color: ('secondary', 300)] - The color used for the content of the active selected tree node.
|
|
23
23
|
/// @prop {Map} foreground-disabled [color: ('gray', 500)] - The color used for the content of the disabled tree node.
|
|
24
|
-
/// @prop {Map} drop-area-color [color: ('secondary'] - The background color used for the tree node drop aria.
|
|
24
|
+
/// @prop {Map} drop-area-color [color: ('secondary')] - The background color used for the tree node drop aria.
|
|
25
|
+
/// @prop {Map} hover-color [color: ('gray', 900, .1)] - The background color used for the tree node on hover.
|
|
25
26
|
/// @prop {Map} border-color [color: ('secondary')] - The outline shadow color used for tree node in focus state.
|
|
26
27
|
/// @prop {List} size [(rem(32px), rem(40px), rem(50px))] - The size used for the tree node.
|
|
27
28
|
$light-tree: (
|
|
@@ -188,6 +189,7 @@ $fluent-tree: extend(
|
|
|
188
189
|
/// @prop {Map} background-active-selected [color: ('primary', 600)] - The background color used for the active selected tree node.
|
|
189
190
|
/// @prop {Map} foreground-active-selected [contrast-color: ('primary', 600)] - The color used for the content of the active selected tree node.
|
|
190
191
|
/// @prop {Map} border-color [color: ('primary', 200)] - The outline shadow color used for tree node in focus state.
|
|
192
|
+
/// @prop {Map} hover-color [color: ('gray', 900, .1)] - The background color used for the tree node on hover.
|
|
191
193
|
/// @requires $light-tree
|
|
192
194
|
$bootstrap-tree: extend(
|
|
193
195
|
$light-tree,
|
|
@@ -244,6 +246,7 @@ $bootstrap-tree: extend(
|
|
|
244
246
|
/// @prop {Map} background-active-selected [color: ('primary', 400)] - The background color used for the active selected tree node.
|
|
245
247
|
/// @prop {Map} foreground-active-selected [contrast-color: ('primary', 400)] - The color used for the content of the active selected tree node.
|
|
246
248
|
/// @prop {Map} border-color [color: ('primary', 300)] - The outline shadow color used for tree node in focus state.
|
|
249
|
+
/// @prop {Map} hover-color [color: ('primary', 100)] - The background color used for the tree node on hover.
|
|
247
250
|
/// @requires {Map} $light-tree
|
|
248
251
|
$indigo-tree: extend(
|
|
249
252
|
$light-tree,
|