Buttons

Methodology

Buttons are not the foundations of the design system but are an important part of UI there are many variations of a button component and we try to keep things simple. note: Google Material Icons align when fix applied from the icons page.

Making a button consists of one of the following a Link Block, Link or Button we first give a class of button, then from there we can stake classes to define the style. for the border color we simply say which color then border like so primary-border
Type
Value
Size
large
medium
small
tiny
Rounded
rounded
Color
class color
Border
xxxxx-border
Type (nested element)
icon
Text display
inline
Element
Interaction Name
Mouse In
button-hover-right
button-hover-left
Mouse Out
button-out-right
button-out-left
tiny
Default
Small
Small
Everything below is the present styles you do not need to adjust these with the exception of the individual states i.e hover. colors and inhert from the color system. * Tiny class is mainly used for tags

Primary

Class
Padding
Font Size
default
1em 1.5em
1em
large
1.2em 2.2em
1em
small
1.2em 2.2em
0.75em
tiny
0.4em 0.7em
0.675em

Greyscale

Notification

Rounded

Select the button below and adjust the rounded property

HTMX Button

Select the button below and adjust the rounded property
hx-get
hx-target
hx-select
hx-swap
directory/location of content
ID of where I want div to go
ID of div I want to pull in
innerHTML (replaces containing div)