Skip to content

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

Merged
merged 2 commits into from
Nov 17, 2023
Merged

Conversation

BrunoQuaresma
Copy link
Collaborator

@BrunoQuaresma BrunoQuaresma commented Nov 17, 2023

  • 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

Copy link

@cdr-bot cdr-bot bot left a 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

@BrunoQuaresma BrunoQuaresma changed the title refactor(site): a few colors adjustments refactor(site): make a few colors adjustments Nov 17, 2023
@@ -189,14 +189,19 @@ const StatusOptionItem = ({
};

const StatusIndicator: FC<{ option: StatusOption }> = ({ option }) => {
const color = option.color === "notice" ? "warning" : option.color;
Copy link
Collaborator Author

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,
},
},
Copy link
Collaborator Author

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.

@BrunoQuaresma BrunoQuaresma changed the title refactor(site): make a few colors adjustments refactor(site): adjust a few colors Nov 17, 2023
@BrunoQuaresma BrunoQuaresma merged commit 24aa223 into main Nov 17, 2023
@BrunoQuaresma BrunoQuaresma deleted the bq/refactor-secondary-color branch November 17, 2023 12:27
@github-actions github-actions bot locked and limited conversation to collaborators Nov 17, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant