igniteui-theming 1.4.2 → 1.4.3-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.
Files changed (42) hide show
  1. package/index.js +3 -0
  2. package/package.json +1 -1
  3. package/sass/themes/_index.scss +1 -0
  4. package/sass/themes/schemas/_index.scss +10 -9
  5. package/sass/themes/schemas/components/_index.scss +2 -0
  6. package/sass/themes/schemas/components/dark/_avatar.scss +40 -0
  7. package/sass/themes/schemas/components/dark/_button.scss +388 -0
  8. package/sass/themes/schemas/components/dark/_checkbox.scss +70 -0
  9. package/sass/themes/schemas/components/dark/_combo.scss +47 -0
  10. package/sass/themes/schemas/components/dark/_drop-down.scss +83 -0
  11. package/sass/themes/schemas/components/dark/_icon.scss +37 -0
  12. package/sass/themes/schemas/components/dark/_index.scss +120 -0
  13. package/sass/themes/schemas/components/dark/_input-group.scss +120 -0
  14. package/sass/themes/schemas/components/dark/_navbar.scss +27 -0
  15. package/sass/themes/schemas/components/dark/_radio.scss +102 -0
  16. package/sass/themes/schemas/components/dark/_rating.scss +29 -0
  17. package/sass/themes/schemas/components/dark/_select.scss +47 -0
  18. package/sass/themes/schemas/components/dark/_slider.scss +95 -0
  19. package/sass/themes/schemas/components/dark/_switch.scss +150 -0
  20. package/sass/themes/schemas/components/dark/_tabs.scss +54 -0
  21. package/sass/themes/schemas/components/dark/_tree.scss +95 -0
  22. package/sass/themes/schemas/components/elevation/_button.scss +63 -0
  23. package/sass/themes/schemas/components/elevation/_drop-down.scss +29 -0
  24. package/sass/themes/schemas/components/elevation/_input-group.scss +37 -0
  25. package/sass/themes/schemas/components/elevation/_navbar.scss +23 -0
  26. package/sass/themes/schemas/components/elevation/_switch.scss +15 -0
  27. package/sass/themes/schemas/components/light/_avatar.scss +55 -0
  28. package/sass/themes/schemas/components/light/_button.scss +1173 -0
  29. package/sass/themes/schemas/components/light/_checkbox.scss +212 -0
  30. package/sass/themes/schemas/components/light/_combo.scss +203 -0
  31. package/sass/themes/schemas/components/light/_drop-down.scss +245 -0
  32. package/sass/themes/schemas/components/light/_icon.scss +46 -0
  33. package/sass/themes/schemas/components/light/_index.scss +121 -0
  34. package/sass/themes/schemas/components/light/_input-group.scss +497 -0
  35. package/sass/themes/schemas/components/light/_navbar.scss +95 -0
  36. package/sass/themes/schemas/components/light/_radio.scss +177 -0
  37. package/sass/themes/schemas/components/light/_rating.scss +96 -0
  38. package/sass/themes/schemas/components/light/_select.scss +118 -0
  39. package/sass/themes/schemas/components/light/_slider.scss +229 -0
  40. package/sass/themes/schemas/components/light/_switch.scss +311 -0
  41. package/sass/themes/schemas/components/light/_tabs.scss +258 -0
  42. package/sass/themes/schemas/components/light/_tree.scss +188 -0
