diff --git a/packages/web/src/scss/components/ButtonLink/README.md b/packages/web/src/scss/components/ButtonLink/README.md new file mode 100644 index 0000000000..6a372b13ce --- /dev/null +++ b/packages/web/src/scss/components/ButtonLink/README.md @@ -0,0 +1,65 @@ +# ButtonLink + +Variants: + +```html +Primary Button +Secondary Button +Tertiary Button +Inverted button +Success button +Informative button +Warning button +Danger button +``` + +Block-level Button: + +```html +Primary block-level Button +``` + +Disabling a Button: + +```html +Disabled Button +Disabled Button +``` + +Loading Button: +⚠️ In CSS we depend on the correct placement of the Spinner Icon. It should be the last child of the Button. + +```html + + Button primary + + + + + + + + + Menu + + + + + + Menu + + + + + + + +``` + +Sizes: + +```html +Small Button +Medium Button +Large Button +``` diff --git a/packages/web/src/scss/components/ButtonLink/index.html b/packages/web/src/scss/components/ButtonLink/index.html new file mode 100644 index 0000000000..7a3f93f47d --- /dev/null +++ b/packages/web/src/scss/components/ButtonLink/index.html @@ -0,0 +1,76 @@ +{{#> layout/plain }} {{setVar "colors" "primary" "secondary" "tertiary" "inverted" "success" "informative" "warning" +"danger" }} {{setVar "sizes" "small" "medium" "large" }} + + + Default + + + + {{#each @root.sizes as |size|}} + + Size {{size}} + + {{#each @root.colors as |color|}} + + + Button {{color}} + + + + + Menu + + + Menu + + + + + + + {{/each}} + + + {{/each}} + + + + + + + Disabled + + + + {{#each @root.sizes as |size|}} + + Size {{size}} + + {{#each @root.colors as |color|}} + + + Button {{color}} + + + + + Menu + + + Menu + + + + + + + {{/each}} + + + {{/each}} + + + + + +{{/layout/plain }}