AlaskaAirlines / auro-button

HTML custom element represents a clickable button, used to submit forms or anywhere in a document for accessible, standard button functionality
https://auro.alaskaair.com/components/auro/button
Apache License 2.0
5 stars 11 forks source link

background-gradients #242

Open braven112 opened 10 months ago

braven112 commented 10 months ago

Is your feature request related to a problem? Please describe.

As a themer, I want to be able to use background-gradients when customizing auro So that I can create any type of theme I need without being restricted to just changing the background-color property.

Describe the solution you'd like

I'd like to see either a token for the background-image property or I'd like to see the background-color token applied to the background css element so that I can replace the color with a gradient or any other value the background property accepts.

Describe alternatives you've considered

The two options listed above are far better but we could also allow css parts but that isn't as simple when creating themes for the entire system.

Additional context

No response

Exit criteria

I know I'm done when:

Patrick-Daly-AA commented 10 months ago

notes from Jason around opacity for button:

  1. tier 3 tokens inside auro-button
  2. theme that will do every single color inside of auro-button
  3. tier 2 tokens that would get used for opacity/gradients
  4. update auro-button so tier 3 tokens use new tier 2 tokens.