This demo follows the guide's implementation steps for light-dark() and color-scheme overrides.
I follow your OS theme. My scrollbar and dropdown below adapt automatically.
color-scheme.
I am ALWAYS dark. Notice my dark scrollbars and dropdown, even if your OS is in light mode.
color-scheme: dark is forced on this container.
This section is forced to dark. The card inside picks up the theme correctly.
I am a standard card inheriting a dark context from my parent.