Skip to content
Discussion options

You must be logged in to vote

Hey, it was due to:

@custom-variant OSdark (@media (prefers-color-scheme: dark));
@custom-variant OSlight (@media (prefers-color-scheme: light));
@custom-variant HDcolor (@media (dynamic-range: high));

which I got from https://github.com/argyleink/open-props/blob/main/src/props.media.css

all I had to do was change the notation:

@custom-variant osDark (@media (prefers-color-scheme: dark));
@custom-variant osLight (@media (prefers-color-scheme: light));
@custom-variant hdColor (@media (dynamic-range: high));

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@TobyPerplex
Comment options

Answer selected by TobyPerplex
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #18963 on September 18, 2025 13:39.