Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add dark mode support for the Unicode codepoint template #348

Open
wants to merge 1 commit into
base: gh-pages
Choose a base branch
from

Conversation

xfq
Copy link
Member

@xfq xfq commented Mar 22, 2024

@xfq xfq requested a review from deniak as a code owner March 22, 2024 07:28
@@ -119,4 +119,6 @@ img { background: white; }
--outdated-shadow: red;

--editedrec-bg: darkorange;

--uname: rgb(215 99 99);
Copy link
Member

@deniak deniak Mar 22, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
--uname: rgb(215 99 99);
--uname: rgb(215, 99, 99);

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@xfq how did you come up with that color?

I checked the contract ratio and it doesn't pass WCAG AAA.

rgb(215, 140, 140) seems to work .better

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I selected it manually, because I think the contrast is good enough for me and AAA requirements are not recommended to be included in legislation by default, but I'm OK with colour you picked as well.

As for the syntax, since the recommended space-separated notation is now supported by all major browsers, I wonder if we can adopt it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants