Update fonts
All checks were successful
Build and copy to prod / build-and-copy (push) Successful in 2m8s

This commit is contained in:
Lewis Dale 2024-06-03 11:36:19 +01:00
parent d7af73a6a4
commit 7280ecbf76
2 changed files with 4 additions and 1 deletions

View File

@ -81,7 +81,7 @@
body {
background-color: var(--color-secondary);
color: var(--color-primary);
font-family: var(--font-family-sans);
font-family: var(--font-family-humanist);
font-size: var(--text-size-s);
text-underline-offset: var(--space-size-4xs);
}
@ -92,6 +92,7 @@ h2,
h3,
h4,
h5 {
font-family: var(--font-family-neo);
font-weight: bold;
line-height: 1.2;
margin: 0;

View File

@ -48,6 +48,8 @@ module.exports = {
fontFamily: {
sans: ['Avenir', 'Montserrat', 'Corbel', "'URW Gothic'", 'source-sans-pro', 'sans-serif'],
mono: ['"Space Grotesk"', ...defaultTheme.fontFamily.mono],
humanist: ['Seravek', "'Gill Sans Nova'", 'Ubuntu', 'Calibri', "'DejaVu Sans'", 'source-sans-pro', 'sans-serif'],
neo: ['Inter', 'Roboto', "'Helvetica Neue'", "'Arial Nova'", "'Nimbus Sans'", "'Arial'", 'sans-serif']
},
gap: ({theme}) => ({
none: '0px',