@progress/kendo-theme-classic 8.0.0-dev.0 → 8.0.0-dev.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 (103) hide show
  1. package/dist/all.css +6722 -6997
  2. package/dist/all.scss +5332 -5004
  3. package/dist/meta/sassdoc-data.json +30254 -27554
  4. package/dist/meta/sassdoc-raw-data.json +3037 -1787
  5. package/dist/meta/variables.json +2232 -2128
  6. package/lib/swatches/classic-green-dark.json +1 -1
  7. package/lib/swatches/classic-green.json +1 -1
  8. package/lib/swatches/classic-lavender-dark.json +1 -1
  9. package/lib/swatches/classic-lavender.json +1 -1
  10. package/lib/swatches/classic-main-dark.json +1 -1
  11. package/lib/swatches/classic-main.json +1 -1
  12. package/lib/swatches/classic-metro-dark.json +1 -1
  13. package/lib/swatches/classic-metro.json +1 -1
  14. package/lib/swatches/classic-moonlight.json +1 -1
  15. package/lib/swatches/classic-opal-dark.json +1 -1
  16. package/lib/swatches/classic-opal.json +1 -1
  17. package/lib/swatches/classic-silver-dark.json +1 -1
  18. package/lib/swatches/classic-silver.json +1 -1
  19. package/lib/swatches/classic-uniform.json +1 -1
  20. package/package.json +5 -5
  21. package/scss/_variables.scss +0 -122
  22. package/scss/action-buttons/_variables.scss +4 -4
  23. package/scss/action-sheet/_variables.scss +17 -17
  24. package/scss/adaptive/_variables.scss +3 -3
  25. package/scss/appbar/_variables.scss +6 -6
  26. package/scss/avatar/_variables.scss +6 -6
  27. package/scss/badge/_variables.scss +17 -17
  28. package/scss/bottom-navigation/_variables.scss +9 -9
  29. package/scss/breadcrumb/_variables.scss +17 -17
  30. package/scss/button/_variables.scss +25 -25
  31. package/scss/calendar/_variables.scss +36 -60
  32. package/scss/captcha/_variables.scss +6 -6
  33. package/scss/card/_variables.scss +18 -18
  34. package/scss/chat/_variables.scss +13 -13
  35. package/scss/checkbox/_variables.scss +9 -9
  36. package/scss/chip/_variables.scss +18 -18
  37. package/scss/color-preview/_variables.scss +1 -1
  38. package/scss/coloreditor/_variables.scss +7 -7
  39. package/scss/colorgradient/_variables.scss +10 -10
  40. package/scss/colorpalette/_variables.scss +3 -3
  41. package/scss/core/_index.scss +12 -0
  42. package/scss/core/border-radii/index.import.scss +1 -0
  43. package/scss/core/spacing/index.import.scss +14 -0
  44. package/scss/core/typography/index.import.scss +1 -0
  45. package/scss/dataviz/_variables.scss +8 -8
  46. package/scss/datetimepicker/_variables.scss +1 -1
  47. package/scss/dock-manager/_variables.scss +10 -10
  48. package/scss/draggable/_variables.scss +4 -4
  49. package/scss/drawer/_variables.scss +7 -15
  50. package/scss/dropdowntree/_variables.scss +2 -2
  51. package/scss/dropzone/_variables.scss +8 -8
  52. package/scss/editor/_variables.scss +3 -3
  53. package/scss/expansion-panel/_variables.scss +9 -9
  54. package/scss/fab/_variables.scss +18 -18
  55. package/scss/filemanager/_variables.scss +9 -9
  56. package/scss/filter/_variables.scss +2 -2
  57. package/scss/forms/_variables.scss +14 -14
  58. package/scss/gantt/_variables.scss +152 -7
  59. package/scss/grid/_variables.scss +64 -64
  60. package/scss/imageeditor/_variables.scss +7 -7
  61. package/scss/input/_variables.scss +18 -18
  62. package/scss/list/_variables.scss +27 -27
  63. package/scss/listbox/_variables.scss +5 -5
  64. package/scss/listgroup/_variables.scss +5 -5
  65. package/scss/listview/_variables.scss +8 -8
  66. package/scss/loader/_variables.scss +25 -25
  67. package/scss/map/_variables.scss +8 -8
  68. package/scss/mediaplayer/_variables.scss +5 -5
  69. package/scss/menu/_variables.scss +29 -29
  70. package/scss/messagebox/_variables.scss +3 -3
  71. package/scss/notification/_variables.scss +7 -7
  72. package/scss/orgchart/_variables.scss +11 -11
  73. package/scss/pager/_variables.scss +11 -11
  74. package/scss/panelbar/_variables.scss +9 -9
  75. package/scss/pdf-viewer/_variables.scss +6 -6
  76. package/scss/pivotgrid/_variables.scss +15 -15
  77. package/scss/popup/_variables.scss +4 -4
  78. package/scss/progressbar/_variables.scss +2 -2
  79. package/scss/prompt/_variables.scss +7 -7
  80. package/scss/radio/_variables.scss +9 -9
  81. package/scss/rating/_variables.scss +3 -3
  82. package/scss/scheduler/_variables.scss +18 -18
  83. package/scss/scrollview/_variables.scss +5 -5
  84. package/scss/signature/_variables.scss +4 -4
  85. package/scss/skeleton/_variables.scss +1 -1
  86. package/scss/slider/_variables.scss +3 -3
  87. package/scss/splitter/_variables.scss +6 -6
  88. package/scss/spreadsheet/_variables.scss +17 -17
  89. package/scss/stepper/_variables.scss +9 -9
  90. package/scss/table/_variables.scss +12 -12
  91. package/scss/tabstrip/_variables.scss +11 -11
  92. package/scss/taskboard/_variables.scss +15 -15
  93. package/scss/tilelayout/_variables.scss +2 -2
  94. package/scss/timeline/_variables.scss +10 -10
  95. package/scss/timeselector/_variables.scss +6 -6
  96. package/scss/toolbar/_variables.scss +12 -12
  97. package/scss/tooltip/_variables.scss +4 -4
  98. package/scss/treelist/_variables.scss +5 -0
  99. package/scss/treeview/_variables.scss +20 -20
  100. package/scss/typography/_variables.scss +136 -53
  101. package/scss/upload/_variables.scss +8 -8
  102. package/scss/window/_variables.scss +9 -9
  103. package/scss/wizard/_variables.scss +7 -7
