Compare commits

...

3 Commits

Author SHA1 Message Date
Aadil Ayub fb2631cd03 define default body text style 2024-05-08 16:27:41 +05:00
Aadil Ayub bec4286a37 define heading colors 2024-05-08 16:16:02 +05:00
Aadil Ayub 7ee58f32f6 add font size presets 2024-05-08 16:13:31 +05:00
1 changed files with 50 additions and 1 deletions

View File

@ -45,6 +45,44 @@
]
},
"typography": {
"fluid": true,
"lineHeight": true,
"textColumns": true,
"fontSizes": [
{
"name": "Small",
"size": "16px",
"slug": "sm",
"fluid": false
},
{
"name": "Medium",
"size": "20px",
"slug": "md",
"fluid": {
"min": "18px",
"max": "20px"
}
},
{
"name": "Large",
"size": "40px",
"slug": "lg",
"fluid": {
"min": "32px",
"max": "40px"
}
},
{
"name": "Extra Large",
"size": "48px",
"slug": "xl",
"fluid": {
"min": "40px",
"max": "48px"
}
}
],
"fontFamilies": [
{
"fontFamily": "'Inclusive Sans', sans-serif",
@ -181,13 +219,24 @@
"text": "var(--wp--preset--color--contrast)"
},
"typography": {
"fontFamily": "Inclusive Sans"
"fontFamily": "Inclusive Sans",
"fontSize": "var(--wp--preset--font-size--medium)",
"fontWeight": "400",
"lineHeight": "1.6"
},
"blocks": {
"core/post-title": {
"typography": {
"fontSize": "40px",
"fontWeight": "400"
},
"color": {
"text": "var(--wp--preset--color--main-purple)"
}
},
"core/heading": {
"color": {
"text": "var(--wp--preset--color--main-purple)"
}
}
},