themes-wordpress/winkel/theme.json
alaczek 582ac1d88b
Winkel: Initial commit. (#5571)
* Winkel: Initial commit.

* Update winkel/style.css

* rename header template and simplify templates

* Winkel: Update header - enable logo syncing, remove navigation font size.

* Winkel: Update theme.json - use a different text color for paragraphs, define navigation font size.

* Refactor so that we can use the header-centered pattern in Winkel

Co-authored-by: Ben Dwyer <ben@scruffian.com>
2022-02-24 20:24:13 +00:00

82 lines
2.6 KiB
JSON

{
"version": 2,
"settings": {
"color": {
"palette": [
{
"slug": "primary",
"color": "#444444",
"name": "Primary",
"default": "#444444"
},
{
"slug": "foreground",
"color": "#222222",
"name": "Foreground",
"default": "#222222"
},
{
"slug": "background",
"color": "#ffffff",
"name": "Background",
"default": "#ffffff"
},
{
"slug": "tertiary",
"color": "#ecf2f3",
"name": "Tertiary",
"default": "#F0F0F0"
}
]
},
"typography": {
"fontFamilies": [
{
"fontFamily": "-apple-system,BlinkMacSystemFont,\"Segoe UI\",Roboto,Oxygen-Sans,Ubuntu,Cantarell,\"Helvetica Neue\",sans-serif",
"slug": "body-font",
"name": "Body (System Font)",
"fontSlug": "system-font"
},
{
"fontFamily": "\"Libre Baskerville\", serif",
"slug": "heading-font",
"name": "Heading (Libre Baskerville)",
"google": "family=Libre+Baskerville:ital,wght@0,400;0,700;1,400",
"fontSlug": "libre-baskerville"
}
]
},
"custom": {
"color": {
"foreground": "var(--wp--preset--color--foreground)",
"background": "var(--wp--preset--color--background)",
"primary": "var(--wp--preset--color--foreground)",
"secondary": "var(--wp--preset--color--foreground)",
"tertiary": "var(--wp--preset--color--tertiary)"
}
},
"layout": {
"contentSize": "670px",
"wideSize": "968px"
}
},
"styles": {
"blocks": {
"core/paragraph": {
"color": {
"text": "var(--wp--preset--color--primary)"
}
},
"core/navigation": {
"typography": {
"fontSize": "var(--wp--preset--font-size--small)"
}
},
"core/site-title": {
"typography": {
"fontSize": "40px"
}
}
}
}
}