@progress/kendo-theme-fluent 6.5.0-dev.0 → 6.5.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 (113) hide show
  1. package/dist/all.css +13080 -13001
  2. package/dist/meta/sassdoc-data.json +6515 -4671
  3. package/dist/meta/sassdoc-raw-data.json +8442 -7517
  4. package/lib/swatches/all.json +1 -1
  5. package/lib/swatches/fluent-main.json +1 -1
  6. package/package.json +4 -4
  7. package/scss/action-sheet/_layout.scss +7 -0
  8. package/scss/action-sheet/_variables.scss +4 -1
  9. package/scss/adaptive/_variables.scss +4 -4
  10. package/scss/appbar/_variables.scss +35 -34
  11. package/scss/avatar/_variables.scss +5 -5
  12. package/scss/badge/_variables.scss +5 -5
  13. package/scss/bottom-navigation/_variables.scss +44 -48
  14. package/scss/breadcrumb/_layout.scss +37 -10
  15. package/scss/breadcrumb/_variables.scss +126 -35
  16. package/scss/button/_variables.scss +11 -11
  17. package/scss/calendar/_layout.scss +1 -1
  18. package/scss/calendar/_variables.scss +11 -11
  19. package/scss/card/_variables.scss +2 -2
  20. package/scss/chat/_variables.scss +8 -8
  21. package/scss/checkbox/_variables.scss +16 -16
  22. package/scss/chip/_variables.scss +12 -12
  23. package/scss/color-preview/_variables.scss +4 -4
  24. package/scss/coloreditor/_variables.scss +31 -32
  25. package/scss/colorgradient/_variables.scss +74 -74
  26. package/scss/colorpalette/_variables.scss +17 -17
  27. package/scss/core/_index.scss +6 -11
  28. package/scss/core/_variables.scss +1 -79
  29. package/scss/core/color-system/_index.scss +0 -2
  30. package/scss/core/color-system/utils/_functions.scss +4 -66
  31. package/scss/core/helpers/_index.scss +0 -4
  32. package/scss/dataviz/_layout.scss +5 -5
  33. package/scss/dataviz/_variables.scss +37 -37
  34. package/scss/daterangepicker/_theme.scss +1 -1
  35. package/scss/dialog/_variables.scss +20 -20
  36. package/scss/draggable/_variables.scss +2 -2
  37. package/scss/drawer/_variables.scss +9 -9
  38. package/scss/dropzone/_variables.scss +3 -3
  39. package/scss/editor/_variables.scss +38 -32
  40. package/scss/expansion-panel/_variables.scss +41 -38
  41. package/scss/fab/_theme.scss +1 -1
  42. package/scss/fab/_variables.scss +8 -8
  43. package/scss/filter/_variables.scss +15 -15
  44. package/scss/forms/_variables.scss +2 -2
  45. package/scss/gantt/_layout.scss +2 -2
  46. package/scss/gantt/_variables.scss +22 -22
  47. package/scss/grid/_theme.scss +2 -2
  48. package/scss/grid/_variables.scss +11 -11
  49. package/scss/imageeditor/_variables.scss +2 -2
  50. package/scss/index.scss +3 -0
  51. package/scss/input/_variables.scss +42 -42
  52. package/scss/list/_variables.scss +14 -14
  53. package/scss/listbox/_variables.scss +16 -17
  54. package/scss/listgroup/_variables.scss +1 -1
  55. package/scss/listview/_variables.scss +37 -37
  56. package/scss/loader/_variables.scss +70 -24
  57. package/scss/map/_variables.scss +4 -4
  58. package/scss/mediaplayer/_variables.scss +2 -2
  59. package/scss/menu/_variables.scss +3 -3
  60. package/scss/notification/_variables.scss +22 -20
  61. package/scss/orgchart/_variables.scss +5 -5
  62. package/scss/pager/_variables.scss +4 -4
  63. package/scss/panelbar/_variables.scss +3 -3
  64. package/scss/pdf-viewer/_variables.scss +2 -2
  65. package/scss/pivotgrid/_variables.scss +4 -4
  66. package/scss/popover/_variables.scss +34 -34
  67. package/scss/popup/_variables.scss +1 -1
  68. package/scss/progressbar/_variables.scss +51 -55
  69. package/scss/radio/_variables.scss +10 -10
  70. package/scss/rating/_theme.scss +1 -1
  71. package/scss/rating/_variables.scss +4 -4
  72. package/scss/scheduler/_theme.scss +1 -1
  73. package/scss/scheduler/_variables.scss +9 -9
  74. package/scss/scrollview/_variables.scss +42 -52
  75. package/scss/searchbox/_variables.scss +1 -1
  76. package/scss/signature/_variables.scss +2 -2
  77. package/scss/skeleton/_variables.scss +4 -4
  78. package/scss/slider/_variables.scss +11 -11
  79. package/scss/split-button/_variables.scss +1 -1
  80. package/scss/splitter/_variables.scss +3 -3
  81. package/scss/spreadsheet/_variables.scss +17 -17
  82. package/scss/stepper/_variables.scss +8 -8
  83. package/scss/switch/_variables.scss +17 -17
  84. package/scss/table/_variables.scss +3 -3
  85. package/scss/tabstrip/_variables.scss +5 -5
  86. package/scss/taskboard/_variables.scss +5 -5
  87. package/scss/tilelayout/_variables.scss +9 -9
  88. package/scss/timeline/_variables.scss +7 -7
  89. package/scss/timeselector/_layout.scss +1 -1
  90. package/scss/timeselector/_theme.scss +1 -1
  91. package/scss/toolbar/_variables.scss +3 -3
  92. package/scss/tooltip/_variables.scss +4 -4
  93. package/scss/treeview/_variables.scss +2 -2
  94. package/scss/upload/_variables.scss +39 -39
  95. package/scss/utils/_layout.scss +6 -4
  96. package/scss/window/_variables.scss +45 -45
  97. package/scss/wizard/_variables.scss +1 -1
  98. package/scss/core/_layout.scss +0 -13
  99. package/scss/core/_theme.scss +0 -9
  100. package/scss/core/color-system/_variables.scss +0 -172
  101. package/scss/core/functions/_index.scss +0 -3
  102. package/scss/core/functions/_strings.scss +0 -37
  103. package/scss/core/helpers/_base.scss +0 -136
  104. package/scss/core/helpers/_layout.scss +0 -64
  105. package/scss/core/helpers/_loading.scss +0 -120
  106. package/scss/core/helpers/_selection.scss +0 -27
  107. package/scss/core/mixins/_border-radius.scss +0 -60
  108. package/scss/core/mixins/_box-shadow.scss +0 -8
  109. package/scss/core/mixins/_decoration.scss +0 -30
  110. package/scss/core/mixins/_disabled.scss +0 -10
  111. package/scss/core/mixins/_hide-scrollbar.scss +0 -14
  112. package/scss/core/mixins/_index.scss +0 -6
  113. package/scss/core/mixins/_typography.scss +0 -7
