@angular/material 17.2.0 → 17.2.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/autocomplete/index.d.ts +5 -0
- package/core/index.d.ts +57 -13
- package/core/theming/_inspection.scss +2 -2
- package/core/tokens/_token-utils.scss +3 -0
- package/core/tokens/m2/mat/_datepicker.scss +1 -2
- package/core/tokens/m2/mat/_expansion.scss +2 -0
- package/core/tokens/m2/mat/_fab-small.scss +30 -13
- package/core/tokens/m2/mat/_fab.scss +30 -13
- package/core/tokens/m2/mat/_filled-button.scss +22 -10
- package/core/tokens/m2/mat/_form-field.scss +5 -5
- package/core/tokens/m2/mat/_icon-button.scss +3 -4
- package/core/tokens/m2/mat/_menu.scss +2 -2
- package/core/tokens/m2/mat/_option.scss +2 -2
- package/core/tokens/m2/mat/_outlined-button.scss +3 -4
- package/core/tokens/m2/mat/_protected-button.scss +22 -10
- package/core/tokens/m2/mat/_radio.scss +1 -3
- package/core/tokens/m2/mat/_select.scss +17 -7
- package/core/tokens/m2/mat/_switch.scss +1 -0
- package/core/tokens/m2/mat/_tab-header.scss +2 -2
- package/core/tokens/m2/mat/_text-button.scss +3 -4
- package/core/tokens/m2/mdc/_checkbox.scss +14 -12
- package/core/tokens/m2/mdc/_chip.scss +3 -9
- package/core/tokens/m2/mdc/_dialog.scss +9 -3
- package/core/tokens/m2/mdc/_filled-button.scss +19 -9
- package/core/tokens/m2/mdc/_filled-text-field.scss +22 -10
- package/core/tokens/m2/mdc/_outlined-button.scss +12 -8
- package/core/tokens/m2/mdc/_outlined-text-field.scss +21 -10
- package/core/tokens/m2/mdc/_protected-button.scss +18 -7
- package/core/tokens/m2/mdc/_radio.scss +4 -5
- package/core/tokens/m2/mdc/_text-button.scss +3 -3
- package/datepicker/index.d.ts +1 -0
- package/esm2022/autocomplete/autocomplete-trigger.mjs +34 -19
- package/esm2022/autocomplete/autocomplete.mjs +3 -3
- package/esm2022/badge/badge.mjs +1 -1
- package/esm2022/bottom-sheet/bottom-sheet-container.mjs +1 -1
- package/esm2022/button/fab.mjs +1 -1
- package/esm2022/button-toggle/button-toggle.mjs +1 -1
- package/esm2022/card/card.mjs +1 -1
- package/esm2022/checkbox/checkbox.mjs +1 -1
- package/esm2022/chips/chip-grid.mjs +1 -1
- package/esm2022/chips/chip-listbox.mjs +1 -1
- package/esm2022/chips/chip-option.mjs +1 -1
- package/esm2022/chips/chip-row.mjs +1 -1
- package/esm2022/chips/chip-set.mjs +1 -1
- package/esm2022/chips/chip.mjs +1 -1
- package/esm2022/core/common-behaviors/color.mjs +1 -1
- package/esm2022/core/common-behaviors/disable-ripple.mjs +1 -1
- package/esm2022/core/common-behaviors/disabled.mjs +1 -1
- package/esm2022/core/common-behaviors/error-state.mjs +1 -1
- package/esm2022/core/common-behaviors/initialized.mjs +6 -2
- package/esm2022/core/common-behaviors/tabindex.mjs +1 -1
- package/esm2022/core/internal-form-field/internal-form-field.mjs +1 -1
- package/esm2022/core/option/optgroup.mjs +1 -1
- package/esm2022/core/option/option.mjs +1 -1
- package/esm2022/core/selection/pseudo-checkbox/pseudo-checkbox.mjs +1 -1
- package/esm2022/core/version.mjs +1 -1
- package/esm2022/datepicker/calendar-body.mjs +1 -1
- package/esm2022/datepicker/calendar.mjs +5 -5
- package/esm2022/datepicker/date-range-input-parts.mjs +11 -6
- package/esm2022/datepicker/date-range-input.mjs +1 -1
- package/esm2022/datepicker/datepicker-actions.mjs +1 -1
- package/esm2022/datepicker/datepicker-base.mjs +1 -1
- package/esm2022/datepicker/datepicker-toggle.mjs +1 -1
- package/esm2022/dialog/dialog-container.mjs +1 -1
- package/esm2022/divider/divider.mjs +1 -1
- package/esm2022/expansion/expansion-panel-header.mjs +3 -3
- package/esm2022/expansion/expansion-panel.mjs +35 -25
- package/esm2022/form-field/form-field.mjs +3 -3
- package/esm2022/grid-list/grid-list.mjs +1 -1
- package/esm2022/grid-list/grid-tile.mjs +1 -1
- package/esm2022/icon/icon.mjs +1 -1
- package/esm2022/list/action-list.mjs +1 -1
- package/esm2022/list/list-option.mjs +3 -3
- package/esm2022/list/list.mjs +1 -1
- package/esm2022/list/nav-list.mjs +1 -1
- package/esm2022/list/selection-list.mjs +1 -1
- package/esm2022/menu/menu.mjs +1 -1
- package/esm2022/paginator/paginator.mjs +14 -13
- package/esm2022/progress-bar/progress-bar.mjs +1 -1
- package/esm2022/progress-spinner/progress-spinner.mjs +1 -1
- package/esm2022/radio/radio.mjs +1 -1
- package/esm2022/select/select.mjs +15 -8
- package/esm2022/sidenav/drawer.mjs +1 -1
- package/esm2022/sidenav/sidenav.mjs +1 -1
- package/esm2022/slide-toggle/slide-toggle.mjs +3 -3
- package/esm2022/slider/slider-thumb.mjs +1 -1
- package/esm2022/slider/slider.mjs +1 -1
- package/esm2022/snack-bar/simple-snack-bar.mjs +1 -1
- package/esm2022/snack-bar/snack-bar-container.mjs +1 -1
- package/esm2022/sort/sort-header.mjs +1 -1
- package/esm2022/sort/sort.mjs +9 -11
- package/esm2022/stepper/step-header.mjs +1 -1
- package/esm2022/stepper/stepper.mjs +1 -1
- package/esm2022/table/cell.mjs +2 -3
- package/esm2022/table/row.mjs +16 -7
- package/esm2022/table/table.mjs +1 -1
- package/esm2022/table/text-column.mjs +2 -2
- package/esm2022/tabs/ink-bar.mjs +87 -88
- package/esm2022/tabs/tab-body.mjs +1 -1
- package/esm2022/tabs/tab-group.mjs +2 -2
- package/esm2022/tabs/tab-header.mjs +1 -1
- package/esm2022/tabs/tab-label-wrapper.mjs +4 -9
- package/esm2022/tabs/tab-nav-bar/tab-nav-bar.mjs +3 -6
- package/esm2022/toolbar/toolbar.mjs +1 -1
- package/esm2022/tooltip/tooltip.mjs +1 -1
- package/esm2022/tree/node.mjs +2 -2
- package/esm2022/tree/toggle.mjs +2 -2
- package/esm2022/tree/tree.mjs +1 -1
- package/expansion/index.d.ts +5 -2
- package/fesm2022/autocomplete.mjs +36 -21
- package/fesm2022/autocomplete.mjs.map +1 -1
- package/fesm2022/badge.mjs.map +1 -1
- package/fesm2022/bottom-sheet.mjs.map +1 -1
- package/fesm2022/button-toggle.mjs.map +1 -1
- package/fesm2022/button.mjs.map +1 -1
- package/fesm2022/card.mjs.map +1 -1
- package/fesm2022/checkbox.mjs.map +1 -1
- package/fesm2022/chips.mjs.map +1 -1
- package/fesm2022/core.mjs +6 -2
- package/fesm2022/core.mjs.map +1 -1
- package/fesm2022/datepicker.mjs +14 -9
- package/fesm2022/datepicker.mjs.map +1 -1
- package/fesm2022/dialog.mjs.map +1 -1
- package/fesm2022/divider.mjs.map +1 -1
- package/fesm2022/expansion.mjs +36 -26
- package/fesm2022/expansion.mjs.map +1 -1
- package/fesm2022/form-field.mjs +2 -2
- package/fesm2022/form-field.mjs.map +1 -1
- package/fesm2022/grid-list.mjs.map +1 -1
- package/fesm2022/icon.mjs.map +1 -1
- package/fesm2022/list.mjs +2 -2
- package/fesm2022/list.mjs.map +1 -1
- package/fesm2022/menu.mjs.map +1 -1
- package/fesm2022/paginator.mjs +12 -12
- package/fesm2022/paginator.mjs.map +1 -1
- package/fesm2022/progress-bar.mjs.map +1 -1
- package/fesm2022/progress-spinner.mjs.map +1 -1
- package/fesm2022/radio.mjs.map +1 -1
- package/fesm2022/select.mjs +11 -4
- package/fesm2022/select.mjs.map +1 -1
- package/fesm2022/sidenav.mjs.map +1 -1
- package/fesm2022/slide-toggle.mjs +2 -2
- package/fesm2022/slide-toggle.mjs.map +1 -1
- package/fesm2022/slider.mjs.map +1 -1
- package/fesm2022/snack-bar.mjs.map +1 -1
- package/fesm2022/sort.mjs +9 -10
- package/fesm2022/sort.mjs.map +1 -1
- package/fesm2022/stepper.mjs.map +1 -1
- package/fesm2022/table.mjs +17 -9
- package/fesm2022/table.mjs.map +1 -1
- package/fesm2022/tabs.mjs +90 -100
- package/fesm2022/tabs.mjs.map +1 -1
- package/fesm2022/toolbar.mjs.map +1 -1
- package/fesm2022/tooltip.mjs.map +1 -1
- package/fesm2022/tree.mjs +2 -2
- package/fesm2022/tree.mjs.map +1 -1
- package/form-field/_mdc-text-field-structure-overrides.scss +16 -0
- package/package.json +2 -2
- package/paginator/index.d.ts +6 -8
- package/prebuilt-themes/deeppurple-amber.css +1 -1
- package/prebuilt-themes/indigo-pink.css +1 -1
- package/prebuilt-themes/pink-bluegrey.css +1 -1
- package/prebuilt-themes/purple-green.css +1 -1
- package/schematics/ng-add/index.js +1 -1
- package/schematics/ng-add/index.mjs +1 -1
- package/schematics/ng-add/setup-project.js +21 -6
- package/schematics/ng-add/setup-project.mjs +21 -6
- package/schematics/ng-add/theming/create-custom-theme.js +4 -2
- package/schematics/ng-add/theming/create-custom-theme.mjs +4 -2
- package/select/index.d.ts +7 -2
- package/sort/index.d.ts +5 -7
- package/table/index.d.ts +3 -1
- package/tabs/index.d.ts +31 -16
package/autocomplete/index.d.ts
CHANGED
|
@@ -287,6 +287,8 @@ export declare class MatAutocompleteTrigger implements ControlValueAccessor, Aft
|
|
|
287
287
|
private _previousValue;
|
|
288
288
|
/** Value of the input element when the panel was attached (even if there are no options). */
|
|
289
289
|
private _valueOnAttach;
|
|
290
|
+
/** Value on the previous keydown event. */
|
|
291
|
+
private _valueOnLastKeydown;
|
|
290
292
|
/** Strategy that is used to position the panel. */
|
|
291
293
|
private _positionStrategy;
|
|
292
294
|
/** Whether or not the label state is being overridden. */
|
|
@@ -402,6 +404,8 @@ export declare class MatAutocompleteTrigger implements ControlValueAccessor, Aft
|
|
|
402
404
|
private _emitOpened;
|
|
403
405
|
/** Destroys the autocomplete suggestion panel. */
|
|
404
406
|
private _destroyPanel;
|
|
407
|
+
/** Given a value, returns the string that should be shown within the input. */
|
|
408
|
+
private _getDisplayValue;
|
|
405
409
|
private _assignOptionValue;
|
|
406
410
|
private _updateNativeInputValue;
|
|
407
411
|
/**
|
|
@@ -414,6 +418,7 @@ export declare class MatAutocompleteTrigger implements ControlValueAccessor, Aft
|
|
|
414
418
|
* Clear any previous selected option and emit a selection change event for this option
|
|
415
419
|
*/
|
|
416
420
|
private _clearPreviousSelectedOption;
|
|
421
|
+
private _openPanelInternal;
|
|
417
422
|
private _attachOverlay;
|
|
418
423
|
/** Handles keyboard events coming from the overlay panel. */
|
|
419
424
|
private _handlePanelKeydown;
|
package/core/index.d.ts
CHANGED
|
@@ -44,7 +44,11 @@ export declare class AnimationDurations {
|
|
|
44
44
|
static EXITING: string;
|
|
45
45
|
}
|
|
46
46
|
|
|
47
|
-
/**
|
|
47
|
+
/**
|
|
48
|
+
* @docs-private
|
|
49
|
+
* @deprecated Will be removed together with `mixinColor`.
|
|
50
|
+
* @breaking-change 19.0.0
|
|
51
|
+
*/
|
|
48
52
|
export declare interface CanColor {
|
|
49
53
|
/** Theme color palette for the component. */
|
|
50
54
|
color: ThemePalette;
|
|
@@ -54,7 +58,11 @@ export declare interface CanColor {
|
|
|
54
58
|
|
|
55
59
|
declare type CanColorCtor = _Constructor<CanColor> & _AbstractConstructor<CanColor>;
|
|
56
60
|
|
|
57
|
-
/**
|
|
61
|
+
/**
|
|
62
|
+
* @docs-private
|
|
63
|
+
* @deprecated Will be removed together with `mixinDisabled`.
|
|
64
|
+
* @breaking-change 19.0.0
|
|
65
|
+
*/
|
|
58
66
|
export declare interface CanDisable {
|
|
59
67
|
/** Whether the component is disabled. */
|
|
60
68
|
disabled: boolean;
|
|
@@ -62,7 +70,11 @@ export declare interface CanDisable {
|
|
|
62
70
|
|
|
63
71
|
declare type CanDisableCtor = _Constructor<CanDisable> & _AbstractConstructor<CanDisable>;
|
|
64
72
|
|
|
65
|
-
/**
|
|
73
|
+
/**
|
|
74
|
+
* @docs-private
|
|
75
|
+
* @deprecated Will be removed together with `mixinDisableRipple`.
|
|
76
|
+
* @breaking-change 19.0.0
|
|
77
|
+
*/
|
|
66
78
|
export declare interface CanDisableRipple {
|
|
67
79
|
/** Whether ripples are disabled. */
|
|
68
80
|
disableRipple: boolean;
|
|
@@ -70,7 +82,11 @@ export declare interface CanDisableRipple {
|
|
|
70
82
|
|
|
71
83
|
declare type CanDisableRippleCtor = _Constructor<CanDisableRipple> & _AbstractConstructor<CanDisableRipple>;
|
|
72
84
|
|
|
73
|
-
/**
|
|
85
|
+
/**
|
|
86
|
+
* @docs-private
|
|
87
|
+
* @deprecated Will be removed together with `mixinErrorState`.
|
|
88
|
+
* @breaking-change 19.0.0
|
|
89
|
+
*/
|
|
74
90
|
export declare interface CanUpdateErrorState {
|
|
75
91
|
/** Updates the error state based on the provided error state matcher. */
|
|
76
92
|
updateErrorState(): void;
|
|
@@ -360,10 +376,10 @@ declare interface HasElementRef {
|
|
|
360
376
|
|
|
361
377
|
/** @docs-private */
|
|
362
378
|
declare interface HasErrorState {
|
|
363
|
-
_parentFormGroup: FormGroupDirective;
|
|
364
|
-
_parentForm: NgForm;
|
|
379
|
+
_parentFormGroup: FormGroupDirective | null;
|
|
380
|
+
_parentForm: NgForm | null;
|
|
365
381
|
_defaultErrorStateMatcher: ErrorStateMatcher_2;
|
|
366
|
-
ngControl: NgControl;
|
|
382
|
+
ngControl: NgControl | null;
|
|
367
383
|
stateChanges: Subject<void>;
|
|
368
384
|
}
|
|
369
385
|
|
|
@@ -373,6 +389,8 @@ declare interface HasErrorState {
|
|
|
373
389
|
* If the subscription is made after it has already been marked as initialized, then it will trigger
|
|
374
390
|
* an emit immediately.
|
|
375
391
|
* @docs-private
|
|
392
|
+
* @deprecated Will be removed together with `mixinInitializer`.
|
|
393
|
+
* @breaking-change 19.0.0
|
|
376
394
|
*/
|
|
377
395
|
export declare interface HasInitialized {
|
|
378
396
|
/** Stream that emits once during the directive/component's ngOnInit. */
|
|
@@ -387,7 +405,11 @@ export declare interface HasInitialized {
|
|
|
387
405
|
|
|
388
406
|
declare type HasInitializedCtor = _Constructor<HasInitialized>;
|
|
389
407
|
|
|
390
|
-
/**
|
|
408
|
+
/**
|
|
409
|
+
* @docs-private
|
|
410
|
+
* @deprecated Will be removed together with `mixinTabIndex`.
|
|
411
|
+
* @breaking-change 19.0.0
|
|
412
|
+
*/
|
|
391
413
|
export declare interface HasTabIndex {
|
|
392
414
|
/** Tabindex of the component. */
|
|
393
415
|
tabIndex: number;
|
|
@@ -862,25 +884,47 @@ export declare class MatRippleModule {
|
|
|
862
884
|
static ɵinj: i0.ɵɵInjectorDeclaration<MatRippleModule>;
|
|
863
885
|
}
|
|
864
886
|
|
|
865
|
-
/**
|
|
887
|
+
/**
|
|
888
|
+
* Mixin to augment a directive with a `color` property.
|
|
889
|
+
* @deprecated Use a plain input and host bindings instead.
|
|
890
|
+
* @breaking-change 19.0.0
|
|
891
|
+
*/
|
|
866
892
|
export declare function mixinColor<T extends _AbstractConstructor<HasElementRef>>(base: T, defaultColor?: ThemePalette): CanColorCtor & T;
|
|
867
893
|
|
|
868
|
-
/**
|
|
894
|
+
/**
|
|
895
|
+
* Mixin to augment a directive with a `disabled` property.
|
|
896
|
+
* @deprecated Use an input with a transform instead.
|
|
897
|
+
* @breaking-change 19.0.0
|
|
898
|
+
*/
|
|
869
899
|
export declare function mixinDisabled<T extends _AbstractConstructor<{}>>(base: T): CanDisableCtor & T;
|
|
870
900
|
|
|
871
|
-
/**
|
|
901
|
+
/**
|
|
902
|
+
* Mixin to augment a directive with a `disableRipple` property.
|
|
903
|
+
* @deprecated Use an input with a transform instead.
|
|
904
|
+
* @breaking-change 19.0.0
|
|
905
|
+
*/
|
|
872
906
|
export declare function mixinDisableRipple<T extends _AbstractConstructor<{}>>(base: T): CanDisableRippleCtor & T;
|
|
873
907
|
|
|
874
908
|
/**
|
|
875
909
|
* Mixin to augment a directive with updateErrorState method.
|
|
876
910
|
* For component with `errorState` and need to update `errorState`.
|
|
911
|
+
* @deprecated Implement the `updateErrorState` method directly.
|
|
912
|
+
* @breaking-change 19.0.0
|
|
877
913
|
*/
|
|
878
914
|
export declare function mixinErrorState<T extends _AbstractConstructor<HasErrorState>>(base: T): CanUpdateErrorStateCtor & T;
|
|
879
915
|
|
|
880
|
-
/**
|
|
916
|
+
/**
|
|
917
|
+
* Mixin to augment a directive with an initialized property that will emits when ngOnInit ends.
|
|
918
|
+
* @deprecated Track the initialized state manually.
|
|
919
|
+
* @breaking-change 19.0.0
|
|
920
|
+
*/
|
|
881
921
|
export declare function mixinInitialized<T extends _Constructor<{}>>(base: T): HasInitializedCtor & T;
|
|
882
922
|
|
|
883
|
-
/**
|
|
923
|
+
/**
|
|
924
|
+
* Mixin to augment a directive with a `tabIndex` property.
|
|
925
|
+
* @deprecated Use an input with a transform instead.
|
|
926
|
+
* @breaking-change 19.0.0
|
|
927
|
+
*/
|
|
884
928
|
export declare function mixinTabIndex<T extends _AbstractConstructor<CanDisable>>(base: T, defaultTabIndex?: number): HasTabIndexCtor & T;
|
|
885
929
|
|
|
886
930
|
/** Adapts the native JS Date for use with cdk-based components that work with dates. */
|
|
@@ -75,8 +75,8 @@ $_typography-properties: (font, font-family, line-height, font-size, letter-spac
|
|
|
75
75
|
@function get-theme-color($theme, $args...) {
|
|
76
76
|
$version: get-theme-version($theme);
|
|
77
77
|
$args-count: list.length($args);
|
|
78
|
-
@if $args-count != 1 and $args-count != 2 {
|
|
79
|
-
@error #{'Expected 2
|
|
78
|
+
@if $args-count != 1 and $args-count != 2 and $args-count != 3 {
|
|
79
|
+
@error #{'Expected between 2 and 4 arguments. Got:'} $args-count + 1;
|
|
80
80
|
}
|
|
81
81
|
|
|
82
82
|
@if $version == 0 {
|
|
@@ -9,6 +9,9 @@
|
|
|
9
9
|
@use '../theming/theming';
|
|
10
10
|
@use '../typography/typography';
|
|
11
11
|
|
|
12
|
+
// Indicates whether we're building internally. Used for backwards compatibility.
|
|
13
|
+
$private-is-internal-build: false;
|
|
14
|
+
|
|
12
15
|
$_placeholder-color-palette: theming.define-palette(palette.$red-palette);
|
|
13
16
|
|
|
14
17
|
// Placeholder color config that can be passed to token getter functions when generating token
|
|
@@ -50,7 +50,6 @@ $private-default-overlap-color: #a8dab5;
|
|
|
50
50
|
$preview-outline-color: $divider-color;
|
|
51
51
|
$today-disabled-outline-color: null;
|
|
52
52
|
$is-dark: inspection.get-theme-type($theme) == dark;
|
|
53
|
-
$on-surface: if($is-dark, #fff, #000);
|
|
54
53
|
|
|
55
54
|
$primary-color: inspection.get-theme-color($theme, primary);
|
|
56
55
|
$range-tokens: get-range-color-tokens(private-get-range-background-color($primary-color));
|
|
@@ -75,7 +74,7 @@ $private-default-overlap-color: #a8dab5;
|
|
|
75
74
|
@return sass-utils.merge-all($calendar-tokens, $toggle-tokens, $range-tokens, (
|
|
76
75
|
toggle-icon-color: $inactive-icon-color,
|
|
77
76
|
calendar-body-label-text-color: $secondary-text-color,
|
|
78
|
-
calendar-period-button-text-color: $
|
|
77
|
+
calendar-period-button-text-color: inspection.get-theme-color($theme, foreground, text, 1),
|
|
79
78
|
calendar-period-button-icon-color: $inactive-icon-color,
|
|
80
79
|
calendar-navigation-button-icon-color: $inactive-icon-color,
|
|
81
80
|
calendar-header-divider-color: $divider-color,
|
|
@@ -18,7 +18,6 @@ $prefix: (mat, fab-small);
|
|
|
18
18
|
// Tokens that can be configured through Angular Material's color theming API.
|
|
19
19
|
@function get-color-tokens($theme) {
|
|
20
20
|
$is-dark: inspection.get-theme-type($theme) == dark;
|
|
21
|
-
$on-surface: if($is-dark, #fff, #000);
|
|
22
21
|
$ripple-opacities: if($is-dark,
|
|
23
22
|
mdc-ripple-theme.$light-ink-opacities,
|
|
24
23
|
mdc-ripple-theme.$dark-ink-opacities
|
|
@@ -29,13 +28,13 @@ $prefix: (mat, fab-small);
|
|
|
29
28
|
foreground-color: inspection.get-theme-color($theme, foreground, base),
|
|
30
29
|
|
|
31
30
|
// Color of the element that shows the hover, focus and pressed states.
|
|
32
|
-
state-layer-color: $
|
|
31
|
+
state-layer-color: inspection.get-theme-color($theme, foreground, base),
|
|
33
32
|
|
|
34
33
|
// Color of the element that shows the hover, focus and pressed states while disabled.
|
|
35
|
-
disabled-state-layer-color: $
|
|
34
|
+
disabled-state-layer-color: inspection.get-theme-color($theme, foreground, base),
|
|
36
35
|
|
|
37
36
|
// Color of the ripple element.
|
|
38
|
-
ripple-color:
|
|
37
|
+
ripple-color: inspection.get-theme-color($theme, foreground, base, 0.1),
|
|
39
38
|
|
|
40
39
|
// Opacity of the ripple when the button is hovered.
|
|
41
40
|
hover-state-layer-opacity: map.get($ripple-opacities, hover),
|
|
@@ -48,24 +47,42 @@ $prefix: (mat, fab-small);
|
|
|
48
47
|
|
|
49
48
|
// MDC doesn't have tokens for disabled FABs so we need to implemented them ourselves.
|
|
50
49
|
// Background color of the container when the FAB is disabled.
|
|
51
|
-
disabled-state-container-color:
|
|
50
|
+
disabled-state-container-color: inspection.get-theme-color($theme, background, disabled-button,
|
|
51
|
+
0.12),
|
|
52
52
|
|
|
53
53
|
// Color of the icons and projected text when the FAB is disabled.
|
|
54
|
-
disabled-state-foreground-color:
|
|
54
|
+
disabled-state-foreground-color: inspection.get-theme-color($theme, foreground, disabled-button,
|
|
55
|
+
if($is-dark, 0.5, 0.38)),
|
|
55
56
|
);
|
|
56
57
|
}
|
|
57
58
|
|
|
58
59
|
// Generates the mapping for the properties that change based on the FAB palette color.
|
|
59
60
|
@function private-get-color-palette-color-tokens($theme, $palette-name) {
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
$
|
|
63
|
-
$color:
|
|
61
|
+
// Ideally we would derive all values directly from the theme, but it causes a lot of regressions
|
|
62
|
+
// internally. For now we fall back to the old hardcoded behavior only for internal apps.
|
|
63
|
+
$foreground-color: null;
|
|
64
|
+
$state-layer-color: null;
|
|
65
|
+
$ripple-color: null;
|
|
66
|
+
|
|
67
|
+
@if (token-utils.$private-is-internal-build) {
|
|
68
|
+
$is-dark: inspection.get-theme-type($theme) == dark;
|
|
69
|
+
$container-color: inspection.get-theme-color($theme, $palette-name);
|
|
70
|
+
$contrast-tone: mdc-helpers.variable-safe-contrast-tone($container-color, $is-dark);
|
|
71
|
+
$color: if($contrast-tone == 'dark', #000, #fff);
|
|
72
|
+
$foreground-color: $color;
|
|
73
|
+
$state-layer-color: $color;
|
|
74
|
+
$ripple-color: rgba($color, 0.1);
|
|
75
|
+
}
|
|
76
|
+
@else {
|
|
77
|
+
$foreground-color: inspection.get-theme-color($theme, $palette-name, default-contrast, 1);
|
|
78
|
+
$state-layer-color: inspection.get-theme-color($theme, $palette-name, default-contrast, 1);
|
|
79
|
+
$ripple-color: inspection.get-theme-color($theme, $palette-name, default-contrast, 0.1);
|
|
80
|
+
}
|
|
64
81
|
|
|
65
82
|
@return (
|
|
66
|
-
foreground-color: $color,
|
|
67
|
-
state-layer-color: $color,
|
|
68
|
-
ripple-color:
|
|
83
|
+
foreground-color: $foreground-color,
|
|
84
|
+
state-layer-color: $state-layer-color,
|
|
85
|
+
ripple-color: $ripple-color,
|
|
69
86
|
);
|
|
70
87
|
}
|
|
71
88
|
|
|
@@ -18,7 +18,6 @@ $prefix: (mat, fab);
|
|
|
18
18
|
// Tokens that can be configured through Angular Material's color theming API.
|
|
19
19
|
@function get-color-tokens($theme) {
|
|
20
20
|
$is-dark: inspection.get-theme-type($theme) == dark;
|
|
21
|
-
$on-surface: if($is-dark, #fff, #000);
|
|
22
21
|
$ripple-opacities: if($is-dark,
|
|
23
22
|
mdc-ripple-theme.$light-ink-opacities,
|
|
24
23
|
mdc-ripple-theme.$dark-ink-opacities
|
|
@@ -29,13 +28,13 @@ $prefix: (mat, fab);
|
|
|
29
28
|
foreground-color: inspection.get-theme-color($theme, foreground, base),
|
|
30
29
|
|
|
31
30
|
// Color of the element that shows the hover, focus and pressed states.
|
|
32
|
-
state-layer-color: $
|
|
31
|
+
state-layer-color: inspection.get-theme-color($theme, foreground, base),
|
|
33
32
|
|
|
34
33
|
// Color of the element that shows the hover, focus and pressed states while disabled.
|
|
35
|
-
disabled-state-layer-color: $
|
|
34
|
+
disabled-state-layer-color: inspection.get-theme-color($theme, foreground, base),
|
|
36
35
|
|
|
37
36
|
// Color of the ripple element.
|
|
38
|
-
ripple-color:
|
|
37
|
+
ripple-color: inspection.get-theme-color($theme, foreground, base, 0.1),
|
|
39
38
|
|
|
40
39
|
// Opacity of the ripple when the button is hovered.
|
|
41
40
|
hover-state-layer-opacity: map.get($ripple-opacities, hover),
|
|
@@ -48,24 +47,42 @@ $prefix: (mat, fab);
|
|
|
48
47
|
|
|
49
48
|
// MDC doesn't have tokens for disabled FABs so we need to implemented them ourselves.
|
|
50
49
|
// Background color of the container when the FAB is disabled.
|
|
51
|
-
disabled-state-container-color:
|
|
50
|
+
disabled-state-container-color: inspection.get-theme-color($theme, background, disabled-button,
|
|
51
|
+
0.12),
|
|
52
52
|
|
|
53
53
|
// Color of the icons and projected text when the FAB is disabled.
|
|
54
|
-
disabled-state-foreground-color:
|
|
54
|
+
disabled-state-foreground-color: inspection.get-theme-color($theme, foreground, disabled-button,
|
|
55
|
+
if($is-dark, 0.5, 0.38)),
|
|
55
56
|
);
|
|
56
57
|
}
|
|
57
58
|
|
|
58
59
|
// Generates the mapping for the properties that change based on the FAB palette color.
|
|
59
60
|
@function private-get-color-palette-color-tokens($theme, $palette-name) {
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
$
|
|
63
|
-
$color:
|
|
61
|
+
// Ideally we would derive all values directly from the theme, but it causes a lot of regressions
|
|
62
|
+
// internally. For now we fall back to the old hardcoded behavior only for internal apps.
|
|
63
|
+
$foreground-color: null;
|
|
64
|
+
$state-layer-color: null;
|
|
65
|
+
$ripple-color: null;
|
|
66
|
+
|
|
67
|
+
@if (token-utils.$private-is-internal-build) {
|
|
68
|
+
$is-dark: inspection.get-theme-type($theme) == dark;
|
|
69
|
+
$container-color: inspection.get-theme-color($theme, $palette-name);
|
|
70
|
+
$contrast-tone: mdc-helpers.variable-safe-contrast-tone($container-color, $is-dark);
|
|
71
|
+
$color: if($contrast-tone == 'dark', #000, #fff);
|
|
72
|
+
$foreground-color: $color;
|
|
73
|
+
$state-layer-color: $color;
|
|
74
|
+
$ripple-color: rgba($color, 0.1);
|
|
75
|
+
}
|
|
76
|
+
@else {
|
|
77
|
+
$foreground-color: inspection.get-theme-color($theme, $palette-name, default-contrast, 1);
|
|
78
|
+
$state-layer-color: inspection.get-theme-color($theme, $palette-name, default-contrast, 1);
|
|
79
|
+
$ripple-color: inspection.get-theme-color($theme, $palette-name, default-contrast, 0.1);
|
|
80
|
+
}
|
|
64
81
|
|
|
65
82
|
@return (
|
|
66
|
-
foreground-color: $color,
|
|
67
|
-
state-layer-color: $color,
|
|
68
|
-
ripple-color:
|
|
83
|
+
foreground-color: $foreground-color,
|
|
84
|
+
state-layer-color: $state-layer-color,
|
|
85
|
+
ripple-color: $ripple-color,
|
|
69
86
|
);
|
|
70
87
|
}
|
|
71
88
|
|
|
@@ -28,7 +28,6 @@ $prefix: (mat, filled-button);
|
|
|
28
28
|
// Tokens that can be configured through Angular Material's color theming API.
|
|
29
29
|
@function get-color-tokens($theme) {
|
|
30
30
|
$is-dark: inspection.get-theme-type($theme) == dark;
|
|
31
|
-
$on-surface: if($is-dark, #fff, #000);
|
|
32
31
|
$ripple-opacities: if($is-dark,
|
|
33
32
|
mdc-ripple-theme.$light-ink-opacities,
|
|
34
33
|
mdc-ripple-theme.$dark-ink-opacities
|
|
@@ -36,13 +35,13 @@ $prefix: (mat, filled-button);
|
|
|
36
35
|
|
|
37
36
|
@return (
|
|
38
37
|
// Color of the element that shows the hover, focus and pressed states.
|
|
39
|
-
state-layer-color: $
|
|
38
|
+
state-layer-color: inspection.get-theme-color($theme, foreground, base),
|
|
40
39
|
|
|
41
40
|
// Color of the element that shows the hover, focus and pressed states while disabled.
|
|
42
|
-
disabled-state-layer-color: $
|
|
41
|
+
disabled-state-layer-color: inspection.get-theme-color($theme, foreground, base),
|
|
43
42
|
|
|
44
43
|
// Color of the ripple element.
|
|
45
|
-
ripple-color:
|
|
44
|
+
ripple-color: inspection.get-theme-color($theme, foreground, base, 0.1),
|
|
46
45
|
|
|
47
46
|
// Opacity of the ripple when the button is hovered.
|
|
48
47
|
hover-state-layer-opacity: map.get($ripple-opacities, hover),
|
|
@@ -57,14 +56,27 @@ $prefix: (mat, filled-button);
|
|
|
57
56
|
|
|
58
57
|
// Generates the mapping for the properties that change based on the button palette color.
|
|
59
58
|
@function private-get-color-palette-color-tokens($theme, $palette-name) {
|
|
60
|
-
$
|
|
61
|
-
$
|
|
62
|
-
|
|
63
|
-
|
|
59
|
+
$state-layer-color: null;
|
|
60
|
+
$ripple-color: null;
|
|
61
|
+
|
|
62
|
+
// Ideally we would derive all values directly from the theme, but it causes a lot of regressions
|
|
63
|
+
// internally. For now we fall back to the old hardcoded behavior only for internal apps.
|
|
64
|
+
@if (token-utils.$private-is-internal-build) {
|
|
65
|
+
$is-dark: inspection.get-theme-type($theme) == dark;
|
|
66
|
+
$container-color: inspection.get-theme-color($theme, $palette-name);
|
|
67
|
+
$contrast-tone: mdc-helpers.variable-safe-contrast-tone($container-color, $is-dark);
|
|
68
|
+
$color: if($contrast-tone == 'dark', #000, #fff);
|
|
69
|
+
$state-layer-color: $color;
|
|
70
|
+
$ripple-color: rgba($color, 0.1);
|
|
71
|
+
}
|
|
72
|
+
@else {
|
|
73
|
+
$state-layer-color: inspection.get-theme-color($theme, $palette-name, default-contrast, 1);
|
|
74
|
+
$ripple-color: inspection.get-theme-color($theme, $palette-name, default-contrast, 0.1);
|
|
75
|
+
}
|
|
64
76
|
|
|
65
77
|
@return (
|
|
66
|
-
state-layer-color: $color,
|
|
67
|
-
ripple-color:
|
|
78
|
+
state-layer-color: $state-layer-color,
|
|
79
|
+
ripple-color: $ripple-color,
|
|
68
80
|
);
|
|
69
81
|
}
|
|
70
82
|
|
|
@@ -20,13 +20,13 @@ $prefix: (mat, form-field);
|
|
|
20
20
|
// Tokens that can be configured through Angular Material's color theming API.
|
|
21
21
|
@function get-color-tokens($theme) {
|
|
22
22
|
$is-dark: inspection.get-theme-type($theme) == dark;
|
|
23
|
-
$on-surface: if($is-dark, #fff, #000);
|
|
24
23
|
$color-tokens: private-get-color-palette-color-tokens($theme, primary);
|
|
25
24
|
|
|
26
25
|
@return map.merge($color-tokens, (
|
|
27
26
|
// MDC has a token for the enabled placeholder, but not for the disabled one.
|
|
28
|
-
disabled-input-text-placeholder-color:
|
|
29
|
-
|
|
27
|
+
disabled-input-text-placeholder-color:
|
|
28
|
+
inspection.get-theme-color($theme, foreground, icon, 0.38),
|
|
29
|
+
state-layer-color: inspection.get-theme-color($theme, foreground, base, 0.87),
|
|
30
30
|
error-text-color: inspection.get-theme-color($theme, warn),
|
|
31
31
|
|
|
32
32
|
// On dark themes we set the native `select` color to some shade of white,
|
|
@@ -56,8 +56,8 @@ $prefix: (mat, form-field);
|
|
|
56
56
|
|
|
57
57
|
// These values are taken from the MDC select implementation:
|
|
58
58
|
// https://github.com/material-components/material-components-web/blob/master/packages/mdc-select/_select-theme.scss
|
|
59
|
-
enabled-select-arrow-color:
|
|
60
|
-
disabled-select-arrow-color:
|
|
59
|
+
enabled-select-arrow-color: inspection.get-theme-color($theme, foreground, icon, 0.54),
|
|
60
|
+
disabled-select-arrow-color: inspection.get-theme-color($theme, foreground, icon, 0.38),
|
|
61
61
|
|
|
62
62
|
hover-state-layer-opacity: if($is-dark, 0.08, 0.04),
|
|
63
63
|
focus-state-layer-opacity: if($is-dark, 0.24, 0.08),
|
|
@@ -18,7 +18,6 @@ $prefix: (mat, icon-button);
|
|
|
18
18
|
// Tokens that can be configured through Angular Material's color theming API.
|
|
19
19
|
@function get-color-tokens($theme) {
|
|
20
20
|
$is-dark: inspection.get-theme-type($theme) == dark;
|
|
21
|
-
$on-surface: if($is-dark, #fff, #000);
|
|
22
21
|
$ripple-opacities: if($is-dark,
|
|
23
22
|
mdc-ripple-theme.$light-ink-opacities,
|
|
24
23
|
mdc-ripple-theme.$dark-ink-opacities
|
|
@@ -26,13 +25,13 @@ $prefix: (mat, icon-button);
|
|
|
26
25
|
|
|
27
26
|
@return (
|
|
28
27
|
// Color of the element that shows the hover, focus and pressed states.
|
|
29
|
-
state-layer-color: $
|
|
28
|
+
state-layer-color: inspection.get-theme-color($theme, foreground, base),
|
|
30
29
|
|
|
31
30
|
// Color of the element that shows the hover, focus and pressed states while disabled.
|
|
32
|
-
disabled-state-layer-color: $
|
|
31
|
+
disabled-state-layer-color: inspection.get-theme-color($theme, foreground, base),
|
|
33
32
|
|
|
34
33
|
// Color of the ripple element.
|
|
35
|
-
ripple-color:
|
|
34
|
+
ripple-color: inspection.get-theme-color($theme, foreground, base, 0.1),
|
|
36
35
|
|
|
37
36
|
// Opacity of the ripple when the button is hovered.
|
|
38
37
|
hover-state-layer-opacity: map.get($ripple-opacities, hover),
|
|
@@ -24,8 +24,8 @@ $prefix: (mat, menu);
|
|
|
24
24
|
// Tokens that can be configured through Angular Material's color theming API.
|
|
25
25
|
@function get-color-tokens($theme) {
|
|
26
26
|
$is-dark: inspection.get-theme-type($theme) == dark;
|
|
27
|
-
$
|
|
28
|
-
|
|
27
|
+
$active-state-layer-color: inspection.get-theme-color($theme, foreground, base,
|
|
28
|
+
if($is-dark, 0.08, 0.04));
|
|
29
29
|
$text-color: inspection.get-theme-color($theme, foreground, text);
|
|
30
30
|
|
|
31
31
|
@return (
|
|
@@ -15,8 +15,8 @@ $prefix: (mat, option);
|
|
|
15
15
|
// Tokens that can be configured through Angular Material's color theming API.
|
|
16
16
|
@function get-color-tokens($theme, $palette-name: primary) {
|
|
17
17
|
$is-dark: inspection.get-theme-type($theme) == dark;
|
|
18
|
-
$
|
|
19
|
-
|
|
18
|
+
$active-state-layer-color: inspection.get-theme-color($theme, foreground, base,
|
|
19
|
+
if($is-dark, 0.08, 0.04));
|
|
20
20
|
|
|
21
21
|
@return (
|
|
22
22
|
selected-state-label-text-color: inspection.get-theme-color($theme, $palette-name),
|
|
@@ -28,7 +28,6 @@ $prefix: (mat, outlined-button);
|
|
|
28
28
|
// Tokens that can be configured through Angular Material's color theming API.
|
|
29
29
|
@function get-color-tokens($theme) {
|
|
30
30
|
$is-dark: inspection.get-theme-type($theme) == dark;
|
|
31
|
-
$on-surface: if($is-dark, #fff, #000);
|
|
32
31
|
$ripple-opacities: if($is-dark,
|
|
33
32
|
mdc-ripple-theme.$light-ink-opacities,
|
|
34
33
|
mdc-ripple-theme.$dark-ink-opacities
|
|
@@ -36,13 +35,13 @@ $prefix: (mat, outlined-button);
|
|
|
36
35
|
|
|
37
36
|
@return (
|
|
38
37
|
// Color of the element that shows the hover, focus and pressed states.
|
|
39
|
-
state-layer-color: $
|
|
38
|
+
state-layer-color: inspection.get-theme-color($theme, foreground, base),
|
|
40
39
|
|
|
41
40
|
// Color of the element that shows the hover, focus and pressed states while disabled.
|
|
42
|
-
disabled-state-layer-color: $
|
|
41
|
+
disabled-state-layer-color: inspection.get-theme-color($theme, foreground, base),
|
|
43
42
|
|
|
44
43
|
// Color of the ripple element.
|
|
45
|
-
ripple-color:
|
|
44
|
+
ripple-color: inspection.get-theme-color($theme, foreground, base, 0.1),
|
|
46
45
|
|
|
47
46
|
// Opacity of the ripple when the button is hovered.
|
|
48
47
|
hover-state-layer-opacity: map.get($ripple-opacities, hover),
|
|
@@ -28,7 +28,6 @@ $prefix: (mat, protected-button);
|
|
|
28
28
|
// Tokens that can be configured through Angular Material's color theming API.
|
|
29
29
|
@function get-color-tokens($theme) {
|
|
30
30
|
$is-dark: inspection.get-theme-type($theme) == dark;
|
|
31
|
-
$on-surface: if($is-dark, #fff, #000);
|
|
32
31
|
$ripple-opacities: if($is-dark,
|
|
33
32
|
mdc-ripple-theme.$light-ink-opacities,
|
|
34
33
|
mdc-ripple-theme.$dark-ink-opacities
|
|
@@ -36,13 +35,13 @@ $prefix: (mat, protected-button);
|
|
|
36
35
|
|
|
37
36
|
@return (
|
|
38
37
|
// Color of the element that shows the hover, focus and pressed states.
|
|
39
|
-
state-layer-color: $
|
|
38
|
+
state-layer-color: inspection.get-theme-color($theme, foreground, base),
|
|
40
39
|
|
|
41
40
|
// Color of the element that shows the hover, focus and pressed states while disabled.
|
|
42
|
-
disabled-state-layer-color: $
|
|
41
|
+
disabled-state-layer-color: inspection.get-theme-color($theme, foreground, base),
|
|
43
42
|
|
|
44
43
|
// Color of the ripple element.
|
|
45
|
-
ripple-color:
|
|
44
|
+
ripple-color: inspection.get-theme-color($theme, foreground, base, 0.1),
|
|
46
45
|
|
|
47
46
|
// Opacity of the ripple when the button is hovered.
|
|
48
47
|
hover-state-layer-opacity: map.get($ripple-opacities, hover),
|
|
@@ -57,14 +56,27 @@ $prefix: (mat, protected-button);
|
|
|
57
56
|
|
|
58
57
|
// Generates the mapping for the properties that change based on the button palette color.
|
|
59
58
|
@function private-get-color-palette-color-tokens($theme, $palette-name) {
|
|
60
|
-
$
|
|
61
|
-
$
|
|
62
|
-
|
|
63
|
-
|
|
59
|
+
$state-layer-color: null;
|
|
60
|
+
$ripple-color: null;
|
|
61
|
+
|
|
62
|
+
// Ideally we would derive all values directly from the theme, but it causes a lot of regressions
|
|
63
|
+
// internally. For now we fall back to the old hardcoded behavior only for internal apps.
|
|
64
|
+
@if (token-utils.$private-is-internal-build) {
|
|
65
|
+
$is-dark: inspection.get-theme-type($theme) == dark;
|
|
66
|
+
$container-color: inspection.get-theme-color($theme, $palette-name);
|
|
67
|
+
$contrast-tone: mdc-helpers.variable-safe-contrast-tone($container-color, $is-dark);
|
|
68
|
+
$color: if($contrast-tone == 'dark', #000, #fff);
|
|
69
|
+
$state-layer-color: $color;
|
|
70
|
+
$ripple-color: rgba($color, 0.1);
|
|
71
|
+
}
|
|
72
|
+
@else {
|
|
73
|
+
$state-layer-color: inspection.get-theme-color($theme, $palette-name, default-contrast, 1);
|
|
74
|
+
$ripple-color: inspection.get-theme-color($theme, $palette-name, default-contrast, 0.1);
|
|
75
|
+
}
|
|
64
76
|
|
|
65
77
|
@return (
|
|
66
|
-
state-layer-color: $color,
|
|
67
|
-
ripple-color:
|
|
78
|
+
state-layer-color: $state-layer-color,
|
|
79
|
+
ripple-color: $ripple-color,
|
|
68
80
|
);
|
|
69
81
|
}
|
|
70
82
|
|
|
@@ -14,10 +14,8 @@ $prefix: (mat, radio);
|
|
|
14
14
|
|
|
15
15
|
// Tokens that can be configured through Angular Material's color theming API.
|
|
16
16
|
@function get-color-tokens($theme, $palette-name: accent) {
|
|
17
|
-
$is-dark: inspection.get-theme-type($theme) == dark;
|
|
18
|
-
|
|
19
17
|
@return (
|
|
20
|
-
ripple-color:
|
|
18
|
+
ripple-color: inspection.get-theme-color($theme, foreground, base),
|
|
21
19
|
checked-ripple-color: inspection.get-theme-color($theme, $palette-name, default),
|
|
22
20
|
disabled-label-color: inspection.get-theme-color($theme, foreground, disabled-text),
|
|
23
21
|
);
|
|
@@ -19,19 +19,29 @@ $prefix: (mat, select);
|
|
|
19
19
|
// Tokens that can be configured through Angular Material's color theming API.
|
|
20
20
|
@function get-color-tokens($theme, $palette-name: primary) {
|
|
21
21
|
$is-dark: inspection.get-theme-type($theme) == dark;
|
|
22
|
+
|
|
23
|
+
// Ideally we would derive all values directly from the theme, but it causes a lot of regressions
|
|
24
|
+
// internally. For now we fall back to the old hardcoded behavior only for internal apps.
|
|
22
25
|
$on-surface: if($is-dark, #fff, #000);
|
|
26
|
+
$text-color-base: if(token-utils.$private-is-internal-build, $on-surface,
|
|
27
|
+
inspection.get-theme-color($theme, foreground, text, 1));
|
|
28
|
+
$disabled-text-color-base: if(token-utils.$private-is-internal-build, $on-surface,
|
|
29
|
+
inspection.get-theme-color($theme, foreground, disabled-text, 1));
|
|
30
|
+
$icon-color-base: if(token-utils.$private-is-internal-build, $on-surface,
|
|
31
|
+
inspection.get-theme-color($theme, foreground, divider, 1));
|
|
23
32
|
|
|
24
33
|
@return (
|
|
25
34
|
panel-background-color: inspection.get-theme-color($theme, background, card),
|
|
26
|
-
enabled-trigger-text-color:
|
|
27
|
-
disabled-trigger-text-color:
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
35
|
+
enabled-trigger-text-color: sass-utils.safe-color-change($text-color-base, $alpha: 0.87),
|
|
36
|
+
disabled-trigger-text-color:
|
|
37
|
+
sass-utils.safe-color-change($disabled-text-color-base, $alpha: 0.38),
|
|
38
|
+
placeholder-text-color: sass-utils.safe-color-change($text-color-base, $alpha: 0.6),
|
|
39
|
+
enabled-arrow-color: sass-utils.safe-color-change($icon-color-base, $alpha: 0.54),
|
|
40
|
+
disabled-arrow-color: sass-utils.safe-color-change($text-color-base, $alpha: 0.38),
|
|
31
41
|
focused-arrow-color: sass-utils.safe-color-change(
|
|
32
|
-
|
|
42
|
+
inspection.get-theme-color($theme, $palette-name, default), $alpha: 0.87),
|
|
33
43
|
invalid-arrow-color: sass-utils.safe-color-change(
|
|
34
|
-
|
|
44
|
+
inspection.get-theme-color($theme, warn, default), $alpha: 0.87),
|
|
35
45
|
);
|
|
36
46
|
}
|
|
37
47
|
|