Skip to content

Commit f9b2565

Browse files
authored
fix(www): fix color-scheme and combine duplicate html declarations (#4855)
1 parent ba04293 commit f9b2565

File tree

1 file changed

+5
-8
lines changed

1 file changed

+5
-8
lines changed

projects/www/src/styles.scss

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,16 @@
55
@use './code_theme.scss';
66

77
html {
8-
color-scheme: light dark;
8+
color-scheme: dark;
99
@include mat.theme((
1010
color: mat.$violet-palette,
1111
typography: Roboto,
1212
density: 0
1313
));
14+
/* Prevent font size inflation */
15+
-moz-text-size-adjust: none;
16+
-webkit-text-size-adjust: none;
17+
text-size-adjust: none;
1418
}
1519

1620
*,
@@ -19,13 +23,6 @@ html {
1923
box-sizing: border-box;
2024
}
2125

22-
/* Prevent font size inflation */
23-
html {
24-
-moz-text-size-adjust: none;
25-
-webkit-text-size-adjust: none;
26-
text-size-adjust: none;
27-
}
28-
2926
/* Remove default margin in favour of better control in authored CSS */
3027
body,
3128
h1,

0 commit comments

Comments
 (0)