Edit history
Earlier versions of Separate light mode and dark mode colors for roles, newest first.
Current version | Edited by Rex
Changes
[Some color roles I attempted to optimize for legibility against both dark and light backgrounds, and various forms of colorblindness.](https://role-preview-for-discord.pages.dragory.net/#?state=eyJyb2xlcyI6W3siaWQiOjMsIm5hbWUiOiJBbWF6aW5nIEFtZXRoeXN0IiwiY29sb3IiOiIjOWY3YWQwIn0seyJpZCI6MiwibmFtZSI6IlNwYXJrbHkgU2FwcGhpcmUiLCJjb2xvciI6IiM1YThmY2EifSx7ImlkIjo0LCJuYW1lIjoiQXdlc29tZSBBcXVhbWFyaW5lIiwiY29sb3IiOiIjMzU5NmJiIn0seyJpZCI6NSwibmFtZSI6Ikp1YmlsYW50IEphZGUiLCJjb2xvciI6IiMzNTlkNzMifSx7ImlkIjo2LCJuYW1lIjoiQ2FuZGVzY2VudCBDaXRyaW5lIiwiY29sb3IiOiIjYTI4YTBlIn0seyJpZCI6NywibmFtZSI6IlR3aW5rbGluZyBUb3BheiIsImNvbG9yIjoiI2I0ODIzMiJ9LHsiaWQiOjgsIm5hbWUiOiJSYWRpYW50IFJ1YnkiLCJjb2xvciI6IiNjOTc0NjQifSx7ImlkIjo5LCJuYW1lIjoiRmxhbWJveWFudCBGYWlyeWl0ZSIsImNvbG9yIjoiI2I5NzBiZCJ9LHsiaWQiOjEwLCJuYW1lIjoiU3BlY3RhY3VsYXIgU2FsdGl1bSIsImNvbG9yIjoiIzdmOGQ5OSJ9XSwiY29sb3JCbGluZE1vZGVzIjpbIlByb3Rhbm9tYWx5IiwiUHJvdGFub3BpYSIsIkRldXRlcmFub21hbHkiLCJEZXV0ZXJhbm9waWEiLCJUcml0YW5vbWFseSIsIlRyaXRhbm9waWEiLCJBY2hyb21hdG9tYWx5IiwiQWNocm9tYXRvcHNpYSJdfQ==)Removed: ### ChecksRemoved: Removed: - ☑ I searched existing discussions.Removed:
Show
Separate light mode and dark mode colors for roles
Edited by Rex
Changes
Removed: Idea: roles can have a light-mode and a dark-mode colorAdded: Separate light mode and dark mode colors for roles### Problem
Show
Separate light mode and dark mode colors for roles
Problem
Currently, a role's color appears the same regardless of whether it's set against a dark or light (or whatever other) background. Trying to optimize for contrast when choosing role colors is a matter of balancing opposing goals, and it seems the best compromise achievable is a contrast ratio of around 3.4 against both the dark and light backgrounds, which is below the WCAG 2.2 minimum value of 4.5 for small text. (source: my experiments with the Role Preview for Discord tool – the default background colors for Fluxer are slightly different, but comparable)Proposal
I'd like to be able to specify two colors per role: one that appears to users in (one of the) dark mode(s), and one for light mode. Allowing a role to have one color displayed for dark mode backgrounds and another for light mode backgrounds would allow accessible role colors for everyone without the need for compromise colors that don't have a good contrast ratio against either. For people using custom CSS, there could be a toggle letting them choose if they want their theme paired with “dark mode roles” or “light mode roles”. The change can be made progressive by declaring one mode (say, dark) to be the “default” with regards to role colors, and assigning roles' current colors to that mode, allowing community owners to optionally specify an alternative color for the other mode.Notes
Some color roles I attempted to optimize for legibility against both dark and light backgrounds, and various forms of colorblindness.Checks
- ☑ I searched existing discussions.
Original by Rex
Show
Idea: roles can have a light-mode and a dark-mode color
Problem
Currently, a role's color appears the same regardless of whether it's set against a dark or light (or whatever other) background. Trying to optimize for contrast when choosing role colors is a matter of balancing opposing goals, and it seems the best compromise achievable is a contrast ratio of around 3.4 against both the dark and light backgrounds, which is below the WCAG 2.2 minimum value of 4.5 for small text. (source: my experiments with the Role Preview for Discord tool – the default background colors for Fluxer are slightly different, but comparable)Proposal
I'd like to be able to specify two colors per role: one that appears to users in (one of the) dark mode(s), and one for light mode. Allowing a role to have one color displayed for dark mode backgrounds and another for light mode backgrounds would allow accessible role colors for everyone without the need for compromise colors that don't have a good contrast ratio against either. For people using custom CSS, there could be a toggle letting them choose if they want their theme paired with “dark mode roles” or “light mode roles”. The change can be made progressive by declaring one mode (say, dark) to be the “default” with regards to role colors, and assigning roles' current colors to that mode, allowing community owners to optionally specify an alternative color for the other mode.Notes
Some color roles I attempted to optimize for legibility against both dark and light backgrounds, and various forms of colorblindness.Checks
- ☑ I searched existing discussions.