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

POC - Semantic Token upgrade approach #185

Open
7 tasks
megrenn opened this issue Oct 22, 2024 · 2 comments
Open
7 tasks

POC - Semantic Token upgrade approach #185

megrenn opened this issue Oct 22, 2024 · 2 comments

Comments

@megrenn
Copy link

megrenn commented Oct 22, 2024

To successfully achieve our goal of launching Dual Branding (theming) across ecommerce digital experiences, we need to follow two strategies: 1. New development utilizes semantic theming tokens and 2. Legacy development is upgraded to semantic theming tokens.

This Spike is to determine the feasibility of a script (or script) that will:

  • crawl through existing code and identify use of Auro Components which are out of date enough that they don't support theming
  • Look for hard coded colors (prioritize more common ways that colors are defined)
  • When a hard coded color is found, comment the potential design tokens it could be replaced with to enable theming

It currently does not seem feasible to automatically make updates to the relevant code, since it will be impossible in many cases to determine which token is appropriate. The basic idea is to use the script like a pseudo-linter for theming.

For whatever we have deemed feasible above, we also want to assess:

  • What is the benefit for other teams in having these theming gaps identified
  • What do we foresee as the potential time save for teams (roughly)
  • Will this minimize the chance of us needing to innersource (or the time spent innersourcing)
  • Can this be used to help us judge theme readiness across the org?
@megrenn
Copy link
Author

megrenn commented Oct 22, 2024

@jason-capsule42 wasn't sure which Repo to put this in since it's general Auro implementation across the board; so please update as necessary

@jason-capsule42 jason-capsule42 transferred this issue from AlaskaAirlines/auro-library Oct 27, 2024
@Patrick-Daly-AA
Copy link

Put in big update to the description based off of today's refinement.

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

No branches or pull requests

2 participants