@@ -9,23 +9,23 @@ $kendo-checkbox-border-width: 1px !default;
9
9
 
10
10
  /// The size of a small CheckBox.
11
11
  /// @group checkbox
12
- $kendo-checkbox-sm-size: k-map-get( $kendo-spacing, 3 ) !default;
12
+ $kendo-checkbox-sm-size: k-spacing(3) !default;
13
13
  /// The size of a medium CheckBox.
14
14
  /// @group checkbox
15
- $kendo-checkbox-md-size: k-map-get( $kendo-spacing, 4 ) !default;
15
+ $kendo-checkbox-md-size: k-spacing(4) !default;
16
16
  /// The size of a large CheckBox.
17
17
  /// @group checkbox
18
- $kendo-checkbox-lg-size: k-map-get( $kendo-spacing, 5 ) !default;
18
+ $kendo-checkbox-lg-size: k-spacing(5) !default;
19
19
 
20
20
  /// The glyph size of a small CheckBox.
21
21
  /// @group checkbox
22
- $kendo-checkbox-sm-glyph-size: k-map-get( $kendo-spacing, 2.5 ) !default;
22
+ $kendo-checkbox-sm-glyph-size: k-spacing(2.5) !default;
23
23
  /// The glyph size of a medium CheckBox.
24
24
  /// @group checkbox
25
- $kendo-checkbox-md-glyph-size: k-map-get( $kendo-spacing, 3.5 ) !default;
25
+ $kendo-checkbox-md-glyph-size: k-spacing(3.5) !default;
26
26
  /// The glyph size of a large CheckBox.
27
27
  /// @group checkbox
28
- $kendo-checkbox-lg-glyph-size: k-map-get( $kendo-spacing, 4.5 ) !default;
28
+ $kendo-checkbox-lg-glyph-size: k-spacing(4.5) !default;
29
29
 
30
30
  /// The ripple size of a small CheckBox.
31
31
  /// @group checkbox
