Design system
Buttons
The size and weight shared by every button.
Live preview
Chips and form fields share the same control radius.
How these connect
- Every button is the Button component, so these values change the Resume, Let's talk, Send me a message and Send message buttons together.
- The top bar uses a compact version: 8px shorter and 4px narrower on each side, derived from these values.
- Colours come from the Colour foundation (Button fill and Button text) and the corners from Corner radius, so a button touches three foundations.
Tokens
--btn-heightpx
Height of every button.
Affects Button, Top bar, Footer, Contact form
--btn-pad-xpx
Space either side of the button text.
Affects Button, Top bar, Footer, Contact form
--btn-weightHow bold button text is.
Affects Button, Top bar, Footer, Contact form
--btn-borderpx
Outline thickness on buttons.
Affects Button, Top bar, Footer, Contact form