DEV Community

Discussion on: Bootstrap CSS is still the sh*t. But we can make it better.

Collapse
 
sereneinserenade profile image
Jeet Mandaliya

That is a great article @wes_walke

I totally see the point of shadows>borders.

what is the best way to translate shadows>border design when it comes to dark theme? White shadows look a bit off and black shadows aren't really providing the visual separation that borders provide in dark theme...

Collapse
 
wes_walke profile image
Weston Walker 📚 • Edited

Hi Jeet!

Making something a lighter gray in dark mode gives the illusion of elevation. Spotify is a good example of this!

Collapse
 
sereneinserenade profile image
Jeet Mandaliya

That's actually great advice, thank you!