Skip to main content

Anatomy

  1. Container
  2. Prefix Slot (Optional)
  3. Label

Default

Attribute Token Value
Container
Padding (Left and Right) push-button-padding-x-medium 1rem
Padding (Top and Bottom) push-button-padding-y-medium 0.5rem
Border Width push-button-border-width 1px
Border Radius push-button-radius 3px
Background Color push-button-color-background-unselected-default #99f66600
Border Color push-button-color-border-unselected-default #4dacff
Border Radius push-button-radius 3px
Label
Font Family font-control-body-1-font-family 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif
Font Size font-control-body-1-font-size 1rem
Font Weight font-control-body-1-font-weight 400
Line Height font-control-body-1-line-height calc(20 / 16)
Letter Spacing font-control-body-1-letter-spacing 0.005em
Text Color push-button-color-text-unselected-default #4dacff
Prefix
Fill Color push-button-prefix-color-fill-unselected-default #4dacff
Dimension push-button-prefix-dimension 20px
Margin (Right) push-button-prefix-margin-right 0.25rem

Selection

Selected

>

Default

Attribute Token Value
Container
Background Color push-button-color-background-selected-default #56f000
Border Color push-button-color-border-selected-default #56f000
Label
Text Color push-button-color-text-selected #000000
Prefix
Fill Color push-button-prefix-color-fill-selected #000000

Hover

Attribute Token Value
Container
Background Color push-button-color-background-selected-hover #99f666
Border Color push-button-color-border-selected-hover #99f666

Disabled

Attribute Token Value
Container
Opacity opacity-disabled 40%

Unselected

Default

Attribute Token Value
Container
Background Color push-button-color-background-unselected-default #99f66600
Border Color push-button-color-border-unselected-default #4dacff
Label
Text Color push-button-color-text-unselected-default #4dacff
Prefix
Fill Color push-button-prefix-color-fill-unselected-default #4dacff

Hover

Attribute Token Value
Container
Background Color push-button-color-background-unselected-hover #99f66600
Border Color push-button-color-border-unselected-hover #92cbff

Disabled

Attribute Token Value
Container
Opacity opacity-disabled 40%

Sizes

Small

Attribute Token Value
Container
Padding (Left and Right) push-button-padding-x-small 1rem
Padding (Top and Bottom) push-button-padding-y-small 1rem

Medium

Attribute Token Value
Container
Padding (Left and Right) push-button-padding-x-medium 1rem
Padding (Top and Bottom) push-button-padding-y-medium 0.5rem

Large

Attribute Token Value
Container
Padding (Left and Right) push-button-padding-x-large 1rem
Padding (Top and Bottom) push-button-padding-y-large 0.75rem

Icon Only

Small

Attribute Token Value
Container
Padding (Left and Right) push-button-padding-x-small-icon-only 0.25rem
Padding (Top and Bottom) push-button-padding-y-small-icon-only 0.25rem

Medium

Attribute Token Value
Container
Padding (Left and Right) push-button-padding-x-medium-icon-only 0.5rem
Padding (Top and Bottom) push-button-padding-y-medium-icon-only 0.5rem

Large

Attribute Token Value
Container
Padding (Left and Right) push-button-padding-x-large-icon-only 0.75rem
Padding (Top and Bottom) push-button-padding-y-large-icon-only 0.75rem

Focus

Primary Button with Focus State
Attribute Token Value
Container
Outline Offset spacing-focus-default 0.125rem
Outline color-border-focus-default #da9ce7
Feedback

Help us improve Astro

Please rate your present experience with Astro:

Cancel