Extract button component #16441
Labels
component: dashboard
team: webapp
Issue belongs to the WebApp team
type: improvement
Improves an existing feature or existing code
Uh oh!
There was an error while loading. Please reload this page.
Problem to solve
There are around 60 instances of a button across the product, see
<button>
instances[1].Currently, all buttons rely on the main button styles in
index.css
.gitpod/components/dashboard/src/index.css
Lines 55 to 57 in 77b4d06
It would be great to have a button component to cover some of the sizes, states, categories, variants, content, etc. and also support light / dark theme.
The need for a button component has been discussed briefly before a couple of times:
See also relevant discussion in #16391 (comment). Cc @selfcontained
The text was updated successfully, but these errors were encountered: