thomasfuchs,
@thomasfuchs@hachyderm.io avatar

Currently working on adding dark mode to our app that’s been developed and grown over 15 years. 😅

I would like to thank whoever added !important to the CSS spec.

double_oh_3,

@thomasfuchs
I always read it as "not important"

hollerpots,

@thomasfuchs Ha! That's my world next month. It will be an endless series of overrides.

thomasfuchs,
@thomasfuchs@hachyderm.io avatar

Other features that are coming in handy are CSS variables and filter (especially invert, contrast and hue-shift).

robby1066,

@thomasfuchs My experience, !important always comes back to bite me after a while (although I definitely see how it's often the most straightforward option on a legacy codebase).

Abstracting out to CSS variables can be tedious, but I think it's generally worth the effort.

thomasfuchs,
@thomasfuchs@hachyderm.io avatar

@robby1066 fwiw especially for colors switching to css variables isn’t too bad with a project search and replace

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • DreamBathrooms
  • mdbf
  • ngwrru68w68
  • magazineikmin
  • thenastyranch
  • rosin
  • khanakhh
  • osvaldo12
  • Youngstown
  • slotface
  • Durango
  • kavyap
  • InstantRegret
  • tacticalgear
  • anitta
  • ethstaker
  • modclub
  • cisconetworking
  • tester
  • GTA5RPClips
  • cubers
  • everett
  • megavids
  • provamag3
  • normalnudes
  • Leos
  • JUstTest
  • lostlight
  • All magazines