@@ -52,11 +52,11 @@ $kendo-tooltip-shadow: var( --kendo-box-shadow-depth-3, none ) !default;
52
52
 
53
53
  /// The text color of the tooltip button
54
54
  /// @group tooltip
55
- $kendo-tooltip-button-text: get-theme-color-var( neutral-130, initial ) !default;
55
+ $kendo-tooltip-button-text: k-get-theme-color-var( neutral-130, initial ) !default;
56
56
 
57
57
  /// The primary background color of the tooltip
58
58
  /// @group tooltip
59
- $kendo-tooltip-primary-bg: get-theme-color-var( primary-100 ) !default;
59
+ $kendo-tooltip-primary-bg: k-get-theme-color-var( primary-100 ) !default;
60
60
  /// The primary text color of the tooltip
61
61
  /// @group tooltip
62
62
  $kendo-tooltip-primary-text: $kendo-color-white !default;
@@ -82,7 +82,7 @@ $kendo-tooltip-theme-colors: () !default;
82
82
  @each $ui-states in $_tc-tooltip-primary-matrix {
83
83
  $kendo-tooltip-theme-colors: map.deep-merge(
84
84
  $kendo-tooltip-theme-colors,
85
- generate-theme-variation( primary, primary, $ui-states )
85
+ k-generate-theme-variation( primary, primary, $ui-states )
86
86
  );
87
87
  }
88
88
 
@@ -90,7 +90,7 @@ $kendo-tooltip-theme-colors: () !default;
90
90
  @each $brand-color in $kendo-tooltip-brand-colors {
91
91
  $kendo-tooltip-theme-colors: map.deep-merge(
92
92
  $kendo-tooltip-theme-colors,
93
- generate-theme-variation( $brand-color, $brand-color, $ui-states )
93
+ k-generate-theme-variation( $brand-color, $brand-color, $ui-states )
94
94
  );
95
95
  };
96
96
  }
@@ -49,7 +49,7 @@ $kendo-treeview-lg-item-padding-y: map.get( $kendo-spacing, 2.5 ) !default;
49
49
  $kendo-treeview-item-border-width: 0 !default;
50
50
  /// The border radius of the TreeView items.
51
51
  /// @group treeview
