Compare commits

...

5 Commits

Author SHA1 Message Date
c8ad4ebee7 use css var for body text style 2024-05-09 16:23:59 +05:00
20e3ac6cfc tweak button typography 2024-05-09 16:23:22 +05:00
8822dc0f3e fix typo 2024-05-09 16:21:05 +05:00
f6fb2d87e4 fix typo 2024-05-09 16:11:02 +05:00
de01295aa1 add atkinson hyperlegible font 2024-05-09 16:10:40 +05:00
5 changed files with 39 additions and 3 deletions

View File

@ -98,7 +98,7 @@
"src": ["file:./assets/fonts/inclusive-sans/inclusive-sans-regular.woff2"] "src": ["file:./assets/fonts/inclusive-sans/inclusive-sans-regular.woff2"]
}, },
{ {
"fontFamily": "Inter", "fontFamily": "Inclusive Sans",
"fontWeight": "400", "fontWeight": "400",
"fontStyle": "italic", "fontStyle": "italic",
"fontStretch": "normal", "fontStretch": "normal",
@ -106,6 +106,41 @@
} }
] ]
}, },
{
"fontFamily": "'Atkinson Hyperlegible', sans-serif",
"name": "Atkinson Hyperlegible",
"slug": "atkinson-hyperlegible",
"fontFace": [
{
"fontFamily": "Atkinson Hyperlegible",
"fontWeight": "400",
"fontStyle": "normal",
"fontStretch": "normal",
"src": ["file:./assets/fonts/atkinson-hyperlegible/atkinson-hyperlegible-regular.woff2"]
},
{
"fontFamily": "Atkinson Hyperlegible",
"fontWeight": "400",
"fontStyle": "italic",
"fontStretch": "normal",
"src": ["file:./assets/fonts/atkinson-hyperlegible/atkinson-hyperlegible-italic.woff2"]
},
{
"fontFamily": "Atkinson Hyperlegible",
"fontWeight": "700",
"fontStyle": "normal",
"fontStretch": "normal",
"src": ["file:./assets/fonts/atkinson-hyperlegible/atkinson-hyperlegible-bold.woff2"]
},
{
"fontFamily": "Atkinson Hyperlegible",
"fontWeight": "700",
"fontStyle": "italic",
"fontStretch": "normal",
"src": ["file:./assets/fonts/atkinson-hyperlegible/atkinson-hyperlegible-bold-italic.woff2"]
}
]
},
{ {
"fontFamily": "'Overused Grotesk', sans-serif", "fontFamily": "'Overused Grotesk', sans-serif",
"name": "Overused Grotesk", "name": "Overused Grotesk",
@ -220,7 +255,7 @@
"text": "var(--wp--preset--color--contrast)" "text": "var(--wp--preset--color--contrast)"
}, },
"typography": { "typography": {
"fontFamily": "Inclusive Sans", "fontFamily": "var(--wp--preset--font-family--inclusive-sans)",
"fontSize": "var(--wp--preset--font-size--medium)", "fontSize": "var(--wp--preset--font-size--medium)",
"fontWeight": "400", "fontWeight": "400",
"lineHeight": "1.6" "lineHeight": "1.6"
@ -261,7 +296,8 @@
}, },
"typography": { "typography": {
"fontSize": "var(--wp--preset--font-size--small)", "fontSize": "var(--wp--preset--font-size--small)",
"textTransform": "uppercase" "fontFamily": "var(--wp--preset--font-family--atkinson-hyperlegible)",
"fontWeight": "700"
} }
}, },
"core/separator": { "core/separator": {