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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (110) hide show
  1. package/dist/all.css +8326 -5259
  2. package/dist/all.scss +5383 -4991
  3. package/dist/meta/sassdoc-data.json +42971 -38855
  4. package/dist/meta/sassdoc-raw-data.json +3948 -2048
  5. package/dist/meta/variables.json +2196 -2092
  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 +5 -5
  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/_variables.scss +21 -21
  32. package/scss/calendar/_variables.scss +32 -54
  33. package/scss/captcha/_variables.scss +6 -6
  34. package/scss/card/_variables.scss +17 -17
  35. package/scss/chat/_variables.scss +13 -13
  36. package/scss/checkbox/_variables.scss +9 -9
  37. package/scss/chip/_variables.scss +18 -18
  38. package/scss/color-preview/_variables.scss +1 -1
  39. package/scss/coloreditor/_variables.scss +7 -7
  40. package/scss/colorgradient/_variables.scss +10 -10
  41. package/scss/colorpalette/_variables.scss +3 -3
  42. package/scss/core/_index.scss +15 -0
  43. package/scss/core/border-radii/index.import.scss +13 -0
  44. package/scss/core/spacing/index.import.scss +14 -0
  45. package/scss/core/typography/index.import.scss +120 -0
  46. package/scss/dataviz/_variables.scss +8 -8
  47. package/scss/datetimepicker/_variables.scss +1 -1
  48. package/scss/dock-manager/_variables.scss +8 -8
  49. package/scss/draggable/_variables.scss +3 -3
  50. package/scss/drawer/_variables.scss +6 -15
  51. package/scss/dropdowntree/_variables.scss +2 -2
  52. package/scss/dropzone/_variables.scss +7 -7
  53. package/scss/editor/_layout.scss +2 -2
  54. package/scss/editor/_variables.scss +3 -3
  55. package/scss/expansion-panel/_variables.scss +9 -9
  56. package/scss/fab/_variables.scss +15 -15
  57. package/scss/filemanager/_variables.scss +9 -9
  58. package/scss/forms/_layout.scss +1 -1
  59. package/scss/forms/_variables.scss +17 -17
  60. package/scss/gantt/_variables.scss +152 -7
  61. package/scss/grid/_variables.scss +73 -73
  62. package/scss/imageeditor/_variables.scss +7 -7
  63. package/scss/input/_variables.scss +20 -20
  64. package/scss/list/_variables.scss +24 -24
  65. package/scss/listbox/_variables.scss +3 -3
  66. package/scss/listgroup/_variables.scss +4 -4
  67. package/scss/listview/_variables.scss +8 -8
  68. package/scss/loader/_variables.scss +25 -25
  69. package/scss/map/_variables.scss +8 -8
  70. package/scss/mediaplayer/_variables.scss +5 -5
  71. package/scss/menu/_layout.scss +2 -2
  72. package/scss/menu/_variables.scss +26 -26
  73. package/scss/menu-button/_variables.scss +1 -1
  74. package/scss/messagebox/_variables.scss +3 -3
  75. package/scss/notification/_variables.scss +6 -6
  76. package/scss/orgchart/_variables.scss +11 -11
  77. package/scss/pager/_variables.scss +11 -11
  78. package/scss/panelbar/_variables.scss +8 -8
  79. package/scss/pdf-viewer/_variables.scss +5 -5
  80. package/scss/pivotgrid/_variables.scss +14 -14
  81. package/scss/popup/_variables.scss +4 -4
  82. package/scss/progressbar/_variables.scss +2 -2
  83. package/scss/prompt/_variables.scss +7 -7
  84. package/scss/radio/_variables.scss +9 -9
  85. package/scss/rating/_variables.scss +5 -5
  86. package/scss/scheduler/_layout.scss +4 -4
  87. package/scss/scheduler/_variables.scss +19 -19
  88. package/scss/scrollview/_variables.scss +5 -5
  89. package/scss/signature/_variables.scss +5 -5
  90. package/scss/skeleton/_variables.scss +1 -1
  91. package/scss/slider/_variables.scss +3 -3
  92. package/scss/split-button/_variables.scss +4 -4
  93. package/scss/splitter/_variables.scss +6 -6
  94. package/scss/spreadsheet/_layout.scss +2 -2
  95. package/scss/spreadsheet/_variables.scss +17 -17
  96. package/scss/stepper/_variables.scss +8 -8
  97. package/scss/table/_variables.scss +12 -12
  98. package/scss/tabstrip/_variables.scss +9 -9
  99. package/scss/taskboard/_variables.scss +16 -16
  100. package/scss/tilelayout/_variables.scss +2 -2
  101. package/scss/timeline/_variables.scss +7 -7
  102. package/scss/timeselector/_variables.scss +6 -6
  103. package/scss/toolbar/_variables.scss +11 -11
  104. package/scss/tooltip/_variables.scss +6 -6
  105. package/scss/treelist/_variables.scss +5 -0
  106. package/scss/treeview/_variables.scss +15 -15
  107. package/scss/typography/_variables.scss +138 -55
  108. package/scss/upload/_variables.scss +7 -7
  109. package/scss/window/_variables.scss +6 -6
  110. package/scss/wizard/_variables.scss +7 -7
