Fix duplicate --bs-emphasis-color set value#37809
Merged
Conversation
Closed
81 tasks
781cf30 to
3ee653e
Compare
3ee653e to
495d979
Compare
mdo
approved these changes
Jan 6, 2023
|
@mdo I'm trying to rattle my brain to understand why the following was overwritten on The code was merged back in October 2022 via #36095 and I've gone through commit history and found that this pull request changes the content what was already on Please can we get this $grid-breakpoints back in as it was previously intended. |
6 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
--bs-emphasis-coloris set 2 times inscss/_root.scss; 1 time with$body-emphasis-colorand 1 time with$emphasis-color.I supposed that the last is the right one based on what we fixed recently on dark mode (having a white color instead of
$gray-100) so this PR suggests to have--bs-emphasis-colorbased on$emphasis-coloron light mode and$emphasis-color-darkin dark mode.It means that
$body-emphasis-colorand$body-emphasis-color-darkbecome useless and can be dropped.@mdo I let you double-check if the rendering is not broken and if this is the way you thought the Sass/CSS vars. We can keep
$body-emphasis-color*and remove$emphasis-color*if that makes more sense to you.Type of changes
Checklist
npm run lint)Live previews