File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change 1031
1031
}
1032
1032
1033
1033
@function _get-sys-color ($type , $ref ) {
1034
+ $mdc-sys-color : if ($type == dark ,
1035
+ mdc-tokens .md-sys-color-values-dark ($ref ),
1036
+ mdc-tokens .md-sys-color-values-light ($ref ));
1037
+
1034
1038
@if (sass-utils .$use-system-color-variables ) {
1035
1039
@return (
1036
1040
' background' : var (--sys-background ),
1067
1071
' secondary-container' : var (--sys-secondary-container ),
1068
1072
' secondary-fixed' : var (--sys-secondary-fixed ),
1069
1073
' secondary-fixed-dim' : var (--sys-secondary-fixed-dim ),
1070
- ' shadow' : var ( -- sys-shadow ),
1074
+ ' shadow' : map . get ( $mdc- sys-color , shadow ),
1071
1075
' surface' : var (--sys-surface ),
1072
1076
' surface-bright' : var (--sys-surface-bright ),
1073
1077
' surface-container' : var (--sys-surface-container ),
1085
1089
);
1086
1090
}
1087
1091
1088
- @return if ($type == dark ,
1089
- mdc-tokens .md-sys-color-values-dark ($ref ),
1090
- mdc-tokens .md-sys-color-values-light ($ref ));
1092
+ @return $mdc-sys-color ;
1091
1093
}
1092
1094
1093
1095
@function _get-sys-typeface ($ref ) {
You can’t perform that action at this time.
0 commit comments