igniteui-theming 25.0.0 → 25.0.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.
- package/README.md +2 -2
- package/dist/mcp/generators/css.js +1 -8
- package/dist/mcp/generators/sass.d.ts +1 -1
- package/dist/mcp/generators/sass.js +26 -3
- package/dist/mcp/index.js +3 -3
- package/dist/mcp/json/components/themes.json.js +17 -17
- package/dist/mcp/knowledge/docs/setup/platform.md.js +4 -0
- package/dist/mcp/knowledge/index.d.ts +1 -1
- package/dist/mcp/knowledge/index.js +1 -4
- package/dist/mcp/knowledge/platform-setup.d.ts +2 -0
- package/dist/mcp/knowledge/platforms/index.d.ts +8 -11
- package/dist/mcp/knowledge/platforms/index.js +22 -14
- package/dist/mcp/knowledge/platforms/react.d.ts +2 -2
- package/dist/mcp/knowledge/platforms/react.js +3 -3
- package/dist/mcp/knowledge/sass-api.d.ts +2 -2
- package/dist/mcp/resources/presets.d.ts +12 -0
- package/dist/mcp/resources/presets.js +44 -1
- package/dist/mcp/tools/descriptions.d.ts +8 -8
- package/dist/mcp/tools/descriptions.js +25 -7
- package/dist/mcp/tools/handlers/component-theme.js +23 -5
- package/dist/mcp/tools/handlers/custom-palette.js +2 -1
- package/dist/mcp/tools/handlers/elevations.js +2 -1
- package/dist/mcp/tools/handlers/layout.js +1 -1
- package/dist/mcp/tools/handlers/palette.js +2 -3
- package/dist/mcp/tools/handlers/platform.js +247 -86
- package/dist/mcp/tools/handlers/theme.js +3 -0
- package/dist/mcp/tools/handlers/typography.js +2 -1
- package/dist/mcp/tools/schemas.d.ts +31 -31
- package/dist/mcp/utils/sass.d.ts +20 -0
- package/dist/mcp/utils/sass.js +16 -0
- package/dist/mcp/utils/types.d.ts +2 -1
- package/dist/mcp/utils/types.js +2 -1
- package/json/components/bootstrap.json +1 -1
- package/json/components/fluent.json +1 -1
- package/json/components/indigo.json +1 -1
- package/json/components/material.json +1 -1
- package/json/components/themes.json +53 -28
- package/package.json +15 -7
- package/sass/animations/_easings.scss +24 -24
- package/sass/bem/_index.scss +16 -14
- package/sass/color/_charts.scss +20 -20
- package/sass/color/_functions.scss +18 -18
- package/sass/color/_mixins.scss +1 -1
- package/sass/elevations/_functions.scss +4 -4
- package/sass/elevations/_mixins.scss +2 -2
- package/sass/elevations/presets/_index.scss +3 -3
- package/sass/elevations/presets/_indigo.scss +16 -16
- package/sass/elevations/presets/_material.scss +3 -3
- package/sass/tailwind/utilities/_common.scss +1 -1
- package/sass/themes/_functions.scss +15 -15
- package/sass/themes/_mixins.scss +9 -9
- package/sass/themes/charts/_category-chart-theme.scss +2 -9
- package/sass/themes/charts/_data-chart-theme.scss +1 -1
- package/sass/themes/charts/_doughnut-chart-theme.scss +1 -1
- package/sass/themes/charts/_financial-chart-theme.scss +2 -9
- package/sass/themes/charts/_funnel-chart-theme.scss +1 -1
- package/sass/themes/charts/_gauge-theme.scss +2 -2
- package/sass/themes/charts/_geo-map-theme.scss +1 -1
- package/sass/themes/charts/_graph-theme.scss +1 -1
- package/sass/themes/charts/_pie-chart-theme.scss +1 -1
- package/sass/themes/charts/_shape-chart-theme.scss +2 -9
- package/sass/themes/charts/_sparkline-theme.scss +2 -2
- package/sass/themes/components/action-strip/_action-strip-theme.scss +1 -1
- package/sass/themes/components/avatar/_avatar-theme.scss +2 -2
- package/sass/themes/components/badge/_badge-theme.scss +2 -2
- package/sass/themes/components/banner/_banner-theme.scss +1 -1
- package/sass/themes/components/bottom-nav/_bottom-nav-theme.scss +2 -2
- package/sass/themes/components/button/_button-theme.scss +5 -5
- package/sass/themes/components/button/_contained-button-theme.scss +5 -5
- package/sass/themes/components/button/_fab-button-theme.scss +5 -5
- package/sass/themes/components/button/_flat-button-theme.scss +17 -17
- package/sass/themes/components/button/_outlined-button-theme.scss +17 -17
- package/sass/themes/components/button-group/_button-group-theme.scss +5 -5
- package/sass/themes/components/calendar/_calendar-theme.scss +18 -20
- package/sass/themes/components/card/_card-theme.scss +3 -3
- package/sass/themes/components/carousel/_carousel-theme.scss +8 -8
- package/sass/themes/components/chat/_chat-theme.scss +1 -1
- package/sass/themes/components/checkbox/_checkbox-theme.scss +6 -6
- package/sass/themes/components/chip/_chip-theme.scss +5 -5
- package/sass/themes/components/column-actions/_column-actions-theme.scss +1 -1
- package/sass/themes/components/combo/_combo-theme.scss +3 -3
- package/sass/themes/components/dialog/_dialog-theme.scss +4 -4
- package/sass/themes/components/divider/_divider-theme.scss +1 -1
- package/sass/themes/components/dock-manager/_dock-manager-theme.scss +1 -1
- package/sass/themes/components/drop-down/_drop-down-theme.scss +10 -10
- package/sass/themes/components/expansion-panel/_expansion-panel-theme.scss +4 -4
- package/sass/themes/components/grid/_grid-summary-theme.scss +3 -3
- package/sass/themes/components/grid/_grid-theme.scss +56 -17
- package/sass/themes/components/grid/_grid-toolbar-theme.scss +1 -1
- package/sass/themes/components/highlight/_highlight-theme.scss +1 -1
- package/sass/themes/components/icon/_icon-theme.scss +1 -1
- package/sass/themes/components/icon-button/_contained-icon-button-theme.scss +8 -8
- package/sass/themes/components/icon-button/_flat-icon-button-theme.scss +12 -12
- package/sass/themes/components/icon-button/_icon-button-theme.scss +4 -4
- package/sass/themes/components/icon-button/_outlined-icon-button-theme.scss +13 -13
- package/sass/themes/components/input/_file-input-theme.scss +1 -1
- package/sass/themes/components/input/_input-theme.scss +23 -23
- package/sass/themes/components/list/_list-theme.scss +6 -6
- package/sass/themes/components/navbar/_navbar-theme.scss +4 -4
- package/sass/themes/components/navdrawer/_navdrawer-theme.scss +3 -3
- package/sass/themes/components/overlay/_overlay-theme.scss +1 -1
- package/sass/themes/components/paginator/_paginator-theme.scss +1 -1
- package/sass/themes/components/progress/_circular-theme.scss +1 -1
- package/sass/themes/components/progress/_linear-theme.scss +1 -1
- package/sass/themes/components/query-builder/_query-builder-theme.scss +2 -2
- package/sass/themes/components/radio/_radio-theme.scss +5 -5
- package/sass/themes/components/rating/_rating-theme.scss +1 -1
- package/sass/themes/components/ripple/_ripple-theme.scss +1 -1
- package/sass/themes/components/scrollbar/_scrollbar-theme.scss +1 -1
- package/sass/themes/components/select/_select-theme.scss +1 -1
- package/sass/themes/components/slider/_slider-theme.scss +7 -7
- package/sass/themes/components/snackbar/_snackbar-theme.scss +2 -2
- package/sass/themes/components/splitter/_splitter-theme.scss +1 -1
- package/sass/themes/components/stepper/_stepper-theme.scss +2 -2
- package/sass/themes/components/switch/_switch-theme.scss +13 -13
- package/sass/themes/components/tabs/_tabs-theme.scss +8 -8
- package/sass/themes/components/time-picker/_time-picker-theme.scss +8 -8
- package/sass/themes/components/toast/_toast-theme.scss +3 -3
- package/sass/themes/components/tooltip/_tooltip-theme.scss +2 -2
- package/sass/themes/components/tree/_tree-theme.scss +17 -17
- package/sass/themes/components/watermark/_watermark-theme.scss +1 -1
- package/sass/themes/schemas/charts/dark/_category-chart.scss +5 -5
- package/sass/themes/schemas/charts/dark/_data-chart.scss +5 -5
- package/sass/themes/schemas/charts/dark/_doughnut-chart.scss +5 -5
- package/sass/themes/schemas/charts/dark/_financial-chart.scss +5 -5
- package/sass/themes/schemas/charts/dark/_funnel-chart.scss +5 -5
- package/sass/themes/schemas/charts/dark/_gauge.scss +9 -9
- package/sass/themes/schemas/charts/dark/_geo-map.scss +5 -5
- package/sass/themes/schemas/charts/dark/_graph.scss +5 -5
- package/sass/themes/schemas/charts/dark/_pie-chart.scss +5 -5
- package/sass/themes/schemas/charts/dark/_shape-chart.scss +5 -5
- package/sass/themes/schemas/charts/dark/_sparkline.scss +5 -5
- package/sass/themes/schemas/charts/light/_category-chart.scss +8 -8
- package/sass/themes/schemas/charts/light/_data-chart.scss +8 -8
- package/sass/themes/schemas/charts/light/_doughnut-chart.scss +8 -8
- package/sass/themes/schemas/charts/light/_financial-chart.scss +8 -8
- package/sass/themes/schemas/charts/light/_funnel-chart.scss +8 -8
- package/sass/themes/schemas/charts/light/_gauge.scss +19 -19
- package/sass/themes/schemas/charts/light/_geo-map.scss +8 -8
- package/sass/themes/schemas/charts/light/_graph.scss +8 -8
- package/sass/themes/schemas/charts/light/_pie-chart.scss +8 -8
- package/sass/themes/schemas/charts/light/_shape-chart.scss +8 -8
- package/sass/themes/schemas/charts/light/_sparkline.scss +9 -9
- package/sass/themes/schemas/components/dark/_action-strip.scss +5 -5
- package/sass/themes/schemas/components/dark/_avatar.scss +5 -5
- package/sass/themes/schemas/components/dark/_badge.scss +5 -5
- package/sass/themes/schemas/components/dark/_banner.scss +5 -5
- package/sass/themes/schemas/components/dark/_bottom-nav.scss +5 -5
- package/sass/themes/schemas/components/dark/_button-group.scss +6 -6
- package/sass/themes/schemas/components/dark/_button.scss +65 -65
- package/sass/themes/schemas/components/dark/_calendar.scss +24 -24
- package/sass/themes/schemas/components/dark/_card.scss +5 -5
- package/sass/themes/schemas/components/dark/_carousel.scss +5 -5
- package/sass/themes/schemas/components/dark/_chat.scss +5 -5
- package/sass/themes/schemas/components/dark/_checkbox.scss +5 -5
- package/sass/themes/schemas/components/dark/_chip.scss +7 -7
- package/sass/themes/schemas/components/dark/_column-actions.scss +5 -5
- package/sass/themes/schemas/components/dark/_combo.scss +6 -6
- package/sass/themes/schemas/components/dark/_date-picker.scss +8 -8
- package/sass/themes/schemas/components/dark/_date-range-picker.scss +5 -5
- package/sass/themes/schemas/components/dark/_dialog.scss +5 -5
- package/sass/themes/schemas/components/dark/_divider.scss +5 -5
- package/sass/themes/schemas/components/dark/_dock-manager.scss +5 -5
- package/sass/themes/schemas/components/dark/_drop-down.scss +5 -5
- package/sass/themes/schemas/components/dark/_expansion-panel.scss +5 -5
- package/sass/themes/schemas/components/dark/_file-input.scss +5 -5
- package/sass/themes/schemas/components/dark/_grid-filtering.scss +5 -5
- package/sass/themes/schemas/components/dark/_grid-summary.scss +9 -9
- package/sass/themes/schemas/components/dark/_grid-toolbar.scss +5 -5
- package/sass/themes/schemas/components/dark/_grid.scss +57 -14
- package/sass/themes/schemas/components/dark/_highlight.scss +7 -7
- package/sass/themes/schemas/components/dark/_icon-button.scss +46 -46
- package/sass/themes/schemas/components/dark/_icon.scss +5 -5
- package/sass/themes/schemas/components/dark/_input-group.scss +6 -6
- package/sass/themes/schemas/components/dark/_label.scss +5 -5
- package/sass/themes/schemas/components/dark/_list.scss +5 -5
- package/sass/themes/schemas/components/dark/_navbar.scss +5 -5
- package/sass/themes/schemas/components/dark/_navdrawer.scss +5 -5
- package/sass/themes/schemas/components/dark/_overlay.scss +5 -5
- package/sass/themes/schemas/components/dark/_pagination.scss +5 -5
- package/sass/themes/schemas/components/dark/_pivot-data-selector.scss +9 -9
- package/sass/themes/schemas/components/dark/_progress.scss +10 -10
- package/sass/themes/schemas/components/dark/_query-builder.scss +3 -3
- package/sass/themes/schemas/components/dark/_radio.scss +5 -5
- package/sass/themes/schemas/components/dark/_rating.scss +5 -5
- package/sass/themes/schemas/components/dark/_resize-indicator.scss +9 -9
- package/sass/themes/schemas/components/dark/_ripple.scss +5 -5
- package/sass/themes/schemas/components/dark/_scrollbar.scss +5 -5
- package/sass/themes/schemas/components/dark/_select.scss +5 -5
- package/sass/themes/schemas/components/dark/_slider.scss +5 -5
- package/sass/themes/schemas/components/dark/_snackbar.scss +6 -6
- package/sass/themes/schemas/components/dark/_splitter.scss +13 -7
- package/sass/themes/schemas/components/dark/_stepper.scss +5 -5
- package/sass/themes/schemas/components/dark/_switch.scss +5 -5
- package/sass/themes/schemas/components/dark/_tabs.scss +5 -5
- package/sass/themes/schemas/components/dark/_tile-manager.scss +11 -11
- package/sass/themes/schemas/components/dark/_time-picker.scss +5 -5
- package/sass/themes/schemas/components/dark/_toast.scss +4 -4
- package/sass/themes/schemas/components/dark/_tooltip.scss +7 -7
- package/sass/themes/schemas/components/dark/_tree.scss +5 -5
- package/sass/themes/schemas/components/dark/_validator.scss +5 -5
- package/sass/themes/schemas/components/dark/_watermark.scss +5 -5
- package/sass/themes/schemas/components/dark/calendar/_base.scss +9 -9
- package/sass/themes/schemas/components/dark/calendar/_days-view.scss +11 -11
- package/sass/themes/schemas/components/dark/calendar/_picker.scss +8 -8
- package/sass/themes/schemas/components/dark/calendar/_year-month-view.scss +11 -11
- package/sass/themes/schemas/components/elevation/_button-group.scss +3 -3
- package/sass/themes/schemas/components/elevation/_carousel.scss +2 -2
- package/sass/themes/schemas/components/light/_action-strip.scss +9 -9
- package/sass/themes/schemas/components/light/_avatar.scss +9 -9
- package/sass/themes/schemas/components/light/_badge.scss +12 -12
- package/sass/themes/schemas/components/light/_banner.scss +9 -9
- package/sass/themes/schemas/components/light/_bottom-nav.scss +12 -12
- package/sass/themes/schemas/components/light/_button-group.scss +14 -14
- package/sass/themes/schemas/components/light/_button.scss +103 -103
- package/sass/themes/schemas/components/light/_calendar.scss +28 -28
- package/sass/themes/schemas/components/light/_card.scss +14 -42
- package/sass/themes/schemas/components/light/_carousel.scss +12 -12
- package/sass/themes/schemas/components/light/_chat.scss +9 -9
- package/sass/themes/schemas/components/light/_checkbox.scss +9 -9
- package/sass/themes/schemas/components/light/_chip.scss +27 -27
- package/sass/themes/schemas/components/light/_column-actions.scss +9 -9
- package/sass/themes/schemas/components/light/_combo.scss +11 -11
- package/sass/themes/schemas/components/light/_date-picker.scss +8 -8
- package/sass/themes/schemas/components/light/_date-range-picker.scss +9 -9
- package/sass/themes/schemas/components/light/_dialog.scss +14 -23
- package/sass/themes/schemas/components/light/_divider.scss +7 -7
- package/sass/themes/schemas/components/light/_dock-manager.scss +9 -9
- package/sass/themes/schemas/components/light/_drop-down.scss +16 -24
- package/sass/themes/schemas/components/light/_expansion-panel.scss +12 -24
- package/sass/themes/schemas/components/light/_file-input.scss +1 -1
- package/sass/themes/schemas/components/light/_grid-filtering.scss +9 -9
- package/sass/themes/schemas/components/light/_grid-summary.scss +13 -26
- package/sass/themes/schemas/components/light/_grid-toolbar.scss +9 -9
- package/sass/themes/schemas/components/light/_grid.scss +162 -68
- package/sass/themes/schemas/components/light/_highlight.scss +10 -10
- package/sass/themes/schemas/components/light/_icon-button.scss +48 -48
- package/sass/themes/schemas/components/light/_icon.scss +9 -9
- package/sass/themes/schemas/components/light/_input-group.scss +17 -26
- package/sass/themes/schemas/components/light/_label.scss +8 -8
- package/sass/themes/schemas/components/light/_list.scss +13 -33
- package/sass/themes/schemas/components/light/_navbar.scss +12 -12
- package/sass/themes/schemas/components/light/_navdrawer.scss +14 -26
- package/sass/themes/schemas/components/light/_overlay.scss +9 -9
- package/sass/themes/schemas/components/light/_pagination.scss +9 -9
- package/sass/themes/schemas/components/light/_pivot-data-selector.scss +9 -9
- package/sass/themes/schemas/components/light/_progress.scss +13 -13
- package/sass/themes/schemas/components/light/_query-builder.scss +10 -10
- package/sass/themes/schemas/components/light/_radio.scss +9 -9
- package/sass/themes/schemas/components/light/_rating.scss +9 -9
- package/sass/themes/schemas/components/light/_resize-indicator.scss +8 -8
- package/sass/themes/schemas/components/light/_ripple.scss +9 -9
- package/sass/themes/schemas/components/light/_scrollbar.scss +9 -9
- package/sass/themes/schemas/components/light/_select.scss +9 -9
- package/sass/themes/schemas/components/light/_slider.scss +11 -17
- package/sass/themes/schemas/components/light/_snackbar.scss +9 -9
- package/sass/themes/schemas/components/light/_splitter.scss +9 -9
- package/sass/themes/schemas/components/light/_stepper.scss +8 -8
- package/sass/themes/schemas/components/light/_switch.scss +9 -9
- package/sass/themes/schemas/components/light/_tabs.scss +9 -9
- package/sass/themes/schemas/components/light/_tile-manager.scss +10 -10
- package/sass/themes/schemas/components/light/_time-picker.scss +10 -19
- package/sass/themes/schemas/components/light/_toast.scss +11 -11
- package/sass/themes/schemas/components/light/_tooltip.scss +10 -10
- package/sass/themes/schemas/components/light/_tree.scss +8 -8
- package/sass/themes/schemas/components/light/_validator.scss +9 -9
- package/sass/themes/schemas/components/light/_watermark.scss +9 -9
- package/sass/themes/schemas/components/light/calendar/_base.scss +9 -29
- package/sass/themes/schemas/components/light/calendar/_days-view.scss +8 -17
- package/sass/themes/schemas/components/light/calendar/_picker.scss +9 -17
- package/sass/themes/schemas/components/light/calendar/_year-month-view.scss +9 -17
- package/sass/typography/_functions.scss +14 -14
- package/sass/typography/_mixins.scss +7 -7
- package/sass/utils/_css.scss +1 -1
- package/sass/utils/_map.scss +5 -5
- package/sass/utils/_math.scss +6 -5
- package/sass/utils/_meta.scss +4 -4
- package/tailwind/utilities/bootstrap.css +1 -1
- package/tailwind/utilities/fluent.css +1 -1
- package/tailwind/utilities/indigo.css +1 -1
- package/tailwind/utilities/material.css +1 -1
|
@@ -43,12 +43,12 @@
|
|
|
43
43
|
/// @param {Color} $indicator-active-dot-color [null] - The active indicator dot color. Auto-derived from indicator-background or button-background.
|
|
44
44
|
/// @param {Color} $indicator-active-border-color [null] - The active indicator border color. Auto-derived from indicator-active-dot-color.
|
|
45
45
|
/// @param {Color} $indicator-active-hover-dot-color [null] - The active indicator dot color on hover. Auto-derived from indicator-active-dot-color.
|
|
46
|
-
/// @param {
|
|
46
|
+
/// @param {List} $button-shadow [null] - Shadow underneath the previous/next buttons.
|
|
47
47
|
/// @param {List} $border-radius [null] - The border radius used for carousel component.
|
|
48
48
|
///
|
|
49
49
|
/// @requires $light-material-schema
|
|
50
50
|
///
|
|
51
|
-
/// @example scss Change the previous/next button colors
|
|
51
|
+
/// @example scss - Change the previous/next button colors
|
|
52
52
|
/// $my-carousel-theme: carousel-theme(
|
|
53
53
|
/// $button-background: black,
|
|
54
54
|
/// $button-hover-background: white
|
|
@@ -141,7 +141,7 @@
|
|
|
141
141
|
}
|
|
142
142
|
|
|
143
143
|
@if not($button-disabled-arrow-color) and $button-disabled-background {
|
|
144
|
-
$button-disabled-arrow-color:
|
|
144
|
+
$button-disabled-arrow-color: hsl(from adaptive-contrast(var(--button-disabled-background)) h s l / 0.4);
|
|
145
145
|
}
|
|
146
146
|
|
|
147
147
|
@if not($indicator-hover-dot-color) and $indicator-dot-color {
|
|
@@ -150,11 +150,11 @@
|
|
|
150
150
|
|
|
151
151
|
@if $variant == 'indigo' {
|
|
152
152
|
@if not($indicator-dot-color) and $indicator-background {
|
|
153
|
-
$indicator-dot-color:
|
|
153
|
+
$indicator-dot-color: hsl(from adaptive-contrast(var(--indicator-background)) h s l / 0.8);
|
|
154
154
|
}
|
|
155
155
|
|
|
156
156
|
@if not($indicator-hover-dot-color) and $indicator-dot-color {
|
|
157
|
-
$indicator-hover-dot-color:
|
|
157
|
+
$indicator-hover-dot-color: hsl(from var(--indicator-dot-color) h s l / 1);
|
|
158
158
|
}
|
|
159
159
|
|
|
160
160
|
@if not($indicator-border-color) and $indicator-dot-color {
|
|
@@ -162,7 +162,7 @@
|
|
|
162
162
|
}
|
|
163
163
|
} @else {
|
|
164
164
|
@if not($indicator-border-color) and $indicator-background {
|
|
165
|
-
$indicator-border-color:
|
|
165
|
+
$indicator-border-color: hsl(from adaptive-contrast(var(--indicator-background)) h s l / 0.8);
|
|
166
166
|
}
|
|
167
167
|
}
|
|
168
168
|
|
|
@@ -187,7 +187,7 @@
|
|
|
187
187
|
|
|
188
188
|
@if $variant == 'fluent' or $variant == 'bootstrap' {
|
|
189
189
|
@if not($button-focus-border-color) and $button-background {
|
|
190
|
-
$button-focus-border-color:
|
|
190
|
+
$button-focus-border-color: hsl(from adaptive-contrast(var(--button-background)) h s l / 0.5);
|
|
191
191
|
}
|
|
192
192
|
}
|
|
193
193
|
|
|
@@ -197,7 +197,7 @@
|
|
|
197
197
|
}
|
|
198
198
|
|
|
199
199
|
@if not($indicator-focus-color) and $indicator-active-hover-dot-color {
|
|
200
|
-
$indicator-focus-color:
|
|
200
|
+
$indicator-focus-color: hsl(from var(--indicator-active-hover-dot-color) h s l / 0.5);
|
|
201
201
|
}
|
|
202
202
|
} @else {
|
|
203
203
|
@if not($indicator-focus-color) and not($indicator-background) and $button-background {
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
/// @param {Color} $code-border [null] - The border color of the code snippets in the chat component.
|
|
41
41
|
/// @requires $light-material-schema
|
|
42
42
|
///
|
|
43
|
-
/// @example scss Change background color
|
|
43
|
+
/// @example scss - Change background color
|
|
44
44
|
/// $my-chat-theme: chat-theme($background: blue);
|
|
45
45
|
/// // Pass the theme to the css-vars mixin
|
|
46
46
|
/// @include css-vars($my-chat-theme);
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
///
|
|
51
51
|
/// @requires $light-material-schema
|
|
52
52
|
///
|
|
53
|
-
/// @example scss Change the checked fill color
|
|
53
|
+
/// @example scss - Change the checked fill color
|
|
54
54
|
/// $my-checkbox-theme: igx-checkbox-theme($fill-color: magenta);
|
|
55
55
|
/// // Pass the theme to the css-vars mixin
|
|
56
56
|
/// @include css-vars($my-checkbox-theme);
|
|
@@ -113,7 +113,7 @@
|
|
|
113
113
|
}
|
|
114
114
|
|
|
115
115
|
@if not($disabled-indeterminate-color) and $fill-color {
|
|
116
|
-
$disabled-indeterminate-color:
|
|
116
|
+
$disabled-indeterminate-color: hsl(from var(--fill-color) h s l / 0.5);
|
|
117
117
|
}
|
|
118
118
|
|
|
119
119
|
@if not($error-color-hover) and $error-color {
|
|
@@ -121,22 +121,22 @@
|
|
|
121
121
|
}
|
|
122
122
|
|
|
123
123
|
@if not($focus-outline-color-error) and $error-color {
|
|
124
|
-
$focus-outline-color-error:
|
|
124
|
+
$focus-outline-color-error: hsl(from var(--error-color) h s l / 0.5);
|
|
125
125
|
}
|
|
126
126
|
|
|
127
127
|
@if $variant == 'bootstrap' {
|
|
128
128
|
@if not($focus-outline-color) and $fill-color {
|
|
129
|
-
$focus-outline-color:
|
|
129
|
+
$focus-outline-color: hsl(from var(--fill-color) h s l / 0.5);
|
|
130
130
|
}
|
|
131
131
|
}
|
|
132
132
|
|
|
133
133
|
@if $variant == 'indigo' {
|
|
134
134
|
@if not($focus-outline-color) and $empty-color {
|
|
135
|
-
$focus-outline-color:
|
|
135
|
+
$focus-outline-color: hsl(from var(--empty-color) h s l / 0.5);
|
|
136
136
|
}
|
|
137
137
|
|
|
138
138
|
@if not($focus-outline-color-focused) and $fill-color {
|
|
139
|
-
$focus-outline-color-focused:
|
|
139
|
+
$focus-outline-color-focused: hsl(from var(--fill-color) h s l / 0.5);
|
|
140
140
|
}
|
|
141
141
|
}
|
|
142
142
|
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
///
|
|
35
35
|
/// @param {Color} $ghost-background [null] - The chip ghost background color.
|
|
36
36
|
/// @param {Color} $ghost-text-color [null] - The chip ghost text color.
|
|
37
|
-
/// @param {
|
|
37
|
+
/// @param {List} $ghost-shadow [null] - The chip ghost shadow.
|
|
38
38
|
///
|
|
39
39
|
/// @param {Color} $hover-text-color [null] - The chip text hover color. Auto-derived from hover-background.
|
|
40
40
|
/// @param {Color} $hover-background [null] - The chip hover background color. Auto-derived from background.
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
///
|
|
47
47
|
/// @param {color} $selected-text-color [null] - The selected chip text color. Auto-derived from selected-background.
|
|
48
48
|
/// @param {color} $selected-background [null] - The selected chip background color. Auto-derived from background.
|
|
49
|
-
/// @param {color} $selected-border-color [null] The selected chip border color. Auto-derived from selected-background.
|
|
49
|
+
/// @param {color} $selected-border-color [null] - The selected chip border color. Auto-derived from selected-background.
|
|
50
50
|
///
|
|
51
51
|
/// @param {color} $hover-selected-text-color [null] - The selected chip hover text color. Auto-derived from hover-selected-background.
|
|
52
52
|
/// @param {color} $hover-selected-background [null] - The selected chip hover background color. Auto-derived from selected-background.
|
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
///
|
|
62
62
|
/// @requires $light-material-schema
|
|
63
63
|
///
|
|
64
|
-
/// @example scss Change the background color
|
|
64
|
+
/// @example scss - Change the background color
|
|
65
65
|
/// $my-chip-theme: igx-chip-theme($background: black);
|
|
66
66
|
/// // Pass the theme to the css-vars mixin
|
|
67
67
|
/// @include css-vars($my-chip-theme);
|
|
@@ -210,11 +210,11 @@
|
|
|
210
210
|
|
|
211
211
|
@if $variant == 'bootstrap' or $variant == 'indigo' {
|
|
212
212
|
@if not($focus-outline-color) and $focus-background {
|
|
213
|
-
$focus-outline-color:
|
|
213
|
+
$focus-outline-color: hsl(from var(--focus-background) h s l / 0.4);
|
|
214
214
|
}
|
|
215
215
|
|
|
216
216
|
@if not($focus-selected-outline-color) and $focus-selected-background {
|
|
217
|
-
$focus-selected-outline-color:
|
|
217
|
+
$focus-selected-outline-color: hsl(from var(--focus-selected-background) h s l / 0.4);
|
|
218
218
|
}
|
|
219
219
|
}
|
|
220
220
|
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
///
|
|
26
26
|
/// @requires $light-material-schema
|
|
27
27
|
///
|
|
28
|
-
/// @example scss Change the title color
|
|
28
|
+
/// @example scss - Change the title color
|
|
29
29
|
/// $column-actions-theme: igx-column-actions-theme($title-color: black);
|
|
30
30
|
/// // Pass the theme to the css-vars mixin
|
|
31
31
|
/// @include css-vars($column-actions-theme);
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
/// @param {Color} $clear-button-foreground [null] - The combo clear button foreground color.
|
|
41
41
|
/// @param {Color} $clear-button-foreground-focus [null] - The combo clear button foreground color when the combo is focused. Auto-derived from clear-button-background-focus.
|
|
42
42
|
/// @requires $light-material-schema
|
|
43
|
-
/// @example scss Change the combo empty list background
|
|
43
|
+
/// @example scss - Change the combo empty list background
|
|
44
44
|
/// $my-combo-theme: igx-checkbox-theme($empty-list-background);
|
|
45
45
|
/// // Pass the theme to the css-vars mixin
|
|
46
46
|
/// @include css-vars($my-combo-theme);
|
|
@@ -109,11 +109,11 @@
|
|
|
109
109
|
}
|
|
110
110
|
|
|
111
111
|
@if not($toggle-button-background-disabled) and $toggle-button-background {
|
|
112
|
-
$toggle-button-background-disabled:
|
|
112
|
+
$toggle-button-background-disabled: hsl(from var(--toggle-button-background) h s l / 0.3);
|
|
113
113
|
}
|
|
114
114
|
|
|
115
115
|
@if not($toggle-button-foreground-disabled) and $toggle-button-background {
|
|
116
|
-
$toggle-button-foreground-disabled:
|
|
116
|
+
$toggle-button-foreground-disabled: hsl(from adaptive-contrast(var(--toggle-button-background)) h s l / 0.7);
|
|
117
117
|
}
|
|
118
118
|
|
|
119
119
|
@if not($clear-button-foreground) and $clear-button-background {
|
|
@@ -25,11 +25,11 @@
|
|
|
25
25
|
/// @param {Color} $background [null] - The dialog background color. PRIMARY - derives title-color, message-color, border-color.
|
|
26
26
|
/// @param {Color} $title-color [null] - The dialog title text color. Auto-derived from background.
|
|
27
27
|
/// @param {Color} $message-color [null] - The dialog message text color. Auto-derived from background (slightly transparent).
|
|
28
|
-
/// @param {
|
|
28
|
+
/// @param {List} $shadow [null] - The shadow used for the dialog.
|
|
29
29
|
/// @param {List} $border-radius [null] - The border radius used for dialog component.
|
|
30
30
|
/// @param {Color} $border-color [null] - The border color used for dialog component. Auto-derived from background.
|
|
31
31
|
/// @requires $light-material-schema
|
|
32
|
-
/// @example scss Change the background color
|
|
32
|
+
/// @example scss - Change the background color
|
|
33
33
|
/// $my-dialog-theme: dialog-theme($background: black);
|
|
34
34
|
/// // Pass the theme to the css-vars() mixin
|
|
35
35
|
/// @include css-vars($my-dialog-theme);
|
|
@@ -60,11 +60,11 @@
|
|
|
60
60
|
}
|
|
61
61
|
|
|
62
62
|
@if not($message-color) and $background {
|
|
63
|
-
$message-color:
|
|
63
|
+
$message-color: hsl(from adaptive-contrast(var(--background)) h s l / 0.8);
|
|
64
64
|
}
|
|
65
65
|
|
|
66
66
|
@if not($border-color) and $background {
|
|
67
|
-
$border-color:
|
|
67
|
+
$border-color: hsl(from adaptive-contrast(var(--background)) h s l / 0.3);
|
|
68
68
|
}
|
|
69
69
|
|
|
70
70
|
@if not($shadow) {
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
/// @param {Color} $color [null] - The color of the divider. (Gradients are not supported for dashed dividers).
|
|
22
22
|
/// @param {number} $inset [null] - The inset value of the divider.
|
|
23
23
|
/// @requires $light-material-schema
|
|
24
|
-
/// @example scss Change the color of the divider
|
|
24
|
+
/// @example scss - Change the color of the divider
|
|
25
25
|
/// $my-divider-theme: divider-theme($color: orange);
|
|
26
26
|
/// // Pass the theme to the css-vars() mixin
|
|
27
27
|
/// @include css-vars($my-divider-theme);
|
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
/// @param {Color} $tab-text-active [null] - Sets the text color for active tabs.
|
|
58
58
|
/// @param {Color} $text-color [null] - Sets the text color for most elements in the dock manager. Used as the default joystick icon color.
|
|
59
59
|
/// @requires $light-material-schema
|
|
60
|
-
/// @example scss Change the background and icon colors in icon dock-managers
|
|
60
|
+
/// @example scss - Change the background and icon colors in icon dock-managers
|
|
61
61
|
/// $my-dock-manager-theme: dock-manager-theme();
|
|
62
62
|
/// // Pass the theme to the css-vars() mixin
|
|
63
63
|
/// @include css-vars($my-dock-manager-theme);
|
|
@@ -43,13 +43,13 @@
|
|
|
43
43
|
/// @param {Color} $selected-focus-item-text-color [null] - The drop-down selected item focus text color. Auto-derived from selected-focus-item-background.
|
|
44
44
|
/// @param {Color} $disabled-item-background [null] - The drop-down disabled item background color.
|
|
45
45
|
/// @param {Color} $disabled-item-text-color [null] - The drop-down disabled item text color. Auto-derived from background-color or disabled-item-background.
|
|
46
|
-
/// @param {
|
|
46
|
+
/// @param {List} $shadow [null] - Sets a shadow to be used for the drop-down.
|
|
47
47
|
/// @param {Number} $border-width [null] - The border width used for drop-down component.
|
|
48
48
|
/// @param {Color} $border-color [null] - The border color used for drop-down component.
|
|
49
49
|
/// @param {List} $border-radius [null] - The border radius used for drop-down component.
|
|
50
50
|
/// @param {List} $item-border-radius [null] - The border radius used for drop-down items.
|
|
51
51
|
/// @requires $light-material-schema
|
|
52
|
-
/// @example scss Change the background-color of the dropdown
|
|
52
|
+
/// @example scss - Change the background-color of the dropdown
|
|
53
53
|
/// $my-dropdown-theme: drop-down-theme($background-color: #09f);
|
|
54
54
|
/// // Pass the theme to the css-vars() mixin
|
|
55
55
|
/// @include css-vars($my-dropdown-theme);
|
|
@@ -108,11 +108,11 @@
|
|
|
108
108
|
}
|
|
109
109
|
|
|
110
110
|
@if not($item-icon-color) and $item-text-color {
|
|
111
|
-
$item-icon-color:
|
|
111
|
+
$item-icon-color: hsl(from var(--item-text-color) h s l / 0.8);
|
|
112
112
|
}
|
|
113
113
|
|
|
114
114
|
@if not($hover-item-background) and $background-color {
|
|
115
|
-
$hover-item-background:
|
|
115
|
+
$hover-item-background: hsl(from adaptive-contrast(var(--background-color)) h s l / 0.12);
|
|
116
116
|
}
|
|
117
117
|
|
|
118
118
|
@if not($hover-item-text-color) and $item-text-color {
|
|
@@ -120,7 +120,7 @@
|
|
|
120
120
|
}
|
|
121
121
|
|
|
122
122
|
@if not($hover-item-icon-color) and $hover-item-text-color {
|
|
123
|
-
$hover-item-icon-color:
|
|
123
|
+
$hover-item-icon-color: hsl(from var(--hover-item-text-color) h s l / 0.8);
|
|
124
124
|
}
|
|
125
125
|
|
|
126
126
|
@if not($focused-item-background) and $background-color {
|
|
@@ -140,7 +140,7 @@
|
|
|
140
140
|
}
|
|
141
141
|
|
|
142
142
|
@if not($selected-item-icon-color) and $selected-item-text-color {
|
|
143
|
-
$selected-item-icon-color:
|
|
143
|
+
$selected-item-icon-color: hsl(from var(--selected-item-text-color) h s l / 0.8);
|
|
144
144
|
}
|
|
145
145
|
|
|
146
146
|
@if not($selected-hover-item-background) and $selected-item-background {
|
|
@@ -152,7 +152,7 @@
|
|
|
152
152
|
}
|
|
153
153
|
|
|
154
154
|
@if not($selected-hover-item-icon-color) and $selected-hover-item-text-color {
|
|
155
|
-
$selected-hover-item-icon-color:
|
|
155
|
+
$selected-hover-item-icon-color: hsl(from var(--selected-hover-item-text-color) h s l / 0.8);
|
|
156
156
|
}
|
|
157
157
|
|
|
158
158
|
@if not($selected-focus-item-background) and $selected-item-background {
|
|
@@ -174,15 +174,15 @@
|
|
|
174
174
|
}
|
|
175
175
|
|
|
176
176
|
@if not($disabled-item-text-color) and $background-color {
|
|
177
|
-
$disabled-item-text-color:
|
|
177
|
+
$disabled-item-text-color: hsl(from adaptive-contrast(var(--background-color)) h s l / 0.36);
|
|
178
178
|
}
|
|
179
179
|
|
|
180
180
|
@if not($disabled-item-text-color) and $disabled-item-background {
|
|
181
|
-
$disabled-item-text-color:
|
|
181
|
+
$disabled-item-text-color: hsl(from adaptive-contrast(var(--disabled-item-background)) h s l / 0.36);
|
|
182
182
|
}
|
|
183
183
|
|
|
184
184
|
@if not($header-text-color) and $background-color {
|
|
185
|
-
$header-text-color:
|
|
185
|
+
$header-text-color: hsl(from adaptive-contrast(var(--background-color)) h s l / 0.7);
|
|
186
186
|
}
|
|
187
187
|
|
|
188
188
|
@if not($shadow) {
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
/// @param {Number} $expanded-margin [null] - The expansion panel margin in expanded state when positioned inside accordion.
|
|
35
35
|
/// @param {List} $border-radius [null] - The border radius used for expansion-panel component.
|
|
36
36
|
/// @requires $light-material-schema
|
|
37
|
-
/// @example scss Change the header background color
|
|
37
|
+
/// @example scss - Change the header background color
|
|
38
38
|
/// $my-expansion-panel-theme: expansion-panel-theme($header-background: black);
|
|
39
39
|
/// // Pass the theme to the css-vars() mixin
|
|
40
40
|
/// @include css-vars($my-expansion-panel-theme);
|
|
@@ -73,7 +73,7 @@
|
|
|
73
73
|
}
|
|
74
74
|
|
|
75
75
|
@if not($header-description-color) and $header-background {
|
|
76
|
-
$header-description-color:
|
|
76
|
+
$header-description-color: hsl(from adaptive-contrast(var(--header-background)) h s l / 0.8);
|
|
77
77
|
}
|
|
78
78
|
|
|
79
79
|
@if not($header-focus-background) and $header-background {
|
|
@@ -85,11 +85,11 @@
|
|
|
85
85
|
}
|
|
86
86
|
|
|
87
87
|
@if not($disabled-text-color) and $header-background {
|
|
88
|
-
$disabled-text-color:
|
|
88
|
+
$disabled-text-color: hsl(from adaptive-contrast(var(--header-background)) h s l / 0.5);
|
|
89
89
|
}
|
|
90
90
|
|
|
91
91
|
@if not($disabled-description-color) and $header-background {
|
|
92
|
-
$disabled-description-color:
|
|
92
|
+
$disabled-description-color: hsl(from adaptive-contrast(var(--header-background)) h s l / 0.5);
|
|
93
93
|
}
|
|
94
94
|
|
|
95
95
|
@return extend(
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
/// @param {Color} $pinned-border-color [null] - The border color of the summary panel. Auto-derived from background-color.
|
|
33
33
|
/// @param {Color} $label-hover-color [null] - The summaries hover label color. Auto-derived from label-color.
|
|
34
34
|
/// @requires $light-material-schema
|
|
35
|
-
/// @example scss Change the summaries background and labels color
|
|
35
|
+
/// @example scss - Change the summaries background and labels color
|
|
36
36
|
/// $my-summary-theme: grid-summary-theme(
|
|
37
37
|
/// $background-color: black,
|
|
38
38
|
/// $label-color: white
|
|
@@ -75,11 +75,11 @@
|
|
|
75
75
|
}
|
|
76
76
|
|
|
77
77
|
@if not($border-color) and $background-color {
|
|
78
|
-
$border-color:
|
|
78
|
+
$border-color: hsl(from adaptive-contrast(var(--background-color)) h s l / 0.26);
|
|
79
79
|
}
|
|
80
80
|
|
|
81
81
|
@if not($pinned-border-color) and $background-color {
|
|
82
|
-
$pinned-border-color:
|
|
82
|
+
$pinned-border-color: hsl(from adaptive-contrast(var(--background-color)) h s l / 0.26);
|
|
83
83
|
}
|
|
84
84
|
|
|
85
85
|
@return extend(
|
|
@@ -100,14 +100,19 @@
|
|
|
100
100
|
/// @param {Color} $tree-filtered-text-color [null] - Grouping row background color on focus.
|
|
101
101
|
/// @param {Color} $summaries-patch-background [null] - The leading summaries patch background.
|
|
102
102
|
/// @param {Color} $row-highlight [null] - The grid row highlight indication color.
|
|
103
|
-
/// @param {
|
|
104
|
-
/// @param {
|
|
103
|
+
/// @param {List} $grid-shadow [null] - The shadow of the grid.
|
|
104
|
+
/// @param {List} $drag-shadow [null] - The shadow for movable elements.
|
|
105
105
|
/// @param {color} $row-ghost-background [null] - The dragged row background color.
|
|
106
106
|
/// @param {color} $row-drag-color [null] - The row drag handle color.
|
|
107
107
|
/// @param {Color} $grid-border-color [null] - The color of the grid border.
|
|
108
108
|
/// @param {List} $drop-area-border-radius [null] - The border radius for column drop area.
|
|
109
|
+
/// @param {List} $active-state-border-style [null] - The border style used for row active state and cell active state.
|
|
110
|
+
/// @param {Color} $body-column-border-color [null] - The border color used for the body column.
|
|
111
|
+
/// @param {Color} $body-column-hover-border-color [null] - The border color used for the body column when in hovered row.
|
|
112
|
+
/// @param {Color} $body-column-hover-selected-border-color [null] - The border color used for the body column when in hovered + selected row.
|
|
113
|
+
/// @param {Color} $body-column-selected-border-color [null] - The border color used for the body column when in selected row.
|
|
109
114
|
/// @requires $light-material-schema
|
|
110
|
-
/// @example scss Change the header background color
|
|
115
|
+
/// @example scss - Change the header background color
|
|
111
116
|
/// $my-grid-theme: grid-theme($header-background: black);
|
|
112
117
|
/// // Pass the theme to the css-vars() mixin
|
|
113
118
|
/// @include css-vars($my-grid-theme);
|
|
@@ -215,7 +220,14 @@
|
|
|
215
220
|
$summaries-patch-background: null,
|
|
216
221
|
|
|
217
222
|
$cell-selected-within-background: null,
|
|
218
|
-
$cell-selected-within-text-color: null
|
|
223
|
+
$cell-selected-within-text-color: null,
|
|
224
|
+
|
|
225
|
+
$body-column-border-color-odd: null,
|
|
226
|
+
$body-column-border-color-even: null,
|
|
227
|
+
$body-column-hover-border-color: null,
|
|
228
|
+
$body-column-hover-selected-border-color: null,
|
|
229
|
+
$body-column-selected-border-color: null,
|
|
230
|
+
$active-state-border-style: null
|
|
219
231
|
) {
|
|
220
232
|
$selector: (
|
|
221
233
|
#{config.element-prefix() + '-' + 'grid'},
|
|
@@ -237,7 +249,7 @@
|
|
|
237
249
|
$theme: digest-schema($grid-schema);
|
|
238
250
|
|
|
239
251
|
@if not($ghost-header-icon-color) and $ghost-header-background {
|
|
240
|
-
$ghost-header-icon-color:
|
|
252
|
+
$ghost-header-icon-color: hsl(from adaptive-contrast(var(--ghost-header-background)) h s l / 0.07);
|
|
241
253
|
}
|
|
242
254
|
|
|
243
255
|
@if not($ghost-header-text-color) and $ghost-header-background {
|
|
@@ -257,7 +269,7 @@
|
|
|
257
269
|
}
|
|
258
270
|
|
|
259
271
|
@if not($header-border-color) and $header-background {
|
|
260
|
-
$header-border-color:
|
|
272
|
+
$header-border-color: hsl(from adaptive-contrast(var(--header-background)) h s l / 0.24);
|
|
261
273
|
}
|
|
262
274
|
|
|
263
275
|
@if not($content-text-color) and $content-background {
|
|
@@ -313,7 +325,7 @@
|
|
|
313
325
|
}
|
|
314
326
|
|
|
315
327
|
@if not($row-border-color) and $content-background {
|
|
316
|
-
$row-border-color:
|
|
328
|
+
$row-border-color: hsl(from adaptive-contrast(var(--content-background)) h s l / 0.08);
|
|
317
329
|
}
|
|
318
330
|
|
|
319
331
|
@if not($cell-selected-within-background) and $row-selected-background {
|
|
@@ -337,11 +349,11 @@
|
|
|
337
349
|
}
|
|
338
350
|
|
|
339
351
|
@if not($cell-active-border-color) and $content-background {
|
|
340
|
-
$cell-active-border-color:
|
|
352
|
+
$cell-active-border-color: hsl(from adaptive-contrast(var(--content-background)) h s l / 0.5);
|
|
341
353
|
}
|
|
342
354
|
|
|
343
355
|
@if not($pinned-border-color) and $content-background {
|
|
344
|
-
$pinned-border-color:
|
|
356
|
+
$pinned-border-color: hsl(from adaptive-contrast(var(--content-background)) h s l / 0.08);
|
|
345
357
|
}
|
|
346
358
|
|
|
347
359
|
@if not($group-row-background) and $header-background {
|
|
@@ -373,7 +385,7 @@
|
|
|
373
385
|
}
|
|
374
386
|
|
|
375
387
|
@if not($expand-all-icon-color) and $header-background {
|
|
376
|
-
$expand-all-icon-color:
|
|
388
|
+
$expand-all-icon-color: hsl(from adaptive-contrast(var(--header-background)) h s l / 0.87);
|
|
377
389
|
}
|
|
378
390
|
|
|
379
391
|
@if not($expand-all-icon-hover-color) and $header-background {
|
|
@@ -381,15 +393,15 @@
|
|
|
381
393
|
}
|
|
382
394
|
|
|
383
395
|
@if not($sorted-header-icon-color) and $header-background {
|
|
384
|
-
$sorted-header-icon-color:
|
|
396
|
+
$sorted-header-icon-color: hsl(from adaptive-contrast(var(--header-background)) h s l / 0.8);
|
|
385
397
|
}
|
|
386
398
|
|
|
387
399
|
@if not($sortable-header-icon-hover-color) and $sorted-header-icon-color {
|
|
388
|
-
$sortable-header-icon-hover-color:
|
|
400
|
+
$sortable-header-icon-hover-color: hsl(from var(--sorted-header-icon-color) h s l / 1);
|
|
389
401
|
}
|
|
390
402
|
|
|
391
403
|
@if not($edit-mode-color) and $content-background {
|
|
392
|
-
$edit-mode-color:
|
|
404
|
+
$edit-mode-color: hsl(from adaptive-contrast(var(--content-background)) h s l / 0.5);
|
|
393
405
|
}
|
|
394
406
|
|
|
395
407
|
@if not($group-label-text) and $group-row-background {
|
|
@@ -409,11 +421,11 @@
|
|
|
409
421
|
}
|
|
410
422
|
|
|
411
423
|
@if not($grouparea-color) and $grouparea-background {
|
|
412
|
-
$grouparea-color:
|
|
424
|
+
$grouparea-color: hsl(from adaptive-contrast(var(--grouparea-background)) h s l / 0.8);
|
|
413
425
|
}
|
|
414
426
|
|
|
415
427
|
@if not($grouparea-color) and $header-background {
|
|
416
|
-
$grouparea-color:
|
|
428
|
+
$grouparea-color: hsl(from adaptive-contrast(var(--header-background)) h s l / 0.8);
|
|
417
429
|
}
|
|
418
430
|
|
|
419
431
|
@if not($drop-area-background) and $grouparea-background {
|
|
@@ -457,11 +469,11 @@
|
|
|
457
469
|
}
|
|
458
470
|
|
|
459
471
|
@if not($excel-filtering-actions-foreground) and $filtering-row-background {
|
|
460
|
-
$excel-filtering-actions-foreground:
|
|
472
|
+
$excel-filtering-actions-foreground: hsl(from adaptive-contrast(var(--filtering-row-background)) h s l / 0.8);
|
|
461
473
|
}
|
|
462
474
|
|
|
463
475
|
@if not($excel-filtering-actions-disabled-foreground) and $filtering-row-background {
|
|
464
|
-
$excel-filtering-actions-disabled-foreground:
|
|
476
|
+
$excel-filtering-actions-disabled-foreground: hsl(
|
|
465
477
|
from adaptive-contrast(var(--filtering-row-background)) h s l / 0.5
|
|
466
478
|
);
|
|
467
479
|
}
|
|
@@ -480,6 +492,26 @@
|
|
|
480
492
|
$drop-area-border-radius: map.get($theme, 'drop-area-border-radius');
|
|
481
493
|
}
|
|
482
494
|
|
|
495
|
+
@if $row-odd-background and not($body-column-border-color-odd) {
|
|
496
|
+
$body-column-border-color-odd: $row-odd-background;
|
|
497
|
+
}
|
|
498
|
+
|
|
499
|
+
@if $row-even-background and not($body-column-border-color-even) {
|
|
500
|
+
$body-column-border-color-even: $row-even-background;
|
|
501
|
+
}
|
|
502
|
+
|
|
503
|
+
@if $row-hover-background and not($body-column-hover-border-color) {
|
|
504
|
+
$body-column-hover-border-color: $row-hover-background;
|
|
505
|
+
}
|
|
506
|
+
|
|
507
|
+
@if $row-selected-background and not($body-column-hover-selected-border-color) {
|
|
508
|
+
$body-column-hover-selected-border-color: $row-selected-background;
|
|
509
|
+
}
|
|
510
|
+
|
|
511
|
+
@if $row-selected-hover-background and not($body-column-selected-border-color) {
|
|
512
|
+
$body-column-selected-border-color: $row-selected-hover-background;
|
|
513
|
+
}
|
|
514
|
+
|
|
483
515
|
@return extend(
|
|
484
516
|
$theme,
|
|
485
517
|
(
|
|
@@ -589,6 +621,13 @@
|
|
|
589
621
|
|
|
590
622
|
cell-selected-within-background: $cell-selected-within-background,
|
|
591
623
|
cell-selected-within-text-color: $cell-selected-within-text-color,
|
|
624
|
+
active-state-border-style: $active-state-border-style,
|
|
625
|
+
|
|
626
|
+
body-column-border-color-odd: $body-column-border-color-odd,
|
|
627
|
+
body-column-border-color-even: $body-column-border-color-even,
|
|
628
|
+
body-column-hover-border-color: $body-column-hover-border-color,
|
|
629
|
+
body-column-hover-selected-border-color: $body-column-hover-selected-border-color,
|
|
630
|
+
body-column-selected-border-color: $body-column-selected-border-color,
|
|
592
631
|
)
|
|
593
632
|
);
|
|
594
633
|
}
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
/// @param {Color} $item-focus-text-color [null] - The toolbar drop-down item focus text color. Auto-derived from dropdown-background or item-focus-background.
|
|
36
36
|
/// @param {Color} $border-color [null] - The toolbar border-bottom color.
|
|
37
37
|
/// @requires $light-material-schema
|
|
38
|
-
/// @example scss Change the toolbar background color
|
|
38
|
+
/// @example scss - Change the toolbar background color
|
|
39
39
|
/// $my-toolbar-theme: grid-toolbar-theme(
|
|
40
40
|
/// $background-color: black
|
|
41
41
|
/// );
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
/// @param {Color} $active-background [null] - The background color used for the highlight in its active state. PRIMARY - derives active-color.
|
|
28
28
|
/// @param {Color} $active-color [null] - The text color used for the highlight in its active state. Auto-derived from active-background.
|
|
29
29
|
/// @requires $light-material-schema
|
|
30
|
-
/// @example scss Change the background and icon colors in icon highlight
|
|
30
|
+
/// @example scss - Change the background and icon colors in icon highlight
|
|
31
31
|
/// $my-highlight-theme: highlight-theme($resting-background: black, $active-color: white);
|
|
32
32
|
/// // Pass the theme to the css-vars() mixin
|
|
33
33
|
/// @include css-vars($my-highlight-theme);
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
/// @param {String} $size [null] - The icon size.
|
|
24
24
|
/// @param {Color} $disabled-color [null] - The disabled icon color.
|
|
25
25
|
/// @requires $light-material-schema
|
|
26
|
-
/// @example scss Change the icon color
|
|
26
|
+
/// @example scss - Change the icon color
|
|
27
27
|
/// $my-icon-theme: icon-theme($color: orange);
|
|
28
28
|
/// // Pass the theme to the css-vars() mixin
|
|
29
29
|
/// @include css-vars($my-icon-theme);
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
/// @param {Color} $disabled-border-color [null] - Border color when disabled.
|
|
43
43
|
/// @param {Length} $size [null] - Size of the icon button.
|
|
44
44
|
/// @requires $light-material-schema
|
|
45
|
-
/// @return {Map}
|
|
45
|
+
/// @return {Map} A map containing the theme name, selector, and theme values for the contained icon button.
|
|
46
46
|
@function contained-icon-button-theme(
|
|
47
47
|
$schema: $light-material-schema,
|
|
48
48
|
|
|
@@ -110,7 +110,7 @@
|
|
|
110
110
|
|
|
111
111
|
@if $variant == 'indigo' {
|
|
112
112
|
@if not($foreground) and $background {
|
|
113
|
-
$foreground:
|
|
113
|
+
$foreground: hsl(from adaptive-contrast(var(--background)) h s l / 0.8);
|
|
114
114
|
}
|
|
115
115
|
|
|
116
116
|
@if not($hover-background) and $background {
|
|
@@ -175,7 +175,7 @@
|
|
|
175
175
|
}
|
|
176
176
|
|
|
177
177
|
@if not($shadow-color) and $focus-background {
|
|
178
|
-
$shadow-color:
|
|
178
|
+
$shadow-color: hsl(from var(--focus-background) h s l / 0.5);
|
|
179
179
|
}
|
|
180
180
|
|
|
181
181
|
@if $variant == 'fluent' {
|
|
@@ -190,23 +190,23 @@
|
|
|
190
190
|
|
|
191
191
|
@if $variant == 'indigo' {
|
|
192
192
|
@if not($disabled-background) and $background {
|
|
193
|
-
$disabled-background:
|
|
193
|
+
$disabled-background: hsl(from var(--background) h s l / 0.4);
|
|
194
194
|
}
|
|
195
195
|
|
|
196
196
|
@if not($disabled-foreground) and $foreground {
|
|
197
|
-
$disabled-foreground:
|
|
197
|
+
$disabled-foreground: hsl(from var(--foreground) h s l / 0.5);
|
|
198
198
|
}
|
|
199
199
|
|
|
200
200
|
@if not($focus-border-color) and $focus-background {
|
|
201
|
-
$focus-border-color:
|
|
201
|
+
$focus-border-color: hsl(from var(--focus-background) h s l / 0.3);
|
|
202
202
|
}
|
|
203
203
|
} @else if $variant == 'bootstrap' {
|
|
204
204
|
@if not($disabled-background) and $background {
|
|
205
|
-
$disabled-background:
|
|
205
|
+
$disabled-background: hsl(from var(--background) h s l / 0.2);
|
|
206
206
|
}
|
|
207
207
|
|
|
208
208
|
@if not($disabled-foreground) and $disabled-background {
|
|
209
|
-
$disabled-foreground:
|
|
209
|
+
$disabled-foreground: hsl(from var(--disabled-background) h s l / 0.7);
|
|
210
210
|
}
|
|
211
211
|
}
|
|
212
212
|
|