@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
@@ -2,10 +2,10 @@
2
2
 
3
3
  /// The horizontal padding of the Chat.
4
4
  /// @group chat
5
- $kendo-chat-padding-x: 16px !default;
5
+ $kendo-chat-padding-x: k-spacing(4) !default;
6
6
  /// The vertical padding of the Chat.
7
7
  /// @group chat
8
- $kendo-chat-padding-y: 16px !default;
8
+ $kendo-chat-padding-y: k-spacing(4) !default;
9
9
  /// The width of the Chat.
10
10
  /// @group chat
11
11
  $kendo-chat-width: 500px !default;
@@ -17,20 +17,20 @@ $kendo-chat-height: 600px !default;
17
17
  $kendo-chat-border-width: 1px !default;
18
18
  /// The font family of the Chat.
19
19
  /// @group chat
20
- $kendo-chat-font-family: $kendo-font-family !default;
20
+ $kendo-chat-font-family: var( --kendo-font-family, inherit ) !default;
21
21
  /// The font size of the Chat.
22
22
  /// @group chat
23
- $kendo-chat-font-size: $kendo-font-size-md !default;
23
+ $kendo-chat-font-size: var( --kendo-font-size, inherit ) !default;
24
24
  /// The line height of the Chat.
25
25
  /// @group chat
26
- $kendo-chat-line-height: $kendo-line-height-md !default;
26
+ $kendo-chat-line-height: var( --kendo-line-height, normal ) !default;
27
27
 
28
28
  /// The horizontal spacing between the items of the Chat.
29
29
  /// @group chat
30
- $kendo-chat-item-spacing-x: 8px !default;
30
+ $kendo-chat-item-spacing-x: k-spacing(2) !default;
31
31
  /// The vertical spacing between the items of the Chat.
32
32
  /// @group chat
33
- $kendo-chat-item-spacing-y: 16px !default;
33
+ $kendo-chat-item-spacing-y: k-spacing(4) !default;
34
34
 
35
35
  /// The horizontal padding of the Chat message list.
36
36
  /// @group chat
@@ -60,13 +60,13 @@ $kendo-chat-timestamp-bg: null !default;
60
60
 
61
61
  /// The horizontal padding of the Chat bubble message.
62
62
  /// @group chat
63
- $kendo-chat-bubble-padding-x: 12px !default;
63
+ $kendo-chat-bubble-padding-x: k-spacing(3) !default;
64
64
  /// The vertical padding of the Chat bubble message.
65
65
  /// @group chat
66
- $kendo-chat-bubble-padding-y: 8px !default;
66
+ $kendo-chat-bubble-padding-y: k-spacing(2) !default;
67
67
  /// The spacing of the Chat bubble message.
68
68
  /// @group chat
69
- $kendo-chat-bubble-spacing: 2px !default;
69
+ $kendo-chat-bubble-spacing: k-spacing(0.5) !default;
70
70
  /// The line height of the Chat bubble message.
71
71
  /// @group chat
72
72
  $kendo-chat-bubble-line-height: 1.25 !default;
@@ -106,13 +106,13 @@ $kendo-chat-toolbar-border: inherit !default;
106
106
 
107
107
  /// The horizontal padding of the Chat quick reply.
108
108
  /// @group chat
109
- $kendo-chat-quick-reply-padding-x: 12px !default;
109
+ $kendo-chat-quick-reply-padding-x: k-spacing(3) !default;
110
110
  /// The vertical padding of the Chat quick reply.
111
111
  /// @group chat
112
- $kendo-chat-quick-reply-padding-y: 8px !default;
112
+ $kendo-chat-quick-reply-padding-y: k-spacing(2) !default;
113
113
  /// The spacing of the Chat quick reply.
114
114
  /// @group chat
115
- $kendo-chat-quick-reply-spacing: 8px !default;
115
+ $kendo-chat-quick-reply-spacing: k-spacing(2) !default;
116
116
  /// The line height of the Chat quick reply.
117
117
  /// @group chat
118
118
  $kendo-chat-quick-reply-line-height: $kendo-chat-bubble-line-height !default;
