fix(colors): make warning token accesible in O2-new #2047
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Pull Request Description: fix(colors): make warning token accessible in O2-new
Motivation
The goal of this change is to enhance the accessibility of color tokens in the O2-new design system, specifically by updating the warning token to use a more defined color value. This will improve the consistency and clarity of the color palette in our applications.
Changes Made
Updated Warning Color Token: The
warning
token has been changed frompalette.o2Orange
topalette.o2Orange60
. This adjustment ensures that the warning color is more visually distinct and aligns better with accessibility requirements.Added New Color Definition: The color
o2Orange60
has been introduced with a specific hex value (#F06C00
), making it available for use across the system.Schema Updates: The schema definitions have been updated to include
o2Orange60
in the pattern matching, ensuring it is recognized within the O2-new token structure.Benefits
o2Orange60
as the warning color, we enhance the visual hierarchy and ensure that warnings are more noticeable to users.This update is a step towards a more robust and user-friendly design system, and it will help maintain a high standard for our UI components.