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,83 @@
1
+ @use '../../../../utils/map' as *;
2
+ @use '../../../../typography/functions' as *;
3
+ @use '../light/drop-down' 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 drop-down schema.
14
+ /// @type {Map}
15
+ /// @prop {Map} border-color [color: ('gray', 100)] - The border color used for drop-down component.
16
+ $base-dark-drop-down: (
17
+ border-color: (
18
+ color: ('gray', 100),
19
+ ),
20
+ );
21
+
22
+ /// Generates a dark drop-down schema.
23
+ /// @type {Map}
24
+ /// @requires $light-drop-down
25
+ /// @requires $base-dark-drop-down
26
+ $dark-drop-down: extend($light-drop-down, $base-dark-drop-down);
27
+
28
+ /// Generates a dark fluent drop-down schema.
29
+ /// @type {Map}
30
+ /// @prop {Map} selected-item-text-color [contrast-color: 'surface'] - The drop-down selected item text color.
31
+ /// @prop {Map} selected-hover-item-text-color [contrast-color: 'surface'] - The drop-down selected item hover text color.
32
+ /// @prop {Map} selected-focus-item-text-color [contrast-color: 'surface'] - The drop-down selected item focus text color.
33
+ /// @requires $fluent-drop-down
34
+ /// @requires $base-dark-drop-down
35
+ $dark-fluent-drop-down: extend(
36
+ $fluent-drop-down,
37
+ $base-dark-drop-down,
38
+ (
39
+ selected-item-text-color: (
40
+ contrast-color: 'surface'
41
+ ),
42
+ selected-hover-item-text-color: (
43
+ contrast-color: 'surface'
44
+ ),
45
+ selected-focus-item-text-color: (
46
+ contrast-color: 'surface'
47
+ ),
48
+ )
49
+ );
50
+
51
+ /// Generates a dark bootstrap drop-down schema.
52
+ /// @type {Map}
53
+ /// @prop {Map} item-text-color [contrast-color: 'surface'] - The drop-down text color.
54
+ /// @prop {Map} hover-item-text-color [contrast-color: 'surface'] - The drop-down hover text color.
55
+ /// @requires $bootstrap-drop-down
56
+ /// @requires $base-dark-drop-down
57
+ $dark-bootstrap-drop-down: extend(
58
+ $bootstrap-drop-down,
59
+ $base-dark-drop-down,
60
+ (
61
+ item-text-color: (
62
+ contrast-color: 'surface'
63
+ ),
64
+ hover-item-text-color: (
65
+ contrast-color: 'surface'
66
+ ),
67
+ )
68
+ );
69
+
70
+ /// Generates a dark indigo drop-down schema.
71
+ /// @type {Map}
72
+ /// @prop {Map} header-text-color [contrast-color: 'surface'] - The drop-down header text color.
73
+ /// @requires $indigo-drop-down
74
+ /// @requires $base-dark-drop-down
75
+ $dark-indigo-drop-down: extend(
76
+ $indigo-drop-down,
77
+ $base-dark-drop-down,
78
+ (
79
+ header-text-color: (
80
+ contrast-color: 'surface'
81
+ ),
82
+ )
83
+ );
@@ -0,0 +1,37 @@
1
+ @use '../../../../utils/map' as *;
2
+ @use '../../../../typography/functions' as *;
3
+ @use '../light/icon' as *;
4
+
5
+ ////
6
+ /// @package theming
7
+ /// @group schemas
8
+ /// @access public
9
+ ////
10
+
11
+ /// Generates a dark icon schema.
12
+ /// @type {Map}
13
+ /// @requires $light-icon
14
+ $dark-icon: $light-icon;
15
+
16
+ /// Generates a dark fluent icon schema.
17
+ /// @type {Map}
18
+ /// @property {Map} disabled-color [color: ('gray' 500)] - The icon color.
19
+ /// @requires $light-icon
20
+ $dark-fluent-icon: extend(
21
+ $fluent-icon,
22
+ (
23
+ disabled-color: (
24
+ color: ('gray' 500)
25
+ )
26
+ )
27
+ );
28
+
29
+ /// Generates a dark bootstrap icon schema.
30
+ /// @type {Map}
31
+ /// @requires $light-icon
32
+ $dark-bootstrap-icon: $bootstrap-icon;
33
+
34
+ /// Generates a dark indigo icon schema.
35
+ /// @type {Map}
36
+ /// @requires $light-icon
37
+ $dark-indigo-icon: $indigo-icon;
@@ -0,0 +1,120 @@
1
+ ////
2
+ /// @package theming
3
+ /// @group schemas
4
+ /// @access public
5
+ ////
6
+
7
+ @use './avatar' as *;
8
+ @use './button' as *;
9
+ @use './icon' as *;
10
+ @use './navbar' as *;
11
+ @use './input-group' as *;
12
+ @use './checkbox' as *;
13
+ @use './switch' as *;
14
+ @use './radio' as *;
15
+ @use './tabs' as *;
16
+ @use './rating' as *;
17
+ @use './select' as *;
18
+ @use './slider' as *;
19
+ @use './drop-down' as *;
20
+ @use './combo' as *;
21
+ @use './tree' as *;
22
+
23
+ /// Used to create material component themes.
24
+ /// Use in combination with dark palettes.
25
+ /// @type Map
26
+ $dark-material-schema: (
27
+ avatar: $dark-avatar,
28
+ button: $dark-button,
29
+ icon: $dark-icon,
30
+ navbar: $dark-navbar,
31
+ input-group: $dark-input-group,
32
+ checkbox: $dark-checkbox,
33
+ switch: $dark-switch,
34
+ radio: $dark-radio,
35
+ tabs: $dark-tabs,
36
+ rating: $dark-rating,
37
+ select: $dark-select,
38
+ slider: $dark-slider,
39
+ dropdown: $dark-drop-down,
40
+ combo: $dark-combo,
41
+ tree: $dark-tree,
42
+ _meta: (
43
+ theme: 'material',
44
+ variant: 'dark',
45
+ ),
46
+ );
47
+
48
+ /// Used to create fluent component themes.
49
+ /// Use in combination with dark palettes.
50
+ /// @type Map
51
+ $dark-fluent-schema: (
52
+ avatar: $dark-fluent-avatar,
53
+ button: $dark-fluent-button,
54
+ icon: $dark-fluent-icon,
55
+ navbar: $dark-fluent-navbar,
56
+ input-group: $dark-fluent-input-group,
57
+ checkbox: $dark-fluent-checkbox,
58
+ radio: $dark-fluent-radio,
59
+ tabs: $dark-fluent-tabs,
60
+ rating: $dark-fluent-rating,
61
+ select: $dark-fluent-select,
62
+ slider: $dark-fluent-slider,
63
+ dropdown: $dark-fluent-drop-down,
64
+ combo: $dark-fluent-combo,
65
+ tree: $dark-fluent-tree,
66
+ _meta: (
67
+ theme: 'fluent',
68
+ variant: 'dark',
69
+ ),
70
+ );
71
+
72
+ /// Used to create bootstrap component themes.
73
+ /// Use in combination with dark palettes.
74
+ /// @type Map
75
+ $dark-bootstrap-schema: (
76
+ avatar: $dark-bootstrap-avatar,
77
+ button: $dark-bootstrap-button,
78
+ icon: $dark-bootstrap-icon,
79
+ navbar: $dark-bootstrap-navbar,
80
+ input-group: $dark-bootstrap-input-group,
81
+ checkbox: $dark-bootstrap-checkbox,
82
+ switch: $dark-bootstrap-switch,
83
+ radio: $dark-bootstrap-radio,
84
+ tabs: $dark-bootstrap-tabs,
85
+ rating: $dark-bootstrap-rating,
86
+ select: $dark-bootstrap-select,
87
+ slider: $dark-bootstrap-slider,
88
+ dropdown: $dark-bootstrap-drop-down,
89
+ combo: $dark-bootstrap-combo,
90
+ tree: $dark-bootstrap-tree,
91
+ _meta: (
92
+ theme: 'bootstrap',
93
+ variant: 'dark',
94
+ ),
95
+ );
96
+
97
+ /// Used to create indigo component themes.
98
+ /// Use in combination with dark palettes.
99
+ /// @type Map
100
+ $dark-indigo-schema: (
101
+ avatar: $dark-indigo-avatar,
102
+ button: $dark-indigo-button,
103
+ icon: $dark-indigo-icon,
104
+ navbar: $dark-indigo-navbar,
105
+ input-group: $dark-indigo-input-group,
106
+ checkbox: $dark-indigo-checkbox,
107
+ switch: $dark-indigo-switch,
108
+ radio: $dark-indigo-radio,
109
+ tabs: $dark-indigo-tabs,
110
+ rating: $dark-indigo-rating,
111
+ select: $dark-indigo-select,
112
+ slider: $dark-indigo-slider,
113
+ dropdown: $dark-indigo-drop-down,
114
+ combo: $dark-indigo-combo,
115
+ tree: $dark-indigo-tree,
116
+ _meta: (
117
+ theme: 'indigo-design',
118
+ variant: 'dark',
119
+ ),
120
+ );
@@ -0,0 +1,120 @@
1
+ @use '../../../../utils/map' as *;
2
+ @use '../light/input-group' as *;
3
+
4
+ /* stylelint-disable max-line-length */
5
+
6
+ ////
7
+ /// @package theming
8
+ /// @group schemas
9
+ /// @access public
10
+ ////
11
+
12
+ /// Generates a base dark input-group schema.
13
+ /// @type {Map}
14
+ $base-dark-input-group: $light-input-group;
15
+
16
+ /// Generates a dark input-group schema based on a mix of $light-input-group and $base-dark-input-group..
17
+ /// @type {Map}
18
+ /// @prop {Map} box-background-focus [color: ('gray', 100)] - The background color of an input group of type box on focus.
19
+ /// @requires $base-dark-input-group
20
+ $dark-input-group: extend(
21
+ $base-dark-input-group,
22
+ (
23
+ box-background-focus: (
24
+ color: ('gray', 100)
25
+ ),
26
+ hover-bottom-line-color: (
27
+ color: ('gray', 800)
28
+ ),
29
+ )
30
+ );
31
+
32
+ /// Generates a dark fluent input-group schema based on a mix of $fluent-input-group and $base-dark-input-group.
33
+ /// @type {Map}
34
+ /// @prop {Map} input-prefix-background [color: ('gray', 100)] - The background color of an input prefix of type line, box and border.
35
+ /// @prop {Map} input-suffix-background [color: ('gray', 100)] - The background color of an input sufix of type line, box and border.
36
+ /// @prop {Map} box-background [color: ('gray', 100)] - The background color of an input group of type box.
37
+ /// @prop {Map} border-color [color: ('gray', 500)] - The border color for input groups of type border and fluent.
38
+ /// @prop {Map} hover-border-color [color: ('gray', 700)] - The hover input border for input groups of type border and fluent.
39
+ /// @prop {Map} focused-border-color [color: ('gray', 500)] - The focused input border color for input groups of type border and fluent.
40
+ /// @prop {Map} disabled-border-color [color: ('gray', 100)] - The disabled border color for input groups of type border and fluent.
41
+ /// @requires $fluent-input-group
42
+ /// @requires $base-dark-input-group
43
+ $dark-fluent-input-group: extend(
44
+ $base-dark-input-group,
45
+ $fluent-input-group,
46
+ (
47
+ input-prefix-background: (
48
+ color: ('gray', 100)
49
+ ),
50
+ input-suffix-background: (
51
+ color: ('gray', 100)
52
+ ),
53
+ box-background: (
54
+ color: ('gray', 100),
55
+ ),
56
+ border-color: (
57
+ color: ('gray', 500)
58
+ ),
59
+ hover-border-color: (
60
+ color: ('gray', 700)
61
+ ),
62
+ focused-border-color: (
63
+ color: ('gray', 500)
64
+ ),
65
+ disabled-border-color: (
66
+ color: ('gray', 100)
67
+ ),
68
+ )
69
+ );
70
+
71
+ /// Generates a dark bootstrap input-group schema based on a mix of $bootstrap-input-group and $base-dark-input-group.
72
+ /// @type {Map}
73
+ /// @requires $bootstrap-input-group
74
+ /// @requires $base-dark-input-group
75
+ $dark-bootstrap-input-group: extend(
76
+ $base-dark-input-group,
77
+ $bootstrap-input-group,
78
+ );
79
+
80
+ /// Generates an dark indigo input-group schema
81
+ /// @type {Map}
82
+ /// @prop {Map} success-secondary-color [color: ('success', 500, .7)] - The success color used in the valid state.
83
+ /// @prop {Map} warning-secondary-color [color: ('warn', 500, .7)] - The warning color used in the warning state.
84
+ /// @prop {Map} error-secondary-color [color: ('error', 500, .7)] - The error color used in the error state.
85
+ /// @prop {Map} $idle-secondary-color [contrast-color: ('surface')] - The label color in the idle state.
86
+ /// @prop {Map} $filled-secondary-color [color: ('gray', 900)] - The label color in the filled state.
87
+ /// @prop {Map} $focused-secondary-color [color: ('gray', 900)] - The label color in the focused state.
88
+ /// @prop {Map} placeholder-color [color: ('gray', 400)] - The placeholder color of an input group.
89
+ /// @prop {Map} disabled-placeholder-color [color: ('gray', 400)] - The disabled placeholder color of an input group.
90
+ /// @requires $indigo-input-group
91
+ $dark-indigo-input-group: extend(
92
+ $indigo-input-group,
93
+ (
94
+ search-background: transparent,
95
+ success-secondary-color: (
96
+ color: ('success', 500, .7)
97
+ ),
98
+ warning-secondary-color: (
99
+ color: ('warn', 500, .7)
100
+ ),
101
+ error-secondary-color: (
102
+ color: ('error', 500, .7),
103
+ ),
104
+ idle-secondary-color: (
105
+ contrast-color: ('surface')
106
+ ),
107
+ filled-secondary-color: (
108
+ color: ('gray', 900)
109
+ ),
110
+ focused-secondary-color: (
111
+ color: ('gray', 900)
112
+ ),
113
+ placeholder-color: (
114
+ color: ('gray', 400)
115
+ ),
116
+ disabled-placeholder-color: (
117
+ color: ('gray', 400)
118
+ ),
119
+ )
120
+ );
@@ -0,0 +1,27 @@
1
+ @use '../light/navbar' as *;
2
+
3
+ ////
4
+ /// @package theming
5
+ /// @group schemas
6
+ /// @access public
7
+ ////
8
+
9
+ /// Generates a dark navbar schema.
10
+ /// @type {Map}
11
+ /// @requires $light-navbar
12
+ $dark-navbar: $light-navbar;
13
+
14
+ /// Generates a dark fluent navbar schema.
15
+ /// @type {Map}
16
+ /// @requires $fluent-navbar
17
+ $dark-fluent-navbar: $fluent-navbar;
18
+
19
+ /// Generates a dark bootstrap navbar schema.
20
+ /// @type {Map}
21
+ /// @requires $bootstrap-navbar
22
+ $dark-bootstrap-navbar: $bootstrap-navbar;
23
+
24
+ /// Generates a dark indigo navbar schema.
25
+ /// @type {Map}
26
+ /// @requires $indigo-navbar
27
+ $dark-indigo-navbar: $indigo-navbar;
@@ -0,0 +1,102 @@
1
+ @use '../../../../utils/map' as *;
2
+ @use '../../../../typography/functions' as *;
3
+ @use '../light/radio' as *;
4
+
5
+ ////
6
+ /// @package theming
7
+ /// @group schemas
8
+ /// @access public
9
+ ////
10
+
11
+ /// Generates a dark radio schema.
12
+ /// @type {Map}
13
+ /// @requires $light-radio
14
+ $dark-radio: extend(
15
+ $light-radio,
16
+ (
17
+ type: 'dark'
18
+ )
19
+ );
20
+
21
+ /// Generates a dark fluent radio schema.
22
+ /// @type {Map}
23
+ /// @prop {Map} hover-color [color: ('gray', 400)] - The border and dot colors on hover.
24
+ /// @prop {Map} fill-color [color: ('primary', 300)] - The checked border and dot colors.
25
+ /// @prop {Map} fill-hover-border-color [color: ('primary', 100)] - The text color used for the label text.
26
+ /// @prop {Map} fill-color-hover [color: ('primary', 100)] - The checked border and dot colors on hover.
27
+ /// @prop {Map} error-color-hover [color: ('error', 200)] - The border and dot color in invalid state on hover.
28
+ /// @prop {Map} disabled-color [color: ('gray', 100)] - The disabled border and dot colors.
29
+ /// @prop {Map} disabled-label-color [color: ('gray', 300)] - The disabled label color.
30
+ /// @requires $fluent-radio
31
+ $dark-fluent-radio: extend(
32
+ $fluent-radio,
33
+ (
34
+ hover-color: (
35
+ color: ('gray', 400)
36
+ ),
37
+ fill-color: (
38
+ color: ('primary', 300)
39
+ ),
40
+ fill-hover-border-color: (
41
+ color: ('primary', 100)
42
+ ),
43
+ fill-color-hover: (
44
+ color: ('primary', 100)
45
+ ),
46
+ error-color-hover: (
47
+ color: ('error', 200)
48
+ ),
49
+ disabled-color: (
50
+ color: ('gray', 100)
51
+ ),
52
+ disabled-label-color: (
53
+ color: ('gray', 300)
54
+ ),
55
+ )
56
+ );
57
+
58
+ /// Generates a dark bootstrap radio schema.
59
+ /// @type {Map}
60
+ /// @prop {Map} fill-hover-border-color [color: ('gray', 900)] - The text color used for the label text.
61
+ /// @prop {Map} fill-color-hover [color: ('gray', 900)] - The checked border and dot colors on hover.
62
+ /// @requires $bootstrap-radio
63
+ $dark-bootstrap-radio: extend(
64
+ $bootstrap-radio,
65
+ (
66
+ fill-hover-border-color: (
67
+ color: ('gray', 900)
68
+ ),
69
+ fill-color-hover: (
70
+ color: ('gray', 900)
71
+ ),
72
+ )
73
+ );
74
+
75
+ /// Generates a dark indigo radio schema.
76
+ /// @type {Map}
77
+ /// @prop {Map} fill-hover-border-color [color: ('gray', 900)] - The text color used for the label text.
78
+ /// @prop {Map} empty-color [color: ('gray', 700)] - The unchecked border color.
79
+ /// @prop {Map} fill-color [color: ('gray', 900)] - The checked border and dot colors.
80
+ /// @prop {Map} fill-color-hover [color: ('gray', 900)] - The checked border and dot colors on hover.
81
+ /// @prop {Map} disabled-color [color: ('gray', 400)] - The disabled border and dot colors.
82
+ /// @requires $indigo-radio
83
+ $dark-indigo-radio: extend(
84
+ $indigo-radio,
85
+ (
86
+ fill-hover-border-color: (
87
+ color: ('gray', 900)
88
+ ),
89
+ fill-color: (
90
+ color: ('gray', 900)
91
+ ),
92
+ fill-color-hover: (
93
+ color: ('gray', 900)
94
+ ),
95
+ empty-color: (
96
+ color: ('gray', 700)
97
+ ),
98
+ disabled-color: (
99
+ color: ('gray', 400)
100
+ ),
101
+ )
102
+ );
@@ -0,0 +1,29 @@
1
+ @use '../../../../utils/map' as *;
2
+ @use '../../../../typography/functions' as *;
3
+ @use '../light/rating' as *;
4
+
5
+ ////
6
+ /// @package theming
7
+ /// @group schemas
8
+ /// @access public
9
+ ////
10
+
11
+ /// Generates a dark rating schema.
12
+ /// @type {Map}
13
+ /// @requires $light-rating
14
+ $dark-rating: $light-rating;
15
+
16
+ /// Generates a dark fluent rating schema.
17
+ /// @type {Map}
18
+ /// @requires $fluent-rating
19
+ $dark-fluent-rating: $fluent-rating;
20
+
21
+ /// Generates a dark bootstrap rating schema.
22
+ /// @type {Map}
23
+ /// @requires $bootstrap-rating
24
+ $dark-bootstrap-rating: $bootstrap-rating;
25
+
26
+ /// Generates a dark indigo rating schema.
27
+ /// @type {Map}
28
+ /// @requires $indigo-rating
29
+ $dark-indigo-rating: $indigo-rating;
@@ -0,0 +1,47 @@
1
+ @use '../../../../utils/map' as *;
2
+ @use '../../../../typography/functions' as *;
3
+ @use '../light/select' as *;
4
+
5
+ ////
6
+ /// @package theming
7
+ /// @group schemas
8
+ /// @access public
9
+ ////
10
+
11
+ /* stylelint-disable max-line-length */
12
+
13
+ /// Generates a dark select schema.
14
+ /// @type {Map}
15
+ /// @requires $light-select
16
+ $dark-select: $light-select;
17
+
18
+ /// Generates a dark fluent select schema.
19
+ /// @type {Map}
20
+ /// @requires $fluent-select
21
+ $dark-fluent-select: $fluent-select;
22
+
23
+ /// Generates a dark bootstrap select schema.
24
+ /// @type {Map}
25
+ /// @requires $bootstrap-select
26
+ $dark-bootstrap-select: extend($bootstrap-select);
27
+
28
+ /// Generates a dark indigo select schema.
29
+ /// @type {Map}
30
+ /// @prop {Map} toggle-button-foreground [color: ('gray', 600)] - The select toggle button foreground color.
31
+ /// @prop {Map} toggle-button-foreground-focus [color: ('gray', 600)] - The select toggle button foreground color when the select is focused.
32
+ /// @prop {Map} toggle-button-foreground-filled [color: ('gray', 600)] - The select toggle button foreground color when the select is focused.
33
+ /// @requires $indigo-select
34
+ $dark-indigo-select: extend(
35
+ $indigo-select,
36
+ (
37
+ toggle-button-foreground: (
38
+ color: ('gray', 600),
39
+ ),
40
+ toggle-button-foreground-focus: (
41
+ color: ('gray', 600),
42
+ ),
43
+ toggle-button-foreground-filled: (
44
+ color: ('gray', 600),
45
+ ),
46
+ )
47
+ );
@@ -0,0 +1,95 @@
1
+ @use '../../../../utils/map' as *;
2
+ @use '../../../../typography/functions' as *;
3
+ @use '../light/slider' as *;
4
+
5
+ ////
6
+ /// @package theming
7
+ /// @group schemas
8
+ /// @access public
9
+ ////
10
+
11
+ /* stylelint-disable max-line-length */
12
+
13
+ /// Generates a dark slider schema.
14
+ /// @type {Map}
15
+ /// @requires $light-slider
16
+ $dark-slider: $light-slider;
17
+
18
+ /// Generates a dark fluent slider schema.
19
+ /// @type {Map}
20
+ /// @prop {Map} base-track-color [color: ('gray', 300)] - The base background color of the track.
21
+ /// @prop {Map} base-track-hover-color [color: ('gray', 300)] - The base background color of the track on hover.
22
+ /// @prop {Map} track-color [color: ('gray', 600)] - The color of the track.
23
+ /// @prop {Map} track-hover-color [color: ('primary', 300)] - The color of the track on hover.
24
+ /// @prop {Map} thumb-border-color [color: ('gray', 400)] - The thumb border color.
25
+ /// @prop {Map} thumb-focus-color [color: ('primary', 100)] - The focus outline color of the thumb.
26
+ /// @prop {Map} thumb-disabled-border-color [color: ('gray', 200)] - The thumb border color when it's disabled.
27
+ /// @prop {Map} disabled-base-track-color [color: ('gray', 100)] - The base background color of the track when is disabled.
28
+ /// @prop {Map} disabled-fill-track-color [color: ('gray', 300)] - The background color of the fill track when is disabled.
29
+ /// @requires $fluent-slider
30
+ $dark-fluent-slider: extend(
31
+ $fluent-slider,
32
+ (
33
+ base-track-color: (
34
+ color: ('gray', 300),
35
+ ),
36
+ base-track-hover-color: (
37
+ color: ('gray', 300),
38
+ ),
39
+ track-color: (
40
+ color: ('gray', 600),
41
+ ),
42
+ track-hover-color: (
43
+ color: ('primary', 300)
44
+ ),
45
+ thumb-border-color: (
46
+ color: ('gray', 400)
47
+ ),
48
+ thumb-focus-color: (
49
+ color: ('primary', 100)
50
+ ),
51
+ thumb-disabled-border-color: (
52
+ color: ('gray', 200),
53
+ ),
54
+ disabled-base-track-color: (
55
+ color: ('gray', 100)
56
+ ),
57
+ disabled-fill-track-color: (
58
+ color: ('gray', 300)
59
+ ),
60
+ )
61
+ );
62
+
63
+ /// Generates a dark bootstrap slider schema.
64
+ /// @type {Map}
65
+ /// @prop {Map} base-track-color [color: ('secondary', 500, .48)] - The base background color of the track.
66
+ /// @prop {Map} base-track-hover-color [color: ('secondary', 500, .48)] - The base background color of the track on hover.
67
+ /// @requires $bootstrap-slider
68
+ $dark-bootstrap-slider: extend(
69
+ $bootstrap-slider,
70
+ (
71
+ base-track-color: (
72
+ color: ('secondary', 500, .48),
73
+ ),
74
+ base-track-hover-color: (
75
+ color: ('secondary', 500, .48),
76
+ ),
77
+ )
78
+ );
79
+
80
+ /// Generates a dark indigo slider schema.
81
+ /// @type {Map}
82
+ /// @prop {Map} base-track-color [color: ('gray', 200)] - The base background color of the track.
83
+ /// @prop {Map} base-track-hover-color [color: ('gray', 400)] - The base background color of the track on hover.
84
+ /// @requires $indigo-slider
85
+ $dark-indigo-slider: extend(
86
+ $indigo-slider,
87
+ (
88
+ base-track-color: (
89
+ color: ('gray', 200)
90
+ ),
91
+ base-track-hover-color: (
92
+ color: ('gray', 400)
93
+ ),
94
+ )
95
+ );