mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-20 04:14:21 +08:00
fix(segment-button): add and document custom properties
references #14850
This commit is contained in:
@ -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 |
|
||||
|
||||
|
||||
----------------------------------------------
|
||||
|
||||
|
Reference in New Issue
Block a user