@@ -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: 294px !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-map-get( $kendo-spacing, 2 ) !default;
50
+ $kendo-color-editor-header-actions-gap: k-spacing(2) !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: 294px !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: $box-shadow-depth-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: 50px !default;
127
127
  /// The spacing between the ColorGradient inputs.
128
128
  /// @group cologradient
129
- $kendo-color-gradient-input-gap: k-map-get( $kendo-spacing, 2 ) !default;
129
+ $kendo-color-gradient-input-gap: k-spacing(2) !default;
130
130
  /// The spacing between the ColorGradient inputs and their labels.
131
131
  /// @group cologradient
132
- $kendo-color-gradient-input-label-gap: k-map-get( $kendo-spacing, 1 ) !default;
132
+ $kendo-color-gradient-input-label-gap: k-spacing(1) !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-medium !default;
139
+ $kendo-color-gradient-contrast-ratio-font-weight: var( --kendo-font-weight-medium, 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-map-get( $kendo-spacing, 2 ) !default;
142
+ $kendo-color-gradient-contrast-spacer: k-spacing(2) !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;
@@ -6,9 +6,18 @@ $wcag-min-contrast-ratio: 4.5 !default;
6
6
  // Elevation
7
7
  @import "./elevation/index.import.scss";
8
8
 
9
+ // Typography
10
+ @import "./typography/index.import.scss";
11
+
9
12
  // Variables
10
13
  @import "../_variables.scss";
11
14
 
15
+ // Spacing
16
+ @import "./spacing/index.import.scss";
17
+
18
+ // Radii
19
+ @import "./border-radii/index.import.scss";
20
+
12
21
  @import "@progress/kendo-theme-core/scss/index.import.scss";
13
22
 
14
23
  // Backward compatibility
@@ -20,4 +29,10 @@ $wcag-min-contrast-ratio: 4.5 !default;
20
29
 
21
30
  // Elevation System
22
31
  @include kendo-elevation--styles();
32
+ // Typography
33
+ @include kendo-core--typography--styles();
34
+ // Spacing
35
+ @include kendo-spacing--styles();
36
+ // Radii
37
+ @include kendo-border-radius--styles();
23
38
  }
