-
Notifications
You must be signed in to change notification settings - Fork 889
refactor(site): adjust a few colors #10750
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
BrunoQuaresma
commented
Nov 17, 2023
•
edited
Loading
edited
- Adjust text secondary color
- Adjust alert icon colors
- Adjust "active" bars in the tabs and sidebar components
- Wrap the users page tab content into a suspense avoiding load all the page instead only the content part
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.
This PR is a hotfix and has been automatically approved.
- ✅ Base is main
- ✅ Has hotfix label
- ✅ Head is from coder/coder
- ✅ Less than 100 lines
@@ -189,14 +189,19 @@ const StatusOptionItem = ({ | |||
}; | |||
|
|||
const StatusIndicator: FC<{ option: StatusOption }> = ({ option }) => { | |||
const color = option.color === "notice" ? "warning" : option.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.
@aslilac I didn't figure out how to make it work with "notice" instead of "warning"
[`& .${alertClasses.icon}`]: { | ||
color: dark.palette.error.light, | ||
}, | ||
}, |
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.
Unfortunately, MUI does not have a way to say "use light colors for icons" so I made it manually.
…r-secondary-color