lex-scotland-theme/theme.json

118 lines
2.5 KiB
JSON

{
"version": 2,
"$schema": "https://schemas.wp.org/trunk/theme.json",
"settings": {
"useRootPaddingAwareAlignments": true,
"appearanceTools": true,
"layout": {
"contentSize": "1198",
"wideSize": "1368"
},
"color": {
"palette": [
{
"slug": "background",
"color": "#FFFAFA",
"name": "Background"
},
{
"slug": "contrast",
"color": "#000000",
"name": "Contrast"
},
{
"slug": "main-purple",
"color": "#722668",
"name": "Main Purple"
},
{
"slug": "washed-purple",
"color": "#D0A7C0",
"name": "Washed Purple"
},
{
"slug": "main-green",
"color": "#008D62",
"name": "Main Green"
},
{
"slug": "washed-green",
"color": "#A1D7D2",
"name": "Washed Green"
}
]
},
"typography": {
"fontFamilies": [
{
"fontFamily": "Inter, sans-serif",
"name": "Inter",
"slug": "inter",
"fontFace": [
{
"fontFamily": "Inter",
"fontWeight": "400",
"fontStyle": "normal",
"fontStretch": "normal",
"src": ["file:./assets/fonts/inter_normal_400.ttf"]
},
{
"fontFamily": "Inter",
"fontWeight": "700",
"fontStyle": "normal",
"fontStretch": "normal",
"src": ["file:./assets/fonts/inter_normal_700.ttf"]
}
]
}
]
}
},
"styles": {
"color": {
"background": "var(--wp--preset--color--background)"
},
"typography": {
"fontFamily": "Inter"
},
"blocks": {
"core/post-title": {
"typography": {
"fontSize": "30px",
"fontWeight": "700"
}
}
},
"elements": {
"h1": {
"typography": {
"fontSize": "30px",
"fontWeight": "700"
}
},
"h2": {
"typography": {
"fontSize": "22.5px",
"fontWeight": "400"
}
},
"link": {
"color": {
"text": "var(--wp--preset--color--text)"
},
":visited": {
"color": {
"text": "var(--wp--preset--color--text)"
}
},
":hover": {
"color": {
"text": "var(--wp--preset--color--secondary)"
}
}
}
}
}
}