@@ -0,0 +1,13 @@
1
+ $kendo-border-radius-lg: k-map-get($kendo-spacing, 2) !default;
2
+ $kendo-border-radius-xl: k-map-get($kendo-spacing, 3) !default;
3
+ $kendo-border-radius-xxl: k-map-get($kendo-spacing, 4) !default;
4
+ $kendo-border-radius-xxxl: k-map-get($kendo-spacing, 5) !default;
5
+
6
+ $kendo-border-radii: (
7
+ lg: $kendo-border-radius-lg,
8
+ xl: $kendo-border-radius-xl,
9
+ xxl: $kendo-border-radius-xxl,
10
+ xxxl: $kendo-border-radius-xxxl
11
+ ) !default;
12
+
13
+ @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(2) !default;
4
+ $kendo-icon-padding: k-spacing(1) !default;
5
+
6
+ // Metrics
7
+ $kendo-padding-x: k-spacing(4) !default;
8
+ $kendo-padding-y: k-spacing(1) !default;
9
+ $kendo-padding-sm-x: k-spacing(2) !default;
10
+ $kendo-padding-sm-y: k-spacing(0.5) !default;
11
+ $kendo-padding-md-x: k-spacing(4) !default;
12
+ $kendo-padding-md-y: k-spacing(1) !default;
13
+ $kendo-padding-lg-x: k-spacing(6) !default;
14
+ $kendo-padding-lg-y: k-spacing(1.5) !default;
@@ -0,0 +1,120 @@
1
+ /// The base font size across all components.
2
+ /// @group typography
3
+ $kendo-font-size: 0.875rem !default;
4
+ /// The extra extra small font size across all components.
5
+ /// @group typography
6
+ $kendo-font-size-xs: 0.625rem !default;
7
+ /// The small font size across all components.
8
+ /// @group typography
9
+ $kendo-font-size-sm: 0.75rem !default;
10
+ /// The medium font size across all components.
11
+ /// @group typography
12
+ $kendo-font-size-md: $kendo-font-size !default;
13
+ /// The large font size across all components.
14
+ /// @group typography
15
+ $kendo-font-size-lg: 1rem !default;
16
+ /// The extra large font size across all components.
17
+ /// @group typography
18
+ $kendo-font-size-xl: 1.25rem !default;
19
+
20
+ /// The base line height across all components.
21
+ /// @group typography
22
+ $kendo-line-height: k-math-div( 28, 14 ) !default;
23
+ /// The extra small line height across all components.
24
+ /// @group typography
25
+ $kendo-line-height-xs: 1 !default;
26
+ /// The small line height across all components.
27
+ /// @group typography
28
+ $kendo-line-height-sm: 1.2 !default;
29
+ /// The medium line height across all components.
30
+ /// @group typography
31
+ $kendo-line-height-md: $kendo-line-height !default;
32
+ /// The large line height across all components.
33
+ /// @group typography
34
+ $kendo-line-height-lg: 1.5 !default;
35
+ /// The base line height in ems across all components.
36
+ /// @group typography
37
+ $kendo-line-height-em: calc( #{$kendo-line-height} * 1em ) !default;
38
+
39
+ /// The base letter spacing across all components.
40
+ /// @group typography
41
+ $kendo-letter-spacing: null !default;
42
+ /// The tightest letter spacing across all components.
43
+ /// @group typography
44
+ $kendo-letter-spacing-tightest: -2.5px !default;
45
+ /// Slightly looser than the tighter letter spacing across all components.
46
+ /// @group typography
47
+ $kendo-letter-spacing-tighter: -1.5px !default;
48
+ /// Moderately tight letter spacing across all components.
49
+ /// @group typography
50
+ $kendo-letter-spacing-tight: -.5px !default;
51
+ /// The normal letter spacing across all components.
52
+ /// @group typography
53
+ $kendo-letter-spacing-normal: 0px !default;
54
+ /// Wide letter spacing across all components
55
+ /// @group typography
56
+ $kendo-letter-spacing-wide: .15px !default;
57
+ /// Slightly wider than the wide letter spacing across all components.
58
+ /// @group typography
59
+ $kendo-letter-spacing-wider: .25px !default;
60
+ /// The widest letter spacing across all components.
61
+ /// @group typography
62
+ $kendo-letter-spacing-widest: .35px !default;
63
+
64
+ /// The sans-serif font family across all components.
65
+ /// @group typography
66
+ $kendo-font-family-sans-serif: Roboto, "Helvetica Neue", sans-serif !default;
67
+ /// The monospace font family across all components.
68
+ /// @group typography
69
+ $kendo-font-family-monospace: Consolas, "Ubuntu Mono", "Lucida Console", "Courier New", monospace !default;
70
+ /// The base font family across all components.
71
+ /// @group typography
72
+ $kendo-font-family: $kendo-font-family-sans-serif !default;
73
+
74
+ $_default-font-sizes: (
75
+ xs: $kendo-font-size-xs,
76
+ sm: $kendo-font-size-sm,
77
+ md: $kendo-font-size-md,
78
+ lg: $kendo-font-size-lg,
79
+ xl: $kendo-font-size-xl
80
+ ) !default;
81
+
82
+ $_default-line-heights: (
83
+ xs: $kendo-line-height-xs,
84
+ sm: $kendo-line-height-sm,
85
+ md: $kendo-line-height-md,
86
+ lg: $kendo-line-height-lg,
87
+ ) !default;
88
+
89
+ $_default-letter-spacings: (
90
+ tightest: $kendo-letter-spacing-tightest,
91
+ tighter: $kendo-letter-spacing-tighter,
92
+ tight: $kendo-letter-spacing-tight,
93
+ normal: $kendo-letter-spacing-normal,
94
+ wide: $kendo-letter-spacing-wide,
95
+ wider: $kendo-letter-spacing-wider,
96
+ widest: $kendo-letter-spacing-widest
97
+ ) !default;
98
+
99
+ $_default-font-families: (
100
+ sans-serif: $kendo-font-family-sans-serif,
101
+ monospace: $kendo-font-family-monospace
102
+ ) !default;
103
+
104
+ /// The font sizes map
105
+ /// @group typography
106
+ $kendo-font-sizes: $_default-font-sizes !default;
107
+
108
+ /// The line heights map
109
+ /// @group typography
110
+ $kendo-line-heights: $_default-line-heights !default;
111
+
112
+ /// The letter spacings map
113
+ /// @group typography
114
+ $kendo-letter-spacings: $_default-letter-spacings !default;
115
+
116
+ /// The font families map
117
+ /// @group typography
118
+ $kendo-font-families: $_default-font-families !default;
119
+
120
+ @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, 1 ) !default;
13
+ $kendo-dock-manager-pane-header-padding-y: k-spacing(1) !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, 6 ) !default;
16
+ $kendo-dock-manager-pane-header-padding-x: k-spacing(6) !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
@@ -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: $kendo-base-bg !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;
@@ -1,10 +1,10 @@
1
1
  // Drag hint
