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,7 +43,7 @@
|
|
|
43
43
|
/// @param {Color} $disabled-border-color [null] - Border color when disabled.
|
|
44
44
|
/// @param {Length} $size [null] - Size of the icon button.
|
|
45
45
|
/// @requires $light-material-schema
|
|
46
|
-
/// @return {Map}
|
|
46
|
+
/// @return {Map} A map containing the theme name, selector, and theme values for the flat icon button.
|
|
47
47
|
@function flat-icon-button-theme(
|
|
48
48
|
$schema: $light-material-schema,
|
|
49
49
|
|
|
@@ -127,16 +127,16 @@
|
|
|
127
127
|
}
|
|
128
128
|
|
|
129
129
|
@if not($hover-background) and $foreground {
|
|
130
|
-
$hover-background:
|
|
130
|
+
$hover-background: hsl(from var(--foreground) h s l / 0.08);
|
|
131
131
|
}
|
|
132
132
|
|
|
133
133
|
@if $variant == 'material' {
|
|
134
134
|
@if not($focus-background) and $foreground {
|
|
135
|
-
$focus-background:
|
|
135
|
+
$focus-background: hsl(from var(--foreground) h s l / 0.16);
|
|
136
136
|
}
|
|
137
137
|
|
|
138
138
|
@if not($focus-hover-background) and $foreground {
|
|
139
|
-
$focus-hover-background:
|
|
139
|
+
$focus-hover-background: hsl(from var(--foreground) h s l / 0.24);
|
|
140
140
|
}
|
|
141
141
|
} @else {
|
|
142
142
|
@if not($focus-hover-background) and $hover-background {
|
|
@@ -145,25 +145,25 @@
|
|
|
145
145
|
}
|
|
146
146
|
|
|
147
147
|
@if not($active-background) and $foreground {
|
|
148
|
-
$active-background:
|
|
148
|
+
$active-background: hsl(from var(--foreground) h s l / 0.24);
|
|
149
149
|
}
|
|
150
150
|
}
|
|
151
151
|
|
|
152
152
|
@if $variant == 'indigo' {
|
|
153
153
|
@if not($hover-background) and $foreground {
|
|
154
|
-
$hover-background:
|
|
154
|
+
$hover-background: hsl(from var(--foreground) h s l / 0.15);
|
|
155
155
|
}
|
|
156
156
|
|
|
157
157
|
@if not($focus-background) and $foreground {
|
|
158
|
-
$focus-background:
|
|
158
|
+
$focus-background: hsl(from var(--foreground) h s l / 0.15);
|
|
159
159
|
}
|
|
160
160
|
|
|
161
161
|
@if not($focus-hover-background) and $foreground {
|
|
162
|
-
$focus-hover-background:
|
|
162
|
+
$focus-hover-background: hsl(from var(--foreground) h s l / 0.15);
|
|
163
163
|
}
|
|
164
164
|
|
|
165
165
|
@if not($active-background) and $foreground {
|
|
166
|
-
$active-background:
|
|
166
|
+
$active-background: hsl(from var(--foreground) h s l / 0.15);
|
|
167
167
|
}
|
|
168
168
|
}
|
|
169
169
|
|
|
@@ -181,7 +181,7 @@
|
|
|
181
181
|
}
|
|
182
182
|
|
|
183
183
|
@if not($disabled-foreground) and $foreground {
|
|
184
|
-
$disabled-foreground:
|
|
184
|
+
$disabled-foreground: hsl(from var(--foreground) h s l / 0.5);
|
|
185
185
|
}
|
|
186
186
|
|
|
187
187
|
@if $variant == 'bootstrap' {
|
|
@@ -190,7 +190,7 @@
|
|
|
190
190
|
}
|
|
191
191
|
|
|
192
192
|
@if not($shadow-color) and $foreground {
|
|
193
|
-
$shadow-color:
|
|
193
|
+
$shadow-color: hsl(from var(--foreground) h s l / 0.5);
|
|
194
194
|
}
|
|
195
195
|
} @else {
|
|
196
196
|
@if not($active-foreground) and $hover-foreground {
|
|
@@ -198,7 +198,7 @@
|
|
|
198
198
|
}
|
|
199
199
|
|
|
200
200
|
@if not($focus-border-color) and $foreground {
|
|
201
|
-
$focus-border-color:
|
|
201
|
+
$focus-border-color: hsl(from var(--foreground) h s l / 0.3);
|
|
202
202
|
}
|
|
203
203
|
}
|
|
204
204
|
}
|
|
@@ -48,10 +48,10 @@
|
|
|
48
48
|
/// @param {Color} $disabled-border-color [null] - Border color when disabled.
|
|
49
49
|
/// @param {Length} $size [null] - Size of the icon button.
|
|
50
50
|
/// @requires $light-material-schema
|
|
51
|
-
/// @return {Map}
|
|
52
|
-
/// @see flat-icon-button-theme
|
|
53
|
-
/// @see contained-icon-button-theme
|
|
54
|
-
/// @see outlined-icon-button-theme
|
|
51
|
+
/// @return {Map} A map containing the theme name, variant, and themes for the icon button.
|
|
52
|
+
/// @see {function} flat-icon-button-theme
|
|
53
|
+
/// @see {function} contained-icon-button-theme
|
|
54
|
+
/// @see {function} outlined-icon-button-theme
|
|
55
55
|
@function icon-button-theme(
|
|
56
56
|
$schema: $light-material-schema,
|
|
57
57
|
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
/// @param {Color} $disabled-border-color [null] - Border color when disabled. Auto-derived from border-color (bootstrap/indigo).
|
|
44
44
|
/// @param {Length} $size [null] - Size of the icon button.
|
|
45
45
|
/// @requires $light-material-schema
|
|
46
|
-
/// @return {Map}
|
|
46
|
+
/// @return {Map} A map containing the theme name, selector, and theme values for the outlined icon button.
|
|
47
47
|
@function outlined-icon-button-theme(
|
|
48
48
|
$schema: $light-material-schema,
|
|
49
49
|
|
|
@@ -128,24 +128,24 @@
|
|
|
128
128
|
}
|
|
129
129
|
|
|
130
130
|
@if not($hover-background) and $foreground {
|
|
131
|
-
$hover-background:
|
|
131
|
+
$hover-background: hsl(from var(--foreground) h s l / 0.08);
|
|
132
132
|
}
|
|
133
133
|
|
|
134
134
|
@if not($active-background) and $foreground {
|
|
135
|
-
$active-background:
|
|
135
|
+
$active-background: hsl(from var(--foreground) h s l / 0.24);
|
|
136
136
|
}
|
|
137
137
|
|
|
138
138
|
@if $variant == 'material' {
|
|
139
139
|
@if not($focus-background) and $foreground {
|
|
140
|
-
$focus-background:
|
|
140
|
+
$focus-background: hsl(from var(--foreground) h s l / 0.16);
|
|
141
141
|
}
|
|
142
142
|
|
|
143
143
|
@if not($focus-hover-background) and $foreground {
|
|
144
|
-
$focus-hover-background:
|
|
144
|
+
$focus-hover-background: hsl(from var(--foreground) h s l / 0.24);
|
|
145
145
|
}
|
|
146
146
|
|
|
147
147
|
@if not($border-color) and $foreground {
|
|
148
|
-
$border-color:
|
|
148
|
+
$border-color: hsl(from var(--foreground) h s l / 0.4);
|
|
149
149
|
}
|
|
150
150
|
} @else {
|
|
151
151
|
@if not($focus-hover-background) and $hover-background {
|
|
@@ -157,14 +157,14 @@
|
|
|
157
157
|
}
|
|
158
158
|
|
|
159
159
|
@if not($border-color) and $foreground {
|
|
160
|
-
$border-color:
|
|
160
|
+
$border-color: hsl(from var(--foreground) h s l / 0.7);
|
|
161
161
|
}
|
|
162
162
|
}
|
|
163
163
|
}
|
|
164
164
|
|
|
165
165
|
@if $variant == 'indigo' {
|
|
166
166
|
@if not($border-color) and $foreground {
|
|
167
|
-
$border-color:
|
|
167
|
+
$border-color: hsl(from var(--foreground) h s l / 0.8);
|
|
168
168
|
}
|
|
169
169
|
|
|
170
170
|
@if not($hover-foreground) and $foreground {
|
|
@@ -172,7 +172,7 @@
|
|
|
172
172
|
}
|
|
173
173
|
|
|
174
174
|
@if not($hover-background) and $foreground {
|
|
175
|
-
$hover-background:
|
|
175
|
+
$hover-background: hsl(from var(--foreground) h s l / 0.1);
|
|
176
176
|
}
|
|
177
177
|
|
|
178
178
|
@if not($focus-foreground) and $foreground {
|
|
@@ -180,7 +180,7 @@
|
|
|
180
180
|
}
|
|
181
181
|
|
|
182
182
|
@if not($focus-border-color) and $foreground {
|
|
183
|
-
$focus-border-color:
|
|
183
|
+
$focus-border-color: hsl(from var(--foreground) h s l / 0.2);
|
|
184
184
|
}
|
|
185
185
|
|
|
186
186
|
@if not($focus-hover-foreground) and $hover-foreground {
|
|
@@ -234,17 +234,17 @@
|
|
|
234
234
|
}
|
|
235
235
|
|
|
236
236
|
@if not($shadow-color) and $focus-background {
|
|
237
|
-
$shadow-color:
|
|
237
|
+
$shadow-color: hsl(from var(--focus-background) h s l / 0.5);
|
|
238
238
|
}
|
|
239
239
|
}
|
|
240
240
|
|
|
241
241
|
@if $variant == 'bootstrap' or $variant == 'indigo' {
|
|
242
242
|
@if not($disabled-foreground) and $foreground {
|
|
243
|
-
$disabled-foreground:
|
|
243
|
+
$disabled-foreground: hsl(from var(--foreground) h s l / 0.5);
|
|
244
244
|
}
|
|
245
245
|
|
|
246
246
|
@if not($disabled-border-color) and $border-color {
|
|
247
|
-
$disabled-border-color:
|
|
247
|
+
$disabled-border-color: hsl(from var(--border-color) h s l / 0.2);
|
|
248
248
|
}
|
|
249
249
|
}
|
|
250
250
|
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
/// @param {Color} $file-selector-button-foreground--focused [null] - The selector button foreground color when focused. Auto-derived from file-selector-button-background--focused.
|
|
38
38
|
/// @param {Color} $file-selector-button-foreground--filled [null] - The selector button foreground color when filled. Auto-derived from file-selector-button-background--filled.
|
|
39
39
|
/// @param {Color} $file-selector-button-foreground--disabled [null] - The selector button foreground color when disabled. Auto-derived from file-selector-button-background--disabled.
|
|
40
|
-
/// @example scss Change the focused border and label colors
|
|
40
|
+
/// @example scss - Change the focused border and label colors
|
|
41
41
|
/// $my-file-input-theme: file-input-theme($file-names-foreground: #09f);
|
|
42
42
|
/// // Pass the theme to the css-vars() mixin
|
|
43
43
|
/// @include css-vars($my-file-input-theme);
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
/// @param {Color} $input-prefix-color [null] - The input prefix color in the idle state. Auto-derived from box/search-background.
|
|
37
37
|
/// @param {Color} $input-prefix-background [null] - The background color of an input prefix in the idle state. Synced with suffix-background.
|
|
38
38
|
/// @param {Color} $input-prefix-color--filled [null] - The input prefix color in the filled state. Auto-derived from prefix-color or background.
|
|
39
|
-
/// @param {Color} $input-prefix-background--filled
|
|
39
|
+
/// @param {Color} $input-prefix-background--filled - The background color of an input prefix in the filled state.
|
|
40
40
|
/// @param {Color} $input-prefix-color--focused [null] - The input prefix color in the focused state. Auto-derived from prefix-color--filled or background.
|
|
41
41
|
/// @param {Color} $input-prefix-background--focused [null] - The background color of an input prefix in the focused state.
|
|
42
42
|
/// @param {Color} $input-suffix-color [null] - The input suffix color in the idle state. Auto-derived from box/search-background. Synced with prefix-color.
|
|
@@ -63,19 +63,19 @@
|
|
|
63
63
|
/// @param {Color} $border-disabled-background [null] - The background color of an input group of type border in the disabled state.
|
|
64
64
|
/// @param {Color} $search-background [null] - The background color of an input group of type search. PRIMARY for search inputs.
|
|
65
65
|
/// @param {Color} $search-disabled-background [null] - The background color of an input group of type search in the disabled state. Auto-derived from search-background.
|
|
66
|
-
/// @param {
|
|
67
|
-
/// @param {
|
|
68
|
-
/// @param {
|
|
66
|
+
/// @param {List} $search-resting-shadow [null] - The shadow color of an input group of type search in its resting state.
|
|
67
|
+
/// @param {List} $search-hover-shadow [null] - The shadow color of an input group of type search in its hover state.
|
|
68
|
+
/// @param {List} $search-disabled-shadow [null] - The shadow color of an input group of type search in its disabled state.
|
|
69
69
|
/// @param {Color} $success-secondary-color [null] - The success color used in the valid state.
|
|
70
70
|
/// @param {Color} $warning-secondary-color [null] - The warning color used in the warning state.
|
|
71
71
|
/// @param {Color} $error-secondary-color [null] - The error color used in the error state.
|
|
72
72
|
/// @param {List} $box-border-radius [null] - The border radius used for box input.
|
|
73
73
|
/// @param {List} $border-border-radius [null] - The border radius used for border input.
|
|
74
74
|
/// @param {List} $search-border-radius [null] - The border radius used for search input.
|
|
75
|
-
/// @param {Color} placeholder-color [null] - The placeholder color of an input group. Auto-derived from box/search-background.
|
|
76
|
-
/// @param {Color} hover-placeholder-color [null] - The placeholder color of an input group on hover. Auto-derived from box-background-hover or placeholder-color.
|
|
77
|
-
/// @param {Color} disabled-placeholder-color [null] - The disabled placeholder color of an input group. Auto-derived from disabled background.
|
|
78
|
-
/// @example scss Change the focused border and label colors
|
|
75
|
+
/// @param {Color} $placeholder-color [null] - The placeholder color of an input group. Auto-derived from box/search-background.
|
|
76
|
+
/// @param {Color} $hover-placeholder-color [null] - The placeholder color of an input group on hover. Auto-derived from box-background-hover or placeholder-color.
|
|
77
|
+
/// @param {Color} $disabled-placeholder-color [null] - The disabled placeholder color of an input group. Auto-derived from disabled background.
|
|
78
|
+
/// @example scss - Change the focused border and label colors
|
|
79
79
|
/// $my-input-group-theme: input-group-theme($focused-secondary-color: pink, $focused-bottom-line-color: pink);
|
|
80
80
|
/// // Pass the theme to the css-vars() mixin
|
|
81
81
|
/// @include css-vars($my-input-group-theme);
|
|
@@ -176,11 +176,11 @@
|
|
|
176
176
|
}
|
|
177
177
|
|
|
178
178
|
@if not($placeholder-color) and $box-background {
|
|
179
|
-
$placeholder-color:
|
|
179
|
+
$placeholder-color: hsl(from adaptive-contrast(var(--box-background)) h s l / 0.9);
|
|
180
180
|
}
|
|
181
181
|
|
|
182
182
|
@if not($hover-placeholder-color) and $box-background-hover {
|
|
183
|
-
$hover-placeholder-color:
|
|
183
|
+
$hover-placeholder-color: hsl(from adaptive-contrast(var(--box-background-hover)) h s l / 0.9);
|
|
184
184
|
}
|
|
185
185
|
|
|
186
186
|
@if not($idle-text-color) and $box-background {
|
|
@@ -200,11 +200,11 @@
|
|
|
200
200
|
}
|
|
201
201
|
|
|
202
202
|
@if not($idle-secondary-color) and $box-background {
|
|
203
|
-
$idle-secondary-color:
|
|
203
|
+
$idle-secondary-color: hsl(from adaptive-contrast(var(--box-background)) h s l / 0.9);
|
|
204
204
|
}
|
|
205
205
|
|
|
206
206
|
@if not($input-prefix-color) and $box-background {
|
|
207
|
-
$input-prefix-color:
|
|
207
|
+
$input-prefix-color: hsl(from adaptive-contrast(var(--box-background)) h s l / 0.9);
|
|
208
208
|
}
|
|
209
209
|
|
|
210
210
|
@if not($input-prefix-color--filled) and $box-background {
|
|
@@ -216,7 +216,7 @@
|
|
|
216
216
|
}
|
|
217
217
|
|
|
218
218
|
@if not($input-suffix-color) and $box-background {
|
|
219
|
-
$input-suffix-color:
|
|
219
|
+
$input-suffix-color: hsl(from adaptive-contrast(var(--box-background)) h s l / 0.9);
|
|
220
220
|
}
|
|
221
221
|
|
|
222
222
|
@if not($input-suffix-color--filled) and $box-background {
|
|
@@ -229,7 +229,7 @@
|
|
|
229
229
|
|
|
230
230
|
@if $box-background != transparent {
|
|
231
231
|
@if not($box-disabled-background) and $box-background {
|
|
232
|
-
$box-disabled-background:
|
|
232
|
+
$box-disabled-background: hsl(from var(--box-background) h s l / 0.4);
|
|
233
233
|
}
|
|
234
234
|
|
|
235
235
|
@if not($disabled-placeholder-color) and $box-disabled-background {
|
|
@@ -245,11 +245,11 @@
|
|
|
245
245
|
}
|
|
246
246
|
|
|
247
247
|
@if not($disabled-placeholder-color) and $placeholder-color {
|
|
248
|
-
$disabled-placeholder-color:
|
|
248
|
+
$disabled-placeholder-color: hsl(from var(--placeholder-color) h s l / 0.7);
|
|
249
249
|
}
|
|
250
250
|
|
|
251
251
|
@if not($disabled-text-color) and $idle-text-color {
|
|
252
|
-
$disabled-text-color:
|
|
252
|
+
$disabled-text-color: hsl(from var(--idle-text-color) h s l / 0.7);
|
|
253
253
|
}
|
|
254
254
|
}
|
|
255
255
|
}
|
|
@@ -292,7 +292,7 @@
|
|
|
292
292
|
}
|
|
293
293
|
|
|
294
294
|
@if not($focused-secondary-color) and $focused-border-color {
|
|
295
|
-
$focused-secondary-color:
|
|
295
|
+
$focused-secondary-color: hsl(from var(--focused-border-color) h s l / 0.4);
|
|
296
296
|
}
|
|
297
297
|
} @else {
|
|
298
298
|
@if not($hover-border-color) and $border-color {
|
|
@@ -318,7 +318,7 @@
|
|
|
318
318
|
|
|
319
319
|
// search input
|
|
320
320
|
@if not($placeholder-color) and $search-background {
|
|
321
|
-
$placeholder-color:
|
|
321
|
+
$placeholder-color: hsl(from adaptive-contrast(var(--search-background)) h s l / 0.9);
|
|
322
322
|
}
|
|
323
323
|
|
|
324
324
|
@if not($hover-placeholder-color) and $placeholder-color {
|
|
@@ -352,11 +352,11 @@
|
|
|
352
352
|
}
|
|
353
353
|
|
|
354
354
|
@if not($input-prefix-color) and $search-background {
|
|
355
|
-
$input-prefix-color:
|
|
355
|
+
$input-prefix-color: hsl(from adaptive-contrast(var(--search-background)) h s l / 0.9);
|
|
356
356
|
}
|
|
357
357
|
|
|
358
358
|
@if not($input-suffix-color) and $search-background {
|
|
359
|
-
$input-suffix-color:
|
|
359
|
+
$input-suffix-color: hsl(from adaptive-contrast(var(--search-background)) h s l / 0.9);
|
|
360
360
|
}
|
|
361
361
|
|
|
362
362
|
@if $variant != 'indigo' {
|
|
@@ -379,7 +379,7 @@
|
|
|
379
379
|
|
|
380
380
|
@if $search-background != transparent {
|
|
381
381
|
@if not($search-disabled-background) and $search-background {
|
|
382
|
-
$search-disabled-background:
|
|
382
|
+
$search-disabled-background: hsl(from var(--search-background) h s l / 0.4);
|
|
383
383
|
}
|
|
384
384
|
|
|
385
385
|
@if not($disabled-placeholder-color) and $search-disabled-background {
|
|
@@ -395,11 +395,11 @@
|
|
|
395
395
|
}
|
|
396
396
|
|
|
397
397
|
@if not($disabled-placeholder-color) and $placeholder-color {
|
|
398
|
-
$disabled-placeholder-color:
|
|
398
|
+
$disabled-placeholder-color: hsl(from var(--placeholder-color) h s l / 0.7);
|
|
399
399
|
}
|
|
400
400
|
|
|
401
401
|
@if not($disabled-text-color) and $idle-text-color {
|
|
402
|
-
$disabled-text-color:
|
|
402
|
+
$disabled-text-color: hsl(from var(--idle-text-color) h s l / 0.7);
|
|
403
403
|
}
|
|
404
404
|
}
|
|
405
405
|
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
/// @param {Color} $border-width [null] - The list border width.
|
|
55
55
|
/// @param {Number} $border-color [null] - The list border color. Auto-derived from item-background (fluent/bootstrap).
|
|
56
56
|
/// @requires $light-material-schema
|
|
57
|
-
/// @example scss Change the list background color
|
|
57
|
+
/// @example scss - Change the list background color
|
|
58
58
|
/// $my-list-theme: list-theme($background: black);
|
|
59
59
|
/// // Pass the theme to the css-vars() mixin
|
|
60
60
|
/// @include css-vars($my-list-theme);
|
|
@@ -154,7 +154,7 @@
|
|
|
154
154
|
}
|
|
155
155
|
|
|
156
156
|
@if not($item-subtitle-color) and $item-text-color {
|
|
157
|
-
$item-subtitle-color:
|
|
157
|
+
$item-subtitle-color: hsl(from var(--item-text-color) h s l / 0.74);
|
|
158
158
|
}
|
|
159
159
|
|
|
160
160
|
@if not($item-subtitle-color) and $item-text-color {
|
|
@@ -178,7 +178,7 @@
|
|
|
178
178
|
}
|
|
179
179
|
|
|
180
180
|
@if not($item-subtitle-color-hover) and $item-text-color-hover {
|
|
181
|
-
$item-subtitle-color-hover:
|
|
181
|
+
$item-subtitle-color-hover: hsl(from var(--item-text-color-hover) h s l / 0.74);
|
|
182
182
|
}
|
|
183
183
|
|
|
184
184
|
@if not($item-text-color-active) and $item-background-active {
|
|
@@ -214,11 +214,11 @@
|
|
|
214
214
|
}
|
|
215
215
|
|
|
216
216
|
@if not($item-subtitle-color-active) and $item-text-color-active {
|
|
217
|
-
$item-subtitle-color-active:
|
|
217
|
+
$item-subtitle-color-active: hsl(from var(--item-text-color-active) h s l / 0.74);
|
|
218
218
|
}
|
|
219
219
|
|
|
220
220
|
@if not($item-subtitle-color-selected) and $item-text-color-selected {
|
|
221
|
-
$item-subtitle-color-selected:
|
|
221
|
+
$item-subtitle-color-selected: hsl(from var(--item-text-color-selected) h s l / 0.74);
|
|
222
222
|
}
|
|
223
223
|
|
|
224
224
|
@if not($item-subtitle-color-active) and $item-text-color-active {
|
|
@@ -231,7 +231,7 @@
|
|
|
231
231
|
|
|
232
232
|
@if $variant == 'fluent' or $variant == 'bootstrap' {
|
|
233
233
|
@if not($border-color) and $item-background {
|
|
234
|
-
$border-color:
|
|
234
|
+
$border-color: hsl(from adaptive-contrast(var(--item-background)) h s l / 0.15);
|
|
235
235
|
}
|
|
236
236
|
}
|
|
237
237
|
|
|
@@ -25,12 +25,12 @@
|
|
|
25
25
|
/// @param {Color} $background [null] - The navbar background color. PRIMARY - derives text-color and icon colors.
|
|
26
26
|
/// @param {Color} $text-color [null] - The navbar text color. Auto-derived from background.
|
|
27
27
|
/// @param {Color} $border-color [null] - The navbar border color. Auto-derived from background (indigo).
|
|
28
|
-
/// @param {
|
|
28
|
+
/// @param {List} $shadow [null] - The shadow of the navbar.
|
|
29
29
|
/// @param {Color} $idle-icon-color [null] - The navbar idle icon color. Auto-derived from background.
|
|
30
30
|
/// @param {Color} $hover-icon-color [null] - The navbar hover icon color. Auto-derived from idle-icon-color or background.
|
|
31
31
|
/// @param {Bool} $disable-shadow [true] - Sets the navbar shadow visibility.
|
|
32
32
|
/// @requires $light-material-schema
|
|
33
|
-
/// @example scss Change the background color
|
|
33
|
+
/// @example scss - Change the background color
|
|
34
34
|
/// $my-navbar-theme: navbar-theme($background: green);
|
|
35
35
|
/// // Pass the theme to the css-vars() mixin
|
|
36
36
|
/// @include css-vars($my-navbar-theme);
|
|
@@ -70,11 +70,11 @@
|
|
|
70
70
|
|
|
71
71
|
@if $variant == 'indigo' {
|
|
72
72
|
@if not($border-color) and $background {
|
|
73
|
-
$border-color:
|
|
73
|
+
$border-color: hsl(from adaptive-contrast(var(--background)) h s l / 0.3);
|
|
74
74
|
}
|
|
75
75
|
|
|
76
76
|
@if not($hover-icon-color) and $background {
|
|
77
|
-
$hover-icon-color:
|
|
77
|
+
$hover-icon-color: hsl(from adaptive-contrast(var(--background)) h s l / 0.7);
|
|
78
78
|
}
|
|
79
79
|
} @else {
|
|
80
80
|
@if not($hover-icon-color) and $background {
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
/// @param {List} $border-radius [null] - The border radius used for the navdrawer.
|
|
41
41
|
/// @param {List} $item-border-radius [null] - The border radius used for the navdrawer item.
|
|
42
42
|
/// @requires $light-material-schema
|
|
43
|
-
/// @example scss Change the background and item colors
|
|
43
|
+
/// @example scss - Change the background and item colors
|
|
44
44
|
/// $navdrawer-theme: navdrawer-theme(
|
|
45
45
|
/// $background: #2d313a,
|
|
46
46
|
/// $item-active-background: #ecc256,
|
|
@@ -121,11 +121,11 @@
|
|
|
121
121
|
}
|
|
122
122
|
|
|
123
123
|
@if not($item-disabled-text-color) and $background {
|
|
124
|
-
$item-disabled-text-color:
|
|
124
|
+
$item-disabled-text-color: hsl(from adaptive-contrast(var(--background)) h s l / 0.38);
|
|
125
125
|
}
|
|
126
126
|
|
|
127
127
|
@if not($item-disabled-icon-color) and $background {
|
|
128
|
-
$item-disabled-icon-color:
|
|
128
|
+
$item-disabled-icon-color: hsl(from adaptive-contrast(var(--background)) h s l / 0.38);
|
|
129
129
|
}
|
|
130
130
|
|
|
131
131
|
@if not($shadow) {
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
/// @param {Map} $schema [$light-material-schema] - The schema used as basis for styling the component.
|
|
22
22
|
/// @param {Color} $background-color [null] - The background color used for modal overlays.
|
|
23
23
|
/// @requires $light-material-schema
|
|
24
|
-
/// @example scss Change the background color
|
|
24
|
+
/// @example scss - Change the background color
|
|
25
25
|
/// $my-overlay-theme: overlay-theme($background-color: rgba(yellow, .74));
|
|
26
26
|
/// // Pass the theme to the css-vars() mixin
|
|
27
27
|
/// @include css-vars($my-overlay-theme);
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
/// @param {Color} $background-color [rgba(0, 0, 0, .04)] - The background color of the paging panel. PRIMARY - derives text-color.
|
|
27
27
|
/// @param {Color} $border-color [rgba(0, 0, 0, .26)] - The border color of the paging panel.
|
|
28
28
|
/// @requires $light-material-schema
|
|
29
|
-
/// @example scss Change the stripes color
|
|
29
|
+
/// @example scss - Change the stripes color
|
|
30
30
|
/// $my-paginator-theme: paginator-theme(
|
|
31
31
|
/// $stripes-color: orange
|
|
32
32
|
/// );
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
///
|
|
32
32
|
/// @requires $light-material-schema
|
|
33
33
|
///
|
|
34
|
-
/// @example scss Change the circle progress color
|
|
34
|
+
/// @example scss - Change the circle progress color
|
|
35
35
|
/// $my-progress-circular-theme: progress-circular-theme(
|
|
36
36
|
/// $fill-color-default: purple
|
|
37
37
|
/// );
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
/// @param {Number} $track-height [null] - The linear progress track height.
|
|
31
31
|
/// @param {Number} $strip-size [null] - The linear progress bar strip width.
|
|
32
32
|
/// @requires $light-material-schema
|
|
33
|
-
/// @example scss Change the stripes color
|
|
33
|
+
/// @example scss - Change the stripes color
|
|
34
34
|
/// $my-progress-linear-theme: progress-linear-theme(
|
|
35
35
|
/// $stripes-color: orange
|
|
36
36
|
/// );
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
/// @param {Color} $color-expression-group-and [null] - The color of advanced filtering "AND" condition group.
|
|
40
40
|
/// @param {Color} $color-expression-group-or [null] - The color of advanced filtering "OR" condition group.
|
|
41
41
|
///
|
|
42
|
-
/// @example scss Set custom query-builder colors
|
|
42
|
+
/// @example scss - Set custom query-builder colors
|
|
43
43
|
/// $my-query-builder-theme: query-builder-theme($background: red);
|
|
44
44
|
/// // Pass the theme to the css-vars() mixin
|
|
45
45
|
/// @include css-vars($my-query-builder-theme);
|
|
@@ -71,7 +71,7 @@
|
|
|
71
71
|
$variant: map.get($theme, '_meta', 'theme');
|
|
72
72
|
|
|
73
73
|
@if not($label-foreground) and $background {
|
|
74
|
-
$label-foreground:
|
|
74
|
+
$label-foreground: hsl(from adaptive-contrast(var(--background)) h s l / 0.6);
|
|
75
75
|
}
|
|
76
76
|
|
|
77
77
|
@if not($header-background) and $background {
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
/// @requires $light-material-schema
|
|
47
47
|
///
|
|
48
48
|
/// Set light to true when the surrounding area is dark.
|
|
49
|
-
/// @example scss Change the checked dot and border colors
|
|
49
|
+
/// @example scss - Change the checked dot and border colors
|
|
50
50
|
/// $my-radio-theme: radio-theme($fill-color: magenta);
|
|
51
51
|
/// // Pass the theme to the css-vars() mixin
|
|
52
52
|
/// @include css-vars($my-radio-theme);
|
|
@@ -106,7 +106,7 @@
|
|
|
106
106
|
}
|
|
107
107
|
|
|
108
108
|
@if not($focus-outline-color-error) and $error-color {
|
|
109
|
-
$focus-outline-color-error:
|
|
109
|
+
$focus-outline-color-error: hsl(from var(--error-color) h s l / 0.5);
|
|
110
110
|
}
|
|
111
111
|
|
|
112
112
|
@if $variant == 'bootstrap' {
|
|
@@ -115,17 +115,17 @@
|
|
|
115
115
|
}
|
|
116
116
|
|
|
117
117
|
@if not($focus-outline-color) and $fill-color {
|
|
118
|
-
$focus-outline-color:
|
|
118
|
+
$focus-outline-color: hsl(from var(--fill-color) h s l / 0.5);
|
|
119
119
|
}
|
|
120
120
|
}
|
|
121
121
|
|
|
122
122
|
@if $variant == 'indigo' {
|
|
123
123
|
@if not($focus-outline-color) and $empty-color {
|
|
124
|
-
$focus-outline-color:
|
|
124
|
+
$focus-outline-color: hsl(from var(--empty-color) h s l / 0.5);
|
|
125
125
|
}
|
|
126
126
|
|
|
127
127
|
@if not($focus-outline-color-filled) and $fill-color {
|
|
128
|
-
$focus-outline-color-filled:
|
|
128
|
+
$focus-outline-color-filled: hsl(from var(--fill-color) h s l / 0.5);
|
|
129
129
|
}
|
|
130
130
|
}
|
|
131
131
|
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
/// @param {Color} $disabled-empty-symbol-color [null] - sets the idle color for the symbol in disabled state when it is a plane text.
|
|
32
32
|
/// @param {Color} $disabled-full-symbol-color [null] - sets the color for the symbol in selected/disabled state when it is a plane text.
|
|
33
33
|
/// @requires $light-material-schema
|
|
34
|
-
/// @example scss Change the rating filled symbol color
|
|
34
|
+
/// @example scss - Change the rating filled symbol color
|
|
35
35
|
/// $my-rating-theme: rating-theme($symbol-full-color: red);
|
|
36
36
|
/// // Pass the theme to the css-vars() mixin
|
|
37
37
|
/// @include css-vars($my-rating-theme);
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
/// @param {Map} $schema [$light-material-schema] - The schema used as basis for styling the component.
|
|
21
21
|
/// @param {Color} $color [null] - The color of the ripple.
|
|
22
22
|
/// @requires $light-material-schema
|
|
23
|
-
/// @example scss Change the color
|
|
23
|
+
/// @example scss - Change the color
|
|
24
24
|
/// $my-ripple-theme: igx-ripple-theme($color: yellow);
|
|
25
25
|
/// // Pass the theme to the css-vars() mixin
|
|
26
26
|
/// @include css-vars($my-ripple-theme);
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
/// @param {Color} $sb-corner-border-color [null] - The border color of the corner.
|
|
34
34
|
/// @param {String | Number} $sb-corner-border-size [null] - The border size of the corner.
|
|
35
35
|
/// @requires $light-material-schema
|
|
36
|
-
/// @example scss Change the background and track colors
|
|
36
|
+
/// @example scss - Change the background and track colors
|
|
37
37
|
/// $my-scrollbar-theme: scrollbar-theme($sb-thumb-bg-color: black, $sb-track-bg-color: gray);
|
|
38
38
|
/// // Pass the theme to the css-vars() mixin
|
|
39
39
|
/// @include css-vars($my-scrollbar-theme);
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
/// @param {Color} $toggle-button-foreground-disabled [null] - The select toggle button foreground color when the select is disabled.
|
|
32
32
|
/// @param {Color} $toggle-button-foreground-filled [null] - The select toggle button foreground color when the select is filled. Auto-derived from toggle-button-background.
|
|
33
33
|
/// @param {Color} $toggle-button-background-focus--border [null] - The select toggle button background color when the select is focused in material border variant. Auto-derived from toggle-button-background (bootstrap/indigo).
|
|
34
|
-
/// @example scss Change the select empty list background
|
|
34
|
+
/// @example scss - Change the select empty list background
|
|
35
35
|
/// $my-select-theme: igx-select-theme($empty-list-background);
|
|
36
36
|
/// // Pass the theme to the css-vars mixin
|
|
37
37
|
/// @include css-vars($my-select-theme);
|