shiffman / BodyBlock

Experimenting with BodyPix model and Obscuring faces/bodies.
30 stars 4 forks source link

Updating the SCSS for when users prefer a specific color scheme. #9

Closed drc closed 4 years ago

drc commented 4 years ago

I changed the SCSS for users who prefer a specific color scheme on their devices. Working on macOS, I ran yarn dev and was presented with this screen, where I prefer the Dark macOS color scheme:

Screen Shot 2020-06-03 at 10 46 40 AM

After changes to Header, Footer and Index SCSS, the text and boxes follow what the user preferences are for Light/Dark making it much easier to read:

Screen Shot 2020-06-03 at 10 47 08 AM Screen Shot 2020-06-03 at 10 46 55 AM

joeyklee commented 4 years ago

@dancigrang - wow! this is awesome. I hadn't previously encountered the prefers-color-scheme media query, but noting it down now.

@shiffman this is approved from my side!

shiffman commented 4 years ago

Thank you merging this!!