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

Dark mode: basic elements #2355

Merged
merged 4 commits into from
Nov 7, 2023

Conversation

louismaximepiton
Copy link
Member

@louismaximepiton louismaximepiton commented Nov 6, 2023

Description

⚠️ Adding color-scheme for a great rendering of basic inputs.
⚠️ We could drop all those .text-body classes and some more changes in _reboot.scss to revert once #2313 is merged.
⚠️ Need to determine whether the file input is not working from a mistake of us or a browser issue ?

Basic elements in dark mode, by using existing Sass var :

Sass var Previous value New value
$pre-color var(--#{$prefix}pre-color, $gray-900) var(--#{$prefix}body-color-subtle)

⚠️ New CSS var :

CSS var Light value Dark value
--bs-body-color-subtle $gray-900 $gray-300

Links

@louismaximepiton louismaximepiton added the color mode Temporary label to highlight color mode issues label Nov 6, 2023
Copy link

netlify bot commented Nov 6, 2023

Deploy Preview for boosted ready!

Name Link
🔨 Latest commit 6316975
🔍 Latest deploy log https://app.netlify.com/sites/boosted/deploys/6549e753dc53b90008db42e0
😎 Deploy Preview https://deploy-preview-2355--boosted.netlify.app/docs/5.3/dark-mode
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@louismaximepiton louismaximepiton force-pushed the main-lmp-basic-elements-dark branch 3 times, most recently from fb86bc6 to 48670fa Compare November 6, 2023 10:03
@julien-deramond julien-deramond force-pushed the main-lmp-basic-elements-dark branch from 48670fa to f99f657 Compare November 7, 2023 06:32
@julien-deramond

This comment was marked as resolved.

@julien-deramond
Copy link
Contributor

Note: let's add this use case in the main PR description to dig for a solution or an explanation on browsers side:

Screenshot 2023-11-07 at 07 39 49

@julien-deramond julien-deramond self-requested a review November 7, 2023 07:26
@julien-deramond julien-deramond merged commit 36ffc98 into main-jd-dark-mode Nov 7, 2023
@julien-deramond julien-deramond deleted the main-lmp-basic-elements-dark branch November 7, 2023 07:30
This was referenced Nov 7, 2023
julien-deramond added a commit that referenced this pull request Nov 7, 2023
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
julien-deramond added a commit that referenced this pull request Nov 8, 2023
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
julien-deramond added a commit that referenced this pull request Nov 10, 2023
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
julien-deramond added a commit that referenced this pull request Nov 13, 2023
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
julien-deramond added a commit that referenced this pull request Nov 15, 2023
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
julien-deramond added a commit that referenced this pull request Nov 27, 2023
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
julien-deramond added a commit that referenced this pull request Nov 27, 2023
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
julien-deramond added a commit that referenced this pull request Nov 27, 2023
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
julien-deramond added a commit that referenced this pull request Nov 29, 2023
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
julien-deramond added a commit that referenced this pull request Nov 30, 2023
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
julien-deramond added a commit that referenced this pull request Dec 1, 2023
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
julien-deramond added a commit that referenced this pull request Dec 4, 2023
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
julien-deramond added a commit that referenced this pull request Dec 8, 2023
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
julien-deramond added a commit that referenced this pull request Dec 15, 2023
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
julien-deramond added a commit that referenced this pull request Dec 18, 2023
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
julien-deramond added a commit that referenced this pull request Dec 21, 2023
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
julien-deramond added a commit that referenced this pull request Dec 26, 2023
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
julien-deramond added a commit that referenced this pull request Dec 27, 2023
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
julien-deramond added a commit that referenced this pull request Jan 2, 2024
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
color mode Temporary label to highlight color mode issues
Projects
Development

Successfully merging this pull request may close these issues.

2 participants