@progress/kendo-theme-material 8.0.0-dev.0 → 8.0.0-dev.10

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 (117) hide show
  1. package/dist/all.css +8562 -5336
  2. package/dist/all.scss +5957 -5060
  3. package/dist/meta/sassdoc-data.json +56866 -40648
  4. package/dist/meta/sassdoc-raw-data.json +20708 -12761
  5. package/dist/meta/variables.json +2237 -2129
  6. package/lib/swatches/material-aqua-dark.json +1 -1
  7. package/lib/swatches/material-arctic.json +1 -1
  8. package/lib/swatches/material-burnt-teal.json +1 -1
  9. package/lib/swatches/material-dataviz-v4.json +1 -1
  10. package/lib/swatches/material-eggplant.json +1 -1
  11. package/lib/swatches/material-lime-dark.json +1 -1
  12. package/lib/swatches/material-lime.json +1 -1
  13. package/lib/swatches/material-main-dark.json +1 -1
  14. package/lib/swatches/material-main.json +1 -1
  15. package/lib/swatches/material-nova.json +1 -1
  16. package/lib/swatches/material-pacific-dark.json +1 -1
  17. package/lib/swatches/material-pacific.json +1 -1
  18. package/lib/swatches/material-sky-dark.json +1 -1
  19. package/lib/swatches/material-sky.json +1 -1
  20. package/lib/swatches/material-smoke.json +1 -1
  21. package/package.json +6 -6
  22. package/scss/_variables.scss +0 -124
  23. package/scss/action-buttons/_variables.scss +4 -4
  24. package/scss/action-sheet/_variables.scss +17 -17
  25. package/scss/adaptive/_variables.scss +3 -3
  26. package/scss/appbar/_variables.scss +6 -6
  27. package/scss/avatar/_variables.scss +6 -6
  28. package/scss/badge/_variables.scss +17 -17
  29. package/scss/bottom-navigation/_variables.scss +8 -8
  30. package/scss/breadcrumb/_variables.scss +17 -17
  31. package/scss/button/_layout.scss +9 -0
  32. package/scss/button/_theme.scss +20 -2
  33. package/scss/button/_variables.scss +28 -28
  34. package/scss/calendar/_variables.scss +36 -27
  35. package/scss/captcha/_variables.scss +6 -6
  36. package/scss/card/_variables.scss +17 -17
  37. package/scss/chat/_variables.scss +13 -13
  38. package/scss/checkbox/_variables.scss +10 -10
  39. package/scss/chip/_theme.scss +3 -3
  40. package/scss/chip/_variables.scss +19 -19
  41. package/scss/color-preview/_variables.scss +1 -1
  42. package/scss/coloreditor/_variables.scss +7 -7
  43. package/scss/colorgradient/_variables.scss +10 -10
  44. package/scss/colorpalette/_variables.scss +3 -3
  45. package/scss/core/_index.scss +15 -0
  46. package/scss/core/border-radii/index.import.scss +39 -0
  47. package/scss/core/color-system/_swatch-legacy.scss +1 -1
  48. package/scss/core/color-system/_swatch.scss +1 -1
  49. package/scss/core/spacing/index.import.scss +14 -0
  50. package/scss/core/typography/index.import.scss +120 -0
  51. package/scss/dataviz/_variables.scss +8 -8
  52. package/scss/datetimepicker/_variables.scss +1 -1
  53. package/scss/dock-manager/_variables.scss +8 -8
  54. package/scss/draggable/_variables.scss +3 -3
  55. package/scss/drawer/_variables.scss +9 -8
  56. package/scss/dropdowntree/_variables.scss +2 -2
  57. package/scss/dropzone/_variables.scss +7 -7
  58. package/scss/editor/_layout.scss +2 -2
  59. package/scss/editor/_variables.scss +3 -3
  60. package/scss/expansion-panel/_variables.scss +9 -9
  61. package/scss/fab/_variables.scss +15 -15
  62. package/scss/filemanager/_variables.scss +9 -9
  63. package/scss/forms/_layout.scss +1 -1
  64. package/scss/forms/_variables.scss +17 -17
  65. package/scss/gantt/_variables.scss +152 -7
  66. package/scss/grid/_variables.scss +73 -73
  67. package/scss/imageeditor/_variables.scss +7 -7
  68. package/scss/input/_variables.scss +20 -20
  69. package/scss/list/_variables.scss +24 -24
  70. package/scss/listbox/_variables.scss +3 -3
  71. package/scss/listgroup/_variables.scss +4 -4
  72. package/scss/listview/_variables.scss +8 -8
  73. package/scss/loader/_variables.scss +25 -25
  74. package/scss/map/_variables.scss +8 -8
  75. package/scss/mediaplayer/_variables.scss +5 -5
  76. package/scss/menu/_layout.scss +2 -2
  77. package/scss/menu/_variables.scss +26 -26
  78. package/scss/menu-button/_variables.scss +1 -1
  79. package/scss/messagebox/_variables.scss +3 -3
  80. package/scss/notification/_variables.scss +6 -6
  81. package/scss/orgchart/_variables.scss +11 -11
  82. package/scss/pager/_variables.scss +11 -11
  83. package/scss/panelbar/_variables.scss +8 -8
  84. package/scss/pdf-viewer/_variables.scss +5 -5
  85. package/scss/pivotgrid/_variables.scss +14 -14
  86. package/scss/popup/_variables.scss +4 -4
  87. package/scss/progressbar/_variables.scss +2 -2
  88. package/scss/prompt/_variables.scss +7 -7
  89. package/scss/radio/_variables.scss +9 -9
  90. package/scss/rating/_variables.scss +5 -5
  91. package/scss/scheduler/_layout.scss +4 -4
  92. package/scss/scheduler/_variables.scss +167 -23
  93. package/scss/scrollview/_variables.scss +5 -5
  94. package/scss/signature/_variables.scss +5 -5
  95. package/scss/skeleton/_variables.scss +1 -1
  96. package/scss/slider/_variables.scss +3 -3
  97. package/scss/split-button/_variables.scss +4 -4
  98. package/scss/splitter/_variables.scss +6 -6
  99. package/scss/spreadsheet/_layout.scss +2 -2
  100. package/scss/spreadsheet/_variables.scss +17 -17
  101. package/scss/stepper/_variables.scss +8 -8
  102. package/scss/switch/_variables.scss +1 -1
  103. package/scss/table/_variables.scss +12 -12
  104. package/scss/tabstrip/_variables.scss +79 -37
  105. package/scss/taskboard/_variables.scss +16 -16
  106. package/scss/tilelayout/_variables.scss +2 -2
  107. package/scss/timeline/_variables.scss +8 -8
  108. package/scss/timeselector/_variables.scss +6 -6
  109. package/scss/toolbar/_theme.scss +27 -0
  110. package/scss/toolbar/_variables.scss +11 -11
  111. package/scss/tooltip/_variables.scss +6 -6
  112. package/scss/treelist/_variables.scss +5 -0
  113. package/scss/treeview/_variables.scss +15 -15
  114. package/scss/typography/_variables.scss +296 -55
  115. package/scss/upload/_variables.scss +7 -7
  116. package/scss/window/_variables.scss +6 -6
  117. package/scss/wizard/_variables.scss +7 -7