@@ -168,17 +168,17 @@ $kendo-checkbox-indeterminate-image: k-escape-svg( url("data:image/svg+xml,<svg
168
168
 
169
169
  /// The horizontal margin of the CheckBox inside a label.
170
170
  /// @group checkbox
171
- $kendo-checkbox-label-margin-x: k-map-get( $kendo-spacing, 1 ) !default;
171
+ $kendo-checkbox-label-margin-x: k-spacing(1) !default;
172
172
 
173
173
 
174
174
  // CheckBox list
175
175
 
176
176
  /// The spacing between the items in a horizontal CheckBox list.
177
177
  /// @group checkbox
178
- $kendo-checkbox-list-spacing: k-map-get( $kendo-spacing, 4 ) !default;
178
+ $kendo-checkbox-list-spacing: k-spacing(4) !default;
179
179
  /// The horizontal padding of the CheckBox list items.
180
180
  /// @group checkbox
181
- $kendo-checkbox-list-item-padding-x: 0px !default;
181
+ $kendo-checkbox-list-item-padding-x: k-spacing(0) !default;
182
182
  /// The vertical padding of the CheckBox list items.
183
183
  /// @group checkbox
184
184
  $kendo-checkbox-list-item-padding-y: $kendo-list-md-item-padding-y !default;
@@ -8,46 +8,46 @@
8
8
  $kendo-chip-border-width: 1px !default;
9
9
  /// The spacing between the text and the icons of the Chip.
10
10
  /// @group chip
11
- $kendo-chip-spacing: k-map-get( $kendo-spacing, 1 ) !default;
11
+ $kendo-chip-spacing: k-spacing(1) !default;
12
12
 
13
13
  /// The horizontal padding of the Chip.
14
14
  /// @group chip
15
- $kendo-chip-padding-x: k-map-get( $kendo-spacing, 1 ) !default;
15
+ $kendo-chip-padding-x: k-spacing(1) !default;
16
16
  /// The horizontal padding of the small Chip.
17
17
  /// @group chip
18
- $kendo-chip-sm-padding-x: k-map-get( $kendo-spacing, 1 ) !default;
18
+ $kendo-chip-sm-padding-x: k-spacing(1) !default;
19
19
  /// The horizontal padding of the medium Chip.
20
20
  /// @group chip
21
- $kendo-chip-md-padding-x: k-map-get( $kendo-spacing, 1 ) !default;
21
+ $kendo-chip-md-padding-x: k-spacing(1) !default;
22
22
  /// The horizontal padding of the large Chip.
23
23
  /// @group chip
24
- $kendo-chip-lg-padding-x: k-map-get( $kendo-spacing, 1 ) !default;
24
+ $kendo-chip-lg-padding-x: k-spacing(1) !default;
25
25
 
26
26
  /// The vertical padding of the Chip.
27
27
  /// @group chip
28
- $kendo-chip-padding-y: k-map-get( $kendo-spacing, 1 ) !default;
28
+ $kendo-chip-padding-y: k-spacing(1) !default;
29
29
  /// The vertical padding of the small Chip.
30
30
  /// @group chip
31
- $kendo-chip-sm-padding-y: k-map-get( $kendo-spacing, 0.5 ) !default;
31
+ $kendo-chip-sm-padding-y: k-spacing(0.5) !default;
32
32
  /// The vertical padding of the medium Chip.
33
33
  /// @group chip
34
- $kendo-chip-md-padding-y: k-map-get( $kendo-spacing, 1 ) !default;
34
+ $kendo-chip-md-padding-y: k-spacing(1) !default;
35
35
  /// The vertical padding of the large Chip.
36
36
  /// @group chip
37
- $kendo-chip-lg-padding-y: k-map-get( $kendo-spacing, 1.5 ) !default;
37
+ $kendo-chip-lg-padding-y: k-spacing(1.5) !default;
38
38
 
39
39
  /// The font size of the Chip.
40
40
  /// @group chip
41
- $kendo-chip-font-size: $kendo-font-size-md !default;
41
+ $kendo-chip-font-size: var( --kendo-font-size, inherit ) !default;
42
42
  /// The font size of the small Chip.
43
43
  /// @group chip
44
- $kendo-chip-sm-font-size: $kendo-font-size-md !default;
44
+ $kendo-chip-sm-font-size: var( --kendo-font-size, inherit ) !default;
45
45
  /// The font size of the medium Chip.
46
46
  /// @group chip
47
- $kendo-chip-md-font-size: $kendo-font-size-md !default;
47
+ $kendo-chip-md-font-size: var( --kendo-font-size, inherit ) !default;
48
48
  /// The font size of the large Chip.
49
49
  /// @group chip
50
- $kendo-chip-lg-font-size: $kendo-font-size-md !default;
50
+ $kendo-chip-lg-font-size: var( --kendo-font-size, inherit ) !default;
51
51
 
52
52
  /// The Chip's line height that is related to the $kendo-font-size.
53
53
  /// @group chip
@@ -64,8 +64,8 @@ $kendo-chip-lg-line-height: $kendo-chip-line-height !default;
64
64
 
65
65
  /// The calculated height of the Chip.
66
66
  /// @group chip
67
- $kendo-chip-calc-size: calc( #{$kendo-chip-line-height * 1em} + #{$kendo-chip-padding-y * 2} + #{$kendo-chip-border-width * 2} ) !default;
68
- $kendo-chip-sm-calc-size: calc( #{$kendo-chip-sm-line-height * 1em} + #{$kendo-chip-sm-padding-y * 2} + #{$kendo-chip-border-width * 2} ) !default;
67
+ $kendo-chip-calc-size: calc( #{$kendo-chip-line-height * 1em} + calc( #{$kendo-chip-padding-y} * 2 ) + #{$kendo-chip-border-width * 2} ) !default;
68
+ $kendo-chip-sm-calc-size: calc( #{$kendo-chip-sm-line-height * 1em} + calc( #{$kendo-chip-sm-padding-y} * 2 ) + #{$kendo-chip-border-width * 2} ) !default;
69
69
 
70
70
  /// The map with the sizes of the Chip.
71
71
  /// @group chip
@@ -173,7 +173,7 @@ $kendo-chip-outline-selected-text: $kendo-chip-outline-hover-text !default;
173
173
  /// The sizes of the Chip list.
174
174
  /// @group chip
175
175
  $kendo-chip-list-sizes: (
176
- sm: k-map-get( $kendo-spacing, 1 ),
177
- md: k-map-get( $kendo-spacing, 1 ),
178
- lg: k-map-get( $kendo-spacing, 1 )
176
+ sm: k-spacing(1),
177
+ md: k-spacing(1),
178
+ lg: k-spacing(1)
179
179
  ) !default;
@@ -1,5 +1,5 @@
1
1
  // Color Preview
2
- $kendo-color-preview-border-radius: $kendo-border-radius-md !default;
2
+ $kendo-color-preview-border-radius: k-border-radius(md) !default;
3
3
  $kendo-color-preview-border-width: 1px !default;
4
4
  $kendo-color-preview-bg: null !default;
5
5
  $kendo-color-preview-text: null !default;
@@ -2,7 +2,7 @@
2
2
 
3
3
  /// The spacer of the ColorEditor.
4
4
  /// @group coloreditor
5
- $kendo-color-editor-spacer: k-map-get( $kendo-spacing, 3 ) !default;
5
+ $kendo-color-editor-spacer: k-spacing(3) !default;
6
6
 
7
7
  /// The minimum width of the ColorEditor.
8
8
  /// @group coloreditor
@@ -12,16 +12,16 @@ $kendo-color-editor-min-width: 272px !default;
12
12
  $kendo-color-editor-border-width: 1px !default;
13
13
  /// The border radius of the ColorEditor.
14
14
  /// @group coloreditor
15
- $kendo-color-editor-border-radius: $kendo-border-radius-md !default;
15
+ $kendo-color-editor-border-radius: k-border-radius(md) !default;
16
16
  /// The font family of the ColorEditor.
17
17
  /// @group coloreditor
18
- $kendo-color-editor-font-family: $kendo-font-family !default;
18
+ $kendo-color-editor-font-family: var( --kendo-font-family, inherit ) !default;
19
19
  /// The font size of the ColorEditor.
20
20
  /// @group coloreditor
21
- $kendo-color-editor-font-size: $kendo-font-size-md !default;
21
+ $kendo-color-editor-font-size: var( --kendo-font-size, inherit ) !default;
22
22
  /// The line height of the ColorEditor.
23
23
  /// @group coloreditor
24
- $kendo-color-editor-line-height: $kendo-line-height-md !default;
24
+ $kendo-color-editor-line-height: var( --kendo-line-height, normal ) !default;
25
25
  /// The text color of the ColorEditor.
26
26
  /// @group coloreditor
27
27
  $kendo-color-editor-text: $kendo-component-text !default;
@@ -47,7 +47,7 @@ $kendo-color-editor-header-padding-y: $kendo-color-editor-spacer !default;
47
47
  $kendo-color-editor-header-padding-x: $kendo-color-editor-header-padding-y !default;
48
48
  /// The spacing between the ColorEditor header actions.
49
49
  /// @group coloreditor
50
- $kendo-color-editor-header-actions-gap: k-math-div( $kendo-color-editor-spacer, 1.5 ) !default;
50
+ $kendo-color-editor-header-actions-gap: calc( #{$kendo-color-editor-spacer} / 1.5 ) !default;
51
51
 
52
52
  /// The width of the ColorEditor preview.
53
53
  /// @group coloreditor
@@ -57,7 +57,7 @@ $kendo-color-editor-color-preview-width: 32px !default;
57
57
  $kendo-color-editor-color-preview-height: 12px !default;
58
58
  /// The spacing between the colors in the ColorEditor preview.
59
59
  /// @group coloreditor
60
- $kendo-color-editor-preview-gap: k-map-get( $kendo-spacing, 1 ) !default;
60
+ $kendo-color-editor-preview-gap: k-spacing(1) !default;
61
61
 
62
62
  /// The vertical padding of the ColorEditor views container.
63
63
  /// @group coloreditor
@@ -4,7 +4,7 @@
4
4
 
5
5
  /// The spacer of the ColorGradient.
6
6
  /// @group cologradient
7
- $kendo-color-gradient-spacer: k-map-get( $kendo-spacing, 3 ) !default;
7
+ $kendo-color-gradient-spacer: k-spacing(3) !default;
8
8
 
9
9
  /// The width of the ColorGradient.
10
10
  /// @group cologradient
@@ -14,7 +14,7 @@ $kendo-color-gradient-width: 272px !default;
14
14
  $kendo-color-gradient-border-width: 1px !default;
15
15
  /// The border radius of the ColorGradient.
16
16
  /// @group cologradient
17
- $kendo-color-gradient-border-radius: $kendo-border-radius-md !default;
17
+ $kendo-color-gradient-border-radius: k-border-radius(md) !default;
18
18
  /// The vertical padding of the ColorGradient.
19
19
  /// @group cologradient
20
20
  $kendo-color-gradient-padding-y: $kendo-color-gradient-spacer !default;
@@ -26,13 +26,13 @@ $kendo-color-gradient-padding-x: $kendo-color-gradient-padding-y !default;
26
26
  $kendo-color-gradient-gap: $kendo-color-gradient-spacer !default;
27
27
  /// The font family of the ColorGradient.
28
28
  /// @group cologradient
29
- $kendo-color-gradient-font-family: $kendo-font-family !default;
29
+ $kendo-color-gradient-font-family: var( --kendo-font-family, inherit ) !default;
30
30
  /// The font size of the ColorGradient.
31
31
  /// @group cologradient
32
- $kendo-color-gradient-font-size: $kendo-font-size-md !default;
32
+ $kendo-color-gradient-font-size: var( --kendo-font-size, inherit ) !default;
33
33
  /// The line height of the ColorGradient.
34
34
  /// @group cologradient
35
- $kendo-color-gradient-line-height: $kendo-line-height-md !default;
35
+ $kendo-color-gradient-line-height: var( --kendo-line-height, normal ) !default;
36
36
  /// The text color of the ColorGradient.
37
37
  /// @group cologradient
38
38
  $kendo-color-gradient-text: $kendo-component-text !default;
@@ -52,7 +52,7 @@ $kendo-color-gradient-focus-shadow: k-elevation(3) !default;
52
52
 
53
53
  /// The border radius of the ColorGradient canvas.
54
54
  /// @group cologradient
55
- $kendo-color-gradient-canvas-border-radius: $kendo-border-radius-md !default;
55
+ $kendo-color-gradient-canvas-border-radius: k-border-radius(md) !default;
56
56
  /// The spacing between the items of the ColorGradient canvas.
57
57
  /// @group cologradient
58
58
  $kendo-color-gradient-canvas-gap: $kendo-color-gradient-spacer !default;
@@ -126,17 +126,17 @@ $kendo-color-gradient-canvas-draghandle-margin-x: - k-math-div( $kendo-color-gra
126
126
  $kendo-color-gradient-input-width: 46px !default;
127
127
  /// The spacing between the ColorGradient inputs.
128
128
  /// @group cologradient
129
- $kendo-color-gradient-input-gap: k-math-div( $kendo-color-gradient-spacer, 1.5 ) !default;
129
+ $kendo-color-gradient-input-gap: calc( #{$kendo-color-gradient-spacer} / 1.5 ) !default;
130
130
  /// The spacing between the ColorGradient inputs and their labels.
131
131
  /// @group cologradient
132
- $kendo-color-gradient-input-label-gap: k-math-div( $kendo-color-gradient-spacer, 3 ) !default;
132
+ $kendo-color-gradient-input-label-gap: calc( #{$kendo-color-gradient-spacer} / 3 ) !default;
133
133
  /// The text color of the ColorGradient input labels.
134
134
  /// @group cologradient
135
135
  $kendo-color-gradient-input-label-text: $kendo-subtle-text !default;
136
136
 
137
137
  /// The font weight of the ColorGradient contrast ratio text.
138
138
  /// @group cologradient
139
- $kendo-color-gradient-contrast-ratio-font-weight: $kendo-font-weight-bold !default;
139
+ $kendo-color-gradient-contrast-ratio-font-weight: var( --kendo-font-weight-bold, normal ) !default;
140
140
  /// The spacing between the items in the ColorGradient contrast tool.
141
141
  /// @group cologradient
142
- $kendo-color-gradient-contrast-spacer: k-math-div( $kendo-color-gradient-spacer, 1.5 ) !default;
142
+ $kendo-color-gradient-contrast-spacer: calc( #{$kendo-color-gradient-spacer} / 1.5 ) !default;
@@ -2,17 +2,17 @@
2
2
 
3
3
  /// The font family of the ColorPalette.
4
4
  /// @group colorpalette
5
- $kendo-color-palette-font-family: $kendo-font-family !default;
5
+ $kendo-color-palette-font-family: var( --kendo-font-family, inherit ) !default;
6
6
  /// The font size of the ColorPalette.
7
7
  /// @group colorpalette
8
- $kendo-color-palette-font-size: $kendo-font-size-md !default;
8
+ $kendo-color-palette-font-size: var( --kendo-font-size, inherit ) !default;
9
9
  /// The line height of the ColorPalette.
10
10
  /// @group colorpalette
11
11
  $kendo-color-palette-line-height: 0 !default;
12
12
 
13
13
  /// The width of the ColorPalette tile.
14
14
  /// @group colorpalette
15
- $kendo-color-palette-tile-width: k-map-get( $kendo-spacing, 6 ) !default;
15
+ $kendo-color-palette-tile-width: k-spacing(6) !default;
16
16
  /// The height of the ColorPalette tile.
17
17
  /// @group colorpalette
18
18
  $kendo-color-palette-tile-height: $kendo-color-palette-tile-width !default;
@@ -3,9 +3,15 @@ $wcag-min-contrast-ratio: 4.5 !default;
3
3
  // Color System
4
4
  @import "./color-system/_swatch.scss";
5
5
 
6
+ // Typography
7
+ @import "./typography/index.import.scss";
8
+
6
9
  // Variables
7
10
  @import "../_variables.scss";
8
11
 
12
+ // Spacing
13
+ @import "./spacing/index.import.scss";
14
+
9
15
  @import "@progress/kendo-theme-core/scss/index.import.scss";
10
16
 
11
17
  // Backward compatibility
@@ -17,4 +23,10 @@ $wcag-min-contrast-ratio: 4.5 !default;
17
23
 
18
24
  // Elevation System
19
25
  @include kendo-elevation--styles();
26
+ // Typography
27
+ @include kendo-core--typography--styles();
28
+ // Spacing
29
+ @include kendo-spacing--styles();
30
+ // Radii
31
+ @include kendo-border-radius--styles();
20
32
  }
@@ -0,0 +1 @@
1
+ @import "@progress/kendo-theme-core/scss/border-radii/index.import.scss";
@@ -0,0 +1,14 @@
1
+ @import "@progress/kendo-theme-core/scss/spacing/index.import.scss";
2
+
3
+ $kendo-icon-spacing: k-spacing(1) !default;
4
+ $kendo-icon-padding: k-spacing(1) !default;
5
+
6
+ // Metrics
7
+ $kendo-padding-x: k-spacing(2) !default;
8
+ $kendo-padding-y: k-spacing(1) !default;
9
+ $kendo-padding-sm-x: k-spacing(1) !default;
10
+ $kendo-padding-sm-y: k-spacing(0.5) !default;
11
+ $kendo-padding-md-x: k-spacing(2) !default;
12
+ $kendo-padding-md-y: k-spacing(1) !default;
13
+ $kendo-padding-lg-x: k-spacing(3) !default;
14
+ $kendo-padding-lg-y: k-spacing(1.5) !default;
@@ -0,0 +1 @@
1
+ @import "@progress/kendo-theme-core/scss/typography/index.import.scss";
@@ -86,17 +86,17 @@ $kendo-series-29: $kendo-series-e-darker !default;
86
86
  $kendo-series-30: $kendo-series-f-darker !default;
87
87
 
88
88
  $kendo-chart-border-width: 0px !default;
89
- $kendo-chart-font-family: $kendo-font-family !default;
90
- $kendo-chart-font-size: $kendo-font-size-md !default;
91
- $kendo-chart-line-height: $kendo-line-height-md !default;
89
+ $kendo-chart-font-family: var( --kendo-font-family, inherit ) !default;
90
+ $kendo-chart-font-size: var( --kendo-font-size, inherit ) !default;
91
+ $kendo-chart-line-height: var( --kendo-line-height, normal ) !default;
92
92
  $kendo-chart-sm-font-size: 11px !default;
93
93
  $kendo-chart-md-font-size: 12px !default;
94
94
  $kendo-chart-lg-font-size: 16px !default;
95
- $kendo-chart-tooltip-font-size: ($kendo-font-size-md * .929) !default;
95
+ $kendo-chart-tooltip-font-size: calc( var( --kendo-font-size, inherit ) * .929) !default;
96
96
  $kendo-chart-label-font-size: .857em !default;
97
97
  $kendo-chart-title-font-size: 1.143em !default;
98
98
  $kendo-chart-pane-title-font-size: $kendo-chart-label-font-size !default;
99
- $kendo-chart-pane-title-font-weight: $kendo-font-weight-normal !default;
99
+ $kendo-chart-pane-title-font-weight: var( --kendo-font-weight-normal, normal ) !default;
100
100
 
101
101
  /// The color of the Chart grid lines (major).
102
102
  /// @group charts
@@ -134,6 +134,6 @@ $kendo-chart-selection-shadow: inset 0 1px 7px if($kendo-enable-color-system, co
134
134
 
135
135
 
136
136
  // TreeMap
137
- $kendo-treemap-font-family: $kendo-font-family !default;
138
- $kendo-treemap-font-size: $kendo-font-size-md !default;
139
- $kendo-treemap-line-height: $kendo-line-height-md !default;
137
+ $kendo-treemap-font-family: var( --kendo-font-family, inherit ) !default;
138
+ $kendo-treemap-font-size: var( --kendo-font-size, inherit ) !default;
139
+ $kendo-treemap-line-height: var( --kendo-line-height, normal ) !default;
@@ -1,2 +1,2 @@
1
1
  // DateTime
2
- $kendo-datetime-width: calc( #{$kendo-calendar-cell-size * 8} + #{$kendo-infinite-calendar-view-padding-x * 2}) !default;
2
+ $kendo-datetime-width: calc( calc( #{$kendo-calendar-cell-size} * 8 ) + calc( #{$kendo-infinite-calendar-view-padding-x} * 2 )) !default;
@@ -10,10 +10,10 @@ $kendo-dock-manager-border: $kendo-base-border !default;
10
10
 
11
11
  /// The vertical padding of the pane header in the DockManager component.
12
12
  /// @group dock-manager
13
- $kendo-dock-manager-pane-header-padding-y: k-map-get( $kendo-spacing, 2 ) !default;
13
+ $kendo-dock-manager-pane-header-padding-y: k-spacing(2) !default;
14
14
  /// The horizontal padding of the pane header in the DockManager component.
15
15
  /// @group dock-manager
16
- $kendo-dock-manager-pane-header-padding-x: k-map-get( $kendo-spacing, 4 ) !default;
16
+ $kendo-dock-manager-pane-header-padding-x: k-spacing(4) !default;
17
17
  /// The width of the border around the pane header in the DockManager component.
18
18
  /// @group dock-manager
19
19
  $kendo-dock-manager-pane-header-border-width: $kendo-dock-manager-border-width !default;
@@ -32,16 +32,16 @@ $kendo-dock-manager-pane-title-padding-y: null !default;
32
32
  $kendo-dock-manager-pane-title-padding-x: null !default;
33
33
  /// The font family of the pane title in the DockManager component.
34
34
  /// @group dock-manager
35
- $kendo-dock-manager-pane-title-font-family: $kendo-font-family !default;
35
+ $kendo-dock-manager-pane-title-font-family: var( --kendo-font-family, inherit ) !default;
36
36
  /// The font size of the pane title in the DockManager component.
37
37
  /// @group dock-manager
38
- $kendo-dock-manager-pane-title-font-size: $kendo-font-size-lg !default;
38
+ $kendo-dock-manager-pane-title-font-size: var( --kendo-font-size-lg, inherit ) !default;
39
39
  /// The line height of the pane title in the DockManager component.
40
40
  /// @group dock-manager
41
- $kendo-dock-manager-pane-title-line-height: $kendo-line-height-sm !default;
41
+ $kendo-dock-manager-pane-title-line-height: var( --kendo-line-height-sm, normal ) !default;
42
42
  /// The font weight of the pane title in the DockManager component.
43
43
  /// @group dock-manager
44
- $kendo-dock-manager-pane-title-font-weight: $kendo-font-weight-normal !default;
44
+ $kendo-dock-manager-pane-title-font-weight: var( --kendo-font-weight-normal, normal ) !default;
45
45
 
46
46
  /// The horizontal padding of the pane content in the DockManager component.
47
47
  /// @group dock-manager
@@ -52,10 +52,10 @@ $kendo-dock-manager-pane-content-padding-y: $kendo-dock-manager-pane-header-padd
52
52
 
53
53
  /// The horizontal padding of the tabbed pane in the DockManager component.
54
54
  /// @group dock-manager
55
- $kendo-dock-manager-tabbed-pane-padding-y: k-map-get( $kendo-spacing, 4 ) !default;
55
+ $kendo-dock-manager-tabbed-pane-padding-y: k-spacing(4) !default;
56
56
  /// The horizontal padding of the tabbed pane in the DockManager component.
57
57
  /// @group dock-manager
58
- $kendo-dock-manager-tabbed-pane-padding-x: k-map-get( $kendo-spacing, 2 ) !default;
58
+ $kendo-dock-manager-tabbed-pane-padding-x: k-spacing(2) !default;
59
59
 
60
60
  /// The width of the unpinned pane container in the DockManager component.
61
61
  /// @group dock-manager
@@ -69,7 +69,7 @@ $kendo-dock-manager-unpinned-container-shadow: 4px 0px 5px 0px rgba(0, 0, 0, 0.0
69
69
 
70
70
  /// The padding of the dock indicator in the DockManager component.
71
71
  /// @group dock-manager
72
- $kendo-dock-indicator-padding: k-map-get( $kendo-spacing, 1.5 ) !default;
72
+ $kendo-dock-indicator-padding: k-spacing(1.5) !default;
73
73
  /// The background color of the dock indicator in the DockManager component.
74
74
  /// @group dock-manager
75
75
  $kendo-dock-indicator-bg: #f5f5f5 !default;
@@ -104,7 +104,7 @@ $kendo-dock-manager-dock-preview-border-width: 1px !default;
104
104
  $kendo-dock-manager-dock-preview-border-style: dashed !default;
105
105
  /// The border radius of the dropping area in the DockManager component.
106
106
  /// @group dock-manager
107
- $kendo-dock-manager-dock-preview-border-radius: $kendo-border-radius-sm !default;
107
+ $kendo-dock-manager-dock-preview-border-radius: k-border-radius(sm) !default;
108
108
  /// The background color of the dropping area in the DockManager component.
109
109
  /// @group dock-manager
110
110
  $kendo-dock-manager-dock-preview-bg: if($kendo-enable-color-system, color-mix(in srgb, k-color( primary ) 16%, transparent), rgba( $kendo-color-primary, .16 )) !default;
@@ -2,10 +2,10 @@
2
2
  $kendo-drag-hint-padding-x: $kendo-padding-md-x !default;
3
3
  $kendo-drag-hint-padding-y: $kendo-padding-md-y !default;
4
4
  $kendo-drag-hint-border-width: 1px !default;
5
- $kendo-drag-hint-border-radius: $kendo-border-radius-md !default;
6
- $kendo-drag-hint-font-size: $kendo-font-size-md !default;
7
- $kendo-drag-hint-font-family: $kendo-font-family !default;
8
- $kendo-drag-hint-line-height: $kendo-line-height-md !default;
5
+ $kendo-drag-hint-border-radius: k-border-radius(md) !default;
6
+ $kendo-drag-hint-font-size: var( --kendo-font-size, inherit ) !default;
7
+ $kendo-drag-hint-font-family: var( --kendo-font-family, inherit ) !default;
8
+ $kendo-drag-hint-line-height: var( --kendo-line-height, normal ) !default;
9
9
 
10
10
  $kendo-drag-hint-bg: $kendo-base-bg !default;
11
11
  $kendo-drag-hint-text: $kendo-base-text !default;
@@ -12,18 +12,9 @@ $kendo-drawer-border: $kendo-component-border !default;
12
12
  /// The border width of the Drawer.
13
13
  /// @group drawer
14
14
  $kendo-drawer-border-width: 1px !default;
15
- /// The font family of the Drawer.
16
- /// @group drawer
17
- $kendo-drawer-font-family: $kendo-font-family !default;
18
- /// The font size of the Drawer.
19
- /// @group drawer
20
- $kendo-drawer-font-size: $kendo-font-size-md !default;
21
- /// The line height of the Drawer.
22
- /// @group drawer
23
- $kendo-drawer-line-height: $kendo-line-height-md !default;
24
-
25
- /// The horizontal padding of the Drawer content.
26
- /// @group drawer
15
+ $kendo-drawer-font-family: var( --kendo-font-family, inherit ) !default;
16
+ $kendo-drawer-font-size: var( --kendo-font-size, inherit ) !default;
17
+ $kendo-drawer-line-height: var( --kendo-line-height, normal ) !default;
27
18
  $kendo-drawer-content-padding-x: $kendo-padding-md-x !default;
28
19
  /// The vertical padding of the Drawer content.
29
20
  /// @group drawer
@@ -47,7 +38,7 @@ $kendo-drawer-scrollbar-hover-color: rgba( 156, 156, 156, 1 ) !default;
47
38
 
48
39
  /// The horizontal padding of the Drawer item.
49
40
  /// @group drawer
50
- $kendo-drawer-item-padding-x: k-map-get( $kendo-spacing, 4 ) !default;
41
+ $kendo-drawer-item-padding-x: k-spacing(4) !default;
51
42
  /// The vertical padding of the Drawer item.
52
43
  /// @group drawer
53
44
  $kendo-drawer-item-padding-y: $kendo-padding-md-x !default;
@@ -67,10 +58,11 @@ $kendo-drawer-item-level-count: 5 !default;
67
58
 
68
59
  /// The horizontal padding of the Drawer icon.
69
60
  /// @group drawer
70
- $kendo-drawer-icon-padding-x: 0 !default;
61
+ $kendo-drawer-icon-padding-x: k-spacing(0) !default;
62
+
71
63
  /// The vertical padding of the Drawer icon.
72
64
  /// @group drawer
73
- $kendo-drawer-icon-padding-y: k-map-get( $kendo-spacing, 1 ) !default;
65
+ $kendo-drawer-icon-padding-y: k-spacing(1) !default;
74
66
 
75
67
  /// The initial width of the mini Drawer.
76
68
  /// @group drawer
@@ -2,7 +2,7 @@
2
2
 
3
3
  /// The horizontal padding of the DropdownTree popup
4
4
  /// @group dropdowntree
5
- $kendo-dropdowntree-popup-padding-x: k-map-get( $kendo-spacing, 2 ) !default;
5
+ $kendo-dropdowntree-popup-padding-x: k-spacing(2) !default;
6
6
  /// The vertical padding of the DropdownTree popup
7
7
  /// @group dropdowntree
8
- $kendo-dropdowntree-popup-padding-y: k-map-get( $kendo-spacing, 2 ) !default;
8
+ $kendo-dropdowntree-popup-padding-y: k-spacing(2) !default;
@@ -2,10 +2,10 @@
2
2
 
3
3
  /// The horizontal padding of the DropZone.
4
4
  /// @group dropzone
5
- $kendo-dropzone-padding-x: k-map-get( $kendo-spacing, 2 ) !default;
5
+ $kendo-dropzone-padding-x: k-spacing(2) !default;
6
6
  /// The vertical padding of the DropZone.
7
7
  /// @group dropzone
8
- $kendo-dropzone-padding-y: k-map-get( $kendo-spacing, 2 ) !default;
8
+ $kendo-dropzone-padding-y: k-spacing(2) !default;
9
9
  /// The border width of the DropZone.
10
10
  /// @group dropzone
11
11
  $kendo-dropzone-border-width: 1px !default;
@@ -15,13 +15,13 @@ $kendo-dropzone-min-height: 220px !default;
15
15
 
16
16
  /// The font family of the DropZone.
17
17
  /// @group dropzone
18
- $kendo-dropzone-font-family: $kendo-font-family !default;
18
+ $kendo-dropzone-font-family: var( --kendo-font-family, inherit ) !default;
19
19
  /// The font size of the DropZone.
20
20
  /// @group dropzone
21
- $kendo-dropzone-font-size: $kendo-font-size-md !default;
21
+ $kendo-dropzone-font-size: var( --kendo-font-size, inherit ) !default;
22
22
  /// The line height of the DropZone.
23
23
  /// @group dropzone
24
- $kendo-dropzone-line-height: $kendo-line-height-md !default;
24
+ $kendo-dropzone-line-height: var( --kendo-line-height, normal ) !default;
25
25
 
26
26
  /// The background color of the DropZone.
27
27
  /// @group dropzone
@@ -35,7 +35,7 @@ $kendo-dropzone-border: $kendo-base-border !default;
35
35
 
36
36
  /// The spacing below the DropZone icon.
37
37
  /// @group dropzone
38
- $kendo-dropzone-icon-spacing: k-map-get( $kendo-spacing, 6 ) !default;
38
+ $kendo-dropzone-icon-spacing: k-spacing(6) !default;
39
39
  /// The text color of the DropZone icon.
40
40
  /// @group dropzone
41
41
  $kendo-dropzone-icon-text: if($kendo-enable-color-system, k-color( subtle ), k-try-tint( $kendo-dropzone-text, 4 )) !default;
@@ -48,14 +48,14 @@ $kendo-dropzone-icon-hover-text: $kendo-color-primary !default;
48
48
  $kendo-dropzone-hint-font-size: null !default;
49
49
  /// The spacing below the DropZone hint.
50
50
  /// @group dropzone
51
- $kendo-dropzone-hint-spacing: k-map-get( $kendo-spacing, 2 ) !default;
51
+ $kendo-dropzone-hint-spacing: k-spacing(2) !default;
52
52
  /// The text color of the DropZone hint.
53
53
  /// @group dropzone
54
54
  $kendo-dropzone-hint-text: null !default;
55
55
 
56
56
  /// The font size of the DropZone note.
57
57
  /// @group dropzone
58
- $kendo-dropzone-note-font-size: $kendo-font-size-sm !default;
58
+ $kendo-dropzone-note-font-size: var( --kendo-font-size-sm, inherit ) !default;
59
59
  /// The spacing below the DropZone note.
60
60
  /// @group dropzone
61
61
  $kendo-dropzone-note-spacing: null !default;
@@ -5,13 +5,13 @@
5
5
  $kendo-editor-border-width: 1px !default;
6
6
  /// The font family of the Еditor.
7
7
  /// @group editor
8
- $kendo-editor-font-family: $kendo-font-family !default;
8
+ $kendo-editor-font-family: var( --kendo-font-family, inherit ) !default;
9
9
  /// The font size of the Еditor.
10
10
  /// @group editor
11
- $kendo-editor-font-size: $kendo-font-size-md !default;
11
+ $kendo-editor-font-size: var( --kendo-font-size, inherit ) !default;
12
12
  /// The line height of the Еditor.
13
13
  /// @group editor
14
- $kendo-editor-line-height: $kendo-line-height-md !default;
14
+ $kendo-editor-line-height: var( --kendo-line-height, normal ) !default;
15
15
 
16
16
  /// The text color of the Еditor placeholder.
17
17
  /// @group editor
@@ -2,19 +2,19 @@
2
2
 
3
3
  /// The vertical spacing of the ExpansionPanel.
4
4
  /// @group expander
5
- $kendo-expander-spacing-y: k-map-get( $kendo-spacing, 2 ) !default;
5
+ $kendo-expander-spacing-y: k-spacing(2) !default;
6
6
  /// The width of the border around the ExpansionPanel.
7
7
  /// @group expander
8
8
  $kendo-expander-border-width: 1px !default;
9
9
  /// The font family of the ExpansionPanel.
10
10
  /// @group expander
11
- $kendo-expander-font-family: $kendo-font-family !default;
11
+ $kendo-expander-font-family: var( --kendo-font-family, inherit ) !default;
12
12
  /// The font size of the ExpansionPanel.
13
13
  /// @group expander
14
- $kendo-expander-font-size: $kendo-font-size-md !default;
14
+ $kendo-expander-font-size: var( --kendo-font-size, inherit ) !default;
15
15
  /// The hine height of the ExpansionPanel.
16
16
  /// @group expander
17
- $kendo-expander-line-height: $kendo-line-height-md !default;
17
+ $kendo-expander-line-height: var( --kendo-line-height, normal ) !default;
18
18
 
19
19
  /// The text color of the ExpansionPanel.
20
20
  /// @group expander
@@ -32,11 +32,11 @@ $kendo-expander-focus-shadow: $kendo-list-item-focus-shadow !default;
32
32
 
33
33
  /// The horizontal padding of the ExpansionPanel header.
34
34
  /// @group expander
35
- $kendo-expander-header-padding-x: k-map-get( $kendo-spacing, 4 ) !default;
35
+ $kendo-expander-header-padding-x: k-spacing(4) !default;
36
36
  // TODO: use 2
37
37
  /// The vertical padding of the ExpansionPanel header.
38
38
  /// @group expander
39
- $kendo-expander-header-padding-y: k-map-get( $kendo-spacing, 1.5 ) !default;
39
+ $kendo-expander-header-padding-y: k-spacing(1.5) !default;
40
40
 
41
41
  /// The text color of the ExpansionPanel header.
42
42
  /// @group expander
@@ -67,11 +67,11 @@ $kendo-expander-header-sub-title-text: $kendo-subtle-text !default;
67
67
 
68
68
  /// The horizontal margin of the ExpansionPanel indicator.
69
69
  /// @group expander
70
- $kendo-expander-indicator-margin-x: k-map-get( $kendo-spacing, 3 ) !default;
70
+ $kendo-expander-indicator-margin-x: k-spacing(3) !default;
71
71
 
72
72
  /// The horizontal padding of the ExpansionPanel content.
73
73
  /// @group expander
74
- $kendo-expander-content-padding-x: k-map-get( $kendo-spacing, 4 ) !default;
74
+ $kendo-expander-content-padding-x: k-spacing(4) !default;
75
75
  /// The vertical padding of the ExpansionPanel content.
76
76
  /// @group expander
77
- $kendo-expander-content-padding-y: k-map-get( $kendo-spacing, 4 ) !default;
77
+ $kendo-expander-content-padding-y: k-spacing(4) !default;