Skip to content

Commit 8b4b58b

Browse files
committed
fixup! feat(material/theming): Add APIs to check what information theme has
1 parent 9906aa3 commit 8b4b58b

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/material/core/theming/_inspection.scss

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,8 @@ $_typography-properties: (font, font-family, line-height, font-size, letter-spac
7373
$args-count: list.length($args);
7474
@if $args-count == 1 {
7575
@return _get-theme-role-color($theme, $args...);
76-
} @else if $args-count == 2 {
76+
}
77+
@else if $args-count == 2 {
7778
@return _get-theme-palette-color($theme, $args...);
7879
}
7980
@error #{'Expected 2 or 3 arguments. Got:'} $args-count + 1;
@@ -198,7 +199,7 @@ $_typography-properties: (font, font-family, line-height, font-size, letter-spac
198199
@return map.get($theme, $_internals, typography-tokens) != null;
199200
}
200201
@if $system == density {
201-
@return map.get($theme, $_internals, density-scale) != null
202+
@return map.get($theme, $_internals, density-scale) != null;
202203
}
203204
@error 'Valid systems are: base, color, typography, density. Got:' $system;
204205
}

0 commit comments

Comments
 (0)