@progress/kendo-theme-fluent 10.1.0-dev.6 → 10.1.0
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.
- package/dist/all.css +1 -1
- package/dist/fluent-main-dark.css +1 -1
- package/dist/fluent-main.css +1 -1
- package/dist/meta/sassdoc-data.json +4930 -1870
- package/dist/meta/sassdoc-raw-data.json +1787 -437
- package/dist/meta/variables.json +290 -2
- package/lib/swatches/all.json +1 -1
- package/lib/swatches/fluent-main-dark.json +1 -1
- package/lib/swatches/fluent-main.json +1 -1
- package/package.json +4 -4
- package/scss/action-sheet/_layout.scss +28 -0
- package/scss/coloreditor/_layout.scss +51 -0
- package/scss/coloreditor/_variables.scss +122 -0
- package/scss/colorgradient/_layout.scss +38 -0
- package/scss/colorgradient/_variables.scss +89 -1
- package/scss/colorpalette/_variables.scss +36 -0
|
@@ -9,6 +9,15 @@ $kendo-color-editor-spacer: k-spacing(2) !default;
|
|
|
9
9
|
/// The minimum width of the ColorEditor.
|
|
10
10
|
/// @group color-editor
|
|
11
11
|
$kendo-color-editor-min-width: 260px !default;
|
|
12
|
+
/// The minimum width of the ColorEditor.
|
|
13
|
+
/// @group color-editor
|
|
14
|
+
$kendo-color-editor-sm-min-width: 236px !default;
|
|
15
|
+
/// The minimum width of the ColorEditor.
|
|
16
|
+
/// @group color-editor
|
|
17
|
+
$kendo-color-editor-md-min-width: $kendo-color-editor-min-width !default;
|
|
18
|
+
/// The minimum width of the ColorEditor.
|
|
19
|
+
/// @group color-editor
|
|
20
|
+
$kendo-color-editor-lg-min-width: 360px !default;
|
|
12
21
|
/// The width of the border around the ColorEditor.
|
|
13
22
|
/// @group color-editor
|
|
14
23
|
$kendo-color-editor-border-width: 1px !default;
|
|
@@ -50,10 +59,30 @@ $kendo-color-editor-header-padding-y: $kendo-color-editor-spacer !default;
|
|
|
50
59
|
/// The horizontal padding of the ColorEditor header.
|
|
51
60
|
/// @group color-editor
|
|
52
61
|
$kendo-color-editor-header-padding-x: $kendo-color-editor-header-padding-y !default;
|
|
62
|
+
|
|
53
63
|
/// The spacing between the ColorEditor header actions.
|
|
54
64
|
/// @group color-editor
|
|
55
65
|
$kendo-color-editor-header-actions-spacing: calc( #{$kendo-color-editor-spacer} / 2 ) !default;
|
|
56
66
|
|
|
67
|
+
/// The vertical padding of the small ColorEditor header.
|
|
68
|
+
/// @group color-editor
|
|
69
|
+
$kendo-color-editor-sm-header-padding-y: $kendo-color-editor-header-padding-y !default;
|
|
70
|
+
/// The horizontal padding of the small ColorEditor header.
|
|
71
|
+
/// @group color-editor
|
|
72
|
+
$kendo-color-editor-sm-header-padding-x: $kendo-color-editor-header-padding-x !default;
|
|
73
|
+
/// The vertical padding of the medium ColorEditor header.
|
|
74
|
+
/// @group color-editor
|
|
75
|
+
$kendo-color-editor-md-header-padding-y: $kendo-color-editor-header-padding-y !default;
|
|
76
|
+
/// The horizontal padding of the medium ColorEditor header.
|
|
77
|
+
/// @group color-editor
|
|
78
|
+
$kendo-color-editor-md-header-padding-x: $kendo-color-editor-header-padding-x !default;
|
|
79
|
+
/// The vertical padding of the large ColorEditor header.
|
|
80
|
+
/// @group color-editor
|
|
81
|
+
$kendo-color-editor-lg-header-padding-y: k-spacing(4) !default;
|
|
82
|
+
/// The horizontal padding of the large ColorEditor header.
|
|
83
|
+
/// @group color-editor
|
|
84
|
+
$kendo-color-editor-lg-header-padding-x: k-spacing(4) !default;
|
|
85
|
+
|
|
57
86
|
/// The width of the ColorEditor preview.
|
|
58
87
|
/// @group color-editor
|
|
59
88
|
$kendo-color-editor-color-preview-width: 34px !default;
|
|
@@ -64,6 +93,35 @@ $kendo-color-editor-color-preview-height: 14px !default;
|
|
|
64
93
|
/// @group color-editor
|
|
65
94
|
$kendo-color-editor-preview-spacing: k-spacing(1) !default;
|
|
66
95
|
|
|
96
|
+
/// The spacing between the colors in the small ColorEditor preview.
|
|
97
|
+
/// @group color-editor
|
|
98
|
+
$kendo-color-editor-sm-preview-spacing: k-spacing(1) !default;
|
|
99
|
+
/// The spacing between the colors in the medium ColorEditor preview.
|
|
100
|
+
/// @group color-editor
|
|
101
|
+
$kendo-color-editor-md-preview-spacing: $kendo-color-editor-preview-spacing !default;
|
|
102
|
+
/// The spacing between the colors in the large ColorEditor preview.
|
|
103
|
+
/// @group color-editor
|
|
104
|
+
$kendo-color-editor-lg-preview-spacing: k-spacing(1) !default;
|
|
105
|
+
|
|
106
|
+
/// The width of the small ColorEditor preview.
|
|
107
|
+
/// @group color-editor
|
|
108
|
+
$kendo-color-editor-sm-color-preview-width: 34px !default;
|
|
109
|
+
/// The height of the small ColorEditor preview.
|
|
110
|
+
/// @group color-editor
|
|
111
|
+
$kendo-color-editor-sm-color-preview-height: 12px !default;
|
|
112
|
+
/// The width of the medium ColorEditor preview.
|
|
113
|
+
/// @group color-editor
|
|
114
|
+
$kendo-color-editor-md-color-preview-width: $kendo-color-editor-color-preview-width !default;
|
|
115
|
+
/// The height of the medium ColorEditor preview.
|
|
116
|
+
/// @group color-editor
|
|
117
|
+
$kendo-color-editor-md-color-preview-height: $kendo-color-editor-color-preview-height !default;
|
|
118
|
+
/// The width of the large ColorEditor preview.
|
|
119
|
+
/// @group color-editor
|
|
120
|
+
$kendo-color-editor-lg-color-preview-width: 34px !default;
|
|
121
|
+
/// The height of the large ColorEditor preview.
|
|
122
|
+
/// @group color-editor
|
|
123
|
+
$kendo-color-editor-lg-color-preview-height: 16px !default;
|
|
124
|
+
|
|
67
125
|
/// The vertical padding of the ColorEditor views container.
|
|
68
126
|
/// @group color-editor
|
|
69
127
|
$kendo-color-editor-views-padding-y: $kendo-color-editor-spacer !default;
|
|
@@ -74,6 +132,34 @@ $kendo-color-editor-views-padding-x: $kendo-color-editor-views-padding-y !defaul
|
|
|
74
132
|
/// @group color-editor
|
|
75
133
|
$kendo-color-editor-views-spacing: $kendo-color-editor-spacer !default;
|
|
76
134
|
|
|
135
|
+
/// The vertical padding of the small ColorEditor views container.
|
|
136
|
+
/// @group color-editor
|
|
137
|
+
$kendo-color-editor-sm-views-padding-y: k-spacing(2) !default;
|
|
138
|
+
/// The horizontal padding of the small ColorEditor views container.
|
|
139
|
+
/// @group color-editor
|
|
140
|
+
$kendo-color-editor-sm-views-padding-x: $kendo-color-editor-views-padding-y !default;
|
|
141
|
+
/// The spacing of the small ColorEditor views container.
|
|
142
|
+
/// @group color-editor
|
|
143
|
+
$kendo-color-editor-sm-views-spacing: k-spacing(4) !default;
|
|
144
|
+
/// The vertical padding of the medium ColorEditor views container.
|
|
145
|
+
/// @group color-editor
|
|
146
|
+
$kendo-color-editor-md-views-padding-y: $kendo-color-editor-views-padding-y !default;
|
|
147
|
+
/// The horizontal padding of the medium ColorEditor views container.
|
|
148
|
+
/// @group color-editor
|
|
149
|
+
$kendo-color-editor-md-views-padding-x: $kendo-color-editor-views-padding-x !default;
|
|
150
|
+
/// The spacing of the medium ColorEditor views container.
|
|
151
|
+
/// @group color-editor
|
|
152
|
+
$kendo-color-editor-md-views-spacing: $kendo-color-editor-views-spacing !default;
|
|
153
|
+
/// The vertical padding of the large ColorEditor views container.
|
|
154
|
+
/// @group color-editor
|
|
155
|
+
$kendo-color-editor-lg-views-padding-y: k-spacing(4) !default;
|
|
156
|
+
/// The horizontal padding of the large ColorEditor views container.
|
|
157
|
+
/// @group color-editor
|
|
158
|
+
$kendo-color-editor-lg-views-padding-x: k-spacing(4) !default;
|
|
159
|
+
/// The spacing of the large ColorEditor views container.
|
|
160
|
+
/// @group color-editor
|
|
161
|
+
$kendo-color-editor-lg-views-spacing: k-spacing(4.5) !default;
|
|
162
|
+
|
|
77
163
|
/// The vertical padding of the ColorEditor footer.
|
|
78
164
|
/// @group color-editor
|
|
79
165
|
$kendo-color-editor-footer-padding-y: k-spacing(2) !default;
|
|
@@ -90,3 +176,39 @@ $kendo-color-editor-color-gradient-focus-outline: 2px !default;
|
|
|
90
176
|
/// The outline offset of the focused ColorGradient.
|
|
91
177
|
/// @group color-editor
|
|
92
178
|
$kendo-color-editor-color-gradient-focus-outline-offset: 2px !default;
|
|
179
|
+
|
|
180
|
+
/// The size map of the ColorEditor preview.
|
|
181
|
+
/// @group color-editor
|
|
182
|
+
$kendo-color-editor-sizes: (
|
|
183
|
+
sm: (
|
|
184
|
+
min-width: $kendo-color-editor-sm-min-width,
|
|
185
|
+
header-padding-x: $kendo-color-editor-sm-header-padding-x,
|
|
186
|
+
header-padding-y: $kendo-color-editor-sm-header-padding-y,
|
|
187
|
+
views-padding-x: $kendo-color-editor-sm-views-padding-x,
|
|
188
|
+
views-padding-y: $kendo-color-editor-sm-views-padding-y,
|
|
189
|
+
preview-spacing: $kendo-color-editor-sm-preview-spacing,
|
|
190
|
+
preview-width: $kendo-color-editor-sm-color-preview-width,
|
|
191
|
+
preview-height: $kendo-color-editor-sm-color-preview-height,
|
|
192
|
+
|
|
193
|
+
),
|
|
194
|
+
md: (
|
|
195
|
+
min-width: $kendo-color-editor-md-min-width,
|
|
196
|
+
header-padding-x: $kendo-color-editor-md-header-padding-x,
|
|
197
|
+
header-padding-y: $kendo-color-editor-md-header-padding-y,
|
|
198
|
+
views-padding-x: $kendo-color-editor-md-views-padding-x,
|
|
199
|
+
views-padding-y: $kendo-color-editor-md-views-padding-y,
|
|
200
|
+
preview-spacing: $kendo-color-editor-md-preview-spacing,
|
|
201
|
+
preview-width: $kendo-color-editor-md-color-preview-width,
|
|
202
|
+
preview-height: $kendo-color-editor-md-color-preview-height,
|
|
203
|
+
),
|
|
204
|
+
lg: (
|
|
205
|
+
min-width: $kendo-color-editor-lg-min-width,
|
|
206
|
+
header-padding-x: $kendo-color-editor-lg-header-padding-x,
|
|
207
|
+
header-padding-y: $kendo-color-editor-lg-header-padding-y,
|
|
208
|
+
views-padding-x: $kendo-color-editor-lg-views-padding-x,
|
|
209
|
+
views-padding-y: $kendo-color-editor-lg-views-padding-y,
|
|
210
|
+
preview-spacing: $kendo-color-editor-lg-preview-spacing,
|
|
211
|
+
preview-width: $kendo-color-editor-lg-color-preview-width,
|
|
212
|
+
preview-height: $kendo-color-editor-lg-color-preview-height,
|
|
213
|
+
)
|
|
214
|
+
) !default;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
@use "sass:map";
|
|
1
2
|
@use "../core/_index.scss" as *;
|
|
2
3
|
@use "./_variables.scss" as *;
|
|
3
4
|
|
|
@@ -129,6 +130,43 @@
|
|
|
129
130
|
|
|
130
131
|
}
|
|
131
132
|
|
|
133
|
+
// ColorGradient sizes
|
|
134
|
+
@each $size, $size-props in $kendo-color-gradient-sizes {
|
|
135
|
+
$_width: map.get( $size-props, width );
|
|
136
|
+
$_spacing: map.get( $size-props, spacing );
|
|
137
|
+
$_vertical-slider-height: map.get( $size-props, vertical-slider-height );
|
|
138
|
+
$_rectangle-height: map.get( $size-props, rectangle-height );
|
|
139
|
+
$_input-width: map.get( $size-props, input-width );
|
|
140
|
+
$_canvas-spacing: map.get( $size-props, canvas-spacing );
|
|
141
|
+
|
|
142
|
+
.k-colorgradient-#{$size} {
|
|
143
|
+
width: $_width;
|
|
144
|
+
gap: $_spacing;
|
|
145
|
+
|
|
146
|
+
.k-colorgradient-inputs {
|
|
147
|
+
.k-numerictextbox {
|
|
148
|
+
width: $_input-width;
|
|
149
|
+
}
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
.k-colorgradient-canvas {
|
|
153
|
+
gap: $_canvas-spacing;
|
|
154
|
+
|
|
155
|
+
.k-hsv-gradient {
|
|
156
|
+
height: $_rectangle-height;
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
.k-slider-vertical {
|
|
160
|
+
height: $_vertical-slider-height;
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
.k-hsv-controls {
|
|
164
|
+
gap: $_canvas-spacing;
|
|
165
|
+
}
|
|
166
|
+
}
|
|
167
|
+
}
|
|
168
|
+
}
|
|
169
|
+
|
|
132
170
|
// Inputs
|
|
133
171
|
.k-colorgradient-inputs {
|
|
134
172
|
gap: var( --kendo-color-gradient-input-spacing, #{$kendo-color-gradient-input-spacing} );
|
|
@@ -47,6 +47,26 @@ $kendo-color-gradient-border: var( --kendo-component-border, initial ) !default;
|
|
|
47
47
|
/// @group color-gradient
|
|
48
48
|
$kendo-color-gradient-shadow: var( --kendo-box-shadow-depth-2, none ) !default;
|
|
49
49
|
|
|
50
|
+
/// The width of the small ColorGradient.
|
|
51
|
+
/// @group color-gradient
|
|
52
|
+
$kendo-color-gradient-sm-width: 226px !default;
|
|
53
|
+
/// The width of the medium ColorGradient.
|
|
54
|
+
/// @group color-gradient
|
|
55
|
+
$kendo-color-gradient-md-width: $kendo-color-gradient-width !default;
|
|
56
|
+
/// The width of the large ColorGradient.
|
|
57
|
+
/// @group color-gradient
|
|
58
|
+
$kendo-color-gradient-lg-width: 360px !default;
|
|
59
|
+
|
|
60
|
+
/// The spacing between the sections of the small ColorGradient.
|
|
61
|
+
/// @group color-gradient
|
|
62
|
+
$kendo-color-gradient-sm-spacing: $kendo-color-gradient-spacing !default;
|
|
63
|
+
/// The spacing between the sections of the medium ColorGradient.
|
|
64
|
+
/// @group color-gradient
|
|
65
|
+
$kendo-color-gradient-md-spacing: $kendo-color-gradient-spacing !default;
|
|
66
|
+
/// The spacing between the sections of the large ColorGradient.
|
|
67
|
+
/// @group color-gradient
|
|
68
|
+
$kendo-color-gradient-lg-spacing: k-spacing(4.5) !default;
|
|
69
|
+
|
|
50
70
|
/// The border color of the focused ColorGradient.
|
|
51
71
|
/// @group color-gradient
|
|
52
72
|
$kendo-color-gradient-focus-border: if($kendo-enable-color-system, color-mix(in srgb, k-color( border ) 10%, transparent), k-get-theme-color-var( neutral-20 )) !default;
|
|
@@ -62,10 +82,30 @@ $kendo-color-gradient-canvas-border-width: 0 !default;
|
|
|
62
82
|
$kendo-color-gradient-canvas-border-radius: k-border-radius(md) !default;
|
|
63
83
|
/// The spacing between the items of the ColorGradient canvas.
|
|
64
84
|
/// @group color-gradient
|
|
65
|
-
$kendo-color-gradient-canvas-spacing:
|
|
85
|
+
$kendo-color-gradient-canvas-spacing: k-spacing(2) !default;
|
|
66
86
|
/// The height the ColorGradient canvas hsv rectangle.
|
|
67
87
|
/// @group color-gradient
|
|
68
88
|
$kendo-color-gradient-canvas-rectangle-height: 180px !default;
|
|
89
|
+
/// The height the small ColorGradient canvas hsv rectangle.
|
|
90
|
+
/// @group color-gradient
|
|
91
|
+
$kendo-color-gradient-sm-canvas-rectangle-height: 164px !default;
|
|
92
|
+
/// The height the medium ColorGradient canvas hsv rectangle.
|
|
93
|
+
/// @group color-gradient
|
|
94
|
+
$kendo-color-gradient-md-canvas-rectangle-height: $kendo-color-gradient-canvas-rectangle-height !default;
|
|
95
|
+
/// The height the large ColorGradient canvas hsv rectangle.
|
|
96
|
+
/// @group color-gradient
|
|
97
|
+
$kendo-color-gradient-lg-canvas-rectangle-height: 256px !default;
|
|
98
|
+
|
|
99
|
+
/// The spacing between the items of the small ColorGradient canvas.
|
|
100
|
+
/// @group color-gradient
|
|
101
|
+
$kendo-color-gradient-sm-canvas-spacing: $kendo-color-gradient-canvas-spacing !default;
|
|
102
|
+
/// The spacing between the items of the medium ColorGradient canvas.
|
|
103
|
+
/// @group color-gradient
|
|
104
|
+
$kendo-color-gradient-md-canvas-spacing: $kendo-color-gradient-canvas-spacing !default;
|
|
105
|
+
/// The spacing between the items of the large ColorGradient canvas.
|
|
106
|
+
/// @group color-gradient
|
|
107
|
+
$kendo-color-gradient-lg-canvas-spacing: k-spacing(4) !default;
|
|
108
|
+
|
|
69
109
|
/// The border color of the ColorGradient canvas hsv rectangle.
|
|
70
110
|
/// @group color-gradient
|
|
71
111
|
$kendo-color-gradient-canvas-rectangle-border: if($kendo-enable-color-system, color-mix(in srgb, k-color( border ) 16%, transparent), k-get-theme-color-var( neutral-30 )) !default;
|
|
@@ -95,6 +135,15 @@ $kendo-color-gradient-slider-horizontal-size: 100% !default;
|
|
|
95
135
|
/// The background image of the ColorGradient alpha slider.
|
|
96
136
|
/// @group color-gradient
|
|
97
137
|
$kendo-color-gradient-slider-alpha-bgr: "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAuSURBVHgBxYyxDQAwDMJIL+YT+DjtzFRliUfLcklqBCRT4eCTxbD6kdL2/LgYXqpvCbs3kBv/AAAAAElFTkSuQmCC" !default;
|
|
138
|
+
/// The height of the small ColorGradient vertical slider.
|
|
139
|
+
/// @group color-gradient
|
|
140
|
+
$kendo-color-gradient-sm-slider-vertical-size: 164px !default;
|
|
141
|
+
/// The height of the medium ColorGradient vertical slider.
|
|
142
|
+
/// @group color-gradient
|
|
143
|
+
$kendo-color-gradient-md-slider-vertical-size: $kendo-color-gradient-slider-vertical-size !default;
|
|
144
|
+
/// The height of the large ColorGradient vertical slider.
|
|
145
|
+
/// @group color-gradient
|
|
146
|
+
$kendo-color-gradient-lg-slider-vertical-size: 256px !default;
|
|
98
147
|
|
|
99
148
|
/// The width of the ColorGradient canvas drag handle.
|
|
100
149
|
/// @group color-gradient
|
|
@@ -147,9 +196,48 @@ $kendo-color-gradient-input-label-spacing: calc( #{$kendo-color-gradient-spacer}
|
|
|
147
196
|
/// @group color-gradient
|
|
148
197
|
$kendo-color-gradient-input-label-text: var( --kendo-subtle-text, inherit ) !default;
|
|
149
198
|
|
|
199
|
+
/// The width of the small ColorGradient input.
|
|
200
|
+
/// @group color-gradient
|
|
201
|
+
$kendo-color-gradient-sm-input-width: 43.5px !default;
|
|
202
|
+
/// The width of the medium ColorGradient input.
|
|
203
|
+
/// @group color-gradient
|
|
204
|
+
$kendo-color-gradient-md-input-width: $kendo-color-gradient-input-width !default;
|
|
205
|
+
/// The width of the large ColorGradient input.
|
|
206
|
+
/// @group color-gradient
|
|
207
|
+
$kendo-color-gradient-lg-input-width: 50.5px !default;
|
|
208
|
+
|
|
150
209
|
/// The font weight of the ColorGradient contrast ratio text.
|
|
151
210
|
/// @group color-gradient
|
|
152
211
|
$kendo-color-gradient-contrast-ratio-font-weight: var( --kendo-font-weight-bold, normal ) !default;
|
|
153
212
|
/// The spacing between the items in the ColorGradient contrast tool.
|
|
154
213
|
/// @group color-gradient
|
|
155
214
|
$kendo-color-gradient-contrast-spacing: calc( #{$kendo-color-gradient-spacer} / 1.5 ) !default;
|
|
215
|
+
|
|
216
|
+
/// The size map of the ColorGradient.
|
|
217
|
+
/// @group color-gradient
|
|
218
|
+
$kendo-color-gradient-sizes: (
|
|
219
|
+
sm: (
|
|
220
|
+
width: $kendo-color-gradient-sm-width,
|
|
221
|
+
vertical-slider-height: $kendo-color-gradient-sm-slider-vertical-size,
|
|
222
|
+
rectangle-height: $kendo-color-gradient-sm-canvas-rectangle-height,
|
|
223
|
+
input-width: $kendo-color-gradient-sm-input-width,
|
|
224
|
+
spacing: $kendo-color-gradient-sm-spacing,
|
|
225
|
+
canvas-spacing: $kendo-color-gradient-sm-canvas-spacing
|
|
226
|
+
),
|
|
227
|
+
md: (
|
|
228
|
+
width: $kendo-color-gradient-md-width,
|
|
229
|
+
vertical-slider-height: $kendo-color-gradient-md-slider-vertical-size,
|
|
230
|
+
rectangle-height: $kendo-color-gradient-md-canvas-rectangle-height,
|
|
231
|
+
input-width: $kendo-color-gradient-md-input-width,
|
|
232
|
+
spacing: $kendo-color-gradient-md-spacing,
|
|
233
|
+
canvas-spacing: $kendo-color-gradient-md-canvas-spacing
|
|
234
|
+
),
|
|
235
|
+
lg: (
|
|
236
|
+
width: $kendo-color-gradient-lg-width,
|
|
237
|
+
vertical-slider-height: $kendo-color-gradient-lg-slider-vertical-size,
|
|
238
|
+
rectangle-height: $kendo-color-gradient-lg-canvas-rectangle-height,
|
|
239
|
+
input-width: $kendo-color-gradient-lg-input-width,
|
|
240
|
+
spacing: $kendo-color-gradient-lg-spacing,
|
|
241
|
+
canvas-spacing: $kendo-color-gradient-lg-canvas-spacing
|
|
242
|
+
)
|
|
243
|
+
) !default;
|
|
@@ -26,6 +26,25 @@ $kendo-color-palette-tile-width: k-spacing(6) !default;
|
|
|
26
26
|
/// The height of the ColorPalette tile.
|
|
27
27
|
/// @group color-palette
|
|
28
28
|
$kendo-color-palette-tile-height: $kendo-color-palette-tile-width !default;
|
|
29
|
+
/// The width of the small ColorPalette tile.
|
|
30
|
+
/// @group color-palette
|
|
31
|
+
$kendo-color-palette-tile-sm-width: k-spacing(5.5) !default;
|
|
32
|
+
/// The height of the small ColorPalette tile.
|
|
33
|
+
/// @group color-palette
|
|
34
|
+
$kendo-color-palette-tile-sm-height: $kendo-color-palette-tile-sm-width !default;
|
|
35
|
+
/// The width of the medium ColorPalette tile.
|
|
36
|
+
/// @group color-palette
|
|
37
|
+
$kendo-color-palette-tile-md-width: $kendo-color-palette-tile-width !default;
|
|
38
|
+
/// The height of the medium ColorPalette tile.
|
|
39
|
+
/// @group color-palette
|
|
40
|
+
$kendo-color-palette-tile-md-height: $kendo-color-palette-tile-height !default;
|
|
41
|
+
/// The width of the large ColorPalette tile.
|
|
42
|
+
/// @group color-palette
|
|
43
|
+
$kendo-color-palette-tile-lg-width: k-spacing(8) !default;
|
|
44
|
+
/// The height of the large ColorPalette tile.
|
|
45
|
+
/// @group color-palette
|
|
46
|
+
$kendo-color-palette-tile-lg-height: $kendo-color-palette-tile-lg-width !default;
|
|
47
|
+
|
|
29
48
|
/// The outline color of the ColorPalette focused tile.
|
|
30
49
|
/// @group color-palette
|
|
31
50
|
$kendo-color-palette-tile-focus-outline: if($kendo-enable-color-system, k-color( base-emphasis ), k-get-theme-color-var( neutral-130 )) !default;
|
|
@@ -47,3 +66,20 @@ $kendo-color-palette-tile-selected-shadow: $kendo-color-palette-tile-hover-shado
|
|
|
47
66
|
/// The outline color of the ColorPalette selected hover tile.
|
|
48
67
|
/// @group color-palette
|
|
49
68
|
$kendo-color-palette-tile-selected-hover-outline: $kendo-color-palette-tile-focus-outline !default;
|
|
69
|
+
|
|
70
|
+
/// The size map of the ColorPalette.
|
|
71
|
+
/// @group color-palette
|
|
72
|
+
$kendo-color-palette-sizes: (
|
|
73
|
+
sm: (
|
|
74
|
+
width: $kendo-color-palette-tile-sm-width,
|
|
75
|
+
height: $kendo-color-palette-tile-sm-height
|
|
76
|
+
),
|
|
77
|
+
md: (
|
|
78
|
+
width: $kendo-color-palette-tile-md-width,
|
|
79
|
+
height: $kendo-color-palette-tile-md-height
|
|
80
|
+
),
|
|
81
|
+
lg: (
|
|
82
|
+
width: $kendo-color-palette-tile-lg-width,
|
|
83
|
+
height: $kendo-color-palette-tile-lg-height
|
|
84
|
+
)
|
|
85
|
+
) !default;
|