Skip to content

Comments

Standardize errors, warnings, info & success colors#350

Merged
nikhil-varma merged 4 commits intomasterfrom
CF-1483-2
Feb 15, 2026
Merged

Standardize errors, warnings, info & success colors#350
nikhil-varma merged 4 commits intomasterfrom
CF-1483-2

Conversation

@nikhil-varma
Copy link
Contributor

@nikhil-varma nikhil-varma commented Feb 10, 2026

This pull request updates the color palettes for both the dark and light themes by replacing color imports with hardcoded color values and adding detailed state-specific color properties for semantic colors (error, warning, info, success). This change improves consistency, simplifies theme configuration, and enhances UI state styling.

Theme color palette updates:

  • Replaced color imports (such as red, orange, teal, and lightBlue) with direct hardcoded color values for semantic colors in both dark-theme.js and light-theme.js, leading to more predictable and maintainable color definitions. [1] [2]
  • Added a _states object to each semantic color (error, warning, info, success) defining colors for UI states like hover, selected, focus, focusVisible, and outlinedBorder, improving visual feedback and accessibility. [1] [2]

Palette consistency and contrast improvements:

  • Updated contrastText values for all semantic colors to #fcfdff for better text readability across both themes. [1] [2]

This ensures both Cloud UI and Web UI uses the same color themes for Error/Info/Success/Warning

Alerts

image image

SnackBars

image image

Chip

image image

@nikhil-varma nikhil-varma marked this pull request as ready for review February 10, 2026 15:05
@nikhil-varma
Copy link
Contributor Author

@trean @generall Requesting your reviews

@nikhil-varma nikhil-varma merged commit d1a133c into master Feb 15, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants