-
-
Notifications
You must be signed in to change notification settings - Fork 284
/
Copy path_Colored.scss
38 lines (34 loc) · 1.4 KB
/
_Colored.scss
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
@use '@material/checkbox/mixins' as checkbox;
@use '@material/theme/color-palette';
.my-colored-checkbox {
--mdc-checkbox-checked-color: #{color-palette.$green-600};
@include checkbox.container-colors(
$marked-stroke-color: color-palette.$green-600,
$marked-fill-color: color-palette.$green-600
);
@include checkbox.disabled-container-colors(
$marked-stroke-color: color-palette.$green-900,
$marked-fill-color: color-palette.$green-900
);
@include checkbox.ink-color(color-palette.$green-100);
@include checkbox.disabled-ink-color(color-palette.$green-400);
@include checkbox.focus-indicator-color(color-palette.$green-100);
}
.my-fully-colored-checkbox {
--mdc-checkbox-checked-color: #{color-palette.$green-600};
@include checkbox.container-colors(
$unmarked-stroke-color: color-palette.$green-600,
$unmarked-fill-color: transparent,
$marked-stroke-color: color-palette.$green-600,
$marked-fill-color: color-palette.$green-600
);
@include checkbox.disabled-container-colors(
$unmarked-stroke-color: color-palette.$green-900,
$unmarked-fill-color: transparent,
$marked-stroke-color: color-palette.$green-900,
$marked-fill-color: color-palette.$green-900
);
@include checkbox.ink-color(color-palette.$green-100);
@include checkbox.disabled-ink-color(color-palette.$green-400);
@include checkbox.focus-indicator-color(color-palette.$green-100);
}