@progress/kendo-theme-fluent 12.3.1-dev.9 → 13.0.0-dev.0
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/dist/all.css +1 -1
- package/dist/fluent-1-dark.css +1 -1
- package/dist/fluent-1.css +1 -1
- package/dist/fluent-main-dark.css +1 -1
- package/dist/fluent-main.css +1 -1
- package/dist/meta/sassdoc-data.json +39709 -35083
- package/dist/meta/sassdoc-raw-data.json +14965 -12673
- package/dist/meta/variables.json +896 -765
- package/lib/swatches/all.json +1 -1
- package/lib/swatches/fluent-1-dark.json +1 -1
- package/lib/swatches/fluent-1.json +1 -1
- package/lib/swatches/fluent-main-dark.json +1 -1
- package/lib/swatches/fluent-main.json +1 -1
- package/package.json +5 -5
- package/scss/appbar/_variables.scss +6 -16
- package/scss/avatar/_variables.scss +37 -23
- package/scss/badge/_theme.scss +25 -11
- package/scss/badge/_variables.scss +22 -43
- package/scss/bottom-navigation/_theme.scss +68 -53
- package/scss/bottom-navigation/_variables.scss +12 -18
- package/scss/breadcrumb/_variables.scss +6 -30
- package/scss/button/_layout.scss +165 -156
- package/scss/button/_theme.scss +183 -135
- package/scss/button/_variables.scss +28 -42
- package/scss/calendar/_layout.scss +12 -8
- package/scss/calendar/_variables.scss +8 -2
- package/scss/card/_variables.scss +7 -16
- package/scss/checkbox/_layout.scss +15 -11
- package/scss/checkbox/_variables.scss +13 -1
- package/scss/chip/_layout.scss +6 -7
- package/scss/chip/_theme.scss +94 -76
- package/scss/chip/_variables.scss +32 -43
- package/scss/coloreditor/_layout.scss +17 -13
- package/scss/coloreditor/_variables.scss +17 -48
- package/scss/colorgradient/_layout.scss +1 -1
- package/scss/colorgradient/_variables.scss +30 -60
- package/scss/colorpalette/_layout.scss +0 -12
- package/scss/colorpalette/_variables.scss +7 -19
- package/scss/column-menu/_layout.scss +16 -12
- package/scss/column-menu/_variables.scss +6 -24
- package/scss/datetimepicker/_variables.scss +6 -15
- package/scss/dialog/_variables.scss +7 -9
- package/scss/fab/_layout.scss +13 -10
- package/scss/fab/_theme.scss +11 -6
- package/scss/fab/_variables.scss +21 -17
- package/scss/forms/_layout.scss +8 -6
- package/scss/forms/_variables.scss +7 -16
- package/scss/grid/_layout.scss +15 -11
- package/scss/grid/_variables.scss +6 -42
- package/scss/icons/_variables.scss +6 -0
- package/scss/input/_layout.scss +113 -54
- package/scss/input/_theme.scss +97 -62
- package/scss/input/_variables.scss +81 -43
- package/scss/list/_variables.scss +6 -70
- package/scss/loader/_variables.scss +13 -17
- package/scss/menu/_variables.scss +6 -32
- package/scss/messagebox/_variables.scss +7 -17
- package/scss/notification/_functions.scss +2 -2
- package/scss/notification/_variables.scss +9 -15
- package/scss/otp/_variables.scss +1 -22
- package/scss/overlay/_theme.scss +0 -9
- package/scss/overlay/_variables.scss +9 -7
- package/scss/pager/_layout.scss +7 -2
- package/scss/pager/_variables.scss +7 -22
- package/scss/radio/_layout.scss +16 -11
- package/scss/radio/_variables.scss +7 -1
- package/scss/signature/_variables.scss +0 -21
- package/scss/split-button/_variables.scss +0 -8
- package/scss/suggestion/_variables.scss +4 -45
- package/scss/switch/_variables.scss +103 -7
- package/scss/table/_variables.scss +6 -33
- package/scss/tabstrip/_variables.scss +7 -25
- package/scss/timeselector/_variables.scss +21 -39
- package/scss/toolbar/_layout.scss +25 -12
- package/scss/toolbar/_theme.scss +7 -5
- package/scss/toolbar/_variables.scss +12 -25
- package/scss/tooltip/_functions.scss +15 -6
- package/scss/tooltip/_theme.scss +0 -21
- package/scss/tooltip/_variables.scss +3 -14
- package/scss/treeview/_variables.scss +6 -32
- package/scss/window/_theme.scss +0 -15
- package/scss/window/_variables.scss +12 -18
package/lib/swatches/all.json
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-theme-fluent",
|
|
3
3
|
"description": "A css variables based theme for Kendo UI that follows the Fluent design system guidelines.",
|
|
4
|
-
"version": "
|
|
4
|
+
"version": "13.0.0-dev.0",
|
|
5
5
|
"author": "Progress",
|
|
6
6
|
"license": "Apache-2.0",
|
|
7
7
|
"keywords": [
|
|
@@ -54,13 +54,13 @@
|
|
|
54
54
|
"postpublish": "echo 'no postpublish for the Fluent theme'"
|
|
55
55
|
},
|
|
56
56
|
"dependencies": {
|
|
57
|
-
"@progress/kendo-svg-icons": "^4.
|
|
58
|
-
"@progress/kendo-theme-core": "
|
|
59
|
-
"@progress/kendo-theme-utils": "
|
|
57
|
+
"@progress/kendo-svg-icons": "^4.6.0",
|
|
58
|
+
"@progress/kendo-theme-core": "13.0.0-dev.0",
|
|
59
|
+
"@progress/kendo-theme-utils": "13.0.0-dev.0"
|
|
60
60
|
},
|
|
61
61
|
"directories": {
|
|
62
62
|
"doc": "docs",
|
|
63
63
|
"lib": "lib"
|
|
64
64
|
},
|
|
65
|
-
"gitHead": "
|
|
65
|
+
"gitHead": "38e27eadee8553fb04c4e46f57812022ff2e149b"
|
|
66
66
|
}
|
|
@@ -2,6 +2,11 @@
|
|
|
2
2
|
@use "../core/z-index/index.scss" as *;
|
|
3
3
|
@use "../core/_index.scss" as *;
|
|
4
4
|
|
|
5
|
+
/// The default theme color of the AppBar.
|
|
6
|
+
/// @group appbar
|
|
7
|
+
/// @role default
|
|
8
|
+
$kendo-appbar-default-theme-color: "light" !default;
|
|
9
|
+
|
|
5
10
|
/// The horizontal margin of the AppBar.
|
|
6
11
|
/// @group appbar
|
|
7
12
|
$kendo-appbar-margin-x: var( --kendo-appbar-margin-x, k-spacing(0) ) !default;
|
|
@@ -58,21 +63,6 @@ $kendo-appbar-dark-bg: k-color(dark) !default;
|
|
|
58
63
|
/// @group appbar
|
|
59
64
|
$kendo-appbar-dark-text: k-color(on-dark) !default;
|
|
60
65
|
|
|
61
|
-
/// The theme colors map for the AppBar variations.
|
|
62
|
-
/// @group appbar
|
|
63
|
-
$kendo-appbar-theme-colors: (
|
|
64
|
-
"primary": k-color(primary),
|
|
65
|
-
"secondary": k-color(secondary),
|
|
66
|
-
"tertiary": k-color(tertiary),
|
|
67
|
-
"info": k-color(info),
|
|
68
|
-
"success": k-color(success),
|
|
69
|
-
"warning": k-color(warning),
|
|
70
|
-
"error": k-color(error),
|
|
71
|
-
"dark": k-color(dark),
|
|
72
|
-
"light": k-color(light),
|
|
73
|
-
"inverse": if($kendo-is-dark-theme, k-color(light), k-color(dark)),
|
|
74
|
-
) !default;
|
|
75
|
-
|
|
76
66
|
@forward "@progress/kendo-theme-core/scss/components/appbar/_variables.scss" with (
|
|
77
67
|
$kendo-appbar-margin-x: $kendo-appbar-margin-x,
|
|
78
68
|
$kendo-appbar-margin-y: $kendo-appbar-margin-y,
|
|
@@ -88,5 +78,5 @@ $kendo-appbar-theme-colors: (
|
|
|
88
78
|
$kendo-appbar-dark-bg: $kendo-appbar-dark-bg,
|
|
89
79
|
$kendo-appbar-light-text: $kendo-appbar-light-text,
|
|
90
80
|
$kendo-appbar-dark-text: $kendo-appbar-dark-text,
|
|
91
|
-
$kendo-appbar-theme-
|
|
81
|
+
$kendo-appbar-default-theme-color: $kendo-appbar-default-theme-color
|
|
92
82
|
);
|
|
@@ -1,10 +1,31 @@
|
|
|
1
1
|
@use "sass:map";
|
|
2
2
|
@use "../core/_index.scss" as *;
|
|
3
3
|
|
|
4
|
+
/// The default theme color of the Avatar.
|
|
5
|
+
/// @group avatar
|
|
6
|
+
/// @role default
|
|
7
|
+
$kendo-avatar-default-theme-color: "primary" !default;
|
|
8
|
+
/// The default fill mode of the Avatar.
|
|
9
|
+
/// @group avatar
|
|
10
|
+
/// @role default
|
|
11
|
+
$kendo-avatar-default-fill-mode: "solid" !default;
|
|
12
|
+
/// The default roundness of the Avatar.
|
|
13
|
+
/// @group avatar
|
|
14
|
+
/// @role default
|
|
15
|
+
$kendo-avatar-default-roundness: "full" !default;
|
|
16
|
+
/// The default size of the Avatar.
|
|
17
|
+
/// @group avatar
|
|
18
|
+
/// @role default
|
|
19
|
+
$kendo-avatar-default-size: "md" !default;
|
|
20
|
+
|
|
4
21
|
/// The border width of the Avatar.
|
|
5
22
|
/// @group avatar
|
|
6
23
|
$kendo-avatar-border-width: var( --kendo-avatar-border-width, 1px ) !default;
|
|
7
24
|
|
|
25
|
+
/// The border radius of the Avatar.
|
|
26
|
+
/// @group avatar
|
|
27
|
+
$kendo-avatar-border-radius: null !default;
|
|
28
|
+
|
|
8
29
|
/// The font family of the Avatar.
|
|
9
30
|
/// @group avatar
|
|
10
31
|
$kendo-avatar-font-family: var( --kendo-avatar-font-family, var( --kendo-font-family, inherit ) ) !default;
|
|
@@ -15,34 +36,27 @@ $kendo-avatar-font-size: var( --kendo-avatar-font-size, var( --kendo-font-size,
|
|
|
15
36
|
/// @group avatar
|
|
16
37
|
$kendo-avatar-line-height: var( --kendo-avatar-line-height, var( --kendo-line-height, inherit ) ) !default;
|
|
17
38
|
|
|
18
|
-
/// The
|
|
39
|
+
/// The small size of the Avatar.
|
|
19
40
|
/// @group avatar
|
|
20
|
-
$kendo-avatar-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
/// @group avatar
|
|
28
|
-
$kendo-avatar-theme-colors: (
|
|
29
|
-
"primary": k-color(primary),
|
|
30
|
-
"secondary": k-color(secondary),
|
|
31
|
-
"tertiary": k-color(tertiary),
|
|
32
|
-
"info": k-color(info),
|
|
33
|
-
"success": k-color(success),
|
|
34
|
-
"warning": k-color(warning),
|
|
35
|
-
"error": k-color(error),
|
|
36
|
-
"dark": k-color(dark),
|
|
37
|
-
"light": k-color(light),
|
|
38
|
-
"inverse": if($kendo-is-dark-theme, k-color(light), k-color(dark))
|
|
39
|
-
) !default;
|
|
41
|
+
$kendo-avatar-sm-size: k-spacing(4) !default;
|
|
42
|
+
/// The medium size of the Avatar.
|
|
43
|
+
/// @group avatar
|
|
44
|
+
$kendo-avatar-md-size: k-spacing(8) !default;
|
|
45
|
+
/// The large size of the Avatar.
|
|
46
|
+
/// @group avatar
|
|
47
|
+
$kendo-avatar-lg-size: k-spacing(16) !default;
|
|
40
48
|
|
|
41
49
|
@forward "@progress/kendo-theme-core/scss/components/avatar/_variables.scss" with (
|
|
50
|
+
$kendo-avatar-default-theme-color: $kendo-avatar-default-theme-color,
|
|
51
|
+
$kendo-avatar-default-fill-mode: $kendo-avatar-default-fill-mode,
|
|
52
|
+
$kendo-avatar-default-roundness: $kendo-avatar-default-roundness,
|
|
53
|
+
$kendo-avatar-default-size: $kendo-avatar-default-size,
|
|
42
54
|
$kendo-avatar-border-width: $kendo-avatar-border-width,
|
|
55
|
+
$kendo-avatar-border-radius: $kendo-avatar-border-radius,
|
|
43
56
|
$kendo-avatar-font-family: $kendo-avatar-font-family,
|
|
44
57
|
$kendo-avatar-font-size: $kendo-avatar-font-size,
|
|
45
58
|
$kendo-avatar-line-height: $kendo-avatar-line-height,
|
|
46
|
-
$kendo-avatar-
|
|
47
|
-
$kendo-avatar-
|
|
59
|
+
$kendo-avatar-sm-size: $kendo-avatar-sm-size,
|
|
60
|
+
$kendo-avatar-md-size: $kendo-avatar-md-size,
|
|
61
|
+
$kendo-avatar-lg-size: $kendo-avatar-lg-size
|
|
48
62
|
);
|
package/scss/badge/_theme.scss
CHANGED
|
@@ -1,24 +1,38 @@
|
|
|
1
1
|
@use "sass:map";
|
|
2
2
|
@use "../core/_index.scss" as *;
|
|
3
3
|
@use "./_variables.scss" as *;
|
|
4
|
+
@use "../core/functions/index.scss" as *;
|
|
4
5
|
@use "@progress/kendo-theme-core/scss/components/badge/_theme.scss" as *;
|
|
5
6
|
|
|
6
7
|
@mixin kendo-badge--theme() {
|
|
7
8
|
@include kendo-badge--theme-base();
|
|
8
9
|
|
|
9
|
-
.k-badge
|
|
10
|
-
color: $kendo-badge-text;
|
|
11
|
-
background-color: $kendo-badge-bg;
|
|
12
|
-
border-color: $kendo-badge-border;
|
|
13
|
-
}
|
|
10
|
+
.k-badge {
|
|
14
11
|
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
12
|
+
#{k-when-default($kendo-badge-default-fill-mode, "solid")}
|
|
13
|
+
&.k-badge-solid {
|
|
14
|
+
#{k-when-default($kendo-badge-default-theme-color, "base")}
|
|
15
|
+
&.k-badge-base {
|
|
16
|
+
color: $kendo-badge-text;
|
|
17
|
+
background-color: $kendo-badge-bg;
|
|
18
|
+
border-color: $kendo-badge-border;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
18
21
|
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
+
#{k-when-default($kendo-badge-default-fill-mode, "outline")}
|
|
23
|
+
&.k-badge-outline {
|
|
24
|
+
#{k-when-default($kendo-badge-default-theme-color, "base")}
|
|
25
|
+
&.k-badge-base {
|
|
26
|
+
border-color: $kendo-badge-border;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
@each $name in $kendo-badge-theme-colors {
|
|
30
|
+
#{k-when-default($kendo-badge-default-theme-color, $name)}
|
|
31
|
+
&.k-badge-#{$name} {
|
|
32
|
+
color: k-color(#{$name}-on-surface);
|
|
33
|
+
}
|
|
34
|
+
}
|
|
22
35
|
}
|
|
23
36
|
}
|
|
37
|
+
|
|
24
38
|
}
|
|
@@ -1,6 +1,23 @@
|
|
|
1
1
|
@use "sass:map";
|
|
2
2
|
@use "../core/_index.scss" as *;
|
|
3
3
|
|
|
4
|
+
/// The default theme color of the Badge.
|
|
5
|
+
/// @group badge
|
|
6
|
+
/// @role default
|
|
7
|
+
$kendo-badge-default-theme-color: "primary" !default;
|
|
8
|
+
/// The default fill mode of the Badge.
|
|
9
|
+
/// @group badge
|
|
10
|
+
/// @role default
|
|
11
|
+
$kendo-badge-default-fill-mode: "solid" !default;
|
|
12
|
+
/// The default size of the Badge.
|
|
13
|
+
/// @group badge
|
|
14
|
+
/// @role default
|
|
15
|
+
$kendo-badge-default-size: "md" !default;
|
|
16
|
+
/// The default roundness of the Badge.
|
|
17
|
+
/// @group badge
|
|
18
|
+
/// @role default
|
|
19
|
+
$kendo-badge-default-roundness: "md" !default;
|
|
20
|
+
|
|
4
21
|
/// The background color of the Badge.
|
|
5
22
|
/// @group badge
|
|
6
23
|
$kendo-badge-bg: var( --kendo-badge-bg, k-color(surface-alt) ) !default;
|
|
@@ -70,48 +87,12 @@ $kendo-badge-md-min-width: calc( #{$kendo-badge-md-line-height} * 1em + #{$kendo
|
|
|
70
87
|
$kendo-badge-lg-min-width: calc( #{$kendo-badge-lg-line-height} * 1em + #{$kendo-badge-lg-padding-y} * 2 + #{$kendo-badge-border-width} * 2 ) !default;
|
|
71
88
|
|
|
72
89
|
|
|
73
|
-
/// The sizes map for the Badge.
|
|
74
|
-
/// @group badge
|
|
75
|
-
$kendo-badge-sizes: (
|
|
76
|
-
sm: (
|
|
77
|
-
padding-x: $kendo-badge-sm-padding-x,
|
|
78
|
-
padding-y: $kendo-badge-sm-padding-y,
|
|
79
|
-
font-size: $kendo-badge-sm-font-size,
|
|
80
|
-
line-height: $kendo-badge-sm-line-height,
|
|
81
|
-
min-width: $kendo-badge-sm-min-width
|
|
82
|
-
),
|
|
83
|
-
md: (
|
|
84
|
-
padding-x: $kendo-badge-md-padding-x,
|
|
85
|
-
padding-y: $kendo-badge-md-padding-y,
|
|
86
|
-
font-size: $kendo-badge-md-font-size,
|
|
87
|
-
line-height: $kendo-badge-md-line-height,
|
|
88
|
-
min-width: $kendo-badge-md-min-width
|
|
89
|
-
),
|
|
90
|
-
lg: (
|
|
91
|
-
padding-x: $kendo-badge-lg-padding-x,
|
|
92
|
-
padding-y: $kendo-badge-lg-padding-y,
|
|
93
|
-
font-size: $kendo-badge-lg-font-size,
|
|
94
|
-
line-height: $kendo-badge-lg-line-height,
|
|
95
|
-
min-width: $kendo-badge-lg-min-width
|
|
96
|
-
)
|
|
97
|
-
) !default;
|
|
98
|
-
|
|
99
|
-
/// The theme colors map for the Badge variations.
|
|
100
|
-
/// @group badge
|
|
101
|
-
$kendo-badge-theme-colors: (
|
|
102
|
-
"primary": k-color(primary),
|
|
103
|
-
"secondary": k-color(secondary),
|
|
104
|
-
"tertiary": k-color(tertiary),
|
|
105
|
-
"info": k-color(info),
|
|
106
|
-
"success": k-color(success),
|
|
107
|
-
"warning": k-color(warning),
|
|
108
|
-
"error": k-color(error),
|
|
109
|
-
"dark": k-color(dark),
|
|
110
|
-
"light": k-color(light),
|
|
111
|
-
"inverse": if($kendo-is-dark-theme, k-color(light), k-color(dark)),
|
|
112
|
-
) !default;
|
|
113
90
|
|
|
114
91
|
@forward "@progress/kendo-theme-core/scss/components/badge/_variables.scss" with (
|
|
92
|
+
$kendo-badge-default-theme-color: $kendo-badge-default-theme-color,
|
|
93
|
+
$kendo-badge-default-fill-mode: $kendo-badge-default-fill-mode,
|
|
94
|
+
$kendo-badge-default-size: $kendo-badge-default-size,
|
|
95
|
+
$kendo-badge-default-roundness: $kendo-badge-default-roundness,
|
|
115
96
|
$kendo-badge-border-width: $kendo-badge-border-width,
|
|
116
97
|
$kendo-badge-sm-padding-x: $kendo-badge-sm-padding-x,
|
|
117
98
|
$kendo-badge-md-padding-x: $kendo-badge-md-padding-x,
|
|
@@ -127,7 +108,5 @@ $kendo-badge-theme-colors: (
|
|
|
127
108
|
$kendo-badge-lg-line-height: $kendo-badge-lg-line-height,
|
|
128
109
|
$kendo-badge-sm-min-width: $kendo-badge-sm-min-width,
|
|
129
110
|
$kendo-badge-md-min-width: $kendo-badge-md-min-width,
|
|
130
|
-
$kendo-badge-lg-min-width: $kendo-badge-lg-min-width
|
|
131
|
-
$kendo-badge-sizes: $kendo-badge-sizes,
|
|
132
|
-
$kendo-badge-theme-colors: $kendo-badge-theme-colors
|
|
111
|
+
$kendo-badge-lg-min-width: $kendo-badge-lg-min-width
|
|
133
112
|
);
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
@use "sass:map";
|
|
2
2
|
@use "../core/_index.scss" as *;
|
|
3
|
+
@use "../core/functions/index.scss" as *;
|
|
3
4
|
@use "./_variables.scss" as *;
|
|
4
5
|
@use "@progress/kendo-theme-core/scss/components/bottom-navigation/_theme.scss" as *;
|
|
5
6
|
|
|
@@ -7,74 +8,88 @@
|
|
|
7
8
|
|
|
8
9
|
@include kendo-bottom-navigation--theme-base();
|
|
9
10
|
|
|
10
|
-
|
|
11
|
-
.k-bottom-nav-solid-#{$name} {
|
|
12
|
-
color: k-color(on-#{$name});
|
|
13
|
-
background-color: k-color(#{$name});
|
|
14
|
-
border-color: k-color(#{$name});
|
|
11
|
+
.k-bottom-nav {
|
|
15
12
|
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
13
|
+
// Fillmode: solid
|
|
14
|
+
#{k-when-default($kendo-bottom-nav-default-fill-mode, "solid")}
|
|
15
|
+
&.k-bottom-nav-solid {
|
|
16
|
+
// Theme colors
|
|
17
|
+
@each $name in $kendo-bottom-navigation-theme-colors {
|
|
18
|
+
#{k-when-default($kendo-bottom-nav-default-theme-color, $name)}
|
|
19
|
+
&.k-bottom-nav-#{$name} {
|
|
19
20
|
color: k-color(on-#{$name});
|
|
20
21
|
background-color: k-color(#{$name});
|
|
21
22
|
border-color: k-color(#{$name});
|
|
22
|
-
box-shadow: 0 0 0 2px k-color(border-alt) inset, 0 0 0 3px k-color(surface) inset;
|
|
23
|
-
}
|
|
24
23
|
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
24
|
+
.k-bottom-nav-item {
|
|
25
|
+
&:focus,
|
|
26
|
+
&.k-focus {
|
|
27
|
+
color: k-color(on-#{$name});
|
|
28
|
+
background-color: k-color(#{$name});
|
|
29
|
+
border-color: k-color(#{$name});
|
|
30
|
+
box-shadow: 0 0 0 2px k-color(border-alt) inset, 0 0 0 3px k-color(surface) inset;
|
|
31
|
+
}
|
|
32
32
|
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
33
|
+
&:active,
|
|
34
|
+
&.k-active,
|
|
35
|
+
&.k-selected {
|
|
36
|
+
color: k-color(on-#{$name});
|
|
37
|
+
background-color: k-color(#{$name}-active);
|
|
38
|
+
border-color: k-color(#{$name}-active);
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
&:disabled,
|
|
42
|
+
&.k-disabled {
|
|
43
|
+
color: color-mix(in srgb, k-color(on-#{$name}) 46%, transparent);
|
|
44
|
+
background-color: inherit;
|
|
45
|
+
border-color: transparent;
|
|
46
|
+
}
|
|
47
|
+
}
|
|
38
48
|
}
|
|
39
49
|
}
|
|
40
50
|
}
|
|
41
|
-
}
|
|
42
51
|
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
52
|
+
// Fillmode: flat
|
|
53
|
+
#{k-when-default($kendo-bottom-nav-default-fill-mode, "flat")}
|
|
54
|
+
&.k-bottom-nav-flat {
|
|
55
|
+
// Theme colors
|
|
56
|
+
@each $name in $kendo-bottom-navigation-theme-colors {
|
|
57
|
+
#{k-when-default($kendo-bottom-nav-default-theme-color, $name)}
|
|
58
|
+
&.k-bottom-nav-#{$name} {
|
|
59
|
+
color: k-color(on-app-surface);
|
|
60
|
+
background-color: k-color(app-surface);
|
|
61
|
+
border-color: color-mix(in srgb, k-color(border) 16%, transparent);
|
|
48
62
|
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
63
|
+
.k-bottom-nav-item {
|
|
64
|
+
&:focus,
|
|
65
|
+
&.k-focus {
|
|
66
|
+
color: k-color(#{$name}-on-surface);
|
|
67
|
+
background-color: inherit;
|
|
68
|
+
border-color: transparent;
|
|
69
|
+
box-shadow: 0 0 0 2px k-color(border-alt) inset;
|
|
70
|
+
}
|
|
57
71
|
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
72
|
+
&:active,
|
|
73
|
+
&.k-active,
|
|
74
|
+
&.k-selected {
|
|
75
|
+
color: k-color(#{$name}-on-surface);
|
|
76
|
+
background-color: inherit;
|
|
77
|
+
border-color: transparent;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
&:disabled,
|
|
81
|
+
&.k-disabled {
|
|
82
|
+
color: color-mix(in srgb, k-color(on-app-surface) 46%, transparent);
|
|
83
|
+
background-color: initial;
|
|
84
|
+
border-color: initial;
|
|
85
|
+
}
|
|
86
|
+
}
|
|
65
87
|
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
background-color: initial;
|
|
70
|
-
border-color: initial;
|
|
88
|
+
@if ($name == "warning" or $name == "dark" or $name == "inverse") {
|
|
89
|
+
border-color: k-color(#{$name});
|
|
90
|
+
}
|
|
71
91
|
}
|
|
72
92
|
}
|
|
73
93
|
}
|
|
74
|
-
@if ($name == "warning" or $name == "dark" or $name == "inverse") {
|
|
75
|
-
.k-bottom-nav-flat-#{$name} {
|
|
76
|
-
border-color: k-color(#{$name});
|
|
77
|
-
}
|
|
78
|
-
}
|
|
79
94
|
}
|
|
80
95
|
}
|
|
@@ -1,6 +1,15 @@
|
|
|
1
1
|
@use "sass:map";
|
|
2
2
|
@use "../core/_index.scss" as *;
|
|
3
3
|
|
|
4
|
+
/// The default theme color of the BottomNavigation.
|
|
5
|
+
/// @group bottom-navigation
|
|
6
|
+
/// @role default
|
|
7
|
+
$kendo-bottom-nav-default-theme-color: "primary" !default;
|
|
8
|
+
/// The default fill mode of the BottomNavigation.
|
|
9
|
+
/// @group bottom-navigation
|
|
10
|
+
/// @role default
|
|
11
|
+
$kendo-bottom-nav-default-fill-mode: "flat" !default;
|
|
12
|
+
|
|
4
13
|
/// The horizontal padding of the BottomNavigation.
|
|
5
14
|
/// @group bottom-navigation
|
|
6
15
|
$kendo-bottom-nav-padding-x: var( --kendo-bottom-nav-padding-x, k-spacing(1.5) ) !default;
|
|
@@ -62,23 +71,9 @@ $kendo-bottom-nav-flat-bg: var( --kendo-bottom-nav-bg, k-color(app-surface) ) !d
|
|
|
62
71
|
/// @group bottom-navigation
|
|
63
72
|
$kendo-bottom-nav-flat-border: var( --kendo-bottom-nav-border, k-color(border) ) !default;
|
|
64
73
|
|
|
65
|
-
/// The navigation theme colors of the BottomNavigation.
|
|
66
|
-
/// @group bottom-navigation
|
|
67
|
-
$kendo-bottom-navigation-theme-colors: (
|
|
68
|
-
"base": k-color(base),
|
|
69
|
-
"primary": k-color(primary),
|
|
70
|
-
"secondary": k-color(secondary),
|
|
71
|
-
"tertiary": k-color(tertiary),
|
|
72
|
-
"info": k-color(info),
|
|
73
|
-
"success": k-color(success),
|
|
74
|
-
"warning": k-color(warning),
|
|
75
|
-
"error": k-color(error),
|
|
76
|
-
"dark": k-color(dark),
|
|
77
|
-
"light": k-color(light),
|
|
78
|
-
"inverse": if($kendo-is-dark-theme, k-color(light), k-color(dark))
|
|
79
|
-
) !default;
|
|
80
|
-
|
|
81
74
|
@forward "@progress/kendo-theme-core/scss/components/bottom-navigation/_variables.scss" with (
|
|
75
|
+
$kendo-bottom-nav-default-theme-color: $kendo-bottom-nav-default-theme-color,
|
|
76
|
+
$kendo-bottom-nav-default-fill-mode: $kendo-bottom-nav-default-fill-mode,
|
|
82
77
|
$kendo-bottom-nav-padding-x: $kendo-bottom-nav-padding-x,
|
|
83
78
|
$kendo-bottom-nav-padding-y: $kendo-bottom-nav-padding-y,
|
|
84
79
|
$kendo-bottom-nav-gap: $kendo-bottom-nav-gap,
|
|
@@ -97,6 +92,5 @@ $kendo-bottom-navigation-theme-colors: (
|
|
|
97
92
|
$kendo-bottom-nav-shadow: $kendo-bottom-nav-shadow,
|
|
98
93
|
$kendo-bottom-nav-flat-text: $kendo-bottom-nav-flat-text,
|
|
99
94
|
$kendo-bottom-nav-flat-bg: $kendo-bottom-nav-flat-bg,
|
|
100
|
-
$kendo-bottom-nav-flat-border: $kendo-bottom-nav-flat-border
|
|
101
|
-
$kendo-bottom-navigation-theme-colors: $kendo-bottom-navigation-theme-colors
|
|
95
|
+
$kendo-bottom-nav-flat-border: $kendo-bottom-nav-flat-border
|
|
102
96
|
);
|
|
@@ -2,6 +2,11 @@
|
|
|
2
2
|
@use "../core/_index.scss" as *;
|
|
3
3
|
@use "../icons/_variables.scss" as *;
|
|
4
4
|
|
|
5
|
+
/// The default size of the Breadcrumb.
|
|
6
|
+
/// @group breadcrumb
|
|
7
|
+
/// @role default
|
|
8
|
+
$kendo-breadcrumb-default-size: "md" !default;
|
|
9
|
+
|
|
5
10
|
/// The horizontal margin of the Breadcrumb
|
|
6
11
|
/// @group breadcrumb
|
|
7
12
|
$kendo-breadcrumb-margin-x: var( --kendo-breadcrumb-margin-x, k-spacing(0) ) !default;
|
|
@@ -236,36 +241,8 @@ $kendo-breadcrumb-lg-icon-link-padding-x: var( --kendo-breadcrumb-icon-link-padd
|
|
|
236
241
|
$kendo-breadcrumb-link-icon-spacing: k-spacing(0.5) !default;
|
|
237
242
|
|
|
238
243
|
|
|
239
|
-
/// The sizes map for the Breadcrumb.
|
|
240
|
-
/// @group breadcrumb
|
|
241
|
-
$kendo-breadcrumb-sizes: (
|
|
242
|
-
sm: (
|
|
243
|
-
link-padding-x: $kendo-breadcrumb-sm-link-padding-x,
|
|
244
|
-
link-padding-y: $kendo-breadcrumb-sm-link-padding-y,
|
|
245
|
-
icon-link-padding-x: $kendo-breadcrumb-sm-icon-link-padding-x,
|
|
246
|
-
icon-link-padding-y: $kendo-breadcrumb-sm-icon-link-padding-y,
|
|
247
|
-
font-size: $kendo-breadcrumb-sm-font-size,
|
|
248
|
-
line-height: $kendo-breadcrumb-sm-line-height
|
|
249
|
-
),
|
|
250
|
-
md: (
|
|
251
|
-
link-padding-x: $kendo-breadcrumb-md-link-padding-x,
|
|
252
|
-
link-padding-y: $kendo-breadcrumb-md-link-padding-y,
|
|
253
|
-
icon-link-padding-x: $kendo-breadcrumb-md-icon-link-padding-x,
|
|
254
|
-
icon-link-padding-y: $kendo-breadcrumb-md-icon-link-padding-y,
|
|
255
|
-
font-size: $kendo-breadcrumb-md-font-size,
|
|
256
|
-
line-height: $kendo-breadcrumb-md-line-height
|
|
257
|
-
),
|
|
258
|
-
lg: (
|
|
259
|
-
link-padding-x: $kendo-breadcrumb-lg-link-padding-x,
|
|
260
|
-
link-padding-y: $kendo-breadcrumb-lg-link-padding-y,
|
|
261
|
-
icon-link-padding-x: $kendo-breadcrumb-lg-icon-link-padding-x,
|
|
262
|
-
icon-link-padding-y: $kendo-breadcrumb-lg-icon-link-padding-y,
|
|
263
|
-
font-size: $kendo-breadcrumb-lg-font-size,
|
|
264
|
-
line-height: $kendo-breadcrumb-lg-line-height
|
|
265
|
-
)
|
|
266
|
-
) !default;
|
|
267
|
-
|
|
268
244
|
@forward "@progress/kendo-theme-core/scss/components/breadcrumb/_variables.scss" with (
|
|
245
|
+
$kendo-breadcrumb-default-size: $kendo-breadcrumb-default-size,
|
|
269
246
|
$kendo-breadcrumb-border-width: $kendo-breadcrumb-border-width,
|
|
270
247
|
$kendo-breadcrumb-margin-x: $kendo-breadcrumb-margin-x,
|
|
271
248
|
$kendo-breadcrumb-margin-y: $kendo-breadcrumb-margin-y,
|
|
@@ -322,5 +299,4 @@ $kendo-breadcrumb-sizes: (
|
|
|
322
299
|
$kendo-breadcrumb-current-item-bg: $kendo-breadcrumb-current-item-bg,
|
|
323
300
|
$kendo-breadcrumb-current-item-text: $kendo-breadcrumb-current-item-text,
|
|
324
301
|
$kendo-breadcrumb-current-item-border: $kendo-breadcrumb-current-item-border,
|
|
325
|
-
$kendo-breadcrumb-sizes: $kendo-breadcrumb-sizes
|
|
326
302
|
);
|