We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1a7ea6b commit 60892b6Copy full SHA for 60892b6
elements/clean-portfolio-theme/clean-portfolio-theme.js
@@ -307,7 +307,8 @@ export class CleanPortfolioTheme extends DDDSuper(HAXCMSLitElementTheme) {
307
background-color: var(--portfolio-lightDark-bg);
308
font-family: var(--portfolio-font-body);
309
font-size: var(--portfolio-fontsize-responsive);
310
-
+ color-scheme: light dark;
311
+ scroll-behavior: smooth;
312
/* theme colors */
313
--portfolio-earth-accentLight: #689f38;
314
--portfolio-earth-accentDark: #33691e;
@@ -322,6 +323,10 @@ export class CleanPortfolioTheme extends DDDSuper(HAXCMSLitElementTheme) {
322
323
--portfolio-violet-accentLight: #a27dff;
324
--portfolio-violet-accentDark: #392b6a;
325
}
326
+
327
+ body.dark-mode {
328
+ color-scheme: only dark;
329
+ }
330
`
331
];
332
0 commit comments