/top /all /jobs
Topics: #Alcohol #DrugFree #Education #Hobbies #LawFirm #Movies #Music #News #Politics #Programming #PublicFigures #Romance #Technology

(PCRE-compatible)
Email administrator

Read Post
Sun, 04 May 2025 07:41:00 -0700
Andy from private IP, post #10393800

/all
I'm working on dark mode today-- should be done today.

By request.  I looked into this, and all I should have to do is add CSS like this, at least for browsers that have the prefers-color-scheme @media CSS directive
(most browsers).  This was added to Firefox in 2019.

@media (prefers-color-scheme: dark) {

   [tags go here]

}

#Programming #Technology 


Sun, 04 May 2025 08:33:16 -0700
Andy from private IP
Reply #15735276

Done, looks amazing.  Thanks @phositaTest for the request.  I didn't realize it
would be this straightforward.


Sun, 04 May 2025 08:37:04 -0700
Andy from private IP
Reply #19751131

This is sick-- it changes modes depending on either your browser preferences or your computer settings.  BALLER.


Sun, 04 May 2025 10:36:05 -0700
phosita from private IP
Reply #18151334

I can see no way to enable dark mode on slash.law other than setting a preference in Firefox.  Is that the intended behavior?

Done this way, the site no longer torches my retinas.  That's nice.


Sun, 04 May 2025 10:43:33 -0700
Andy from private IP
Reply #10561872

@phositaTest If you set dark mode on your computer or in the browser, it will
show dark mode.  Yes, it's intended-- but I can add a manual setting for just this site, but it will take a little more script-fu.  Just for you!


Sun, 04 May 2025 13:07:39 -0700
phosita from private IP
Reply #14068003

script-fu! It isn't just for GIMP anymore.


Replies require login.

Telemetry: page generated in 21 milliseconds for user at 216.73.216.131 on 2025-05-19 04:43:33

© 2025 Andrew G. Watters, Esq.

Test