adjust nav-menu typography
This commit is contained in:
parent
2ce5fc7ed6
commit
dda2596dcb
BIN
assets/fonts/DarkerGrotesque-Semibold.woff
Normal file
BIN
assets/fonts/DarkerGrotesque-Semibold.woff
Normal file
Binary file not shown.
@ -1 +1 @@
|
|||||||
<!-- wp:navigation {"ref":104,"layout":{"type":"flex","orientation":"vertical","justifyContent":"right"}} /-->
|
<!-- wp:navigation {"ref":104,"layout":{"type":"flex","orientation":"vertical","justifyContent":"right"},"style":{"typography":{"textDecoration":"underline"}}} /-->
|
25
theme.json
25
theme.json
@ -73,6 +73,20 @@
|
|||||||
],
|
],
|
||||||
"fontFamily": "Karmilla",
|
"fontFamily": "Karmilla",
|
||||||
"slug": "karmilla"
|
"slug": "karmilla"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"fontFace": [
|
||||||
|
{
|
||||||
|
"fontFamily": "Darker Grotesque",
|
||||||
|
"fontWeight": "700",
|
||||||
|
"src": [
|
||||||
|
"file:./assets/fonts/DarkerGrotesque-Semibold.woff"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"name": "'Darker Grotesque', sans-serif",
|
||||||
|
"fontFamily": "Darker Grotesque",
|
||||||
|
"slug": "darkergrotesque"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
@ -90,7 +104,16 @@
|
|||||||
"border": {
|
"border": {
|
||||||
"radius": "0px"
|
"radius": "0px"
|
||||||
}
|
}
|
||||||
}
|
},
|
||||||
|
"core/navigation": {
|
||||||
|
"typography": {
|
||||||
|
"fontFamily": "var(--wp--preset--font-family--darkergrotesque)",
|
||||||
|
"fontSize": "21px",
|
||||||
|
"fontStyle": "normal",
|
||||||
|
"fontWeight": "600",
|
||||||
|
"textTransform": "uppercase"
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"templateParts": [
|
"templateParts": [
|
||||||
|
Loading…
Reference in New Issue
Block a user