ASAB Shell - Styling - Define secondary text color in dark mode#59
ASAB Shell - Styling - Define secondary text color in dark mode#59JanMajer86 wants to merge 8 commits intomainfrom
Conversation
📝 WalkthroughWalkthroughAdds an RGB variant for nightfall blue and introduces Bootstrap text color variables (primary and secondary, with RGB counterparts) in both light and dark theme files; fixes several RGB references in the dark theme to use the correct -rgb variables. Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.
Inline comments:
In `@src/styles/constants/theme-dark.scss`:
- Around line 14-15: Delete the non-standard CSS variables --bs-text-secondary
and --bs-text-secondary-rgb from the theme files: remove their declarations in
src/styles/constants/theme-dark.scss and src/styles/constants/theme-light.scss
(they duplicate --bs-secondary / --bs-secondary-rgb and are not referenced
elsewhere); ensure only the official Bootstrap variables --bs-*-color and
--bs-*-color-rgb remain per the file header.
ℹ️ Review info
⚙️ Run configuration
Configuration used: defaults
Review profile: CHILL
Plan: Pro
Run ID: 3f025ca0-458a-4b50-b311-d9bb46bea11e
📒 Files selected for processing (3)
src/styles/constants/colors.scsssrc/styles/constants/theme-dark.scsssrc/styles/constants/theme-light.scss
| @@ -39,7 +42,7 @@ | |||
| --bs-input-bg-color-rgb: var(--midnight-blue); | |||
There was a problem hiding this comment.
here is missing the rgb part as well
|
@JanMajer86 Ok, as per discussion under the ticket, I am reverting what I wrote. In that case it seems ok. I would also expect to have |
…ore current bootstrap version
| --bs-secondary: var(--lavender-mist); | ||
| --bs-secondary-rgb: var(--lavender-mist-rgb); | ||
|
|
||
| --bs-text-primary: var(--black); |
There was a problem hiding this comment.
Should this color be really black in light mode?
<div className='bg-body-secondary text-body-secondary>which gave me this result: