schnensch0 / zelk

discord theme inspired by zorin
MIT License
207 stars 679 forks source link

[BUG] "Create a server" modal does not follow the theme's design #36

Closed ytcalifax closed 2 years ago

ytcalifax commented 2 years ago

Describe the bug The "Create a server" modal does not follow the theme's design - it is completely white when the rest of my zelk theme is using the "Blue Dark" color.

To Reproduce Steps to reproduce the behavior:

  1. Go to the bottom of the server list
  2. Click on the '+' icon
  3. The modal is white and not "Blue Dark"

Screenshots image

Setup

ytcalifax commented 2 years ago

Reopening, since the statement about the modal not being recolorable is wrong, an example of this part of the UI getting recolored can be found in many other themes (e.g. Dark Discord)

schnensch0 commented 2 years ago

I'd have to sacrifice light mode

ytcalifax commented 2 years ago

From what I see in the CSS the theme I gave as an example, there exist a way to have a separate selector for both modes, or am I mistaken?: image

schnensch0 commented 2 years ago

dark discord doesn't support light mode the problem is that the modal has a theme-light class, so the light mode variables are used you can paste this in your console to remove the class

document.querySelector('.theme-light').classList.remove('theme-light')

if you really can't cope with it you could make a plugin with the above code to automatically remove the class

schnensch0 commented 2 years ago

wtf just happened

ytcalifax commented 2 years ago

Wow WTF 😂