@@ -19,33 +19,33 @@ $kendo-breadcrumb-padding-y: null !default;
19
19
 
20
20
  /// The font family of the Breadcrumb.
21
21
  /// @group breadcrumb
22
- $kendo-breadcrumb-font-family: $kendo-font-family !default;
22
+ $kendo-breadcrumb-font-family: var( --kendo-font-family, inherit ) !default;
23
23
 
24
24
  /// The font size of the Breadcrumb.
25
25
  /// @group breadcrumb
26
- $kendo-breadcrumb-font-size: $kendo-font-size-md !default;
26
+ $kendo-breadcrumb-font-size: var( --kendo-font-size, inherit ) !default;
27
27
  /// The font size of the small Breadcrumb.
28
28
  /// @group breadcrumb
29
- $kendo-breadcrumb-sm-font-size: $kendo-font-size-md !default;
29
+ $kendo-breadcrumb-sm-font-size: var( --kendo-font-size, inherit ) !default;
30
30
  /// The font size of the medium Breadcrumb.
31
31
  /// @group breadcrumb
32
32
  $kendo-breadcrumb-md-font-size: $kendo-breadcrumb-font-size !default;
33
33
  /// The font size of the large Breadcrumb.
34
34
  /// @group breadcrumb
35
- $kendo-breadcrumb-lg-font-size: $kendo-font-size-md !default;
35
+ $kendo-breadcrumb-lg-font-size: var( --kendo-font-size, inherit ) !default;
36
36
 
37
37
  /// The line-height of the Breadcrumb.
38
38
  /// @group breadcrumb
39
- $kendo-breadcrumb-line-height: $kendo-line-height-md !default;
39
+ $kendo-breadcrumb-line-height: var( --kendo-line-height, normal )!default;
40
40
  /// The line-height of the small Breadcrumb.
41
41
  /// @group breadcrumb
42
- $kendo-breadcrumb-sm-line-height: $kendo-line-height-md !default;
42
+ $kendo-breadcrumb-sm-line-height: var( --kendo-line-height, normal ) !default;
43
43
  /// The line-height of the medium Breadcrumb.
44
44
  /// @group breadcrumb
45
45
  $kendo-breadcrumb-md-line-height: $kendo-breadcrumb-line-height !default;
46
46
  /// The line-height of the height Breadcrumb.
47
47
  /// @group breadcrumb
48
- $kendo-breadcrumb-lg-line-height: $kendo-line-height-md !default;
48
+ $kendo-breadcrumb-lg-line-height: var( --kendo-line-height, normal ) !default;
49
49
 
50
50
  /// The base background of the Breadcrumb.
51
51
  /// @group breadcrumb
@@ -63,46 +63,46 @@ $kendo-breadcrumb-focus-shadow: 0 0 2px 1px rgba( black, .06 ) !default;
63
63
 
64
64
  /// The horizontal padding of the Breadcrumb link.
65
65
  /// @group breadcrumb
66
- $kendo-breadcrumb-link-padding-x: k-map-get( $kendo-spacing, 2.5 ) !default;
66
+ $kendo-breadcrumb-link-padding-x: k-spacing(2.5) !default;
67
67
  /// The horizontal padding of the small Breadcrumb link.
68
68
  /// @group breadcrumb
69
- $kendo-breadcrumb-sm-link-padding-x: k-map-get( $kendo-spacing, 2.5 ) !default;
69
+ $kendo-breadcrumb-sm-link-padding-x: k-spacing(2.5) !default;
70
70
  /// The horizontal padding of the medium Breadcrumb link.
71
71
  /// @group breadcrumb
72
72
  $kendo-breadcrumb-md-link-padding-x: $kendo-breadcrumb-link-padding-x !default;
73
73
  /// The horizontal padding of the large Breadcrumb link.
74
74
  /// @group breadcrumb
75
- $kendo-breadcrumb-lg-link-padding-x: k-map-get( $kendo-spacing, 2.5 ) !default;
75
+ $kendo-breadcrumb-lg-link-padding-x: k-spacing(2.5) !default;
76
76
 
77
77
  /// The vertical padding of the Breadcrumb link.
78
78
  /// @group breadcrumb
79
- $kendo-breadcrumb-link-padding-y: k-map-get( $kendo-spacing, 1 ) !default;
79
+ $kendo-breadcrumb-link-padding-y: k-spacing(1) !default;
80
80
  /// The vertical padding of the small Breadcrumb link.
81
81
  /// @group breadcrumb
