twentytwentythree/styles/electric.json
Jonathan Desrosiers 82849926e1 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.

git-svn-id: https://develop.svn.wordpress.org/trunk@54686 602fd350-edb4-49c9-b593-d223f7449a82
2022-10-25 01:23:25 +00:00

100 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)"
}
}
}