@@ -9,23 +9,23 @@ $kendo-checkbox-border-width: 2px !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
@@ -64,7 +64,7 @@ $kendo-checkbox-bg: null !default;
64
64
  $kendo-checkbox-text: null !default;
65
65
  /// The border color of the CheckBox.
66
66
  /// @group checkbox
67
- $kendo-checkbox-border: if($kendo-enable-color-system, color-mix(in srgb, k-color( on-app-surface ) 54%, transparent), rgba( if( $kendo-is-dark-theme, $kendo-color-white, $kendo-color-black ), .54 )) !default;
67
+ $kendo-checkbox-border: if($kendo-enable-color-system, color-mix(in srgb, k-color( on-app-surface ) 44%, transparent), rgba( if( $kendo-is-dark-theme, $kendo-color-white, $kendo-color-black ), .54 )) !default;
68
68
 
69
69
  /// The background color of the hovered CheckBox.
70
70
  /// @group checkbox
@@ -170,17 +170,17 @@ $kendo-checkbox-indeterminate-image: k-escape-svg( url("data:image/svg+xml,<svg
170
170
 
171
171
  /// The horizontal margin of the CheckBox inside a label.
172
172
  /// @group checkbox
173
- $kendo-checkbox-label-margin-x: k-map-get( $kendo-spacing, 1 ) !default;
173
+ $kendo-checkbox-label-margin-x: k-spacing(1) !default;
174
174
 
175
175
 
176
176
  // CheckBox list
177
177
 
178
178
  /// The spacing between the items in a horizontal CheckBox list.
179
179
  /// @group checkbox
180
- $kendo-checkbox-list-spacing: k-map-get( $kendo-spacing, 4 ) !default;
180
+ $kendo-checkbox-list-spacing: k-spacing(4) !default;
181
181
  /// The horizontal padding of the CheckBox list items.
182
182
  /// @group checkbox
183
- $kendo-checkbox-list-item-padding-x: 0px !default;
183
+ $kendo-checkbox-list-item-padding-x: k-spacing(0) !default;
184
184
  /// The vertical padding of the CheckBox list items.
185
185
  /// @group checkbox
186
186
  $kendo-checkbox-list-item-padding-y: $kendo-list-md-item-padding-y !default;
@@ -31,7 +31,7 @@
31
31
  }
32
32
  } @else if ($name == "warning") {
33
33
  @include fill(
34
- $color: if($kendo-enable-color-system, $kendo-chip-outline-text, if( $kendo-is-dark-theme, k-try-shade( $color, 50% ), $kendo-chip-outline-text))
34
+ $color: if($kendo-enable-color-system, k-color( on-app-surface ), if( $kendo-is-dark-theme, k-try-shade( $color, 50% ), k-color( on-app-surface )))
35
35
  );
36
36
 
37
37
  &:focus,
@@ -44,14 +44,14 @@
44
44
  &.k-hover {
45
45
  @include fill(
46
46
  $bg: if($kendo-enable-color-system, k-color( #{$name}-subtle-hover ), k-try-tint( $color, 80% )),
47
- $color: if($kendo-enable-color-system, $kendo-chip-outline-text, if( $kendo-is-dark-theme, k-try-shade( $color, 50% ), $kendo-chip-outline-text))
47
+ $color: if($kendo-enable-color-system, k-color( on-app-surface ), if( $kendo-is-dark-theme, k-try-shade( $color, 50% ), k-color( on-app-surface )))
48
48
  );
49
49
  }
50
50
 
51
51
  &.k-selected {
52
52
  @include fill(
53
53
  $bg: if($kendo-enable-color-system, k-color( #{$name}-subtle-active ), k-try-tint( $color, 65% )),
54
- $color: if($kendo-enable-color-system, $kendo-chip-outline-text, if( $kendo-is-dark-theme, k-try-shade( $color, 50% ), $kendo-chip-outline-text))
54
+ $color: if($kendo-enable-color-system, k-color( on-app-surface ), if( $kendo-is-dark-theme, k-try-shade( $color, 50% ), k-color( on-app-surface )))
55
55
  );
56
56
  }
57
57
  } @else {
@@ -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
@@ -146,7 +146,7 @@ $kendo-chip-solid-selected-text: null !default;
146
146
  $kendo-chip-outline-bg: $kendo-component-bg !default;
147
147
  /// The base text color of the outline Chip.
148
148
  /// @group chip
149
- $kendo-chip-outline-text: $kendo-chip-solid-text !default;
149
+ $kendo-chip-outline-text: if($kendo-enable-color-system, k-color( base-on-surface ), $kendo-chip-solid-text) !default;
150
150
  /// The base border color of the outline Chip.
151
151
  /// @group chip
152
152
  $kendo-chip-outline-border: $kendo-chip-outline-text !default;
@@ -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,39 @@
1
+ /// The none border radius used across the Components.
2
+ /// @group radii
3
+ $kendo-border-radius-none: k-map-get($kendo-spacing, 0) !default;
4
+ /// The extra small border radius used across the Components.
5
+ /// @group radii
6
+ $kendo-border-radius-xs: k-map-get($kendo-spacing, 1px) !default;
7
+ /// The small border radius used across the Components.
8
+ /// @group radii
9
+ $kendo-border-radius-sm: k-map-get($kendo-spacing, 0.5) !default;
10
+ /// The medium border radius used across the Components.
11
+ /// @group radii
12
+ $kendo-border-radius-md: k-map-get($kendo-spacing, 1) !default;
13
+ /// The large border radius used across the Components.
14
+ /// @group radii
15
+ $kendo-border-radius-lg: k-map-get($kendo-spacing, 2) !default;
16
+ /// The extra large border radius used across the Components.
17
+ /// @group radii
18
+ $kendo-border-radius-xl: k-map-get($kendo-spacing, 3) !default;
19
+ /// The third largest border radius used across the Components.
20
+ /// @group radii
21
+ $kendo-border-radius-xxl: k-map-get($kendo-spacing, 4) !default;
22
+ /// The second largest border radius used across the Components.
23
+ /// @group radii
24
+ $kendo-border-radius-xxxl: k-map-get($kendo-spacing, 5) !default;
25
+
26
+ /// The global radii Map.
27
+ /// @group radii
28
+ $kendo-border-radii: (
29
+ none: $kendo-border-radius-none,
30
+ xs: $kendo-border-radius-xs,
31
+ sm: $kendo-border-radius-sm,
32
+ md: $kendo-border-radius-md,
33
+ lg: $kendo-border-radius-lg,
34
+ xl: $kendo-border-radius-xl,
35
+ xxl: $kendo-border-radius-xxl,
36
+ xxxl: $kendo-border-radius-xxxl
37
+ ) !default;
38
+
39
+ @import "@progress/kendo-theme-core/scss/border-radii/index.import.scss";
@@ -1,6 +1,7 @@
1
1
  @if ($kendo-enable-color-system) {
2
2
  $kendo-color-primary: k-color( primary );
3
3
  $kendo-color-primary-contrast: k-color( on-primary );
4
+ $kendo-color-primary-darker: k-color( primary-active );
4
5
  $kendo-color-secondary: k-color( secondary );
5
6
  $kendo-color-secondary-contrast: k-color( on-secondary );
6
7
  $kendo-color-tertiary: k-color( tertiary );
@@ -61,5 +62,4 @@
61
62
  "inverse": $kendo-color-inverse,
62
63
  );
63
64
 
64
-
65
65
  }
@@ -114,7 +114,7 @@ $_default-colors: (
114
114
  light-emphasis: k-map-get( $kendo-palette-gray, 5 ),
115
115
  light-on-subtle: k-map-get( $kendo-palette-gray, 15 ),
116
116
  on-light: k-map-get( $kendo-palette-gray, black ),
117
- light-on-surface: k-map-get( $kendo-palette-gray, 13 ),
117
+ light-on-surface: k-map-get( $kendo-palette-gray, 4 ),
118
118
  // Dark
119
119
  dark-subtle: k-map-get( $kendo-palette-gray, 7 ),
120
120
  dark-subtle-hover: k-map-get( $kendo-palette-gray, 8 ),
@@ -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";