2
2
  $kendo-drag-hint-padding-x: $kendo-padding-md-x !default;
3
- $kendo-drag-hint-padding-y: k-math-div( $kendo-padding-md-x, 2 ) !default;
3
+ $kendo-drag-hint-padding-y: calc( #{$kendo-padding-md-x} / 2 ) !default;
4
4
  $kendo-drag-hint-border-width: null !default;
5
5
  $kendo-drag-hint-border-radius: 9999px !default;
6
- $kendo-drag-hint-font-size: $kendo-font-size-md !default;
7
- $kendo-drag-hint-font-family: $kendo-font-family !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
8
  $kendo-drag-hint-line-height: k-math-div( 20, 14 ) !default;
9
9
 
10
10
  $kendo-drag-hint-bg: if($kendo-enable-color-system, k-color( base-subtle ), k-try-shade( $kendo-body-bg )) !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
@@ -50,7 +41,7 @@ $kendo-drawer-scrollbar-hover-color: rgba( 156, 156, 156, 1 ) !default;
50
41
  $kendo-drawer-item-padding-x: $kendo-padding-md-x !default;
51
42
  /// The vertical padding of the Drawer item.
52
43
  /// @group drawer
53
- $kendo-drawer-item-padding-y: k-map-get( $kendo-spacing, 3 ) !default;
44
+ $kendo-drawer-item-padding-y: k-spacing(3) !default;
54
45
  /// The font size of the Drawer item.
55
46
  /// @group drawer
56
47
  $kendo-drawer-item-font-size: 16px !default;
@@ -67,10 +58,10 @@ $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;
71
62
  /// The vertical padding of the Drawer icon.
72
63
  /// @group drawer
73
- $kendo-drawer-icon-padding-y: k-map-get( $kendo-spacing, 1 ) !default;
64
+ $kendo-drawer-icon-padding-y: k-spacing(1) !default;
74
65
 
75
66
  /// The initial width of the mini Drawer.
76
67
  /// @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,10 +15,10 @@ $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
24
  $kendo-dropzone-line-height: k-math-div( 20, 14 ) !default;
@@ -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;
@@ -10,13 +10,13 @@
10
10
  line-height: normal;
11
11
 
12
12
  .k-status {
13
- line-height: $kendo-line-height-md;
13
+ line-height: var( --kendo-line-height, inherit);
14
14
  }
15
15
  }
16
16
 
17
17
  .k-editor-export {
18
18
  text-transform: uppercase;
19
- font-size: $kendo-font-size-md;
19
+ font-size: var( --kendo-font-size, inherit );
20
20
 
21
21
  .k-icon {
22
22
  margin-left: $kendo-editor-export-tool-icon-margin-x;