82
- $kendo-breadcrumb-sm-link-padding-y: k-map-get( $kendo-spacing, 0.5 ) !default;
82
+ $kendo-breadcrumb-sm-link-padding-y: k-spacing(0.5) !default;
83
83
  /// The vertical padding of the medium Breadcrumb link.
84
84
  /// @group breadcrumb
85
85
  $kendo-breadcrumb-md-link-padding-y: $kendo-breadcrumb-link-padding-y !default;
86
86
  /// The vertical padding of the large Breadcrumb link.
87
87
  /// @group breadcrumb
88
- $kendo-breadcrumb-lg-link-padding-y: k-map-get( $kendo-spacing, 1.5 ) !default;
88
+ $kendo-breadcrumb-lg-link-padding-y: k-spacing(1.5) !default;
89
89
 
90
90
  /// The border-radius of the Breadcrumb link.
91
91
  /// @group breadcrumb
92
- $kendo-breadcrumb-link-border-radius: $kendo-border-radius-md !default;
92
+ $kendo-breadcrumb-link-border-radius: k-border-radius(md) !default;
93
93
 
94
94
  /// The vertical padding of the Breadcrumb link icon.
95
95
  /// @group breadcrumb
96
- $kendo-breadcrumb-icon-link-padding-y: k-map-get( $kendo-spacing, 2.5 ) !default;
96
+ $kendo-breadcrumb-icon-link-padding-y: k-spacing(2.5) !default;
97
97
  /// The vertical padding of the small Breadcrumb link icon.
98
98
  /// @group breadcrumb
99
- $kendo-breadcrumb-sm-icon-link-padding-y: k-map-get( $kendo-spacing, 2 ) !default;
99
+ $kendo-breadcrumb-sm-icon-link-padding-y: k-spacing(2) !default;
100
100
  /// The vertical padding of the medium Breadcrumb link icon.
101
101
  /// @group breadcrumb
102
102
  $kendo-breadcrumb-md-icon-link-padding-y: $kendo-breadcrumb-icon-link-padding-y !default;
103
103
  /// The vertical padding of the large Breadcrumb link icon.
104
104
  /// @group breadcrumb
105
- $kendo-breadcrumb-lg-icon-link-padding-y: k-map-get( $kendo-spacing, 3 ) !default;
105
+ $kendo-breadcrumb-lg-icon-link-padding-y: k-spacing(3) !default;
106
106
 
107
107
  /// The horizontal padding of the Breadcrumb link icon.
108
108
  /// @group breadcrumb
@@ -26,6 +26,15 @@
26
26
  }
27
27
  }
28
28
 
29
+ // Solid button
30
+ .k-button-solid {
31
+ &::before {
32
+ @if($kendo-enable-color-system) {
33
+ display: none;
34
+ }
35
+ }
36
+ }
37
+
29
38
  // Outline button
