igniteui-theming 1.4.2 → 1.4.3-beta.2
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/index.js +3 -0
- package/json/colors/meta/multipliers.json +1 -1
- package/package.json +21 -14
- package/sass/animations/_easings.scss +23 -23
- package/sass/animations/entrances/_bounce.scss +3 -3
- package/sass/animations/entrances/_flicker.scss +10 -26
- package/sass/animations/exits/_bounce.scss +6 -6
- package/sass/animations/exits/_flicker.scss +12 -28
- package/sass/animations/exits/_flip.scss +8 -8
- package/sass/animations/exits/_puff.scss +11 -11
- package/sass/animations/exits/_roll.scss +4 -4
- package/sass/animations/exits/_rotate.scss +25 -25
- package/sass/animations/exits/_scale.scss +15 -15
- package/sass/animations/exits/_slide.scss +34 -34
- package/sass/animations/exits/_slit.scss +4 -4
- package/sass/animations/exits/_swing.scss +8 -8
- package/sass/animations/exits/_swirl.scss +18 -18
- package/sass/animations/generic/_flip.scss +4 -4
- package/sass/animations/generic/_rotate.scss +5 -5
- package/sass/animations/generic/_scale.scss +31 -31
- package/sass/animations/generic/_shadows.scss +12 -68
- package/sass/bem/_index.scss +9 -3
- package/sass/color/_charts.scss +1 -1
- package/sass/color/_functions.scss +22 -56
- package/sass/color/_multipliers.scss +14 -14
- package/sass/color/_types.scss +6 -1
- package/sass/color/presets/dark/_bootstrap.scss +1 -1
- package/sass/color/presets/dark/_fluent.scss +3 -3
- package/sass/color/presets/dark/_indigo.scss +1 -1
- package/sass/color/presets/dark/_material.scss +1 -1
- package/sass/color/presets/light/_bootstrap.scss +1 -1
- package/sass/color/presets/light/_extra.scss +2 -2
- package/sass/color/presets/light/_fluent.scss +3 -3
- package/sass/color/presets/light/_indigo.scss +1 -1
- package/sass/color/presets/light/_material.scss +1 -1
- package/sass/elevations/presets/_index.scss +1 -5
- package/sass/elevations/presets/_material.scss +1 -1
- package/sass/themes/_functions.scss +2 -12
- package/sass/themes/_index.scss +1 -0
- package/sass/themes/_mixins.scss +4 -5
- package/sass/themes/charts/_category-chart-theme.scss +15 -11
- package/sass/themes/charts/_data-chart-theme.scss +4 -7
- package/sass/themes/charts/_doughnut-chart-theme.scss +2 -2
- package/sass/themes/charts/_financial-chart-theme.scss +15 -11
- package/sass/themes/charts/_funnel-chart-theme.scss +22 -18
- package/sass/themes/charts/_gauge-theme.scss +8 -16
- package/sass/themes/charts/_geo-map-theme.scss +10 -11
- package/sass/themes/charts/_graph-theme.scss +3 -3
- package/sass/themes/charts/_pie-chart-theme.scss +21 -20
- package/sass/themes/charts/_shape-chart-theme.scss +15 -11
- package/sass/themes/charts/_sparkline-theme.scss +2 -2
- package/sass/themes/schemas/_index.scss +10 -33
- package/sass/themes/schemas/charts/light/_category-chart.scss +68 -24
- package/sass/themes/schemas/charts/light/_data-chart.scss +12 -3
- package/sass/themes/schemas/charts/light/_financial-chart.scss +1 -1
- package/sass/themes/schemas/charts/light/_gauge.scss +14 -5
- package/sass/themes/schemas/charts/light/_geo-map.scss +2 -2
- package/sass/themes/schemas/charts/light/_graph.scss +20 -5
- package/sass/themes/schemas/charts/light/_pie-chart.scss +4 -1
- package/sass/themes/schemas/charts/light/_shape-chart.scss +8 -2
- package/sass/themes/schemas/charts/light/_sparkline.scss +4 -1
- package/sass/themes/schemas/components/_index.scss +2 -0
- package/sass/themes/schemas/components/dark/_avatar.scss +46 -0
- package/sass/themes/schemas/components/dark/_button.scss +491 -0
- package/sass/themes/schemas/components/dark/_checkbox.scss +88 -0
- package/sass/themes/schemas/components/dark/_combo.scss +56 -0
- package/sass/themes/schemas/components/dark/_drop-down.scss +86 -0
- package/sass/themes/schemas/components/dark/_icon.scss +39 -0
- package/sass/themes/schemas/components/dark/_index.scss +120 -0
- package/sass/themes/schemas/components/dark/_input-group.scss +170 -0
- package/sass/themes/schemas/components/dark/_navbar.scss +27 -0
- package/sass/themes/schemas/components/dark/_radio.scss +144 -0
- package/sass/themes/schemas/components/dark/_rating.scss +29 -0
- package/sass/themes/schemas/components/dark/_select.scss +56 -0
- package/sass/themes/schemas/components/dark/_slider.scss +136 -0
- package/sass/themes/schemas/components/dark/_switch.scss +216 -0
- package/sass/themes/schemas/components/dark/_tabs.scss +65 -0
- package/sass/themes/schemas/components/dark/_tree.scss +132 -0
- package/sass/themes/schemas/components/elevation/_button.scss +63 -0
- package/sass/themes/schemas/components/elevation/_drop-down.scss +29 -0
- package/sass/themes/schemas/components/elevation/_input-group.scss +37 -0
- package/sass/themes/schemas/components/elevation/_navbar.scss +23 -0
- package/sass/themes/schemas/components/elevation/_switch.scss +15 -0
- package/sass/themes/schemas/components/light/_avatar.scss +69 -0
- package/sass/themes/schemas/components/light/_button.scss +1700 -0
- package/sass/themes/schemas/components/light/_checkbox.scss +285 -0
- package/sass/themes/schemas/components/light/_combo.scss +317 -0
- package/sass/themes/schemas/components/light/_drop-down.scss +376 -0
- package/sass/themes/schemas/components/light/_icon.scss +55 -0
- package/sass/themes/schemas/components/light/_index.scss +121 -0
- package/sass/themes/schemas/components/light/_input-group.scss +794 -0
- package/sass/themes/schemas/components/light/_navbar.scss +116 -0
- package/sass/themes/schemas/components/light/_radio.scss +279 -0
- package/sass/themes/schemas/components/light/_rating.scss +129 -0
- package/sass/themes/schemas/components/light/_select.scss +176 -0
- package/sass/themes/schemas/components/light/_slider.scss +362 -0
- package/sass/themes/schemas/components/light/_switch.scss +473 -0
- package/sass/themes/schemas/components/light/_tabs.scss +402 -0
- package/sass/themes/schemas/components/light/_tree.scss +288 -0
- package/sass/typography/_functions.scss +7 -5
- package/sass/typography/_mixins.scss +1 -3
- package/sass/typography/_types.scss +2 -16
- package/sass/typography/presets/_bootstrap.scss +24 -24
- package/sass/typography/presets/_fluent.scss +23 -23
- package/sass/typography/presets/_indigo.scss +24 -24
- package/sass/typography/presets/_material.scss +23 -23
- package/sass/utils/_css.scss +6 -1
- package/sass/utils/_map.scss +4 -8
- package/sass/utils/_string.scss +14 -6
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
@use '../../../../utils/map' as *;
|
|
2
|
+
@use '../light/checkbox' as *;
|
|
3
|
+
|
|
4
|
+
////
|
|
5
|
+
/// @package theming
|
|
6
|
+
/// @group schemas
|
|
7
|
+
/// @access public
|
|
8
|
+
/// @author <a href="https://github.com/simeonoff" target="_blank">Simeon Simeonoff</a>
|
|
9
|
+
////
|
|
10
|
+
|
|
11
|
+
/// Generates a dark checkbox schema.
|
|
12
|
+
/// @type {Map}
|
|
13
|
+
/// @requires $light-checkbox
|
|
14
|
+
$dark-checkbox: extend(
|
|
15
|
+
$light-checkbox,
|
|
16
|
+
(
|
|
17
|
+
type: 'dark',
|
|
18
|
+
)
|
|
19
|
+
);
|
|
20
|
+
|
|
21
|
+
/// Generates a dark fluent checkbox schema.
|
|
22
|
+
/// @type {Map}
|
|
23
|
+
/// @prop {Map} fill-color-hover [color: ('primary', 200)] - The checked border and fill colors on hover.
|
|
24
|
+
/// @requires $fluent-checkbox
|
|
25
|
+
$dark-fluent-checkbox: extend(
|
|
26
|
+
$fluent-checkbox,
|
|
27
|
+
(
|
|
28
|
+
fill-color-hover: (
|
|
29
|
+
color: (
|
|
30
|
+
'primary',
|
|
31
|
+
200,
|
|
32
|
+
),
|
|
33
|
+
),
|
|
34
|
+
)
|
|
35
|
+
);
|
|
36
|
+
|
|
37
|
+
/// Generates a dark bootstrap checkbox schema.
|
|
38
|
+
/// @type {Map}
|
|
39
|
+
/// @prop {Map} tick-color [color: ('gray', 900)] - The checked mark color.
|
|
40
|
+
/// @requires $bootstrap-checkbox
|
|
41
|
+
$dark-bootstrap-checkbox: extend(
|
|
42
|
+
$bootstrap-checkbox,
|
|
43
|
+
(
|
|
44
|
+
tick-color: (
|
|
45
|
+
color: (
|
|
46
|
+
'gray',
|
|
47
|
+
900,
|
|
48
|
+
),
|
|
49
|
+
),
|
|
50
|
+
)
|
|
51
|
+
);
|
|
52
|
+
|
|
53
|
+
/// Generates a dark indigo checkbox schema.
|
|
54
|
+
/// @type {Map}
|
|
55
|
+
/// @prop {Map} fill-color [color: ('gray', 900)] - The checked border and fill colors.
|
|
56
|
+
/// @prop {Map} empty-color [color: ('gray', 700)] - The unchecked border color.
|
|
57
|
+
/// @prop {Map} disabled-color [color: ('gray', 400)] - The disabled border and fill colors.
|
|
58
|
+
/// @prop {Map} disabled-color-label [color: ('gray', 400)] - The disabled label color.
|
|
59
|
+
/// @requires $indigo-checkbox
|
|
60
|
+
$dark-indigo-checkbox: extend(
|
|
61
|
+
$indigo-checkbox,
|
|
62
|
+
(
|
|
63
|
+
fill-color: (
|
|
64
|
+
color: (
|
|
65
|
+
'gray',
|
|
66
|
+
900,
|
|
67
|
+
),
|
|
68
|
+
),
|
|
69
|
+
empty-color: (
|
|
70
|
+
color: (
|
|
71
|
+
'gray',
|
|
72
|
+
700,
|
|
73
|
+
),
|
|
74
|
+
),
|
|
75
|
+
disabled-color: (
|
|
76
|
+
color: (
|
|
77
|
+
'gray',
|
|
78
|
+
400,
|
|
79
|
+
),
|
|
80
|
+
),
|
|
81
|
+
disabled-color-label: (
|
|
82
|
+
color: (
|
|
83
|
+
'gray',
|
|
84
|
+
400,
|
|
85
|
+
),
|
|
86
|
+
),
|
|
87
|
+
)
|
|
88
|
+
);
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
@use '../../../../utils/map' as *;
|
|
2
|
+
@use '../../../../typography/functions' as *;
|
|
3
|
+
@use '../light/combo' 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 combo schema.
|
|
14
|
+
/// @type {Map}
|
|
15
|
+
/// @requires $light-combo
|
|
16
|
+
$dark-combo: $light-combo;
|
|
17
|
+
|
|
18
|
+
/// Generates a dark fluent combo schema.
|
|
19
|
+
/// @type {Map}
|
|
20
|
+
/// @requires $fluent-combo
|
|
21
|
+
$dark-fluent-combo: $fluent-combo;
|
|
22
|
+
|
|
23
|
+
/// Generates a dark bootstrap combo schema.
|
|
24
|
+
/// @type {Map}
|
|
25
|
+
/// @requires $bootstrap-combo
|
|
26
|
+
$dark-bootstrap-combo: extend($bootstrap-combo);
|
|
27
|
+
|
|
28
|
+
/// Generates a dark indigo combo schema.
|
|
29
|
+
/// @prop {Map} toggle-button-foreground [color: ('gray', 600)] - The combo toggle button foreground color.
|
|
30
|
+
/// @prop {Map} toggle-button-foreground-focus [color: ('gray', 600)] - The combo toggle button foreground color when the combo is focused.
|
|
31
|
+
/// @prop {Map} toggle-button-foreground-filled [color: ('gray', 600)] - The combo toggle button foreground color when the combo is focused.
|
|
32
|
+
/// @type {Map}
|
|
33
|
+
/// @requires $indigo-combo
|
|
34
|
+
$dark-indigo-combo: extend(
|
|
35
|
+
$indigo-combo,
|
|
36
|
+
(
|
|
37
|
+
toggle-button-foreground: (
|
|
38
|
+
color: (
|
|
39
|
+
'gray',
|
|
40
|
+
600,
|
|
41
|
+
),
|
|
42
|
+
),
|
|
43
|
+
toggle-button-foreground-focus: (
|
|
44
|
+
color: (
|
|
45
|
+
'gray',
|
|
46
|
+
600,
|
|
47
|
+
),
|
|
48
|
+
),
|
|
49
|
+
toggle-button-foreground-filled: (
|
|
50
|
+
color: (
|
|
51
|
+
'gray',
|
|
52
|
+
600,
|
|
53
|
+
),
|
|
54
|
+
),
|
|
55
|
+
)
|
|
56
|
+
);
|
|
@@ -0,0 +1,86 @@
|
|
|
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: (
|
|
19
|
+
'gray',
|
|
20
|
+
100,
|
|
21
|
+
),
|
|
22
|
+
),
|
|
23
|
+
);
|
|
24
|
+
|
|
25
|
+
/// Generates a dark drop-down schema.
|
|
26
|
+
/// @type {Map}
|
|
27
|
+
/// @requires $light-drop-down
|
|
28
|
+
/// @requires $base-dark-drop-down
|
|
29
|
+
$dark-drop-down: extend($light-drop-down, $base-dark-drop-down);
|
|
30
|
+
|
|
31
|
+
/// Generates a dark fluent drop-down schema.
|
|
32
|
+
/// @type {Map}
|
|
33
|
+
/// @prop {Map} selected-item-text-color [contrast-color: 'surface'] - The drop-down selected item text color.
|
|
34
|
+
/// @prop {Map} selected-hover-item-text-color [contrast-color: 'surface'] - The drop-down selected item hover text color.
|
|
35
|
+
/// @prop {Map} selected-focus-item-text-color [contrast-color: 'surface'] - The drop-down selected item focus text color.
|
|
36
|
+
/// @requires $fluent-drop-down
|
|
37
|
+
/// @requires $base-dark-drop-down
|
|
38
|
+
$dark-fluent-drop-down: extend(
|
|
39
|
+
$fluent-drop-down,
|
|
40
|
+
$base-dark-drop-down,
|
|
41
|
+
(
|
|
42
|
+
selected-item-text-color: (
|
|
43
|
+
contrast-color: 'surface',
|
|
44
|
+
),
|
|
45
|
+
selected-hover-item-text-color: (
|
|
46
|
+
contrast-color: 'surface',
|
|
47
|
+
),
|
|
48
|
+
selected-focus-item-text-color: (
|
|
49
|
+
contrast-color: 'surface',
|
|
50
|
+
),
|
|
51
|
+
)
|
|
52
|
+
);
|
|
53
|
+
|
|
54
|
+
/// Generates a dark bootstrap drop-down schema.
|
|
55
|
+
/// @type {Map}
|
|
56
|
+
/// @prop {Map} item-text-color [contrast-color: 'surface'] - The drop-down text color.
|
|
57
|
+
/// @prop {Map} hover-item-text-color [contrast-color: 'surface'] - The drop-down hover text color.
|
|
58
|
+
/// @requires $bootstrap-drop-down
|
|
59
|
+
/// @requires $base-dark-drop-down
|
|
60
|
+
$dark-bootstrap-drop-down: extend(
|
|
61
|
+
$bootstrap-drop-down,
|
|
62
|
+
$base-dark-drop-down,
|
|
63
|
+
(
|
|
64
|
+
item-text-color: (
|
|
65
|
+
contrast-color: 'surface',
|
|
66
|
+
),
|
|
67
|
+
hover-item-text-color: (
|
|
68
|
+
contrast-color: 'surface',
|
|
69
|
+
),
|
|
70
|
+
)
|
|
71
|
+
);
|
|
72
|
+
|
|
73
|
+
/// Generates a dark indigo drop-down schema.
|
|
74
|
+
/// @type {Map}
|
|
75
|
+
/// @prop {Map} header-text-color [contrast-color: 'surface'] - The drop-down header text color.
|
|
76
|
+
/// @requires $indigo-drop-down
|
|
77
|
+
/// @requires $base-dark-drop-down
|
|
78
|
+
$dark-indigo-drop-down: extend(
|
|
79
|
+
$indigo-drop-down,
|
|
80
|
+
$base-dark-drop-down,
|
|
81
|
+
(
|
|
82
|
+
header-text-color: (
|
|
83
|
+
contrast-color: 'surface',
|
|
84
|
+
),
|
|
85
|
+
)
|
|
86
|
+
);
|
|
@@ -0,0 +1,39 @@
|
|
|
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: (
|
|
25
|
+
'gray' 500,
|
|
26
|
+
),
|
|
27
|
+
),
|
|
28
|
+
)
|
|
29
|
+
);
|
|
30
|
+
|
|
31
|
+
/// Generates a dark bootstrap icon schema.
|
|
32
|
+
/// @type {Map}
|
|
33
|
+
/// @requires $light-icon
|
|
34
|
+
$dark-bootstrap-icon: $bootstrap-icon;
|
|
35
|
+
|
|
36
|
+
/// Generates a dark indigo icon schema.
|
|
37
|
+
/// @type {Map}
|
|
38
|
+
/// @requires $light-icon
|
|
39
|
+
$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,170 @@
|
|
|
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: (
|
|
25
|
+
'gray',
|
|
26
|
+
100,
|
|
27
|
+
),
|
|
28
|
+
),
|
|
29
|
+
hover-bottom-line-color: (
|
|
30
|
+
color: (
|
|
31
|
+
'gray',
|
|
32
|
+
800,
|
|
33
|
+
),
|
|
34
|
+
),
|
|
35
|
+
)
|
|
36
|
+
);
|
|
37
|
+
|
|
38
|
+
/// Generates a dark fluent input-group schema based on a mix of $fluent-input-group and $base-dark-input-group.
|
|
39
|
+
/// @type {Map}
|
|
40
|
+
/// @prop {Map} input-prefix-background [color: ('gray', 100)] - The background color of an input prefix of type line, box and border.
|
|
41
|
+
/// @prop {Map} input-suffix-background [color: ('gray', 100)] - The background color of an input sufix of type line, box and border.
|
|
42
|
+
/// @prop {Map} box-background [color: ('gray', 100)] - The background color of an input group of type box.
|
|
43
|
+
/// @prop {Map} border-color [color: ('gray', 500)] - The border color for input groups of type border and fluent.
|
|
44
|
+
/// @prop {Map} hover-border-color [color: ('gray', 700)] - The hover input border for input groups of type border and fluent.
|
|
45
|
+
/// @prop {Map} focused-border-color [color: ('gray', 500)] - The focused input border color for input groups of type border and fluent.
|
|
46
|
+
/// @prop {Map} disabled-border-color [color: ('gray', 100)] - The disabled border color for input groups of type border and fluent.
|
|
47
|
+
/// @requires $fluent-input-group
|
|
48
|
+
/// @requires $base-dark-input-group
|
|
49
|
+
$dark-fluent-input-group: extend(
|
|
50
|
+
$base-dark-input-group,
|
|
51
|
+
$fluent-input-group,
|
|
52
|
+
(
|
|
53
|
+
input-prefix-background: (
|
|
54
|
+
color: (
|
|
55
|
+
'gray',
|
|
56
|
+
100,
|
|
57
|
+
),
|
|
58
|
+
),
|
|
59
|
+
input-suffix-background: (
|
|
60
|
+
color: (
|
|
61
|
+
'gray',
|
|
62
|
+
100,
|
|
63
|
+
),
|
|
64
|
+
),
|
|
65
|
+
box-background: (
|
|
66
|
+
color: (
|
|
67
|
+
'gray',
|
|
68
|
+
100,
|
|
69
|
+
),
|
|
70
|
+
),
|
|
71
|
+
border-color: (
|
|
72
|
+
color: (
|
|
73
|
+
'gray',
|
|
74
|
+
500,
|
|
75
|
+
),
|
|
76
|
+
),
|
|
77
|
+
hover-border-color: (
|
|
78
|
+
color: (
|
|
79
|
+
'gray',
|
|
80
|
+
700,
|
|
81
|
+
),
|
|
82
|
+
),
|
|
83
|
+
focused-border-color: (
|
|
84
|
+
color: (
|
|
85
|
+
'gray',
|
|
86
|
+
500,
|
|
87
|
+
),
|
|
88
|
+
),
|
|
89
|
+
disabled-border-color: (
|
|
90
|
+
color: (
|
|
91
|
+
'gray',
|
|
92
|
+
100,
|
|
93
|
+
),
|
|
94
|
+
),
|
|
95
|
+
)
|
|
96
|
+
);
|
|
97
|
+
|
|
98
|
+
/// Generates a dark bootstrap input-group schema based on a mix of $bootstrap-input-group and $base-dark-input-group.
|
|
99
|
+
/// @type {Map}
|
|
100
|
+
/// @requires $bootstrap-input-group
|
|
101
|
+
/// @requires $base-dark-input-group
|
|
102
|
+
$dark-bootstrap-input-group: extend($base-dark-input-group, $bootstrap-input-group);
|
|
103
|
+
|
|
104
|
+
/// Generates an dark indigo input-group schema
|
|
105
|
+
/// @type {Map}
|
|
106
|
+
/// @prop {Map} success-secondary-color [color: ('success', 500, .7)] - The success color used in the valid state.
|
|
107
|
+
/// @prop {Map} warning-secondary-color [color: ('warn', 500, .7)] - The warning color used in the warning state.
|
|
108
|
+
/// @prop {Map} error-secondary-color [color: ('error', 500, .7)] - The error color used in the error state.
|
|
109
|
+
/// @prop {Map} $idle-secondary-color [contrast-color: ('surface')] - The label color in the idle state.
|
|
110
|
+
/// @prop {Map} $filled-secondary-color [color: ('gray', 900)] - The label color in the filled state.
|
|
111
|
+
/// @prop {Map} $focused-secondary-color [color: ('gray', 900)] - The label color in the focused state.
|
|
112
|
+
/// @prop {Map} placeholder-color [color: ('gray', 400)] - The placeholder color of an input group.
|
|
113
|
+
/// @prop {Map} disabled-placeholder-color [color: ('gray', 400)] - The disabled placeholder color of an input group.
|
|
114
|
+
/// @requires $indigo-input-group
|
|
115
|
+
$dark-indigo-input-group: extend(
|
|
116
|
+
$indigo-input-group,
|
|
117
|
+
(
|
|
118
|
+
search-background: transparent,
|
|
119
|
+
success-secondary-color: (
|
|
120
|
+
color: (
|
|
121
|
+
'success',
|
|
122
|
+
500,
|
|
123
|
+
0.7,
|
|
124
|
+
),
|
|
125
|
+
),
|
|
126
|
+
warning-secondary-color: (
|
|
127
|
+
color: (
|
|
128
|
+
'warn',
|
|
129
|
+
500,
|
|
130
|
+
0.7,
|
|
131
|
+
),
|
|
132
|
+
),
|
|
133
|
+
error-secondary-color: (
|
|
134
|
+
color: (
|
|
135
|
+
'error',
|
|
136
|
+
500,
|
|
137
|
+
0.7,
|
|
138
|
+
),
|
|
139
|
+
),
|
|
140
|
+
idle-secondary-color: (
|
|
141
|
+
contrast-color: (
|
|
142
|
+
'surface',
|
|
143
|
+
),
|
|
144
|
+
),
|
|
145
|
+
filled-secondary-color: (
|
|
146
|
+
color: (
|
|
147
|
+
'gray',
|
|
148
|
+
900,
|
|
149
|
+
),
|
|
150
|
+
),
|
|
151
|
+
focused-secondary-color: (
|
|
152
|
+
color: (
|
|
153
|
+
'gray',
|
|
154
|
+
900,
|
|
155
|
+
),
|
|
156
|
+
),
|
|
157
|
+
placeholder-color: (
|
|
158
|
+
color: (
|
|
159
|
+
'gray',
|
|
160
|
+
400,
|
|
161
|
+
),
|
|
162
|
+
),
|
|
163
|
+
disabled-placeholder-color: (
|
|
164
|
+
color: (
|
|
165
|
+
'gray',
|
|
166
|
+
400,
|
|
167
|
+
),
|
|
168
|
+
),
|
|
169
|
+
)
|
|
170
|
+
);
|
|
@@ -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;
|