twentytwentythree/styles/electric.json
Jonathan Desrosiers 2aa7d57bcd Twenty Twenty-Three: Bug fixes and improvements for RC1.
Most notably in this update, Twenty Twenty-Three becomes the second default theme to have the “Accessibility Ready” tag.

For a full list of changes being included, see the `twentytwentythree` repository on GitHub: ca662828b7...4ea5d832ec.

Follow up to [54235], [54236], [54312], [54372].

Props mikachan, madhudollu, tahmidulkarim, joen, poena, scruffian, beafialho, colorful-tones, audrasjb, critterverse, luminuu, wildworks, hiyascout, desrosj.
Fixes #56383.

git-svn-id: https://develop.svn.wordpress.org/trunk@54467 602fd350-edb4-49c9-b593-d223f7449a82
2022-10-11 00:42:28 +00:00

95 lines
1.7 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)"
}
}
},
"link": {
":focus": {
"typography": {
"textDecoration": "underline dotted"
}
},
":active": {
"typography": {
"textDecoration": "underline dotted"
}
}
}
},
"typography": {
"fontFamily": "var(--wp--preset--font-family--dm-sans)"
}
}
}