igniteui-theming 2.1.0-beta.2 → 2.1.0-beta.4
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/_functions.scss +8 -0
- package/sass/themes/schemas/components/light/_avatar.scss +7 -5
- package/sass/themes/schemas/components/light/_button.scss +5 -3
- package/sass/themes/schemas/components/light/_chip.scss +7 -3
- package/sass/themes/schemas/components/light/_drop-down.scss +5 -3
- package/sass/themes/schemas/components/light/_grid-toolbar.scss +6 -3
- package/sass/themes/schemas/components/light/_grid.scss +18 -10
- package/sass/themes/schemas/components/light/_icon.scss +5 -3
- package/sass/themes/schemas/components/light/_input-group.scss +7 -5
- package/sass/themes/schemas/components/light/_pagination.scss +5 -3
- package/sass/themes/schemas/components/light/_tree.scss +5 -3
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "igniteui-theming",
|
|
3
|
-
"version": "2.1.0-beta.
|
|
3
|
+
"version": "2.1.0-beta.4",
|
|
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": {
|
|
@@ -65,6 +65,7 @@
|
|
|
65
65
|
@each $fn, $args in $instructions {
|
|
66
66
|
$color: meta.function-exists($fn, $module: color);
|
|
67
67
|
$util: meta.function-exists($fn, $module: utils);
|
|
68
|
+
$self: meta.function-exists($fn);
|
|
68
69
|
|
|
69
70
|
@if $color {
|
|
70
71
|
$func: meta.get-function($fn, $module: color);
|
|
@@ -85,6 +86,13 @@
|
|
|
85
86
|
$result: meta.call($func, $result, $args...);
|
|
86
87
|
}
|
|
87
88
|
}
|
|
89
|
+
|
|
90
|
+
@if $self {
|
|
91
|
+
@if $fn == 'sizable' {
|
|
92
|
+
$func: meta.get-function($fn);
|
|
93
|
+
$result: meta.call($func, $args...);
|
|
94
|
+
}
|
|
95
|
+
}
|
|
88
96
|
}
|
|
89
97
|
|
|
90
98
|
@return $result;
|
|
@@ -14,11 +14,6 @@
|
|
|
14
14
|
/// @prop {Number} border-radius [rem(0)] - The border radius.
|
|
15
15
|
/// @prop {List} size [(rem(40px), rem(64px), rem(88px))] - The size used for the avatar width and height.
|
|
16
16
|
$light-avatar: (
|
|
17
|
-
size: (
|
|
18
|
-
rem(40px),
|
|
19
|
-
rem(64px),
|
|
20
|
-
rem(88px),
|
|
21
|
-
),
|
|
22
17
|
background: (
|
|
23
18
|
color: (
|
|
24
19
|
'gray',
|
|
@@ -34,6 +29,13 @@ $light-avatar: (
|
|
|
34
29
|
),
|
|
35
30
|
),
|
|
36
31
|
border-radius: rem(0),
|
|
32
|
+
size: (
|
|
33
|
+
sizable: (
|
|
34
|
+
rem(40px),
|
|
35
|
+
rem(64px),
|
|
36
|
+
rem(88px),
|
|
37
|
+
),
|
|
38
|
+
),
|
|
37
39
|
);
|
|
38
40
|
|
|
39
41
|
/// Generates a fluent avatar schema.
|
|
@@ -157,6 +157,7 @@ $light-chip: extend(
|
|
|
157
157
|
rem(0),
|
|
158
158
|
rem(16px),
|
|
159
159
|
),
|
|
160
|
+
|
|
160
161
|
disabled-text-color: (
|
|
161
162
|
color: (
|
|
162
163
|
'gray',
|
|
@@ -177,10 +178,13 @@ $light-chip: extend(
|
|
|
177
178
|
200,
|
|
178
179
|
),
|
|
179
180
|
),
|
|
181
|
+
|
|
180
182
|
size: (
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
183
|
+
sizable: (
|
|
184
|
+
rem(20px),
|
|
185
|
+
rem(24px),
|
|
186
|
+
rem(32px),
|
|
187
|
+
),
|
|
184
188
|
),
|
|
185
189
|
)
|
|
186
190
|
);
|
|
@@ -95,7 +95,6 @@
|
|
|
95
95
|
/// @prop {List} header-size [(rem(32px), rem(40px), rem(50px))] - The size used for the grid header.
|
|
96
96
|
/// @prop {List} drop-area-size [(rem(24px), rem(24px), rem(32px))] - The size used for the grid drop area.
|
|
97
97
|
/// @prop {List} group-area-size [(rem(41), rem(49px), rem(57px))] - The size used for the grid group area.
|
|
98
|
-
|
|
99
98
|
/// @requires {Map} $default-elevation-grid
|
|
100
99
|
$light-grid: extend(
|
|
101
100
|
$default-elevation-grid,
|
|
@@ -635,20 +634,29 @@ $light-grid: extend(
|
|
|
635
634
|
rem(0),
|
|
636
635
|
rem(16px),
|
|
637
636
|
),
|
|
637
|
+
|
|
638
638
|
header-size: (
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
639
|
+
sizable: (
|
|
640
|
+
rem(32px),
|
|
641
|
+
rem(40px),
|
|
642
|
+
rem(50px),
|
|
643
|
+
),
|
|
642
644
|
),
|
|
645
|
+
|
|
643
646
|
drop-area-size: (
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
+
sizable: (
|
|
648
|
+
rem(24px),
|
|
649
|
+
rem(24px),
|
|
650
|
+
rem(32px),
|
|
651
|
+
),
|
|
647
652
|
),
|
|
653
|
+
|
|
648
654
|
group-area-size: (
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
655
|
+
sizable: (
|
|
656
|
+
rem(41px),
|
|
657
|
+
rem(49px),
|
|
658
|
+
rem(57px),
|
|
659
|
+
),
|
|
652
660
|
),
|
|
653
661
|
)
|
|
654
662
|
);
|
|
@@ -296,11 +296,6 @@ $light-input-group: extend(
|
|
|
296
296
|
rem(0),
|
|
297
297
|
rem(20px),
|
|
298
298
|
),
|
|
299
|
-
size: (
|
|
300
|
-
rem(40px),
|
|
301
|
-
rem(48px),
|
|
302
|
-
rem(56px),
|
|
303
|
-
),
|
|
304
299
|
success-shadow-color: (
|
|
305
300
|
color: (
|
|
306
301
|
'success',
|
|
@@ -315,6 +310,13 @@ $light-input-group: extend(
|
|
|
315
310
|
0.38,
|
|
316
311
|
),
|
|
317
312
|
),
|
|
313
|
+
size: (
|
|
314
|
+
sizable: (
|
|
315
|
+
rem(40px),
|
|
316
|
+
rem(48px),
|
|
317
|
+
rem(56px),
|
|
318
|
+
),
|
|
319
|
+
),
|
|
318
320
|
)
|
|
319
321
|
);
|
|
320
322
|
|