WordPress/wp-content/themes/twentytwentythree/styles/electric.json
desrosj a921157f3a Twenty Twenty-Three: Merge the latest changes from GitHub.
For a full list of changes included, see the `twentytwentythree` repository on GitHub: 0f273d7874...e2005b0272.

Props kafleg, poena, mikachan, tobifjellner, aristath.
See #56383.
Built from https://develop.svn.wordpress.org/trunk@54686


git-svn-id: http://core.svn.wordpress.org/trunk@54238 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-10-25 01:25:12 +00:00

101 lines
1.8 KiB
JSON

{
"$schema": "https://schemas.wp.org/trunk/theme.json",
"version": 2,
"title": "Electric",
"settings": {
"color": {
"palette": [
{
"color": "#f3f3f1",
"name": "Base",
"slug": "base"
},
{
"color": "#2500ff",
"name": "Contrast",
"slug": "contrast"
},
{
"color": "#f3f3f1",
"name": "Primary",
"slug": "primary"
},
{
"color": "#2500ff",
"name": "Secondary",
"slug": "secondary"
},
{
"color": "#f6f6f6",
"name": "Tertiary",
"slug": "tertiary"
}
]
}
},
"styles": {
"elements": {
"button": {
"border": {
"style": "solid",
"width": "2px",
"color": "var(--wp--preset--color--contrast)"
},
"color": {
"background": "var(--wp--preset--color--contrast)",
"text": "var(--wp--preset--color--base)"
},
"spacing": {
"padding": {
"top": ".667em",
"right": "1.333em",
"bottom": ".667em",
"left": "1.333em"
}
},
":active": {
"typography": {
"textDecoration": "underline dotted"
}
},
":focus": {
"typography": {
"textDecoration": "underline dotted"
}
},
":hover": {
"border": {
"color": "var(--wp--preset--color--contrast)",
"style": "solid",
"width": "2px"
},
"color": {
"background": "var(--wp--preset--color--base)",
"text": "var(--wp--preset--color--contrast)"
}
},
":visited": {
"color": {
"text": "var(--wp--preset--color--base)"
}
}
},
"link": {
":focus": {
"typography": {
"textDecoration": "underline dotted"
}
},
":active": {
"typography": {
"textDecoration": "underline dotted"
}
}
}
},
"typography": {
"fontFamily": "var(--wp--preset--font-family--dm-sans)"
}
}
}