Revise docs (#416)

* chore: add license badge to README

* perf(docs): ignore node_modules in markdown preprocessor

* docs: remove tabs for install commands on homepage

* docs(button-set): improve copy

* docs(button): improve usage for icon-only, link buttons

* docs: various copy improvements
This commit is contained in:
Eric Liu 2020-11-26 11:51:24 -08:00 committed by GitHub
commit b7bf9ea1f0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 48 additions and 41 deletions

View file

@ -8,7 +8,9 @@ source: Button/ButtonSet.svelte
import Preview from "../../components/Preview.svelte";
</script>
### Default (juxtaposed)
### Default
Buttons in a button set are juxtaposed by default.
<ButtonSet>
<Button kind="secondary">Cancel</Button>
@ -17,6 +19,8 @@ source: Button/ButtonSet.svelte
### Stacked
Set `stacked` to `true` to use the stacked variant.
<ButtonSet stacked>
<Button icon={Login16}>Log in</Button>
<Button kind="ghost">Sign up</Button>