52
- $kendo-treeview-item-border-radius: var( --kendo-border-radius-md, 0 ) !default;
52
+ $kendo-treeview-item-border-radius: var( --kendo-border-radius-md, #{$kendo-border-radius-md} ) !default;
53
53
 
54
54
  /// The horizontal padding of the TreeViews' filter element.
55
55
  /// @group treeview
@@ -124,7 +124,7 @@ $kendo-treeview-item-focus-text: $kendo-treeview-item-text !default;
124
124
  $kendo-treeview-item-focus-border: $kendo-treeview-item-border !default;
125
125
  /// The box shadow of focused TreeView items.
126
126
  /// @group treeview
127
- $kendo-treeview-item-focus-shadow: inset 0 0 0 1px get-theme-color-var( neutral-130 ) !default;
127
+ $kendo-treeview-item-focus-shadow: inset 0 0 0 1px k-get-theme-color-var( neutral-130 ) !default;
128
128
 
129
129
  /// The background color of selected TreeView items.
130
130
  /// @group treeview
@@ -1,100 +1,100 @@
1
1
  @use "sass:map";
2
2
  @use "../core/" as *;
3
3
 
4
- /// Width of the border around the upload.
4
+ /// The width of the border around the Upload.
5
5
  /// @group upload
6
6
  $kendo-upload-border-width: 1px !default;
7
- /// Font family of the upload.
7
+ /// The font family of the Upload.
8
8
  /// @group upload
9
9
  $kendo-upload-font-family: var( --kendo-font-family, inherit ) !default;
10
- /// Font size of the upload.
10
+ /// The font size of the Upload.
11
11
  /// @group upload
12
12
  $kendo-upload-font-size: var( --kendo-font-size, inherit ) !default;
13
- /// Line height of the upload.
13
+ /// The line height of the Upload.
14
14
  /// @group upload
15
15
  $kendo-upload-line-height: var( --kendo-line-height, normal ) !default;
16
- /// Maximum height of the upload.
16
+ /// The maximum height of the list with uploaded items.
17
17
  /// @group upload
18
18
  $kendo-upload-max-height: 300px !default;
19
19
 
20
- /// Background color of the upload.
21
- /// @group upload
22
- $kendo-upload-bg: var( --kendo-component-bg, initial ) !default;
23
- /// Text color of the upload.
20
+ /// The text color of the Upload.
24
21
  /// @group upload
25
22
  $kendo-upload-text: var( --kendo-component-text, initial ) !default;
26
- /// Border color of the upload.
23
+ /// The background color of the Upload.
24
+ /// @group upload
25
+ $kendo-upload-bg: var( --kendo-component-bg, initial ) !default;
26
+ /// The border color of the Upload.
27
27
  /// @group upload
28
28
  $kendo-upload-border: var( --kendo-component-border, initial ) !default;
29
29
 
30
- /// Horizontal padding of the upload dropzone.
30
+ /// The horizontal padding of the Upload dropzone.
31
31
  /// @group upload
32
32
  $kendo-upload-dropzone-padding-x: map.get( $kendo-spacing, 2 ) !default;
33
- /// Vertical padding of the upload dropzone.
33
+ /// The vertical padding of the Upload dropzone.
34
34
  /// @group upload
35
35
  $kendo-upload-dropzone-padding-y: map.get( $kendo-spacing, 2 ) !default;
36
- /// Background color of the upload dropzone.
36
+ /// The text color of the Upload dropzone.
37
37
  /// @group upload
38
- $kendo-upload-dropzone-bg: get-theme-color-var( neutral-10 ) !default;
39
- /// Text color of the upload dropzone.
38
+ $kendo-upload-dropzone-text: k-get-theme-color-var( neutral-130 ) !default;
39
+ /// The background color of the Upload dropzone.
40
40
  /// @group upload
41
- $kendo-upload-dropzone-text: get-theme-color-var( neutral-130 ) !default;
42
- /// Border color of the upload dropzone.
41
+ $kendo-upload-dropzone-bg: k-get-theme-color-var( neutral-10 ) !default;
42
+ /// The border color of the Upload dropzone.
43
43
  /// @group upload
44
- $kendo-upload-dropzone-border: get-theme-color-var( neutral-30 ) !default;
45
- /// Background color of the hovered upload dropzone.
44
+ $kendo-upload-dropzone-border: k-get-theme-color-var( neutral-30 ) !default;
45
+ /// The background color of the hovered Upload dropzone.
46
46
  /// @group upload
47
47
  $kendo-upload-dropzone-hover-bg: var( --kendo-hover-bg, inherit ) !default;
48
48
 
49
- /// Text color of the file status message in the upload.
49
+ /// The text color of the Upload status message.
50
50
  /// @group upload
51
51
  $kendo-upload-status-text: var( --kendo-subtle-text, inherit ) !default;
52
- /// Opacity of the file status message in the upload.
52
+ /// The opacity of the Upload status message.
53
53
  /// @group upload
54
54
  $kendo-upload-status-text-opacity: null !default;
55
55
 
56
- /// Horizontal padding of the upload items.
56
+ /// The horizontal padding of an uploaded item.
57
57
  /// @group upload
58
58
  $kendo-upload-item-padding-x: map.get( $kendo-spacing, 2 ) !default;
59
- /// Vertical padding of the upload items.
59
+ /// The vertical padding of an uploaded item.
60
60
  /// @group upload
61
61
  $kendo-upload-item-padding-y: map.get( $kendo-spacing, 2 ) !default;
62
62
 
63
- /// Spacing between multiple items in the upload.
63
+ /// The vertical spacing between uploaded batch items.
64
64
  /// @group upload
65
65
  $kendo-upload-multiple-items-spacing: map.get( $kendo-spacing, 4 ) !default;
66
66
 
67
- /// Font size of the upload validation message.
67
+ /// The font size of the Upload validation message.
68
68
  /// @group upload
69
69
  $kendo-upload-validation-font-size: var( --kendo-font-size-xs, inherit ) !default;
70
- /// Spacing between the icon and text in the upload.
70
+ /// The horizontal spacing of the Upload status icon.
71
71
  /// @group upload
72
72
  $kendo-upload-icon-spacing: var( --kendo-icon-spacing, .5rem ) !default;
73
- /// Color of the icons in the upload.
73
+ /// The color of the uploaded items icon.
74
74
  /// @group upload
75
75
  $kendo-upload-icon-color: var( --kendo-subtle-text, inherit ) !default;
76
76
 
77
- /// Thickness of the upload progress bar.
77
+ /// The thickness of the Upload progress bar.
78
78
  /// @group upload
79
79
  $kendo-upload-progress-thickness: 2px !default;
80
- /// Background color of the upload progress bar.
80
+ /// The background color of the Upload progress bar.
81
81
  /// @group upload
82
- $kendo-upload-progress-bg: get-theme-color-var( primary-100 ) !default;
82
+ $kendo-upload-progress-bg: k-get-theme-color-var( primary-100 ) !default;
83
83
 
84
- /// Success background color of the upload.
84
+ /// The success text color of the Upload.
85
85
  /// @group upload
86
- $kendo-upload-success-bg: get-theme-color-var( success-190 ) !default;
87
- /// Success text color of the upload.
86
+ $kendo-upload-success-text: k-get-theme-color-var( success-190 ) !default;
87
+ /// The success background color of the Upload progress bar.
88
88
  /// @group upload
89
- $kendo-upload-success-text: get-theme-color-var( success-190 ) !default;
89
+ $kendo-upload-success-bg: k-get-theme-color-var( success-190 ) !default;
90
90
 
91
- /// Error background color of the upload.
91
+ /// The error text color of the Upload.
92
92
  /// @group upload
93
- $kendo-upload-error-bg: get-theme-color-var( error-190 ) !default;
94
- /// Error text color of the upload.
93
+ $kendo-upload-error-text: k-get-theme-color-var( error-190 ) !default;
94
+ /// The error background color of the Upload progress bar.
95
95
  /// @group upload
96
- $kendo-upload-error-text: get-theme-color-var( error-190 ) !default;
96
+ $kendo-upload-error-bg: k-get-theme-color-var( error-190 ) !default;
97
97
 
98
- /// Focus shadow of the upload when focused.
98
+ /// The shadow of the focused Upload button, actions and uploaded items.
99
99
  /// @group upload
100
100
  $kendo-upload-focus-shadow: inset 0 0 0 2px rgba(0, 0, 0, .13) !default;
@@ -1,9 +1,11 @@
1
- @use "../core/_variables.scss" as *;
1
+ @use "../core" as *;
2
2
 
3
- @use "@progress/kendo-theme-utils/scss/all.scss" with (
3
+ @use "@progress/kendo-theme-utils/scss/index.import.scss" as * with (
4
4
  $kendo-spacing: $kendo-spacing,
5
+ $kendo-font-sizes: $kendo-font-sizes,
5
6
  $kendo-border-radii: $kendo-border-radii,
6
- $kendo-font-sizes: $kendo-font-sizes
7
7
  );
8
8
 
9
- @mixin kendo-utils--layout() {}
9
+ @mixin kendo-utils--layout() {
10
+ @include kendo-utils();
11
+ }
@@ -1,104 +1,102 @@
1
1
  @use "sass:map";
2
2
  @use "../core/" as *;
3
3
 
4
- /// Width of the border around the window.
4
+ /// The width of the border around the Window.
5
5
  /// @group window
6
6
  $kendo-window-border-width: map.get( $kendo-spacing, 1 ) 0 0 !default;
7
- /// Border radius of the window.
7
+ /// The border radius of the Window.
8
8
  /// @group window
9
- $kendo-window-border-radius: var( --kendo-border-radius-md, 0 ) !default;
10
- /// Font family of the window.
9
+ $kendo-window-border-radius: var( --kendo-border-radius-md, #{$kendo-border-radius-md} ) !default;
10
+ /// The font family of the Window.
11
11
  /// @group window
12
12
  $kendo-window-font-family: var( --kendo-font-family, inherit ) !default;
13
- /// Font size of the window.
13
+ /// The font size of the Window.
14
14
  /// @group window
15
15
  $kendo-window-font-size: var( --kendo-font-size, inherit ) !default;
16
- /// Line height of the window.
16
+ /// The line height of the Window.
17
17
  /// @group window
18
18
  $kendo-window-line-height: var( --kendo-line-height, normal ) !default;
19
19
 
20
- /// Horizontal padding of the window titlebar.
20
+ /// The horizontal padding of the Window titlebar.
21
21
  /// @group window
22
22
  $kendo-window-titlebar-padding-x: map.get( $kendo-spacing, 6 ) !default;
23
- /// Vertical padding of the window titlebar.
23
+ /// The vertical padding of the Window titlebar.
24
24
  /// @group window
25
25
  $kendo-window-titlebar-padding-y: map.get( $kendo-spacing, 5 ) !default;
26
- /// Width of the top border of the window titlebar.
26
+ /// The width of the border of the Window titlebar.
27
27
  /// @group window
28
28
  $kendo-window-titlebar-border-width: 0 !default;
29
- /// Style of the top border of the window titlebar.
29
+ /// The style of the border of the Window titlebar.
30
30
  /// @group window
31
31
  $kendo-window-titlebar-border-style: solid !default;
32
32
 
33
- /// Font size of the title of the window.
33
+ /// The font size of the title of the Window.
34
34
  /// @group window
35
35
  $kendo-window-title-font-size: var( --kendo-font-size-xl, inherit ) !default;
36
- /// Line height of the title of the window.
36
+ /// The line height of the title of the Window.
37
37
  /// @group window
38
38
  $kendo-window-title-line-height: var( --kendo-line-height, normal ) !default;
39
- /// Font weight of the title of the window.
39
+ /// The font weight of the title of the Window.
40
40
  /// @group window
41
41
  $kendo-window-title-font-weight: var( --kendo-font-weight-bold, bold ) !default;
42
42
 
43
- /// Spacing between the buttons in the header of the window.
43
+ /// The spacing between the buttons in the Window titlebar.
44
44
  /// @group window
45
45
  $kendo-window-actions-gap: 0px !default;
46
-
47
- /// Opacity of the buttons in the header of the window.
46
+ /// OThe opacity of the buttons in the Window titlebar.
48
47
  /// @group window
49
48
  $kendo-window-action-opacity: 1 !default;
50
- /// Opacity of the buttons when hovered in the header of the window.
49
+ /// The opacity of the hovered buttons in the Window titlebar.
51
50
  /// @group window
52
51
  $kendo-window-action-hover-opacity: 1 !default;
53
52
 
54
- /// Horizontal padding of the content of the window.
53
+ /// The horizontal padding of the content of the Window.
55
54
  /// @group window
56
55
  $kendo-window-inner-padding-x: map.get( $kendo-spacing, 6 ) !default;
57
- /// Vertical padding of the content of the window.
56
+ /// The vertical padding of the content of the Window.
58
57
  /// @group window
59
58
  $kendo-window-inner-padding-y: map.get( $kendo-spacing, 3 ) !default;
60
59
 
61
- /// Horizontal padding of the window action buttons.
60
+ /// The horizontal padding of the Window action buttons.
62
61
  /// @group window
63
62
  $kendo-window-buttongroup-padding-x: map.get( $kendo-spacing, 6 ) !default; // $kendo-actions-padding-x
64
- /// Vertical padding of the window action buttons.
63
+ /// The vertical padding of the Window action buttons.
65
64
  /// @group window
66
65
  $kendo-window-buttongroup-padding-y: map.get( $kendo-spacing, 6 ) !default; // $kendo-actions-padding-y
67
- /// Width of the top border of the window action buttons.
66
+ /// The width of the top border of the Window action buttons.
68
67
  /// @group window
69
68
  $kendo-window-buttongroup-border-width: 0 !default;
70
- /// Spacing between the action buttons of the window.
69
+ /// The spacing between the Window action buttons.
71
70
  /// @group window
72
71
  $kendo-window-buttongroup-spacing: map.get( $kendo-spacing, 3 ) !default;
73
72
 
74
- /// Background color of the window.
73
+ /// The background color of the Window.
75
74
  /// @group window
76
75
  $kendo-window-bg: var( --kendo-component-bg, initial ) !default;
77
- /// Text color of the window.
76
+ /// The text color of the Window.
78
77
  /// @group window
79
78
  $kendo-window-text: var( --kendo-component-text, initial ) !default;
80
- /// Border color of the window.
81
- /// @group window
82
- $kendo-window-border: get-theme-color-var( primary-100 ) !default;
83
-
84
- /// Background color of the window titlebar.
79
+ /// The border color of the Window.
85
80
  /// @group window
86
- $kendo-window-titlebar-bg: var( --kendo-component-bg, initial ) !default; // $kendo-component-header-bg
87
- /// Text color of the window titlebar.
81
+ $kendo-window-border: k-get-theme-color-var( primary-100 ) !default;
82
+ /// The box shadow of the Window.
88
83
  /// @group window
89
- $kendo-window-titlebar-text: get-theme-color-var( primary-100 ) !default; // $kendo-component-header-text
90
- /// Border color of the window titlebar.
84
+ $kendo-window-shadow: var( --kendo-box-shadow-depth-4, none ) !default;
85
+ /// The box shadow of the focused Window.
91
86
  /// @group window
92
- $kendo-window-titlebar-border: get-theme-color-var( primary-100 ) !default;
87
+ $kendo-window-focus-shadow: var( --kendo-box-shadow-depth-4, none ) !default;
93
88
 
94
- /// Box shadow around the window.
89
+ /// The background color of the Window titlebar.
95
90
  /// @group window
96
- $kendo-window-shadow: var( --kendo-box-shadow-depth-4, none ) !default;
97
- /// Box shadow around the window when hovered.
91
+ $kendo-window-titlebar-bg: var( --kendo-component-bg, initial ) !default; // $kendo-component-header-bg
92
+ /// The text color of the Window titlebar.
98
93
  /// @group window
99
- $kendo-window-focus-shadow: var( --kendo-box-shadow-depth-4, none ) !default;
94
+ $kendo-window-titlebar-text: k-get-theme-color-var( primary-100 ) !default; // $kendo-component-header-text
95
+ /// The border color of the Window titlebar.
96
+ /// @group window
97
+ $kendo-window-titlebar-border: k-get-theme-color-var( primary-100 ) !default;
100
98
 
101
- /// Map of the width of the different window sizes.
99
+ /// The map of the width of the different Window sizes.
102
100
  /// @group window
103
101
  $kendo-window-sizes: (
104
102
  sm: 300px,
@@ -106,7 +104,8 @@ $kendo-window-sizes: (
106
104
  lg: 1200px
107
105
  ) !default;
108
106
 
109
- /// Theme variations for the window.
107
+ /// The theme variations for the Window.
108
+ /// @group window
110
109
  $kendo-window-brand-colors: (
111
110
  primary: primary
112
111
  ) !default;
@@ -124,14 +123,15 @@ $_tc-window-light-matrix: (
124
123
  (normal: (50, 160, 50)),
125
124
  ) !default;
126
125
 
127
- /// Theme colors map for the window variations.
126
+ /// The theme colors map for the Window.
127
+ /// @group window
128
128
  $kendo-window-theme-colors: () !default;
129
129
 
130
130
  @each $ui-states in $_tc-window-matrix {
131
131
  @each $brand-color, $palette in $kendo-window-brand-colors {
132
132
  $kendo-window-theme-colors: map.deep-merge(
133
133
  $kendo-window-theme-colors,
134
- generate-theme-variation( $brand-color, $palette, $ui-states )
134
+ k-generate-theme-variation( $brand-color, $palette, $ui-states )
135
135
  );
136
136
  };
137
137
  }
@@ -139,13 +139,13 @@ $kendo-window-theme-colors: () !default;
139
139
  @each $ui-states in $_tc-window-dark-matrix {
140
140
  $kendo-window-theme-colors: map.deep-merge(
141
141
  $kendo-window-theme-colors,
142
- generate-theme-variation( dark, neutral, $ui-states )
142
+ k-generate-theme-variation( dark, neutral, $ui-states )
143
143
  );
144
144
  }
145
145
 
146
146
  @each $ui-states in $_tc-window-light-matrix {
147
147
  $kendo-window-theme-colors: map.deep-merge(
148
148
  $kendo-window-theme-colors,
149
- generate-theme-variation( light, neutral, $ui-states )
149
+ k-generate-theme-variation( light, neutral, $ui-states )
150
150
  );
151
151
  }
@@ -50,4 +50,4 @@ $kendo-wizard-buttons-margin-y: map.get( $kendo-spacing, 6 ) !default;
50
50
 
51
51
  /// Outline of the focused wizard step.
52
52
  /// @group wizard
53
- $kendo-wizard-step-focus-border: get-theme-color-var( neutral-130 ) !default;
53
+ $kendo-wizard-step-focus-border: k-get-theme-color-var( neutral-130 ) !default;
@@ -1,13 +0,0 @@
1
- @use "./mixins" as *;
2
- @use "./_variables.scss" as *;
3
-
4
- .k-body {
5
- @include typography(
6
- var( --kendo-font-size, inherit ),
7
- var( --kendo-font-family, inherit ),
8
- var( --kendo-line-height, normal ),
9
- var( --kendo-font-weight, normal ),
10
- var( --kendo-letter-spacing, normal ),
11
- );
12
- margin: 0;
13
- }
@@ -1,9 +0,0 @@
1
- @use "./mixins" as *;
2
- @use "./color-system" as *;
3
-
4
- .k-body {
5
- @include fill(
6
- var( --kendo-body-text, initial ),
7
- var( --kendo-body-bg, initial )
8
- );
9
- }
@@ -1,172 +0,0 @@
1
- @use "sass:map";
2
- @use "./utils" as *;
3
- @use "./palettes" as *;
4
-
5
- // Constants
6
- $kendo-color-white: #ffffff;
7
- $kendo-color-black: #000000;
8
- $kendo-color-rgba-transparent: rgba( 0, 0, 0, 0 );
9
- $kendo-gradient-transparent-to-black: rgba( black, 0), black;
10
- $kendo-gradient-transparent-to-white: rgba( white, 0), white;
11
- $kendo-gradient-black-to-transparent: black, rgba( black, 0);
12
- $kendo-gradient-white-to-transparent: white, rgba( white, 0);
13
- $kendo-gradient-rainbow: #ff0000, #ffff00, #00ff00, #00ffff, #0000ff, #ff00ff, #ff0000;
14
-
15
- // Root styles
16
- $kendo-body-bg: $kendo-color-white !default;
17
- $kendo-body-text: get-theme-color-var( neutral-160 ) !default;
18
-
19
- // Component styles
20
- $kendo-component-bg: $kendo-body-bg !default;
21
- $kendo-component-text: $kendo-body-text !default;
22
- $kendo-component-border: get-theme-color-var( neutral-30 ) !default;
23
-
24
- // States styles
25
- $kendo-hover-bg: get-theme-color-var( neutral-20 ) !default;
26
- $kendo-hover-text: get-theme-color-var( neutral-190 ) !default;
27
- $kendo-hover-border: get-theme-color-var( neutral-20 ) !default;
28
-
29
- $kendo-selected-bg: get-theme-color-var( neutral-30 ) !default;
30
- $kendo-selected-text: get-theme-color-var( neutral-160 ) !default;
31
- $kendo-selected-border: get-theme-color-var( neutral-130 ) !default;
32
-
33
- $kendo-selected-hover-bg: get-theme-color-var( neutral-40 ) !default;
34
- $kendo-selected-hover-text: get-theme-color-var( neutral-190 ) !default;
35
- $kendo-selected-hover-border: get-theme-color-var( neutral-130 ) !default;
36
-
37
- $kendo-focus-outline: get-theme-color-var( neutral-130 ) !default;
38
-
39
- $kendo-subtle-text: get-theme-color-var( neutral-130 ) !default;
40
-
41
- // Shadows
42
-
43
- /// Shadow for cards and grid item thumbnails.
44
- /// Equivalent to fluent depth 4.
45
- $kendo-box-shadow-depth-1: 0 1.6px 3.6px rgba( $kendo-color-black, 0.132 ), 0 0.3px 0.9px rgba( $kendo-color-black, 0.108 ) !default;
46
- /// Shadow for command bars and dropdowns.
47
- /// Equivalent to fluent depth 8.
48
- $kendo-box-shadow-depth-2: 0 3.2px 7.2px rgba( $kendo-color-black, 0.132 ), 0 0.6px 1.8px rgba( $kendo-color-black, 0.108 ) !default;
49
- /// Shadow for teaching callouts and hover cards / tooltips.
50
- /// Equivalent to fluent depth 16.
51
- $kendo-box-shadow-depth-3: 0 6.4px 14.4px rgba( $kendo-color-black, 0.132 ), 0 1.2px 3.6px rgba( $kendo-color-black, 0.108 ) !default;
52
- /// Shadow for panels and pop up dialogs.
53
- /// Equivalent to fluent depth 64.
54
- $kendo-box-shadow-depth-4: 0 25.6px 57.6px rgba( $kendo-color-black, 0.22 ), 0 4.8px 14.4px rgba( $kendo-color-black, 0.18 ) !default;
55
-
56
- // Link
57
- $kendo-link-text: get-theme-color-var( primary-100 ) !default;
58
- $kendo-link-hover-text: get-theme-color-var( primary-120 ) !default;
59
-
60
- // Validator
61
- $kendo-invalid-bg: initial !default;
62
- $kendo-invalid-text: get-theme-color-var( error-190 ) !default;
63
- $kendo-invalid-border: get-theme-color-var( error-190 ) !default;
64
- $kendo-invalid-shadow: none !default;
65
-
66
- // Disabled Styling
67
- $kendo-disabled-bg: get-theme-color-var( neutral-20 ) !default;
68
- $kendo-disabled-text: get-theme-color-var( neutral-90 ) !default;
69
- $kendo-disabled-border: transparent !default;
70
-
71
- // Loading
72
- $kendo-loading-bg: $kendo-component-bg !default;
73
- $kendo-loading-text: currentColor !default;
74
-
75
-
76
- // Theme colors
77
- $kendo-theme-colors: (
78
- primary: (
79
- text: get-theme-color-var( primary-130 ),
80
- bg: get-theme-color-var( primary-20 ),
81
- border: get-theme-color-var( primary-20 )
82
- ),
83
- info: (
84
- text: get-theme-color-var( info-190 ),
85
- bg: get-theme-color-var( info-20 ),
86
- border: get-theme-color-var( info-20 )
87
- ),
88
- success: (
89
- text: get-theme-color-var( success-190 ),
90
- bg: get-theme-color-var( success-20 ),
91
- border: get-theme-color-var( success-20 )
92
- ),
93
- warning: (
94
- text: get-theme-color-var( neutral-160 ),
95
- bg: get-theme-color-var( warning-20 ),
96
- border: get-theme-color-var( warning-20 )
97
- ),
98
- error: (
99
- text: get-theme-color-var( error-190 ),
100
- bg: get-theme-color-var( error-20 ),
101
- border: get-theme-color-var( error-20 )
102
- )
103
- ) !default;
104
-
105
-
106
- @mixin color-system-styles() {
107
- :root {
108
- @include css-vars( $kendo-fluent-palettes );
109
- @include css-vars( $kendo-theme-colors );
110
-
111
- --kendo-body-bg: #{$kendo-body-bg};
112
- --kendo-body-text: #{$kendo-body-text};
113
-
114
- --kendo-component-bg: #{$kendo-component-bg};
115
- --kendo-component-text: #{$kendo-component-text};
116
- --kendo-component-border: #{$kendo-component-border};
117
-
118
- --kendo-box-shadow-depth-1: #{$kendo-box-shadow-depth-1};
119
- --kendo-box-shadow-depth-2: #{$kendo-box-shadow-depth-2};
120
- --kendo-box-shadow-depth-3: #{$kendo-box-shadow-depth-3};
121
- --kendo-box-shadow-depth-4: #{$kendo-box-shadow-depth-4};
122
-
123
- --kendo-link-text: #{$kendo-link-text};
124
- --kendo-link-hover-text: #{$kendo-link-hover-text};
125
-
126
- --kendo-disabled-bg: #{$kendo-disabled-bg};
127
- --kendo-disabled-text: #{$kendo-disabled-text};
128
- --kendo-disabled-border: #{$kendo-disabled-border};
129
-
130
- --kendo-hover-bg: #{$kendo-hover-bg};
131
- --kendo-hover-text: #{$kendo-hover-text};
132
- --kendo-hover-border: #{$kendo-hover-border};
133
-
134
- --kendo-selected-bg: #{$kendo-selected-bg};
135
- --kendo-selected-text: #{$kendo-selected-text};
136
- --kendo-selected-border: #{$kendo-selected-border};
137
-
138
- --kendo-selected-hover-bg: #{$kendo-selected-hover-bg};
139
- --kendo-selected-hover-text: #{$kendo-selected-hover-text};
140
- --kendo-selected-hover-border: #{$kendo-selected-hover-border};
141
-
142
- --kendo-focus-outline: #{$kendo-focus-outline};
143
-
144
- --kendo-subtle-text: #{$kendo-subtle-text};
145
-
146
- --kendo-invalid-bg: #{$kendo-invalid-bg};
147
- --kendo-invalid-text: #{$kendo-invalid-text};
148
- --kendo-invalid-border: #{$kendo-invalid-border};
149
- --kendo-invalid-shadow: #{$kendo-invalid-shadow};
150
- }
151
-
152
- // Text colors
153
- @each $theme-color, $color-props in $kendo-theme-colors {
154
- $_color: map.get( $color-props, text );
155
-
156
- .k-text-#{$theme-color},
157
- .k-color-#{$theme-color} {
158
- color: var( --kendo-text-#{$theme-color}, #{$_color} );
159
- }
160
- .\!k-text-#{$theme-color},
161
- .\!k-color-#{$theme-color} {
162
- color: var( --kendo-text-#{$theme-color}, #{$_color} ) !important; // stylelint-disable-line declaration-no-important
163
- }
164
-
165
- .k-bg-#{$theme-color} {
166
- background-color: var( --kendo-bg-#{$theme-color}, #{$_color} );
167
- }
168
- .\!k-bg-#{$theme-color} {
169
- background-color: var( --kendo-bg-#{$theme-color}, #{$_color} ) !important; // stylelint-disable-line declaration-no-important
170
- }
171
- };
172
- }
@@ -1,3 +0,0 @@
1
-
2
- // @forward "./misc";
3
- @forward "./_strings.scss";
@@ -1,37 +0,0 @@
1
- @use "sass:string";
2
-
3
- $svg-escaped-characters: (
4
- ("%", "%25"),
5
- ("<", "%3c"),
6
- (">", "%3e"),
7
- ("#", "%23"),
8
- ("(", "%28"),
9
- (")", "%29")
10
- ) !default;
11
-
12
- // See https://www.sassmeister.com/gist/1b4f2da5527830088e4d
13
- @function str-replace($string, $search, $replace: "") {
14
- $index: string.index($string, $search);
15
-
16
- @if $index {
17
- @return string.slice($string, 1, $index - 1) + $replace + str-replace(string.slice($string, $index + string.length($search)), $search, $replace);
18
- }
19
-
20
- @return $string;
21
- }
22
-
23
- // See https://codepen.io/kevinweber/pen/dXWoRw
24
- @function escape-svg($string) {
25
- @if string.index($string, "data:image/svg+xml") {
26
- @each $char, $encoded in $svg-escaped-characters {
27
- // Do not escape the url brackets
28
- @if string.index($string, "url(") == 1 {
29
- $string: url("#{str-replace(string.slice($string, 6, -3), $char, $encoded)}");
30
- } @else {
31
- $string: str-replace($string, $char, $encoded);
32
- }
33
- }
34
- }
35
-
36
- @return $string;
37
- }