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

enhance: CMD-182 design tokens #200

Merged
merged 6 commits into from
Sep 5, 2024
Merged

Conversation

wesleyboar
Copy link
Member

@wesleyboar wesleyboar commented Aug 23, 2024

Overview

Do not use -rgb CSS variables. Update %x-overlay usage. Deprecate alt/weak colors.

Related

Changes

  • documented deprecated colors
  • changed %x-overlay to override latest properties
  • changed %x-overlay usages to use design tokens

Testing

Verify homepage %x-overlay usage's color and opacity are unchanged on:

  • Frontera
  • UTRC

UI

Skipped.

@wesleyboar wesleyboar force-pushed the enhance/CMD-182-design-tokens branch from 6c24842 to 83c5bff Compare August 23, 2024 06:11
@wesleyboar wesleyboar changed the title enhance: CMD-182 do not use -rgb css vars enhance: CMD-182 core-styles design tokens Aug 23, 2024
@wesleyboar wesleyboar changed the title enhance: CMD-182 core-styles design tokens enhance: CMD-182 design tokens Aug 23, 2024
%x-overlay--callout already does this
- not supported by Safari v15*
- not polyfilled by postcss-relative-color-syntax

* Supported by v16. Once v18 coems ut, we can use var in rgb, because we only need support latest 2 major versions of common browsers.
@wesleyboar wesleyboar force-pushed the enhance/CMD-182-design-tokens branch from 39a2e10 to 9ea6f96 Compare August 23, 2024 12:19
@wesleyboar wesleyboar marked this pull request as ready for review September 5, 2024 18:04
@wesleyboar wesleyboar merged commit e55bfc8 into main Sep 5, 2024
@wesleyboar wesleyboar deleted the enhance/CMD-182-design-tokens branch September 5, 2024 18:04
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.

1 participant