v1 to v2
v1 to v2
With Version 2, we've made significant strides to improve accessibility.
We've deprecated the Text Accent Colors, a decision driven by recent accessibility reviews. These reviews underscored the necessity for changes in our use of accent colors in text, to ensure that crucial information is easily discernible for all users, particularly those with color blindness.
For guidance on alternative solutions and effective use of basic Accent Colors, please refer to the Figma Migration Guide.
Finally, we've reorganized the accent color primitives to ensure uniformity between design and code.
Text Accent Colors
To meet a11y requirements, the scala of Text Accent colors has been deprecated:
- cosmos-color-text-inform
- cosmos-color-text-inform-subtle
- cosmos-color-text-positive
- cosmos-color-text-positive-subtle
- cosmos-color-text-negative
- cosmos-color-text-negative-subtle
Please use a 'default' or 'subtle' text color instead.
- Introduced Q3 – 2023
- Resolved end of Q4 – 2023
Accent Colors
To align the way in which primitives are structured in code and in the Figma library, the accent color primitives have been restructured.
Affected Primitives
Deprecated | New |
|---|---|
cosmos-color-focus | cosmos-color-accent-focus |
cosmos-color-positive | cosmos-color-accent-positive |
cosmos-color-negative | cosmos-color-accent-negative |
cosmos-color-inform | cosmos-color-accent-inform |
- Introduced Q3 – 2023
- Resolved end of Q4 – 2023