-
Notifications
You must be signed in to change notification settings - Fork 56
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
🟡 ⚫ Boosted dark mode prototype #1858
Conversation
✅ Deploy Preview for boosted ready!
To edit notification comments on pull requests, go to your Netlify site settings. |
f046984
to
acbbdc0
Compare
acbbdc0
to
f48f917
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Quick wins:
- Set the
.highlight-toolbar
bg tovar(--bs-tertiary-bg)
- Set the tables bg to
transparent
ornull
- Set
$link-color-dark: $white
orcurrentColor
or$gray-300
and$link-hover-color-dark: $primary
- Card example may have a bg-white on the first part ?
.ods-guidelines
may usevar(--bs-tertiary-bg)
as a background.
Components that don't fill the minimum requirements:
- Breadcrumbs (divider and text)
- Cards:
.card-header/footer
text color - Close buttons (cross is not visible), maybe a
currentColor
well placed may do the trick - Form elements are barely detectable
- Popovers but might be better with the incoming PR
- Stickers
- Tags: some tag icons (mainly the first one)
- Toasts
- Link with chevron
- Focus
- Quantity selector
- Code blocks
- Tables: caption, background, ...
Misc
Many of them are broken on some variants but let's tackle this later (Dropdown hover, disabled states, code previews, etc...)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tried to tackle the things that were not hard to change inside this PR, it's up to you if find it fine or not !
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@louismaximepiton Few comments to tackle together. But thanks for these modifications :)
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
This PR is a prototype to play with the first set of colors provided by the designers to define the dark mode for Boosted.
However, IMO it can be merged as-is since our current dark mode version is based on Bootstrap (their colors) and is broken in our environment, and hurt my eyes everyday 😄
In light mode, we have components and their dark variants.
In dark mode, the light and dark variants are displayed the same way (with a black background)
Some rules for dark mode:
#000000
#eeeeee
#ffffff
For the moment, all this behavior is not developed. Here is the list of things tried:
$body-color-dark: #eee
$body-bg-dark: #000
$body-tertiary-bg-dark: #414141
bg-white
bybg-tertiary-bg
Live preview