Skip to content
This repository was archived by the owner on May 20, 2023. It is now read-only.

Commit 3efa35f

Browse files
har79nshahan
authored andcommitted
Part of a sequence of CLs refactoring css/material into separate, smaller libraries
PiperOrigin-RevId: 225357953
1 parent e4d39b4 commit 3efa35f

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

angular_components/lib/css/_color_material.scss

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,14 @@ $mat-icon-dark-focused: $mat-transparent-white;
7979
$mat-icon-dark: $mat-light-transparent-white;
8080
$mat-icon-dark-inactive: $mat-lighter-transparent-white;
8181

82+
// DEPRECATED; use icon colors, above.scss.
83+
$mat-icon-opacity: $mat-opacity-light;
84+
$mat-icon-opacity-disabled: .38;
85+
$mat-icon-opacity-hover: $mat-opacity-strong;
86+
$mat-icon-dark-opacity: 1;
87+
$mat-icon-dark-opacity-disabled: .30;
88+
$mat-icon-dark-opacity-hover: 1;
89+
8290
/// Common colors for scrollbars.
8391
/// Note: Prefer using @mixin material-scrollbars(...).
8492
$mat-scrollbar-thumb: $mat-lightest-transparent-black;

angular_components/lib/css/material/const/_settings.scss

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
// #############################################################################
1111

1212
@import 'package:angular_components/css/transition_material';
13+
@import 'package:angular_components/css/color_material';
1314

1415
// Options that can be set before importing
1516
$mat-option-inline-icons: false !default;
@@ -21,15 +22,6 @@ $mat-option-export-partials: false !default;
2122
$almost-zero: .0001;
2223
$almost-one: 1 - $almost-zero;
2324

24-
// Deprecated; use icon colors, in _color.scss.
25-
// TODO(google): remove.
26-
$mat-icon-opacity: $mat-opacity-light;
27-
$mat-icon-opacity-disabled: .38;
28-
$mat-icon-opacity-hover: $mat-opacity-strong;
29-
$mat-icon-dark-opacity: 1;
30-
$mat-icon-dark-opacity-disabled: .30;
31-
$mat-icon-dark-opacity-hover: 1;
32-
3325
// Grid
3426
$mat-grid: 8px;
3527
$mat-grid-type: 4px;

0 commit comments

Comments
 (0)