AlaskaAirlines / AuroDesignTokens

Abstract UI atomic values to support the Auro Design System.
https://auro.alaskaair.com/getting-started/developers/design-tokens
Apache License 2.0
19 stars 7 forks source link

[issue summary] color-ui-inverse was incorrectly deprecated #134

Closed blackfalcon closed 1 year ago

blackfalcon commented 1 year ago

Please verify the version of Auro design tokens you have installed

@current

Please describe the bug

The following tokens were incorrectly deprecated and removed from the project.

var(--auro-color-ui-default-on-dark) and var(--auro-color-ui-hover-on-dark)

Tokens are references in the linked code

  &--ondark {
    color: $auro-color-ui-default-on-dark;

    &:not(.is-touching) {
      &:hover {
        color: $auro-color-ui-hover-on-dark;
      }
    }

    &:visited {
      color: $auro-color-ui-default-on-dark;
    }
  }

These references will be updated to var(--auro-color-ui-default-inverse) and var(--auro-color-ui-hover-inverse)

Reproducing the error

None

Expected behavior

Tokens will be added back to the repo so that the following code can be updated.

var(--auro-color-ui-default-inverse) and var(--auro-color-ui-hover-inverse)

What browsers are you seeing the problem on?

No response

Additional context

No response

Exit criteria

This issue can be closed once the tokens are updated and shipped with a consumable version.

blackfalcon commented 1 year ago

Completed with this PR