Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NEW DESIGN - Dark mode support #2407

Open
5 tasks
Tracked by #7295 ...
teolemon opened this issue Oct 6, 2019 · 8 comments
Open
5 tasks
Tracked by #7295 ...

NEW DESIGN - Dark mode support #2407

teolemon opened this issue Oct 6, 2019 · 8 comments
Labels
CSS Dark mode 🎨 Design 🎨 New design Issues related to the Open Food Facts JS/CSS/HTML redesign.

Comments

@teolemon
Copy link
Member

teolemon commented Oct 6, 2019

What

https://developer.mozilla.org/docs/Web/CSS/@media/prefers-color-scheme

Tasks

Previous attempts on the old theme

Part of

Mockup

Here's what it could look like (note that we'll have to make Dark mode versions of some illustrations)
image

old

https://user-images.githubusercontent.com/1689815/66560750-4a6fc880-eb58-11e9-98a1-d2a98aab75c6.png

@teolemon teolemon added the ✨ Feature Features or enhancements to Open Food Facts server label Oct 6, 2019
@teolemon
Copy link
Member Author

Curious behaviour:
image

@teolemon
Copy link
Member Author

Not sure this deserves a P2

@teolemon teolemon removed the P2 label Jan 27, 2020
@alifafaruk
Copy link
Contributor

alifafaruk commented Apr 8, 2020

Hi! My team, @Jen-Lopez @lucasortizny want to work on this issue. We think it is a really useful feature! Can we get it assigned to us?

@Dorson
Copy link

Dorson commented Apr 9, 2020

Made a flexible solution for the Dark Mode on websites.

Try demo in here:
https://dorson.github.io/CSS-Dark-Mode-and-color-switch/

Works with basic CSS variables + short JavaScript.

Can be used inside existing CSS style files. Can be used to define multiple color themes in one CSS file.

Let's save our eyesight at night, and battery too :-)

Have fun using my code !

@teolemon
Copy link
Member Author

We just deployed a new design, but without dark mode so far. Halloween is just around the corner. Can we turn the orange into a pumpkin by then ?

@teolemon
Copy link
Member Author

image

@teolemon teolemon added the 🎨 New design Issues related to the Open Food Facts JS/CSS/HTML redesign. label Nov 1, 2022
@teolemon teolemon changed the title Dark mode support NEW DESIGN - Dark mode support Nov 1, 2022
@teolemon
Copy link
Member Author

image
image
image
image
image
image
image

@teolemon
Copy link
Member Author

@teolemon teolemon removed the ✨ Feature Features or enhancements to Open Food Facts server label Oct 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CSS Dark mode 🎨 Design 🎨 New design Issues related to the Open Food Facts JS/CSS/HTML redesign.
Projects
Status: To discuss and validate
Status: To Discuss and Validate
Development

Successfully merging a pull request may close this issue.

4 participants