30
39
  .k-button-outline {
31
40
  background-color: transparent !important; // stylelint-disable-line declaration-no-important
@@ -9,6 +9,9 @@
9
9
  @each $name, $color in $kendo-button-theme-colors {
10
10
  .k-button-solid-#{$name} {
11
11
  @include box-shadow( $kendo-button-shadow );
12
+
13
+ // These 3 lines can be deleted once we
14
+ // stop supporting the old color system.
12
15
  color: if( $name == "base", $kendo-button-text, if($kendo-enable-color-system, k-color( on-#{$name} ), k-contrast-color( $color )) );
13
16
  background-color: if( $name == "base", $kendo-button-bg, if($kendo-enable-color-system, k-color( $name ), $color) );
14
17
  border-color: if( $name == "base", $kendo-button-bg, if($kendo-enable-color-system, k-color( $name ), $color) );
@@ -22,6 +25,8 @@
22
25
  // Focus state
23
26
  &:focus,
24
27
  &.k-focus {
28
+ background-color: if($kendo-enable-color-system, k-color( #{$name}-hover ), null);
29
+ border-color: if($kendo-enable-color-system, k-color( #{$name}-hover ), null);
25
30
  @include box-shadow( $kendo-button-focus-shadow );
26
31
  }
27
32
 
@@ -48,7 +53,14 @@
48
53
  // Outline button
49
54
  @each $name, $color in $kendo-button-theme-colors {
50
55
  .k-button-outline-#{$name} {
51
- color: if( $name == "base", $kendo-button-text, if($kendo-enable-color-system, k-color( #{$name}-on-surface ), $color) );
56
+
57
+ // The "base" case can be deleted once we
58
+ // stop supporting the old color system.
59
+ @if $name == "base" {
60
+ color: if($kendo-enable-color-system, k-color( base-on-surface ), $kendo-button-text)
61
+ } @else {
62
+ color: if($kendo-enable-color-system, k-color( #{$name}-on-surface ), $color)
63
+ }
52
64
 
53
65
  &:hover,
54
66
  &.k-hover,
@@ -57,7 +69,13 @@
57
69
  &:active,
58
70
  &.k-active,
59
71
  &.k-selected {
60
- color: if( $name == "base", $kendo-button-text, if($kendo-enable-color-system, k-color( #{$name}-on-surface ), $color) );
72
+ // The "base" case can be deleted once we
73
+ // stop supporting the old color system.
74
+ @if $name == "base" {
75
+ color: if($kendo-enable-color-system, k-color( base-on-surface ), $kendo-button-text)
76
+ } @else {
77
+ color: if($kendo-enable-color-system, k-color( #{$name}-on-surface ), $color)
78
+ }
61
79
  }
62
80
 
63
81
  // Disabled state
@@ -10,46 +10,46 @@ $kendo-button-border-radius: null !default;
10
10
 
11
11
  /// The horizontal padding of the Button.
12
12
  /// @group button
13
- $kendo-button-padding-x: k-map-get( $kendo-spacing, 4 ) !default;
13
+ $kendo-button-padding-x: k-spacing(4) !default;
14
14
  /// The horizontal padding of the small Button.
15
15
  /// @group button
16
- $kendo-button-sm-padding-x: k-map-get( $kendo-spacing, 4 ) !default;
16
+ $kendo-button-sm-padding-x: k-spacing(4) !default;
17
17
  /// The horizontal padding of the medium Button.
18
18
  /// @group button
19
- $kendo-button-md-padding-x: k-map-get( $kendo-spacing, 4 ) !default;
19
+ $kendo-button-md-padding-x: k-spacing(4) !default;
20
20
  /// The horizontal padding of the large Button.
21
21
  /// @group button
22
- $kendo-button-lg-padding-x: k-map-get( $kendo-spacing, 4 ) !default;
22
+ $kendo-button-lg-padding-x: k-spacing(4) !default;
23
23
 
24
24
  /// The vertical padding of the Button.
25
25
  /// @group button
26
- $kendo-button-padding-y: k-map-get( $kendo-spacing, 2 ) !default;
26
+ $kendo-button-padding-y: k-spacing(2) !default;
27
27
  /// The vertical padding of the small Button.
28
28
  /// @group button
29
- $kendo-button-sm-padding-y: k-map-get( $kendo-spacing, 1.5 ) !default;
29
+ $kendo-button-sm-padding-y: k-spacing(1.5) !default;
30
30
  /// The vertical padding of the medium Button.
31
31
  /// @group button
32
- $kendo-button-md-padding-y: k-map-get( $kendo-spacing, 2 ) !default;
32
+ $kendo-button-md-padding-y: k-spacing(2) !default;
33
33
  /// The vertical padding of the large Button.
34
34
  /// @group button
35
- $kendo-button-lg-padding-y: k-map-get( $kendo-spacing, 2.5 ) !default;
35
+ $kendo-button-lg-padding-y: k-spacing(2.5) !default;
36
36
 
37
37
  /// The font family of the Button.
38
38
  /// @group button
39
- $kendo-button-font-family: $kendo-font-family !default;
39
+ $kendo-button-font-family: var( --kendo-font-size-sm, inherit ) !default;
40
40
 
41
41
  /// The font size of the Button.
42
42
  /// @group button
43
- $kendo-button-font-size: $kendo-font-size-md !default;
43
+ $kendo-button-font-size: var( --kendo-font-size, inherit ) !default;
44
44
  /// The font size of the small Button.
45
45
  /// @group button
46
- $kendo-button-sm-font-size: $kendo-font-size-md !default;
46
+ $kendo-button-sm-font-size: var( --kendo-font-size, inherit ) !default;
47
47
  /// The font size of the medium Button.
48
48
  /// @group button
49
- $kendo-button-md-font-size: $kendo-font-size-md !default;
49
+ $kendo-button-md-font-size: var( --kendo-font-size, inherit ) !default;
50
50
  /// The font size of the large Button.
51
51
  /// @group button
52
- $kendo-button-lg-font-size: $kendo-font-size-md !default;
52
+ $kendo-button-lg-font-size: var( --kendo-font-size, inherit ) !default;
53
53
 
54
54
  /// Line heights used along with the $kendo-font-size variable.
55
55
  /// @group button
@@ -66,17 +66,17 @@ $kendo-button-lg-line-height: k-math-div( 20, 14 ) !default;
66
66
 
67
67
  /// The calculated height of the Button.
68
68
  /// @group button
69
- $kendo-button-calc-size: calc( #{$kendo-button-line-height * 1em} + #{$kendo-button-padding-y * 2} + #{$kendo-button-border-width * 2} ) !default;
70
- $kendo-button-sm-calc-size: calc( #{$kendo-button-sm-line-height * 1em} + #{$kendo-button-sm-padding-y * 2} + #{$kendo-button-border-width * 2} ) !default;
71
- $kendo-button-md-calc-size: calc( #{$kendo-button-md-line-height * 1em} + #{$kendo-button-md-padding-y * 2} + #{$kendo-button-border-width * 2} ) !default;
72
- $kendo-button-lg-calc-size: calc( #{$kendo-button-lg-line-height * 1em} + #{$kendo-button-lg-padding-y * 2} + #{$kendo-button-border-width * 2} ) !default;
69
+ $kendo-button-calc-size: calc( #{$kendo-button-line-height * 1em} + calc( #{$kendo-button-padding-y} * 2 ) + #{$kendo-button-border-width * 2} ) !default;
70
+ $kendo-button-sm-calc-size: calc( #{$kendo-button-sm-line-height * 1em} + calc( #{$kendo-button-sm-padding-y} * 2 ) + #{$kendo-button-border-width * 2} ) !default;
71
+ $kendo-button-md-calc-size: calc( #{$kendo-button-md-line-height * 1em} + calc( #{$kendo-button-md-padding-y} * 2 ) + #{$kendo-button-border-width * 2} ) !default;
72
+ $kendo-button-lg-calc-size: calc( #{$kendo-button-lg-line-height * 1em} + calc( #{$kendo-button-lg-padding-y} * 2 ) + #{$kendo-button-border-width * 2} ) !default;
73
73
 
74
74
  /// The calculated inner height of the Button excluding the border width.
75
75
  /// @group button
76
- $kendo-button-inner-calc-size: calc( #{$kendo-button-line-height * 1em} + #{$kendo-button-padding-y * 2} ) !default;
77
- $kendo-button-sm-inner-calc-size: calc( #{$kendo-button-sm-line-height * 1em} + #{$kendo-button-sm-padding-y * 2} ) !default;
78
- $kendo-button-md-inner-calc-size: calc( #{$kendo-button-md-line-height * 1em} + #{$kendo-button-md-padding-y * 2} ) !default;
79
- $kendo-button-lg-inner-calc-size: calc( #{$kendo-button-lg-line-height * 1em} + #{$kendo-button-lg-padding-y * 2} ) !default;
76
+ $kendo-button-inner-calc-size: calc( #{$kendo-button-line-height * 1em} + calc( #{$kendo-button-padding-y} * 2 ) ) !default;
77
+ $kendo-button-sm-inner-calc-size: calc( #{$kendo-button-sm-line-height * 1em} + calc( #{$kendo-button-sm-padding-y} * 2 ) ) !default;
78
+ $kendo-button-md-inner-calc-size: calc( #{$kendo-button-md-line-height * 1em} + calc( #{$kendo-button-md-padding-y} * 2 ) ) !default;
79
+ $kendo-button-lg-inner-calc-size: calc( #{$kendo-button-lg-line-height * 1em} + calc( #{$kendo-button-lg-padding-y} * 2 ) ) !default;
80
80
 
81
81
  /// The sizes map for the Button.
82
82
  /// @group button
@@ -126,13 +126,13 @@ $kendo-button-shadow: $box-shadow-depth-2 !default;
126
126
 
127
127
  /// The base background of the hovered Button.
128
128
  /// @group button
129
- $kendo-button-hover-bg: null !default;
129
+ $kendo-button-hover-bg: if($kendo-enable-color-system, k-color( base-hover ), null) !default;
130
130
  /// The base text color of the hovered Button.
131
131
  /// @group button
132
132
  $kendo-button-hover-text: null !default;
133
133
  /// The base border color of the hovered Button.
134
134
  /// @group button
135
- $kendo-button-hover-border: null !default;
135
+ $kendo-button-hover-border: if($kendo-enable-color-system, k-color( base-hover ), null) !default;
136
136
  /// The base background gradient of the hovered Button.
137
137
  /// @group button
138
138
  $kendo-button-hover-gradient: null !default;
@@ -142,13 +142,13 @@ $kendo-button-hover-shadow: null !default;
142
142
 
143
143
  /// The base background color of the active Button.
144
144
  /// @group button
145
- $kendo-button-active-bg: null !default;
145
+ $kendo-button-active-bg: if($kendo-enable-color-system, k-color( base-active ), null) !default;
146
146
  /// The base text color of the active Button.
147
147
  /// @group button
148
148
  $kendo-button-active-text: null !default;
149
149
  /// The base border color of the active Button.
150
150
  /// @group button
151
- $kendo-button-active-border: null !default;
151
+ $kendo-button-active-border: if($kendo-enable-color-system, k-color( base-active ), null) !default;
152
152
  /// The base background gradient of the active Button.
153
153
  /// @group button
154
154
  $kendo-button-active-gradient: null !default;
@@ -174,19 +174,19 @@ $kendo-button-selected-shadow: null !default;
174
174
 
175
175
  /// The base background of the focused Button.
176
176
  /// @group button
177
- $kendo-button-focus-bg: null !default;
177
+ $kendo-button-focus-bg: if($kendo-enable-color-system, k-color( base-hover ), null) !default;
178
178
  /// The base text color of the focused Button.
179
179
  /// @group button
180
180
  $kendo-button-focus-text: null !default;
181
181
  /// The base border color of the focused Button.
182
182
  /// @group button
183
- $kendo-button-focus-border: null !default;
183
+ $kendo-button-focus-border: if($kendo-enable-color-system, k-color( base-hover ), null) !default;
184
184
  /// The base background gradient of focused Button.
185
185
  /// @group button
186
186
  $kendo-button-focus-gradient: null !default;
187
187
  /// The base shadow of the focused Button.
188
188
  /// @group button
189
- $kendo-button-focus-shadow: null !default;
189
+ $kendo-button-focus-shadow: $box-shadow-depth-3 !default;
190
190
 
191
191
  /// The base background color of the disabled Button.
192
192
  /// @group button
@@ -3,12 +3,13 @@
3
3
  /// The width of the border around the Calendar.
4
4
  /// @group calendar
5
5
  $kendo-calendar-border-width: 1px !default;
6
+
6
7
  /// The font family of the Calendar.
7
8
  /// @group calendar
8
- $kendo-calendar-font-family: $kendo-font-family !default;
9
+ $kendo-calendar-font-family: var( --kendo-font-family, inherit ) !default;
9
10
  /// The font size of the Calendar.
10
11
  /// @group calendar
11
- $kendo-calendar-font-size: $kendo-font-size-md !default;
12
+ $kendo-calendar-font-size: var( --kendo-font-size, inherit ) !default;
12
13
  /// The line height of the Calendar.
13
14
  /// @group calendar
14
15
  $kendo-calendar-line-height: k-math-div( 20, 14 ) !default;
@@ -29,10 +30,10 @@ $kendo-calendar-border: $kendo-component-border !default;
29
30
 
30
31
  /// The horizontal padding of the header in the Calendar.
31
32
  /// @group calendar
32
- $kendo-calendar-header-padding-x: k-map-get( $kendo-spacing, 1 ) !default;
33
+ $kendo-calendar-header-padding-x: k-spacing(1) !default;
33
34
  /// The vertical padding of the header in the Calendar.
34
35
  /// @group calendar
35
- $kendo-calendar-header-padding-y: k-map-get( $kendo-spacing, 1 ) !default;
36
+ $kendo-calendar-header-padding-y: k-spacing(1) !default;
36
37
  /// The height of the header in the Calendar.
37
38
  /// @group calendar
38
39
  $kendo-calendar-header-border-width: 0px !default;
@@ -59,9 +60,10 @@ $kendo-calendar-nav-gap: null !default;
59
60
 
60
61
  /// The horizontal padding of the footer in the Calendar.
61
62
  /// @group calendar
62
- $kendo-calendar-footer-padding-x: k-map-get( $kendo-spacing, 4 ) !default;
63
+ $kendo-calendar-footer-padding-x: k-spacing(4) !default;
63
64
  /// The vertical padding of the footer in the Calendar.
64
- $kendo-calendar-footer-padding-y: k-map-get( $kendo-spacing, 2 ) !default;
65
+ /// @group calendar
66
+ $kendo-calendar-footer-padding-y: k-spacing(2) !default;
65
67
 
66
68
  /// The horizontal padding of the cells in the Calendar.
67
69
  /// @group calendar
@@ -79,7 +81,7 @@ $kendo-calendar-cell-line-height: $kendo-calendar-line-height !default;
79
81
  $kendo-calendar-cell-border-radius: 100px !default;
80
82
 
81
83
  /// The horizontal padding of the header cells in the Calendar.
82
- /// @group calenda
84
+ /// @group calendar
83
85
  $kendo-calendar-header-cell-padding-x: null !default;
84
86
  /// The vertical padding of the header cells in the Calendar.
85
87
  /// @group calendar
@@ -92,7 +94,7 @@ $kendo-calendar-header-cell-width: $kendo-calendar-cell-size !default;
92
94
  $kendo-calendar-header-cell-height: $kendo-calendar-cell-size !default;
93
95
  /// The font size of the header cells in the Calendar.
94
96
  /// @group calendar
95
- $kendo-calendar-header-cell-font-size: $kendo-font-size-sm !default;
97
+ $kendo-calendar-header-cell-font-size: var( --kendo-font-size-sm, inherit )!default;
96
98
  /// The line height of the header cells in the Calendar.
97
99
  /// @group calendar
98
100
  $kendo-calendar-header-cell-line-height: 2 !default;
@@ -110,10 +112,11 @@ $kendo-calendar-header-cell-opacity: null !default;
110
112
 
111
113
  /// The horizontal padding of the caption in the Calendar.
112
114
  /// @group calendar
113
- $kendo-calendar-caption-padding-x: k-map-get( $kendo-spacing, 4 ) !default;
115
+ $kendo-calendar-caption-padding-x: k-spacing(4) !default;
114
116
  /// The vertical padding of the caption in the Calendar.
115
117
  /// @group calendar
116
- $kendo-calendar-caption-padding-y: k-map-get( $kendo-spacing, 1 ) !default;
118
+ $kendo-calendar-caption-padding-y: k-spacing(1) !default;
119
+
117
120
  /// The height of the caption in the Calendar.
118
121
  /// @group calendar
119
122
  $kendo-calendar-caption-height: $kendo-calendar-cell-size !default;
@@ -140,7 +143,7 @@ $kendo-calendar-view-height: ($kendo-calendar-cell-size * 7) !default;
140
143
 
141
144
  /// The gap between the items in the Calendar view.
142
145
  /// @group calendar
143
- $kendo-calendar-view-gap: k-map-get( $kendo-spacing, 4 ) !default;
146
+ $kendo-calendar-view-gap: k-spacing(4) !default;
144
147
 
145
148
  /// The background color of the weekend cells in the Calendar.
146
149
  /// @group calendar
@@ -249,19 +252,20 @@ $kendo-calendar-navigation-border: $kendo-calendar-border !default;
249
252
  /// The background color of the hovered items in the Calendar navigation.
250
253
  $kendo-calendar-navigation-hover-text: $kendo-link-hover-text !default;
251
254
 
255
+
252
256
  /// The horizontal padding of the header in the Infinite Calendar.
253
257
  /// @group calendar
254
- $kendo-infinite-calendar-header-padding-x: k-map-get( $kendo-spacing, 4 ) !default;
258
+ $kendo-infinite-calendar-header-padding-x: k-spacing(4) !default;
255
259
  /// The vertical padding of the header in the Infinite Calendar.
256
260
  /// @group calendar
257
- $kendo-infinite-calendar-header-padding-y: k-map-get( $kendo-spacing, 2 ) !default;
261
+ $kendo-infinite-calendar-header-padding-y: k-spacing(2) !default;
258
262
 
259
263
  /// The horizontal padding of the Calendar view in the Infinite Calendar.
260
264
  /// @group calendar
261
- $kendo-infinite-calendar-view-padding-x: k-map-get( $kendo-spacing, 4 ) !default;
265
+ $kendo-infinite-calendar-view-padding-x: k-spacing(4) !default;
262
266
  /// The vertical padding of the Calendar view in the Infinite Calendar.
263
267
  /// @group calendar
264
- $kendo-infinite-calendar-view-padding-y: 0px !default;
268
+ $kendo-infinite-calendar-view-padding-y: k-spacing(0) !default;
265
269
 
266
270
  /// The height of the Calendar view in the Infinite Calendar.
267
271
  /// @group calendar
@@ -270,54 +274,59 @@ $kendo-infinite-calendar-view-height: ( $kendo-calendar-cell-size * 9 ) !default
270
274
 
271
275
  // Multiview calendar
272
276
 
277
+ /// The border radius of the range cells in the Multiview Calendar.
278
+ /// @group calendar
279
+ $kendo-calendar-range-cell-border-radius: k-border-radius(full) !default;
280
+
281
+ // Calendar sizes
273
282
 
274
283
  /// The font size of the small Calendar.
275
284
  /// @group calendar
276
- $kendo-calendar-sm-font-size: $kendo-font-size-md !default;
285
+ $kendo-calendar-sm-font-size: var( --kendo-font-size, inherit ) !default;
277
286
  /// The line height of the small Calendar.
278
287
  /// @group calendar
279
- $kendo-calendar-sm-line-height: $kendo-line-height-md !default;
288
+ $kendo-calendar-sm-line-height: var( --kendo-line-height, normal ) !default;
280
289
  /// The size of the cells in the small Calendar.
281
290
  /// @group calendar
282
291
  $kendo-calendar-sm-cell-size: 32px !default;
283
292
  /// The horizontal padding of the cells in the small Calendar.
284
293
  /// @group calendar
285
- $kendo-calendar-sm-cell-padding-x: .125rem !default;
294
+ $kendo-calendar-sm-cell-padding-x: k-spacing(0.5) !default;
286
295
  /// The vertical padding of the cells in the small Calendar.
287
296
  /// @group calendar
288
- $kendo-calendar-sm-cell-padding-y: .125rem !default;
297
+ $kendo-calendar-sm-cell-padding-y: k-spacing(0.5) !default;
289
298
 
290
299
  /// The font size of the medium Calendar.
291
300
  /// @group calendar
292
- $kendo-calendar-md-font-size: $kendo-font-size-md !default;
301
+ $kendo-calendar-md-font-size: var( --kendo-font-size, inherit ) !default;
293
302
  /// The line height of the medium Calendar.
294
303
  /// @group calendar
295
- $kendo-calendar-md-line-height: $kendo-line-height-md !default;
304
+ $kendo-calendar-md-line-height: var( --kendo-line-height, normal ) !default;
296
305
  /// The size of the cells in the medium Calendar.
297
306
  /// @group calendar
298
307
  $kendo-calendar-md-cell-size: 36px !default;
299
308
  /// The horizontal padding of the cells in the medium Calendar.
300
309
  /// @group calendar
301
- $kendo-calendar-md-cell-padding-x: k-map-get( $kendo-spacing, 1 ) !default;
310
+ $kendo-calendar-md-cell-padding-x: k-spacing(1) !default;
302
311
  /// The vertical padding of the cells in the medium Calendar.
303
312
  /// @group calendar
304
- $kendo-calendar-md-cell-padding-y: k-map-get( $kendo-spacing, 1 ) !default;
313
+ $kendo-calendar-md-cell-padding-y: k-spacing(1) !default;
305
314
 
306
315
  /// The font size of the large Calendar.
307
316
  /// @group calendar
308
- $kendo-calendar-lg-font-size: $kendo-font-size-lg !default;
317
+ $kendo-calendar-lg-font-size: var( --kendo-font-size-lg, inherit ) !default;
309
318
  /// The line height of the large Calendar.
310
319
  /// @group calendar
311
- $kendo-calendar-lg-line-height: $kendo-line-height-lg !default;
320
+ $kendo-calendar-lg-line-height: var( --kendo-line-height-lg, normal ) !default;
312
321
  /// The size of the cells in the large Calendar.
313
322
  /// @group calendar
314
323
  $kendo-calendar-lg-cell-size: 40px !default;
315
324
  /// The horizontal padding of the cells in the large Calendar.
316
325
  /// @group calendar
317
- $kendo-calendar-lg-cell-padding-x: k-map-get( $kendo-spacing, 1 ) !default;
326
+ $kendo-calendar-lg-cell-padding-x: k-spacing(1) !default;
318
327
  /// The vertical padding of the cells in the large Calendar.
319
328
  /// @group calendar
320
- $kendo-calendar-lg-cell-padding-y: k-map-get( $kendo-spacing, 1 ) !default;
329
+ $kendo-calendar-lg-cell-padding-y: k-spacing(1) !default;
321
330
 
322
331
  /// The sizes Map of the Calendar.
323
332
  /// @group calendar
@@ -2,20 +2,20 @@
2
2
 
3
3
  /// The spacer of the Captcha.
4
4
  /// @group captcha
5
- $kendo-captcha-spacer: k-map-get( $kendo-spacing, 2 ) !default;
5
+ $kendo-captcha-spacer: k-spacing(2) !default;
6
6
 
7
7
  /// The width of the Captcha.
8
8
  /// @group captcha
9
9
  $kendo-captcha-width: 335px !default;
10
10
  /// The font family of the Captcha.
11
11
  /// @group captcha
12
- $kendo-captcha-font-family: $kendo-font-family !default;
12
+ $kendo-captcha-font-family: var( --kendo-font-family, inherit ) !default;
13
13
  /// The font size of the Captcha.
14
14
  /// @group captcha
15
- $kendo-captcha-font-size: $kendo-font-size-md !default;
15
+ $kendo-captcha-font-size: var( --kendo-font-size, inherit ) !default;
16
16
  /// The line height of the Captcha.
17
17
  /// @group captcha
18
- $kendo-captcha-line-height: $kendo-line-height-md !default;
18
+ $kendo-captcha-line-height: var( --kendo-line-height, normal ) !default;
19
19
  /// The gap of the Captcha.
20
20
  /// @group captcha
21
21
  $kendo-captcha-gap: $kendo-captcha-spacer !default;
@@ -38,10 +38,10 @@ $kendo-captcha-image-controls-gap: $kendo-captcha-spacer !default;
38
38
 
39
39
  /// The top margin of the Captcha validation message.
40
40
  /// @group captcha
41
- $kendo-captcha-validation-message-margin-top: k-math-div( $kendo-captcha-spacer, 2 ) !default;
41
+ $kendo-captcha-validation-message-margin-top: calc( #{$kendo-captcha-spacer} / 2 ) !default;
42
42
  /// The font size of the Captcha validation message.
43
43
  /// @group captcha
44
- $kendo-captcha-validation-message-font-size: $kendo-font-size-sm !default;
44
+ $kendo-captcha-validation-message-font-size: var( --kendo-font-size-sm, inherit ) !default;
45
45
  /// The font style of the Captcha validation message.
46
46
  /// @group captcha
47
47
  $kendo-captcha-validation-message-font-style: italic !default;
@@ -4,32 +4,32 @@
4
4
 
5
5
  /// The horizontal padding of the Card.
6
6
  /// @group card
7
- $kendo-card-padding-x: k-map-get( $kendo-spacing, 4 ) !default;
7
+ $kendo-card-padding-x: k-spacing(4) !default;
8
8
  /// The vertical padding of the Card.
9
9
  /// @group card
10
- $kendo-card-padding-y: k-map-get( $kendo-spacing, 3 ) !default;
10
+ $kendo-card-padding-y: k-spacing(3) !default;
11
11
  /// The width of the border around the Card.
12
12
  /// @group card
13
13
  $kendo-card-border-width: 0px !default;
14
14
  /// The border radius of the Card.
15
15
  /// @group card
16
- $kendo-card-border-radius: $kendo-border-radius-md !default;
16
+ $kendo-card-border-radius: k-border-radius(md) !default;
17
17
  /// The inner border radius of the Card.
18
18
  /// @group card
19
19
  $kendo-card-inner-border-radius: calc( #{$kendo-card-border-radius} - #{$kendo-card-border-width} ) !default;
20
20
  /// The font family of the Card.
21
21
  /// @group card
22
- $kendo-card-font-family: $kendo-font-family !default;
22
+ $kendo-card-font-family: var( --kendo-font-family, inherit ) !default;
23
23
  /// The font size of the Card.
24
24
  /// @group card
25
- $kendo-card-font-size: $kendo-font-size-md !default;
25
+ $kendo-card-font-size: var( --kendo-font-size, inherit ) !default;
26
26
  /// The line height of the Card.
27
27
  /// @group card
28
28
  $kendo-card-line-height: k-math-div( 20, 14 ) !default;
29
29
 
30
30
  /// The spacing between the Cards in the Card deck.
31
31
  /// @group card
32
- $kendo-card-deck-gap: k-map-get( $kendo-spacing, 4 ) !default;
32
+ $kendo-card-deck-gap: k-spacing(4) !default;
33
33
 
34
34
  /// The background color of the Card.
35
35
  /// @group card
@@ -80,10 +80,10 @@ $kendo-card-header-border: $kendo-card-border !default;
80
80
 
81
81
  /// The horizontal padding of the Card body.
82
82
  /// @group card
83
- $kendo-card-body-padding-x: k-map-get( $kendo-spacing, 4 ) !default;
83
+ $kendo-card-body-padding-x: k-spacing(4) !default;
84
84
  /// The vertical padding of the Card body.
85
85
  /// @group card
86
- $kendo-card-body-padding-y: k-map-get( $kendo-spacing, 4 ) !default;
86
+ $kendo-card-body-padding-y: k-spacing(4) !default;
87
87
 
88
88
  /// The horizontal padding of the Card footer.
89
89
  /// @group card
@@ -106,13 +106,13 @@ $kendo-card-footer-border: $kendo-card-border !default;
106
106
 
107
107
  /// The bottom margin of the Card title.
108
108
  /// @group card
109
- $kendo-card-title-margin-bottom: 12px !default;
109
+ $kendo-card-title-margin-bottom: k-spacing(3) !default;
110
110
  /// The font size of the Card title.
111
111
  /// @group card
112
112
  $kendo-card-title-font-size: $kendo-h5-font-size !default;
113
113
  /// The font family of the Card title.
114
114
  /// @group card
115
- $kendo-card-title-font-family: $kendo-font-family !default;
115
+ $kendo-card-title-font-family: var( --kendo-font-family, inherit ) !default;
116
116
  /// The line height of the Card title.
117
117
  /// @group card
118
118
  $kendo-card-title-line-height: 1.25 !default;
@@ -125,13 +125,13 @@ $kendo-card-title-letter-spacing: null !default;
125
125
 
126
126
  /// The bottom margin of the Card subtitle.
127
127
  /// @group card
128
- $kendo-card-subtitle-margin-bottom: 12px !default;
128
+ $kendo-card-subtitle-margin-bottom: k-spacing(3) !default;
129
129
  /// The font size of the Card subtitle.
130
130
  /// @group card
131
- $kendo-card-subtitle-font-size: $kendo-font-size-md !default;
131
+ $kendo-card-subtitle-font-size: var( --kendo-font-size, inherit ) !default;
132
132
  /// The font family of the Card subtitle.
133
133
  /// @group card
134
- $kendo-card-subtitle-font-family: $kendo-font-family !default;
134
+ $kendo-card-subtitle-font-family: var( --kendo-font-family, inherit ) !default;
135
135
  /// The line height of the Card subtitle.
136
136
  /// @group card
137
137
  $kendo-card-subtitle-line-height: k-math-div( 20, 14 ) !default;
@@ -157,23 +157,23 @@ $kendo-card-avatar-spacing: $kendo-card-header-padding-x !default;
157
157
 
158
158
  /// The horizontal padding of the Card actions.
159
159
  /// @group card
160
- $kendo-card-actions-padding-x: k-map-get( $kendo-spacing, 2 ) !default;
160
+ $kendo-card-actions-padding-x: k-spacing(2) !default;
161
161
  /// The vertical padding of the Card actions.
162
162
  /// @group card
163
- $kendo-card-actions-padding-y: k-map-get( $kendo-spacing, 2 ) !default;
163
+ $kendo-card-actions-padding-y: k-spacing(2) !default;
164
164
  /// The top border width of the Card actions.
165
165
  /// @group card
166
166
  $kendo-card-actions-border-width: 1px !default;
167
167
  /// The spacing between the Card actions.
168
168
  /// @group card
169
- $kendo-card-actions-gap: k-map-get( $kendo-spacing, 2 ) !default;
169
+ $kendo-card-actions-gap: k-spacing(2) !default;
170
170
 
171
171
  /// The border radius of the scroll button in the Card deck.
172
172
  /// @group card
173
173
  $kendo-card-deck-scroll-button-radius: 50% !default;
174
174
  /// The border radius of the scroll button in the Card deck.
175
175
  /// @group card
176
- $kendo-card-deck-scroll-button-offset: k-math-div( $kendo-card-deck-gap, 2 ) !default;
176
+ $kendo-card-deck-scroll-button-offset: calc( #{$kendo-card-deck-gap} / 2 ) !default;
177
177
 
178
178
  /// The width of the Card callout.
179
179
  /// @group card