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

Refactor tokens and add excursion theme #159

Closed jordanjones243 closed 5 months ago

jordanjones243 commented 5 months ago

Alaska Airlines Pull Request

Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.

Resolves: #151, #153, #155

Summary:

Please summarize the scope of the changes you have submitted, what the intent of the work is and anything that describes the before/after state of the project.

tl;dr

The following is a sample summary of the changes in this PR. Key modifications are:

  1. Hex Value Formatting:

    • The value fields for color codes have been updated to include a # prefix. For example, "value": "ffffff" is changed to "value": "#ffffff".
  2. Addition of New Colors:

    • New color entries have been added for different opacity levels of white and black. For example, white-100, white-200, white-300, white-400, white-500, and similar entries for black.
    • Each new color entry includes additional fields like comment, public, opacity, usage, wcag, and deprecated.
  3. Deprecation and Reference Updates:

    • Existing colors such as white-opacity-50, white-opacity-40, and white-opacity-0 have been marked as deprecated: true and include a version field indicating when they were deprecated. They also have a reference field pointing to their replacements.
  4. Introduction of New Color Groups:

    • New color groups have been introduced, including blue, cyan, and error. Each group contains multiple shades (e.g., 100, 200, 300, etc.) with their respective hex values and metadata.
  5. Refinement of Existing Colors:

    • Existing color entries have been modified to include additional metadata fields like neutral, usage, wcag, and comment. These fields provide more context about each color's purpose and usage guidelines.
  6. Removal of Deprecated Colors:

    • Some previously defined colors in the neutral group have been removed, such as neutral-400 and neutral-500.

Other notable changes:

See JSON output diff for specific changes in the output files from these changes.

https://www.diffchecker.com/oqSBswj8/

Type of change:

Please delete options that are not relevant.

Checklist:

By submitting this Pull Request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Pull Requests will be evaluated by their quality of update and whether it is consistent with the goals and values of this project. Any submission is to be considered a conversation between the submitter and the maintainers of this project and may require changes to your submission.

Thank you for your submission!
-- Auro Design System Team

blackfalcon commented 5 months ago

:tada: This PR is included in version 4.5.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket: