Skip to content

fix: don't invert shadows and modal background in dark mode

Simon Knox requested to merge psi-dark-shadows into main

Fix couple of dark mode things

Like the "white glow" around popovers:

before after
Screen_Shot_2021-09-14_at_9.20.14_am Screen_Shot_2021-09-14_at_9.20.56_am

and dropdown menus:

before after
Screen_Shot_2021-09-14_at_9.57.03_am Screen_Shot_2021-09-14_at_9.22.05_am

And the modal background

before after
Screen_Shot_2021-09-14_at_9.59.28_am Screen_Shot_2021-09-14_at_10.00.09_am

Mostly just changed $black to #000, since in dark mode the value is inverted. Means it doesn't change at all in light mode.

Merge request reports