AlaskaAirlines / auro-lockup

Custom element that ....
https://auro.alaskaair.com/components/auro/lockup
Apache License 2.0
0 stars 0 forks source link

Update color tokens for theming support #28

Closed jordanjones243 closed 1 month ago

jordanjones243 commented 3 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: #25

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.

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

Summary by Sourcery

Update color tokens to support theming, refactor CSS to use design tokens, and enhance documentation with theming instructions. Update dependencies and ESLint configuration.

Enhancements:

Build:

Documentation:

Chores:

jason-capsule42 commented 2 months ago

@sourcery-ai review

sourcery-ai[bot] commented 2 months ago

Reviewer's Guide by Sourcery

This pull request refactors the codebase to support theming by introducing design tokens for colors and sizes. It updates the postCSS script to dynamically process all CSS files, replaces hardcoded values in styles with tokens, and adds new files for color and token definitions. Additionally, it updates the documentation to include information on theming support and configures ESLint with the @aurodesignsystem/eslint-config.

File-Level Changes

Files Changes
src/style.scss
src/color.scss
src/tokens.scss
Refactored styles to use design tokens for colors and sizes, and added new files for color and token definitions.
demo/api.md
docs/partials/api.md
Added documentation for theme support, including code samples for using design tokens.

Tips - Trigger a new Sourcery review by commenting `@sourcery-ai review` on the pull request. - Continue your discussion with Sourcery by replying directly to review comments. - You can change your review settings at any time by accessing your [dashboard](https://app.sourcery.ai): - Enable or disable the Sourcery-generated pull request summary or reviewer's guide; - Change the review language; - You can always [contact us](mailto:support@sourcery.ai) if you have any questions or feedback.
blackfalcon commented 1 month ago

:tada: This PR is included in version 3.1.0-beta.1 :tada:

The release is available on:

Your semantic-release bot :package::rocket: