mirror of
https://github.com/WordPress/WordPress.git
synced 2024-10-31 07:49:38 +01:00
244f676c59
Resyncing changes for TT4 into Core. Changes include: * Reformatted all the patterns for readability. * Bugfixes in the markup and improvements on the string translation functions. * Renaming of some patterns, making them consistent with the content they show and whether they are simple patterns, full-page patterns or patterns meant to replace templates. Follow-up to [56813], [56764], [56716]. Props richtabor, onemaggie, luminuu, shailu25, dunhakdis, shivashankerbhatta, dajeema, enodekciw, kafleg, viralsampat, glendaviesnz, beafialho, webmandesign, huzaifaalmesbah, gregfuller, benharri. Fixes #59640. Built from https://develop.svn.wordpress.org/trunk@56951 git-svn-id: http://core.svn.wordpress.org/trunk@56462 1a063a9b-81f0-0310-95a4-ce76da25c4cd
146 lines
3.1 KiB
JSON
146 lines
3.1 KiB
JSON
{
|
|
"$schema": "https://schemas.wp.org/trunk/theme.json",
|
|
"version": 2,
|
|
"title": "Rust",
|
|
"settings": {
|
|
"color": {
|
|
"duotone": [
|
|
{
|
|
"colors": [
|
|
"#A62B0C",
|
|
"#F3F0E7"
|
|
],
|
|
"slug": "duotone-1",
|
|
"name": "Dark rust to beige"
|
|
}
|
|
],
|
|
"gradients": [
|
|
{
|
|
"slug": "gradient-1",
|
|
"gradient": "linear-gradient(to bottom, #A62A0C42 0%, #F3F0E7 100%)",
|
|
"name": "Vertical transparent rust to beige"
|
|
},
|
|
{
|
|
"slug": "gradient-7",
|
|
"gradient": "linear-gradient(to bottom, #A62A0C42 50%, #F3F0E7 50%)",
|
|
"name": "Vertical hard transparent rust to beige"
|
|
},
|
|
{
|
|
"slug": "gradient-2",
|
|
"gradient": "linear-gradient(to bottom, #A62B0C 0%, #F3F0E7 100%)",
|
|
"name": "Vertical rust to beige"
|
|
},
|
|
{
|
|
"slug": "gradient-8",
|
|
"gradient": "linear-gradient(to bottom, #A62B0C 50%, #F3F0E7 50%)",
|
|
"name": "Vertical hard rust to beige"
|
|
}
|
|
],
|
|
"palette": [
|
|
{
|
|
"color": "#F3F0E7",
|
|
"name": "Base",
|
|
"slug": "base"
|
|
},
|
|
{
|
|
"color": "#ECEADF",
|
|
"name": "Base / 2",
|
|
"slug": "base-2"
|
|
},
|
|
{
|
|
"color": "#A62B0C",
|
|
"name": "Contrast",
|
|
"slug": "contrast"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"styles": {
|
|
"blocks": {
|
|
"core/calendar": {
|
|
"css": ".wp-block-calendar table:where(:not(.has-text-color)) th{background-color:var(--wp--preset--color--contrast);color:var(--wp--preset--color--base);border-color:var(--wp--preset--color--contrast)} & table:where(:not(.has-text-color)) td{border-color:var(--wp--preset--color--contrast)}"
|
|
},
|
|
"core/comment-date": {
|
|
"color": {
|
|
"text": "var(--wp--preset--color--contrast)"
|
|
},
|
|
"elements": {
|
|
"link": {
|
|
"color": {
|
|
"text": "var(--wp--preset--color--contrast)"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"core/comment-edit-link": {
|
|
"elements": {
|
|
"link": {
|
|
"color": {
|
|
"text": "var(--wp--preset--color--contrast)"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"core/comment-reply-link": {
|
|
"elements": {
|
|
"link": {
|
|
"color": {
|
|
"text": "var(--wp--preset--color--contrast)"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"core/post-date": {
|
|
"color": {
|
|
"text": "var(--wp--preset--color--contrast)"
|
|
},
|
|
"elements": {
|
|
"link": {
|
|
"color": {
|
|
"text": "var(--wp--preset--color--contrast)"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"core/post-terms": {
|
|
"css":"& .wp-block-post-terms__prefix{color: var(--wp--preset--color--contrast);}"
|
|
},
|
|
"core/quote": {
|
|
"color": {
|
|
"background": "var(--wp--preset--color--base)"
|
|
}
|
|
},
|
|
"core/site-tagline": {
|
|
"color": {
|
|
"text": "var(--wp--preset--color--contrast)"
|
|
}
|
|
}
|
|
},
|
|
"elements": {
|
|
"button": {
|
|
":focus": {
|
|
"color": {
|
|
"background": "var(--wp--preset--color--contrast)"
|
|
},
|
|
"border": {
|
|
"color": "var(--wp--preset--color--contrast)"
|
|
}
|
|
},
|
|
":hover": {
|
|
"color": {
|
|
"background": "var(--wp--preset--color--contrast)"
|
|
},
|
|
"border": {
|
|
"color": "var(--wp--preset--color--contrast)"
|
|
}
|
|
}
|
|
},
|
|
"caption": {
|
|
"color": {
|
|
"text": "var(--wp--preset--color--contrast)"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|