diff --git a/styles/styles.scss b/styles/styles.scss index 0c349db210..a2425301c5 100644 --- a/styles/styles.scss +++ b/styles/styles.scss @@ -63,3 +63,13 @@ background-position: 0 0; } } + +:root:has(body.g-root_theme_light), +:root:has(body.g-root_theme_light-hc) { + color-scheme: light; +} + +:root:has(body.g-root_theme_dark), +:root:has(body.g-root_theme_dark-hc) { + color-scheme: dark; +}