Skip to content

Conversation

@pupto-bismol
Copy link

Currently, the css in build/system24.css selects the status dot elements with has(rect[fill="..."]) and just matches on the colour that it normally would be. This doesn't work when using a reduced saturation in the base discord accessibility settings, as the colour of the dot is slightly different, so every status dot is just transparent and doesn't work.

Ex. the normal colour of the green "online" dot is #43A25A. When saturation is at 75%, the colour is now #4F9661, so .wrapper__44b0c:has(rect[fill='#d83a42']) (code in main) does not notice it anymore.

Instead you can select them with the aria-label attribute, which is always the same and works just fine.

@refact0r
Copy link
Owner

aria-labels change by language, so i don't believe that is a viable path.

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