fix(segment-button): add and document custom properties

references #14850
This commit is contained in:
Cam Wiegert
2018-08-10 13:34:14 -05:00
parent 154b70e6da
commit 85ffe01675
2 changed files with 42 additions and 0 deletions

View File

@ -89,6 +89,27 @@ The value of the segment button.
Emitted when the segment button is clicked.
## CSS Custom Properties
| Name | Description |
| ------------------ | ---------------------------- |
| `--background` | Background of the button |
| `--border-color` | Color of the button border |
| `--border-radius` | Radius of the button border |
| `--border-style` | Style of the button border |
| `--border-width` | Width of the button border |
| `--color` | Color of the buton text |
| `--icon-size` | Size of the button icon |
| `--margin-bottom` | Bottom margin of the button |
| `--margin-end` | End margin of the button |
| `--margin-start` | Start margin of the button |
| `--margin-top` | Top margin of the button |
| `--padding-bottom` | Bottom padding of the button |
| `--padding-end` | End padding of the button |
| `--padding-start` | Start padding of the button |
| `--padding-top` | Top padding of the button |
| `--transition` | Transition of the button |
----------------------------------------------