Skip to content
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

feat(ui): update theme colors #466 #473

Merged
merged 7 commits into from
Jan 3, 2025

Conversation

Preston-Cook
Copy link
Contributor

@Preston-Cook Preston-Cook commented Dec 31, 2024

Updated colors within the ThemeColors.ts file.

The issue requested that the colors off-white-1 and off-white-2 be added. It's worth mentioning that there is already a theme called offwhite, so we may want to change these offwhite-1 and offwhite-2 to keep naming consistent.

We could also change the name to off-white instead, but this would require us to replace the CSS variable across the project.


This change is Reviewable

@IsaDavRod IsaDavRod linked an issue Dec 31, 2024 that may be closed by this pull request
10 tasks
Copy link
Member

@IsaDavRod IsaDavRod left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lets do the following changes:

  • Rename offwhite to off-white and all instances
  • Remove concrete since it's not a UT color. I think theres like one instance of it being used. For any instances, please change them to ut-gray
  • Rename lightgreen to light-green and all instances (also very few or none exist)

@Preston-Cook
Copy link
Contributor Author

It appears that UnoCSS doesn't support kebab-cased colors. The hyphen is reserved for color prefixes e.g. "ut-..."

Copy link
Member

@IsaDavRod IsaDavRod left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

src/shared/types/ThemeColors.ts Outdated Show resolved Hide resolved
@doprz doprz self-requested a review January 3, 2025 01:08
@doprz doprz added ready-for-review UI/UX-figma PRs that fulfill a task on the UI/UX & Feature Roadmap feature labels Jan 3, 2025
Copy link
Member

@IsaDavRod IsaDavRod left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Collaborator

@doprz doprz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@doprz doprz merged commit 0d73b13 into Longhorn-Developers:main Jan 3, 2025
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature ready-for-review UI/UX-figma PRs that fulfill a task on the UI/UX & Feature Roadmap
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Modify ThemeColors.ts with additional theme colors
3 participants