igniteui-theming 2.1.0-beta.3 → 2.1.0-beta.5
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 +5 -3
- package/sass/themes/schemas/components/light/_button.scss +51 -12
- package/sass/themes/schemas/components/light/_chip.scss +5 -3
- package/sass/themes/schemas/components/light/_drop-down.scss +5 -3
- package/sass/themes/schemas/components/light/_grid-toolbar.scss +5 -3
- package/sass/themes/schemas/components/light/_grid.scss +15 -9
- package/sass/themes/schemas/components/light/_icon.scss +5 -3
- package/sass/themes/schemas/components/light/_input-group.scss +5 -3
- 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.5",
|
|
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;
|
|
@@ -20,6 +20,7 @@
|
|
|
20
20
|
/// @prop {Color} disabled-border-color [transparent] - The disabled border color of the button.
|
|
21
21
|
/// @prop {Map} disabled-background [color: ('gray', 300)] - The disabled background color of the button.
|
|
22
22
|
/// @prop {Map} disabled-foreground [color: ('gray', 500)] - The disabled foreground color of the button.
|
|
23
|
+
/// @prop {List} size [(rem(24px), rem(30px), rem(36px))] - The size used for the button.
|
|
23
24
|
$material-base-button: (
|
|
24
25
|
shadow-color: transparent,
|
|
25
26
|
border-color: transparent,
|
|
@@ -40,6 +41,13 @@ $material-base-button: (
|
|
|
40
41
|
500,
|
|
41
42
|
),
|
|
42
43
|
),
|
|
44
|
+
size: (
|
|
45
|
+
sizable: (
|
|
46
|
+
rem(24px),
|
|
47
|
+
rem(30px),
|
|
48
|
+
rem(36px),
|
|
49
|
+
),
|
|
50
|
+
),
|
|
43
51
|
);
|
|
44
52
|
|
|
45
53
|
/// @type {Map}
|
|
@@ -55,7 +63,6 @@ $material-base-button: (
|
|
|
55
63
|
/// @prop {Map} active-foreground [color: ('secondary', 500)] - The active text color of a flat button.
|
|
56
64
|
/// @prop {Color} disabled-background [transparent] - The disabled background color a flat button.
|
|
57
65
|
/// @prop {List} border-radius [(rem(4px), rem(0), rem(20px))] - The border radius used for flat button.
|
|
58
|
-
/// @prop {List} size [(rem(24px), rem(30px), rem(36px))] - The size used for the flat button.
|
|
59
66
|
/// @requires {Map} $material-base-button
|
|
60
67
|
/// @requires {Map} $flat-elevation-button
|
|
61
68
|
$material-flat-button: extend(
|
|
@@ -128,11 +135,6 @@ $material-flat-button: extend(
|
|
|
128
135
|
rem(0),
|
|
129
136
|
rem(20px),
|
|
130
137
|
),
|
|
131
|
-
size: (
|
|
132
|
-
rem(24px),
|
|
133
|
-
rem(30px),
|
|
134
|
-
rem(36px),
|
|
135
|
-
),
|
|
136
138
|
)
|
|
137
139
|
);
|
|
138
140
|
|
|
@@ -296,9 +298,11 @@ $material-fab-button: extend(
|
|
|
296
298
|
rem(28px),
|
|
297
299
|
),
|
|
298
300
|
size: (
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
301
|
+
sizable: (
|
|
302
|
+
rem(48px),
|
|
303
|
+
rem(40px),
|
|
304
|
+
rem(32px),
|
|
305
|
+
),
|
|
302
306
|
),
|
|
303
307
|
)
|
|
304
308
|
);
|
|
@@ -319,6 +323,7 @@ $material-fab-button: extend(
|
|
|
319
323
|
/// @prop {Map} focus-visible-border-color [color: ('gray', 400)] - The focus-visible border color of the button.
|
|
320
324
|
/// @prop {Map} active-border-color [color: ('gray', 400)] - The active border color of the button.
|
|
321
325
|
/// @prop {List} border-radius [(rem(20px), rem(0), rem(20px))] - The border radius used for floating button.
|
|
326
|
+
/// @prop {List} size [(rem(24px), rem(30px), rem(36px))] - The size used for icon button.
|
|
322
327
|
/// @requires {Map} $material-base-button
|
|
323
328
|
/// @requires {Map} $material-ib-elevation
|
|
324
329
|
$material-icon-button: extend(
|
|
@@ -400,6 +405,13 @@ $material-icon-button: extend(
|
|
|
400
405
|
rem(0),
|
|
401
406
|
rem(20px),
|
|
402
407
|
),
|
|
408
|
+
size: (
|
|
409
|
+
sizable: (
|
|
410
|
+
rem(24px),
|
|
411
|
+
rem(30px),
|
|
412
|
+
rem(36px),
|
|
413
|
+
),
|
|
414
|
+
),
|
|
403
415
|
)
|
|
404
416
|
);
|
|
405
417
|
|
|
@@ -829,6 +841,7 @@ $fluent-fab-button: extend(
|
|
|
829
841
|
/// @prop {Map} disabled-foreground [color: ('gray', 400)] - The disabled foreground color of an icon button.
|
|
830
842
|
/// @prop {Map} disabled-border-color [color: ('gray', 100), lighten: 35%] - The disabled focused border color of an icon button.
|
|
831
843
|
/// @prop {List} border-radius [(rem(0), rem(0), rem(20px))] - The border radius used for icon button.
|
|
844
|
+
/// @prop {List} size [(rem(24px), rem(32px), rem(38px))] - The size used for the icon button.
|
|
832
845
|
/// @requires {Map} $material-icon-button
|
|
833
846
|
/// @requires {Map} $fluent-base-button
|
|
834
847
|
$fluent-icon-button: extend(
|
|
@@ -903,6 +916,13 @@ $fluent-icon-button: extend(
|
|
|
903
916
|
rem(0),
|
|
904
917
|
rem(20px),
|
|
905
918
|
),
|
|
919
|
+
size: (
|
|
920
|
+
sizable: (
|
|
921
|
+
rem(24px),
|
|
922
|
+
rem(32px),
|
|
923
|
+
rem(38px),
|
|
924
|
+
),
|
|
925
|
+
),
|
|
906
926
|
)
|
|
907
927
|
);
|
|
908
928
|
|
|
@@ -1311,6 +1331,7 @@ $bootstrap-fab-button: extend(
|
|
|
1311
1331
|
/// @prop {Color} disabled-background [transparent] - The disabled background color of an outlined button.
|
|
1312
1332
|
/// @prop {Map} disabled-foreground [color: ('primary', 100)] - The disabled foreground color of the button.
|
|
1313
1333
|
/// @prop {List} border-radius [(rem(4px), rem(0), rem(20px))] - The border radius used for outlined button.
|
|
1334
|
+
/// @prop {List} size [(rem(31px), rem(38px), rem(48px))] - The size used for the icon button.
|
|
1314
1335
|
/// @requires {Map} $material-icon-button
|
|
1315
1336
|
/// @requires {Map} $bootstrap-base-button
|
|
1316
1337
|
$bootstrap-icon-button: extend(
|
|
@@ -1379,6 +1400,13 @@ $bootstrap-icon-button: extend(
|
|
|
1379
1400
|
rem(0),
|
|
1380
1401
|
rem(20px),
|
|
1381
1402
|
),
|
|
1403
|
+
size: (
|
|
1404
|
+
sizable: (
|
|
1405
|
+
rem(31px),
|
|
1406
|
+
rem(38px),
|
|
1407
|
+
rem(48px),
|
|
1408
|
+
),
|
|
1409
|
+
),
|
|
1382
1410
|
)
|
|
1383
1411
|
);
|
|
1384
1412
|
|
|
@@ -1656,6 +1684,7 @@ $indigo-raised-button: extend(
|
|
|
1656
1684
|
/// @prop {Map} focus-foreground [ color: ('gray', 50)] - The focus text color of a fab button.
|
|
1657
1685
|
/// @prop {Map} focus-visible-foreground [ color: ('gray', 50)] - The focus-visible text color of a fab button.
|
|
1658
1686
|
/// @prop {List} border-radius [(rem(36px), rem(42px), rem(48px))] - The border radius used for fab button.
|
|
1687
|
+
/// @prop {List} size [(rem(36px), rem(42px), rem(48px))] - The size used for the fab button.
|
|
1659
1688
|
/// @requires {Map} $material-fab-button
|
|
1660
1689
|
/// @requires {Map} $indigo-base-button
|
|
1661
1690
|
/// @requires {Map} $indigo-raised-button
|
|
@@ -1695,9 +1724,11 @@ $indigo-fab-button: extend(
|
|
|
1695
1724
|
rem(28px),
|
|
1696
1725
|
),
|
|
1697
1726
|
size: (
|
|
1698
|
-
|
|
1699
|
-
|
|
1700
|
-
|
|
1727
|
+
sizable: (
|
|
1728
|
+
rem(36px),
|
|
1729
|
+
rem(42px),
|
|
1730
|
+
rem(48px),
|
|
1731
|
+
),
|
|
1701
1732
|
),
|
|
1702
1733
|
)
|
|
1703
1734
|
);
|
|
@@ -1716,6 +1747,7 @@ $indigo-fab-button: extend(
|
|
|
1716
1747
|
/// @prop {Map} focus-border-color [color: ('gray' 300)] - The focus border color of the button.
|
|
1717
1748
|
/// @prop {Map} focus-visible-border-color [color: ('gray' 300)] - The focus-visible border color of the button.
|
|
1718
1749
|
/// @prop {Map} active-border-color [color: ('gray' 300)] - The active border color of the button.
|
|
1750
|
+
/// @prop {List} size [(rem(28px), rem(32px), rem(36px))] - The size used for the icon button.
|
|
1719
1751
|
/// @requires {Map} $material-icon-button
|
|
1720
1752
|
/// @requires {Map} $indigo-base-button
|
|
1721
1753
|
$indigo-icon-button: extend(
|
|
@@ -1772,6 +1804,13 @@ $indigo-icon-button: extend(
|
|
|
1772
1804
|
'gray' 300,
|
|
1773
1805
|
),
|
|
1774
1806
|
),
|
|
1807
|
+
size: (
|
|
1808
|
+
sizable: (
|
|
1809
|
+
rem(28px),
|
|
1810
|
+
rem(32px),
|
|
1811
|
+
rem(36px),
|
|
1812
|
+
),
|
|
1813
|
+
),
|
|
1775
1814
|
)
|
|
1776
1815
|
);
|
|
1777
1816
|
|
|
@@ -636,21 +636,27 @@ $light-grid: extend(
|
|
|
636
636
|
),
|
|
637
637
|
|
|
638
638
|
header-size: (
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
639
|
+
sizable: (
|
|
640
|
+
rem(32px),
|
|
641
|
+
rem(40px),
|
|
642
|
+
rem(50px),
|
|
643
|
+
),
|
|
642
644
|
),
|
|
643
645
|
|
|
644
646
|
drop-area-size: (
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
647
|
+
sizable: (
|
|
648
|
+
rem(24px),
|
|
649
|
+
rem(24px),
|
|
650
|
+
rem(32px),
|
|
651
|
+
),
|
|
648
652
|
),
|
|
649
653
|
|
|
650
654
|
group-area-size: (
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
655
|
+
sizable: (
|
|
656
|
+
rem(41px),
|
|
657
|
+
rem(49px),
|
|
658
|
+
rem(57px),
|
|
659
|
+
),
|
|
654
660
|
),
|
|
655
661
|
)
|
|
656
662
|
);
|