@@ -0,0 +1,150 @@
1
+ @use '../../../../utils/map' as *;
2
+ @use '../../../../typography/functions' as *;
3
+ @use '../light/switch' as *;
4
+
5
+ ////
6
+ /// @package theming
7
+ /// @group schemas
8
+ /// @access public
9
+ ////
10
+
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
+ type: 'dark',
18
+ thumb-disabled-color: (
19
+ color: ('gray', 200)
20
+ )
21
+ );
22
+
23
+ /// Generates a dark switch schema based on a mix of $light-switch and $base-dark-switch.
24
+ /// @type {Map}
25
+ /// @requires $light-switch
26
+ /// @requires $base-dark-switch
27
+ $dark-switch: extend($light-switch, $base-dark-switch);
28
+
29
+ /// Generates a dark fluent switch schema based on a mix of $fluent-switch and $base-dark-switch.
30
+ /// @type {Map}
31
+ /// @prop {Map} border-color [color: ('gray', 500)] - The border color of the switch.
32
+ /// @prop {Map} border-on-color [color('primary', 300)] - The border color of the on-switch.
33
+ /// @prop {Map} border-on-hover-color [color('primary',100)] - The border color of the on-switch.
34
+ /// @prop {Map} border-disabled-color [color: ('gray', 200)] - The border color of the disabled switch.
35
+ /// @prop {Map} track-on-color [color: ('primary', 300)] - The color of the track when the switch is on.
36
+ /// @prop {Map} track-on-disabled-color [color: ('gray', 200)] - The color of the track when the switch is on and disabled.
37
+ /// @prop {Map} track-on-hover-color [color: ('primary', 100)] - The color of the track when the switch is on and hovered.
38
+ /// @prop {Map} thumb-off-color [color: ('gray', 500)] - The color of the thumb when the switch is off.
39
+ /// @prop {Map} thumb-disabled-color [color: ('gray', 200)] - The color of the thumb when the switch is disabled.
40
+ /// @prop {Map} error-color [color: ('gray', 500)] - The border and thumb color in invalid state.
41
+ ///
42
+ /// @requires $fluent-switch
43
+ /// @requires $base-dark-switch
44
+ $dark-fluent-switch: extend(
45
+ $fluent-switch,
46
+ $base-dark-switch,
47
+ (
48
+ border-color: (
49
+ color: ('gray', 500)
50
+ ),
51
+ thumb-off-color: (
52
+ color: ('gray', 500)
53
+ ),
54
+ border-on-color: (
55
+ color: ('primary', 300)
56
+ ),
57
+ border-on-hover-color:(
58
+ color: ('primary', 100)
59
+ ),
60
+ track-on-color: (
61
+ color: ('primary', 300),
62
+ ),
63
+ track-on-hover-color:(
64
+ color: ('primary', 100)
65
+ ),
66
+ border-disabled-color:(
67
+ color: ('gray', 200)
68
+ ),
69
+ thumb-disabled-color: (
70
+ color: ('gray', 200)
71
+ ),
72
+ track-on-disabled-color:(
73
+ color: ('gray', 200)
74
+ ),
75
+ error-color: (
76
+ color: ('gray', 500)
77
+ ),
78
+ )
79
+ );
80
+
81
+ /// Generates a dark bootstrap switch schema based on a mix of $bootstrap-switch and $base-dark-switch.
82
+ /// @type {Map}
83
+ /// @prop {Color} thumb-on-color [color: ('gray', 900)] - The color of the thumb when the switch is on.
84
+ /// @prop {Color} thumb-on-disabled-color [color: ('gray', 900)] - The color of the thumb when the switch is on and disabled.
85
+ /// @requires $bootstrap-switch
86
+ /// @requires $base-dark-switch
87
+ $dark-bootstrap-switch: extend(
88
+ $bootstrap-switch,
89
+ $base-dark-switch,
90
+ (
91
+ thumb-on-color: (
92
+ color: ('gray', 900)
93
+ ),
94
+ thumb-on-disabled-color: (
95
+ color: ('gray', 900)
96
+ ),
97
+ )
98
+ );
99
+
100
+ /// Generates a dark indigo switch schema.
101
+ /// @type {Map}
102
+ /// @prop {Color} thumb-on-color [color: 'surface'] - The color of the thumb when the switch is on.
103
+ /// @prop {Map} track-on-color [color: ('gray', 900)] - The color of the track when the switch is on.
104
+ /// @prop {Map} thumb-off-color [color: ('gray', 700)] - The color of the thumb when the switch is off.
105
+ /// @prop {Color} track-off-color [transparent] - The color of the track when the switch is off.
106
+ ///
107
+ /// @prop {Map} border-color [color: ('gray', 700)] - The border color of the switch.
108
+ /// @prop {Map} border-hover-color [color: ('gray', 700)] - The border color of the switch on hover.
109
+ /// @prop {Map} border-disabled-color [color: ('gray', 400)] - The border color of the disabled switch.
110
+ /// @prop {Map} border-on-color [color: ('gray', 900)] - The border color of the on-switch.
111
+ /// @prop {Map} border-on-hover-color [color: ('gray', 900)] - The border color of the on-switch.
112
+ /// @prop {Map} label-disabled-color [color: ('gray', 400)] - The color of the switch label when the switch is disabled
113
+ /// @prop {Map} error-color [color: ('gray', 700)] - The border and thumb color in invalid state.
114
+ /// @requires $indigo-switch
115
+ $dark-indigo-switch: extend(
116
+ $indigo-switch,
117
+ (
118
+ border-color: (
119
+ color: ('gray', 700)
120
+ ),
121
+ border-hover-color:(
122
+ color: ('gray', 700)
123
+ ),
124
+ border-disabled-color:(
125
+ color: ('gray', 400)
126
+ ),
127
+ border-on-color: (
128
+ color: ('gray', 900)
129
+ ),
130
+ border-on-hover-color: (
131
+ color: ('gray', 900)
132
+ ),
133
+ thumb-on-color: (
134
+ color: 'surface'
135
+ ),
136
+ thumb-off-color: (
137
+ color: ('gray', 700)
138
+ ),
139
+ track-on-color: (
140
+ color: ('gray', 900)
141
+ ),
142
+ track-off-color: transparent,
143
+ label-disabled-color: (
144
+ color: ('gray', 400)
145
+ ),
146
+ error-color: (
147
+ color: ('gray', 700)
148
+ ),
149
+ ),
150
+ );
@@ -0,0 +1,54 @@
1
+ @use '../../../../utils/map' as *;
2
+ @use '../../../../typography/functions' as *;
3
+ @use '../light/tabs' as *;
4
+
5
+ ////
6
+ /// @package theming
7
+ /// @group schemas
8
+ /// @access public
9
+ ////
10
+
11
+ /* stylelint-disable max-line-length */
12
+
13
+ /// Generates a base dark tabs schema.
14
+ /// @type {Map}
15
+ /// @prop {Map} item-hover-background [color: ('gray', 100, .5)] - The background used for the tabs on hover.
16
+ /// @prop {Map} item-active-background [color: ('gray', 100, .5)] - The color used for the active/focused tab background.
17
+ $base-dark-tabs: (
18
+ item-hover-background: (
19
+ color: ('gray', 100, .5)
20
+ ),
21
+ item-active-background: (
22
+ color: ('gray', 100, .5)
23
+ ),
24
+ );
25
+
26
+ /// Generates a dark tabs schema based on a mix of $light-tabs and $base-dark-tabs.
27
+ /// @type {Map}
28
+ /// @requires $light-tabs
29
+ /// @requires $base-dark-tabs
30
+ $dark-tabs: extend($light-tabs, $base-dark-tabs);
31
+
32
+ /// Generates a dark fluent tabs schema based on a mix of $fluent-tabs and $base-dark-tabs.
33
+ /// @type {Map}
34
+ /// @requires $fluent-tabs
35
+ /// @requires $base-dark-tabs
36
+ $dark-fluent-tabs: extend($fluent-tabs, $base-dark-tabs);
37
+
38
+ /// Generates a dark bootstrap tabs schema based on a mix of $bootstrap-tabs and $base-dark-tabs.
39
+ /// @type {Map}
40
+ /// @prop {Map} item-background [color: ('primary', 400)] - The background color used for the tabs header.
41
+ /// @requires $bootstrap-tabs
42
+ $dark-bootstrap-tabs: extend(
43
+ $bootstrap-tabs,
44
+ (
45
+ item-hover-color: (
46
+ color: ('primary', 400)
47
+ ),
48
+ )
49
+ );
50
+
51
+ /// Generates a dark indigo tabs schema.
52
+ /// @type {Map}
53
+ /// @requires $indigo-tabs
54
+ $dark-indigo-tabs: extend($indigo-tabs);
@@ -0,0 +1,95 @@
1
+ @use '../../../../utils/map' as *;
2
+ @use '../../../../typography/functions' as *;
3
+ @use '../light/tree' as *;
4
+
5
+ ////
6
+ /// @package theming
7
+ /// @group schemas
8
+ /// @access public
9
+ ////
10
+
11
+ /* stylelint-disable max-line-length */
12
+
13
+ /// Generates a base dark tree schema.
14
+ /// @type {Map}
15
+ /// @prop {Map} background-active [color: ('gray', 100)] - The background color used for the active tree node.
16
+ /// @prop {Map} foreground-active [color: ('gray', 900)] - The color used for the content in active state of the tree node.
17
+ $base-dark-tree: (
18
+ background-active: (
19
+ color: ('gray', 100),
20
+ ),
21
+ foreground-active: (
22
+ color: ('gray', 900),
23
+ ),
24
+ hover-color: (
25
+ color: ('gray', 50, .1)
26
+ ),
27
+ );
28
+
29
+ /// Generates a dark tree schema.
30
+ /// @type {Map}
31
+ /// @requires $light-tree
32
+ /// @requires $base-dark-tree
33
+ $dark-tree: extend($light-tree, $base-dark-tree);
34
+
35
+ /// Generates a dark fluent tree schema.
36
+ /// @type {Map}
37
+ /// @prop {Map} background-active [color: ('gray', 100)] - The background color used for the active tree node.
38
+ /// @prop {Map} background-selected [color: ('gray', 100)] - The background color used for the selected tree node.
39
+ /// @prop {Map} foreground-selected [color: ('gray', 900)] - The color used for the content of the selected tree node.
40
+ /// @prop {Map} background-active-selected [color: ('gray', 200)] - The background color used for the active selected tree node.
41
+ /// @prop {Map} foreground-active-selected [color: ('gray', 900)] - The color used for the content of the active selected tree node.
42
+ /// @requires $fluent-tree
43
+ /// @requires $base-dark-tree
44
+ $dark-fluent-tree: extend(
45
+ $fluent-tree,
46
+ $base-dark-tree,
47
+ (
48
+ background-active: (
49
+ color: ('gray', 100)
50
+ ),
51
+ background-selected: (
52
+ color: ('gray', 100)
53
+ ),
54
+ foreground-selected: (
55
+ color: ('gray', 900)
56
+ ),
57
+ background-active-selected: (
58
+ color: ('gray', 200)
59
+ ),
60
+ foreground-active-selected: (
61
+ color: ('gray', 900)
62
+ ),
63
+ hover-color: (
64
+ color: ('gray', 200, .5)
65
+ ),
66
+ )
67
+ );
68
+
69
+ /// Generates a dark bootstrap tree schema.
70
+ /// @type {Map}
71
+ /// @requires $bootstrap-tree
72
+ /// @requires $base-dark-tree
73
+ $dark-bootstrap-tree: extend(
74
+ $bootstrap-tree,
75
+ $base-dark-tree,
76
+ (
77
+ hover-color: (
78
+ color: ('gray', 500, .3)
79
+ )
80
+ )
81
+ );
82
+
83
+ /// Generates a dark indigo tree schema.
84
+ /// @type {Map}
85
+ /// @requires $indigo-tree
86
+ /// @requires $base-dark-tree
87
+ $dark-indigo-tree: extend(
88
+ $indigo-tree,
89
+ $base-dark-tree,
90
+ (
91
+ hover-color: (
92
+ color: ('primary', 200, .5)
93
+ )
94
+ )
95
+ );
@@ -0,0 +1,63 @@
1
+ ////
2
+ /// @package theming
3
+ /// @group schemas
4
+ /// @access public
5
+ ////
6
+
7
+ /// @type Map
8
+ /// @prop {Number} resting-elevation [0] - The elevation level, between 0-24, to be used for the resting state.
9
+ /// @prop {Number} hover-elevation [0] - The elevation level, between 0-24, to be used for the hover state.
10
+ /// @prop {Number} focus-elevation [0] - The elevation level, between 0-24, to be used for the focus state.
11
+ /// @prop {Number} active-elevation [0] - The elevation level, between 0-24, to be used for the focus state.
12
+ $flat-elevation-button: (
13
+ resting-elevation: 0,
14
+ hover-elevation: 0,
15
+ focus-elevation: 0,
16
+ active-elevation: 0,
17
+ );
18
+
19
+ /// @type Map
20
+ /// @prop {Number} resting-elevation [2] - The elevation level, between 0-24, to be used for the resting state.
21
+ /// @prop {Number} hover-elevation [4] - The elevation level, between 0-24, to be used for the hover state.
22
+ /// @prop {Number} focus-elevation [8] - The elevation level, between 0-24, to be used for the focus state.
23
+ /// @prop {Number} active-elevation [8] - The elevation level, between 0-24, to be used for the focus state.
24
+ $material-raised-elevation: (
25
+ resting-elevation: 2,
26
+ hover-elevation: 4,
27
+ focus-elevation: 8,
28
+ active-elevation: 8,
29
+ );
30
+
31
+ /// @type Map
32
+ /// @prop {Number} resting-elevation [6] - The elevation level, between 0-24, to be used for the resting state.
33
+ /// @prop {Number} hover-elevation [12] - The elevation level, between 0-24, to be used for the hover state.
34
+ /// @prop {Number} focus-elevation [12] - The elevation level, between 0-24, to be used for the focus state.
35
+ /// @prop {Number} active-elevation [12] - The elevation level, between 0-24, to be used for the focus state.
36
+ $material-fab-elevation: (
37
+ resting-elevation: 6,
38
+ hover-elevation: 12,
39
+ focus-elevation: 12,
40
+ active-elevation: 12,
41
+ );
42
+
43
+ /// @type Map
44
+ /// @prop {Number} resting-elevation [0] - The elevation level, between 0-24, to be used for the resting state.
45
+ /// @prop {Number} hover-elevation [0] - The elevation level, between 0-24, to be used for the hover state.
46
+ /// @prop {Number} focus-elevation [0] - The elevation level, between 0-24, to be used for the focus state.
47
+ /// @prop {Number} active-elevation [0] - The elevation level, between 0-24, to be used for the focus state.
48
+ $material-ib-elevation: (
49
+ resting-elevation: 0,
50
+ hover-elevation: 0,
51
+ focus-elevation: 0,
52
+ active-elevation: 0,
53
+ );
54
+
55
+ /// @type Map
56
+ /// @see $flat-elevation-button
57
+ /// @requires $flat-elevation-button
58
+ $bootstrap-elevation-button: $flat-elevation-button;
59
+
60
+ /// @type Map
61
+ /// @see $flat-elevation-button
62
+ /// @requires $flat-elevation-button
63
+ $indigo-elevation-button: $flat-elevation-button;
@@ -0,0 +1,29 @@
1
+ ////
2
+ /// @package theming
3
+ /// @group schemas
4
+ /// @access public
5
+ ////
6
+
7
+ /// @type Map
8
+ /// @prop {Number} elevation [8] - The elevation level, between 0-24, to be used for the drop-down shadow.
9
+ $default-elevation-drop-down: (
10
+ elevation: 8
11
+ );
12
+
13
+ /// @type Map
14
+ /// @prop {Number} elevation [4] - The elevation level, between 0-24, to be used for the drop-down shadow.
15
+ $fluent-elevation-drop-down: (
16
+ elevation: 4
17
+ );
18
+
19
+ /// @type Map
20
+ /// @prop {Number} elevation [0] - The elevation level, between 0-24, to be used for the drop-down shadow.
21
+ $bootstrap-elevation-drop-down: (
22
+ elevation: 0
23
+ );
24
+
25
+ /// @type Map
26
+ /// @prop {Number} elevation [3] - The elevation level, between 0-24, to be used for the drop-down shadow.
27
+ $indigo-elevation-drop-down: (
28
+ elevation: 3
29
+ );
@@ -0,0 +1,37 @@
1
+ ////
2
+ /// @package theming
3
+ /// @group schemas
4
+ /// @access public
5
+ ////
6
+
7
+ /* stylelint-disable max-line-length */
8
+
9
+ /// @type Map
10
+ /// @prop {Number} search-resting-elevation [1] - The elevation level, between 0-24, to be used for the resting state of the search input.
11
+ /// @prop {Number} search-hover-elevation [2] - The elevation level, between 0-24, to be used for the hover state of the search input.
12
+ /// @prop {Number} search-disabled-elevation [0] - The elevation level, between 0-24, to be used for the disabled state of the search input.
13
+ $default-elevation-input-group: (
14
+ search-resting-elevation: 1,
15
+ search-hover-elevation: 2,
16
+ search-disabled-elevation: 0,
17
+ );
18
+
19
+ /// @type Map
20
+ /// @prop {Number} search-resting-elevation [0] - The elevation level, between 0-24, to be used for the resting state of the search input.
21
+ /// @prop {Number} search-hover-elevation [0] - The elevation level, between 0-24, to be used for the hover state of the search input.
22
+ /// @prop {Number} search-disabled-elevation [0] - The elevation level, between 0-24, to be used for the disabled state of the search input.
23
+ $fluent-elevation-input-group: (
24
+ search-resting-elevation: 0,
25
+ search-hover-elevation: 0,
26
+ search-disabled-elevation: 0,
27
+ );
28
+
29
+ /// @type Map
30
+ /// @prop {Number} search-resting-elevation [1] - The elevation level, between 0-24, to be used for the resting state of the search input.
31
+ /// @prop {Number} search-hover-elevation [1] - The elevation level, between 0-24, to be used for the hover state of the search input.
32
+ /// @prop {Number} search-disabled-elevation [1] - The elevation level, between 0-24, to be used for the disabled state of the search input.
33
+ $indigo-elevation-input-group: (
34
+ search-resting-elevation: 1,
35
+ search-hover-elevation: 1,
36
+ search-disabled-elevation: 1,
37
+ );
@@ -0,0 +1,23 @@
1
+ ////
2
+ /// @package theming
3
+ /// @group schemas
4
+ /// @access public
5
+ ////
6
+
7
+ /// @type Map
8
+ /// @prop {Number} elevation [4] - The elevation level, between 0-24, to be used for the navbar.
9
+ $default-elevation-navbar: (
10
+ elevation: 4
11
+ );
12
+
13
+ /// @type Map
14
+ /// @prop {Number} elevation [0] - The elevation level, between 0-24, to be used for the navbar.
15
+ $bootstrap-elevation-navbar: (
16
+ elevation: 0
17
+ );
18
+
19
+ /// @type Map
20
+ /// @prop {Number} elevation [0] - The elevation level, between 0-24, to be used for the navbar.
21
+ $indigo-elevation-navbar: (
22
+ elevation: 0
23
+ );
@@ -0,0 +1,15 @@
1
+ ////
2
+ /// @package theming
3
+ /// @group schemas
4
+ /// @access public
5
+ ////
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 [3] - The elevation level, between 0-24, to be used for the hover state.
10
+ /// @prop {Number} disabled-elevation [1] - The elevation level, between 0-24, to be used for the disabled state.
11
+ $default-elevation-switch: (
12
+ resting-elevation: 2,
13
+ hover-elevation: 3,
14
+ disabled-elevation: 1
15
+ );
@@ -0,0 +1,55 @@
1
+ @use '../../../../utils/map' as *;
2
+ @use '../../../../typography/functions' as *;
3
+
4
+ ////
5
+ /// @package theming
6
+ /// @group schemas
7
+ /// @access public
8
+ ////
9
+
10
+ /// Generates a light avatar schema.
11
+ /// @type {Map}
12
+ /// @prop {Map} background [color: ('gray', 400, .54)]- The background color of the avatar.
13
+ /// @prop {Map} color [color: ('gray', 800, .96)] - The text/icon color of the avatar.
14
+ /// @prop {Number} border-radius [0] - The border radius. Can be a fraction between 0 and 1, pixels, or percent.
15
+ /// @prop {Number} size - The size of the avatar.
16
+ $light-avatar: extend(
17
+ (
18
+ background: (
19
+ color: ('gray', 400, .54)
20
+ ),
21
+ color: (
22
+ color: ('gray', 800, .96)
23
+ ),
24
+ border-radius: rem(0)
25
+ )
26
+ );
27
+
28
+ /// Generates a fluent avatar schema.
29
+ /// @type {Map}
30
+ /// @requires {Map} $light-avatar
31
+ $fluent-avatar: extend($light-avatar);
32
+
33
+ /// Generates a bootstrap avatar schema.
34
+ /// @type {Map}
35
+ /// @prop {Map} background [color: ('gray', 400)]- The background color of the avatar.
36
+ /// @prop {Map} color [contrast-color: ('gray', 400)] - The text/icon color of the avatar.
37
+ /// @prop {Number} border-radius [4px] - The border radius. Can be a fraction between 0 and 1, pixels, or percent.
38
+ /// @requires {Map} $light-avatar
39
+ $bootstrap-avatar: extend(
40
+ $light-avatar,
41
+ (
42
+ background: (
43
+ color: ('gray', 400)
44
+ ),
45
+ color: (
46
+ contrast-color: ('gray', 400)
47
+ ),
48
+ border-radius: rem(4px)
49
+ )
50
+ );
51
+
52
+ /// Generates an indigo avatar schema.
53
+ /// @type {Map}
54
+ /// @requires {Map} $light-avatar
55
+ $indigo-avatar: extend($light-avatar);