-
Notifications
You must be signed in to change notification settings - Fork 8
fix: bazaar installed pill color #71
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
Conversation
readability of the installed pill should be better now due to the lack of transparency
doesn't slightly cut off their heads anymore
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.
Code Review
This pull request fixes the color of the 'installed' pill in the bazaar. The changes involve adding new CSS rules to style the pill differently for various sections and adjusting banner heights for better visual consistency. My review focuses on improving the maintainability of the new CSS by removing redundant property declarations. Overall, the changes look good and address the intended fix.
| .dev-section app-tile-installed-pill { | ||
| background-color: #cbabff; | ||
| color: var(--fg-color); |
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.
The color: var(--fg-color); property is redundant here. It's already defined in the .global-section app-tile-installed-pill rule at line 50. Since elements with .dev-section also have the .global-section class, the color property will be applied from that more general rule. Removing this duplication improves maintainability by following the DRY (Don't Repeat Yourself) principle.
| .dev-section-dark app-tile-installed-pill { | ||
| background-color: #084152; | ||
| color: var(--fg-color); |
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.
Screencast_20260101_035740.webm