Skip to content

Commit 17ea75d

Browse files
author
Andrew Seguin
committed
fix(material/dialog): remove internal-only M2 styles
1 parent 7791972 commit 17ea75d

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

src/material/dialog/_m2-dialog.scss

+1-7
Original file line numberDiff line numberDiff line change
@@ -29,13 +29,7 @@ $prefix: (mat, dialog);
2929
// Tokens that can be configured through Angular Material's color theming API.
3030
@function get-color-tokens($theme) {
3131
$is-dark: inspection.get-theme-type($theme) == dark;
32-
33-
// Ideally we would derive all values directly from the theme, but it causes a lot of regressions
34-
// internally. For now we fall back to the old hardcoded behavior only for internal apps.
35-
$text-base: if(m2-utils.$private-is-internal-build,
36-
if($is-dark, #fff, #000),
37-
inspection.get-theme-color($theme, foreground, text, 1)
38-
);
32+
$text-base: inspection.get-theme-color($theme, foreground, text, 1);
3933

4034
@return (
4135
container-color: inspection.get-theme-color($theme, background, dialog),

0 commit comments

Comments
 (0)