5b5e1afc2b
* Add Sten theme for review
* removing not needed styles
* updating version
* removing unused key
* removing new lines from css in theme.json
* removing unused patterns
* Revert "removing new lines from css in theme.json"
This reverts commit 32fc8abee0
.
* removing new line characters from CSS in theme.json
521 lines
No EOL
10 KiB
JSON
521 lines
No EOL
10 KiB
JSON
{
|
|
"settings": {
|
|
"appearanceTools": true,
|
|
"color": {
|
|
"palette": [
|
|
{
|
|
"color": "#000000",
|
|
"name": "Primary",
|
|
"slug": "primary"
|
|
},
|
|
{
|
|
"color": "#454545",
|
|
"name": "Secondary",
|
|
"slug": "secondary"
|
|
},
|
|
{
|
|
"color": "#000000",
|
|
"name": "Foreground",
|
|
"slug": "foreground"
|
|
},
|
|
{
|
|
"color": "#c7c7c7",
|
|
"name": "Background",
|
|
"slug": "background"
|
|
},
|
|
{
|
|
"color": "#dadada",
|
|
"name": "Tertiary",
|
|
"slug": "tertiary"
|
|
}
|
|
]
|
|
},
|
|
"layout": {
|
|
"contentSize": "620px",
|
|
"wideSize": "1000px"
|
|
},
|
|
"spacing": {
|
|
"units": [
|
|
"%",
|
|
"px",
|
|
"em",
|
|
"rem",
|
|
"vh",
|
|
"vw"
|
|
]
|
|
},
|
|
"typography": {
|
|
"fluid": true,
|
|
"fontFamilies": [
|
|
{
|
|
"fontFamily": "-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif",
|
|
"name": "System Font",
|
|
"slug": "system-font"
|
|
}
|
|
],
|
|
"fontSizes": [
|
|
{
|
|
"fluid": {
|
|
"max": "1.0625rem",
|
|
"min": "0.825rem"
|
|
},
|
|
"name": "Small",
|
|
"size": "1rem",
|
|
"slug": "small"
|
|
},
|
|
{
|
|
"fluid": {
|
|
"max": "1.25rem",
|
|
"min": "1rem"
|
|
},
|
|
"name": "Medium",
|
|
"size": "1.125rem",
|
|
"slug": "medium"
|
|
},
|
|
{
|
|
"fluid": {
|
|
"max": "2rem",
|
|
"min": "1.75rem"
|
|
},
|
|
"name": "Large",
|
|
"size": "1.75rem",
|
|
"slug": "large"
|
|
},
|
|
{
|
|
"fluid": {
|
|
"max": "3rem",
|
|
"min": "2.5rem"
|
|
},
|
|
"name": "Extra Large",
|
|
"size": "3rem",
|
|
"slug": "x-large"
|
|
}
|
|
]
|
|
},
|
|
"useRootPaddingAwareAlignments": true
|
|
},
|
|
"styles": {
|
|
"blocks": {
|
|
"core/avatar": {
|
|
"border": {
|
|
"bottom": {
|
|
"style": "none",
|
|
"width": "0px"
|
|
},
|
|
"left": {
|
|
"style": "none",
|
|
"width": "0px"
|
|
},
|
|
"radius": "0px",
|
|
"right": {
|
|
"style": "none",
|
|
"width": "0px"
|
|
},
|
|
"top": {
|
|
"style": "none",
|
|
"width": "0px"
|
|
}
|
|
}
|
|
},
|
|
"core/button": {
|
|
"border": {
|
|
"bottom": {
|
|
"style": "none",
|
|
"width": "0px"
|
|
},
|
|
"left": {
|
|
"style": "none",
|
|
"width": "0px"
|
|
},
|
|
"radius": "4px",
|
|
"right": {
|
|
"style": "none",
|
|
"width": "0px"
|
|
},
|
|
"top": {
|
|
"style": "none",
|
|
"width": "0px"
|
|
}
|
|
}
|
|
},
|
|
"core/code": {
|
|
"border": {
|
|
"color": "var(--wp--preset--color--foreground)",
|
|
"radius": "0.25rem",
|
|
"style": "solid",
|
|
"width": "2px"
|
|
},
|
|
"spacing": {
|
|
"padding": {
|
|
"bottom": "var(--wp--preset--spacing--50)",
|
|
"left": "var(--wp--preset--spacing--50)",
|
|
"right": "var(--wp--preset--spacing--50)",
|
|
"top": "var(--wp--preset--spacing--50)"
|
|
}
|
|
},
|
|
"typography": {
|
|
"fontFamily": "monospace"
|
|
}
|
|
},
|
|
"core/columns": {
|
|
"css": ".wp-block-columns {margin-bottom: 0.12em;}"
|
|
},
|
|
"core/comment-author-name": {
|
|
"typography": {
|
|
"fontSize": "0.8rem",
|
|
"fontStyle": "normal",
|
|
"fontWeight": "600"
|
|
}
|
|
},
|
|
"core/comment-content": {
|
|
"typography": {
|
|
"fontSize": "var:preset|font-size|medium"
|
|
}
|
|
},
|
|
"core/comment-date": {
|
|
"typography": {
|
|
"fontSize": "0.8rem"
|
|
}
|
|
},
|
|
"core/comment-edit-link": {
|
|
"typography": {
|
|
"fontSize": "0.8rem"
|
|
}
|
|
},
|
|
"core/comment-reply-link": {
|
|
"typography": {
|
|
"fontSize": "0.8rem"
|
|
}
|
|
},
|
|
"core/comment-template": {
|
|
"typography": {
|
|
"fontSize": "var:preset|font-size|small"
|
|
}
|
|
},
|
|
"core/comments-pagination": {
|
|
"typography": {
|
|
"fontSize": "var:preset|font-size|small"
|
|
}
|
|
},
|
|
"core/comments-title": {
|
|
"typography": {
|
|
"fontSize": "var:preset|font-size|medium"
|
|
}
|
|
},
|
|
"core/gallery": {
|
|
"spacing": {
|
|
"margin": {
|
|
"bottom": "var(--wp--preset--spacing--50)"
|
|
}
|
|
}
|
|
},
|
|
"core/list": {
|
|
"spacing": {
|
|
"padding": {
|
|
"left": "var(--wp--preset--spacing--70)"
|
|
}
|
|
}
|
|
},
|
|
"core/navigation": {
|
|
"elements": {
|
|
"link": {
|
|
":hover": {
|
|
"typography": {
|
|
"textDecoration": "underline"
|
|
}
|
|
},
|
|
"typography": {
|
|
"textDecoration": "none"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"core/post-author-name": {
|
|
"elements": {
|
|
"link": {
|
|
":hover": {
|
|
"typography": {
|
|
"textDecoration": "underline"
|
|
}
|
|
},
|
|
"typography": {
|
|
"textDecoration": "none"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"core/post-comments-form": {
|
|
"css": " textarea { appearance: auto; color: text; background-color: #dadada; border-style: none; border-radius: 4px; -webkit-rtl-ordering: logical; -webkit-user-select: text; padding-top: 20px; padding-right: 20px; padding-bottom: 20px; padding-left: 20px; flex-direction: column; resize: auto; cursor: auto; white-space: pre-wrap; overflow-wrap: break-word;}",
|
|
"typography": {
|
|
"fontSize": "var:preset|font-size|medium"
|
|
}
|
|
},
|
|
"core/post-date": {
|
|
"color": {
|
|
"text": "var:preset|color|secondary"
|
|
},
|
|
"elements": {
|
|
"link": {
|
|
":hover": {
|
|
"typography": {
|
|
"textDecoration": "underline"
|
|
}
|
|
},
|
|
"typography": {
|
|
"textDecoration": "none"
|
|
}
|
|
}
|
|
},
|
|
"typography": {
|
|
"fontSize": "1.6rem"
|
|
}
|
|
},
|
|
"core/post-template": {
|
|
"css": ".is-layout-flow > * + * { margin-block-start: 0.6rem; margin-block-end: 0rem;}"
|
|
},
|
|
"core/post-title": {
|
|
"elements": {
|
|
"link": {
|
|
":hover": {
|
|
"typography": {
|
|
"textDecoration": "underline"
|
|
}
|
|
},
|
|
"typography": {
|
|
"textDecoration": "none"
|
|
}
|
|
}
|
|
},
|
|
"spacing": {
|
|
"margin": {
|
|
"bottom": "0"
|
|
}
|
|
},
|
|
"typography": {
|
|
"fontSize": "1.6rem",
|
|
"fontStyle": "normal",
|
|
"fontWeight": "300",
|
|
"letterSpacing": "0px"
|
|
}
|
|
},
|
|
"core/pullquote": {
|
|
"border": {
|
|
"color": "var(--wp--preset--color--foreground)",
|
|
"style": "solid",
|
|
"width": "1px 0"
|
|
},
|
|
"spacing": {
|
|
"padding": {
|
|
"bottom": "var(--wp--preset--spacing--50)",
|
|
"left": "var(--wp--preset--spacing--50)",
|
|
"right": "var(--wp--preset--spacing--50)",
|
|
"top": "var(--wp--preset--spacing--50)"
|
|
}
|
|
},
|
|
"typography": {
|
|
"fontSize": "var(--wp--preset--font-size--large)",
|
|
"fontStyle": "italic"
|
|
}
|
|
},
|
|
"core/query-pagination": {
|
|
"typography": {
|
|
"fontSize": "1.6rem"
|
|
}
|
|
},
|
|
"core/quote": {
|
|
"border": {
|
|
"color": "var(--wp--preset--color--primary)",
|
|
"style": "solid",
|
|
"width": "0 0 0 1px"
|
|
},
|
|
"spacing": {
|
|
"padding": {
|
|
"left": "var(--wp--preset--spacing--50)"
|
|
}
|
|
},
|
|
"typography": {
|
|
"fontStyle": "normal"
|
|
}
|
|
},
|
|
"core/search": {
|
|
"border": {
|
|
"bottom": {
|
|
"style": "none",
|
|
"width": "0px"
|
|
},
|
|
"left": {
|
|
"style": "none",
|
|
"width": "0px"
|
|
},
|
|
"radius": "10px",
|
|
"right": {
|
|
"style": "none",
|
|
"width": "0px"
|
|
},
|
|
"top": {
|
|
"style": "none",
|
|
"width": "0px"
|
|
}
|
|
},
|
|
"css": " .wp-block-search__input {margin-left: 2px;margin-right: 2px;min-width: 3em;padding: 2px 26px 2px 26px; background-color: #dadada;}",
|
|
"typography": {
|
|
"fontSize": "var(--wp--preset--font-size--medium)",
|
|
"lineHeight": "1.6"
|
|
}
|
|
},
|
|
"core/separator": {
|
|
"border": {
|
|
"color": "currentColor",
|
|
"style": "solid",
|
|
"width": "0 0 1px 0"
|
|
},
|
|
"color": {
|
|
"text": "var(--wp--preset--color--foreground)"
|
|
}
|
|
},
|
|
"core/site-tagline": {
|
|
"typography": {
|
|
"fontSize": "0.9rem"
|
|
}
|
|
},
|
|
"core/site-title": {
|
|
"elements": {
|
|
"link": {
|
|
":hover": {
|
|
"typography": {
|
|
"textDecoration": "underline"
|
|
}
|
|
},
|
|
"typography": {
|
|
"textDecoration": "none"
|
|
}
|
|
}
|
|
},
|
|
"typography": {
|
|
"fontSize": "var(--wp--preset--font-size--medium)",
|
|
"fontWeight": "700"
|
|
}
|
|
}
|
|
},
|
|
"color": {
|
|
"background": "var(--wp--preset--color--background)",
|
|
"text": "var(--wp--preset--color--foreground)"
|
|
},
|
|
"elements": {
|
|
"button": {
|
|
":active": {
|
|
"color": {
|
|
"background": "var(--wp--preset--color--primary)",
|
|
"text": "var(--wp--preset--color--background)"
|
|
}
|
|
},
|
|
":focus": {
|
|
"color": {
|
|
"background": "var(--wp--preset--color--primary)",
|
|
"text": "var(--wp--preset--color--background)"
|
|
},
|
|
"outline": {
|
|
"color": "var(--wp--preset--color--primary)",
|
|
"offset": "2px",
|
|
"style": "dotted",
|
|
"width": "1px"
|
|
}
|
|
},
|
|
":hover": {
|
|
"color": {
|
|
"background": "var(--wp--preset--color--secondary)",
|
|
"text": "var(--wp--preset--color--background)"
|
|
}
|
|
},
|
|
"border": {
|
|
"radius": "0.25rem"
|
|
},
|
|
"color": {
|
|
"background": "var(--wp--preset--color--primary)",
|
|
"text": "var(--wp--preset--color--background)"
|
|
},
|
|
"typography": {
|
|
"fontFamily": "var:preset|font-family|system-font"
|
|
}
|
|
},
|
|
"h1": {
|
|
"typography": {
|
|
"fontSize": "var(--wp--preset--font-size--x-large)"
|
|
}
|
|
},
|
|
"h2": {
|
|
"typography": {
|
|
"fontSize": "var(--wp--preset--font-size--large)"
|
|
}
|
|
},
|
|
"h3": {
|
|
"typography": {
|
|
"fontSize": "clamp(1.5rem, calc(1.5rem + ((1vw - 0.48rem) * 0.4808)), 1.75rem)"
|
|
}
|
|
},
|
|
"h4": {
|
|
"typography": {
|
|
"fontSize": "clamp(1.25rem, calc(1.25rem + ((1vw - 0.48rem) * 0.4808)), 1.5rem)"
|
|
}
|
|
},
|
|
"h5": {
|
|
"typography": {
|
|
"fontSize": "var(--wp--preset--font-size--medium)"
|
|
}
|
|
},
|
|
"h6": {
|
|
"typography": {
|
|
"fontSize": "var(--wp--preset--font-size--small)"
|
|
}
|
|
},
|
|
"heading": {
|
|
"typography": {
|
|
"fontFamily": "var:preset|font-family|system-font",
|
|
"fontWeight": "400",
|
|
"lineHeight": "1.125"
|
|
}
|
|
},
|
|
"link": {
|
|
":hover": {
|
|
"typography": {
|
|
"textDecoration": "none"
|
|
}
|
|
},
|
|
"color": {
|
|
"text": "var(--wp--preset--color--primary)"
|
|
},
|
|
"typography": {
|
|
"fontFamily": "var:preset|font-family|system-font"
|
|
}
|
|
}
|
|
},
|
|
"spacing": {
|
|
"blockGap": "var:preset|spacing|50",
|
|
"padding": {
|
|
"bottom": "var:preset|spacing|50",
|
|
"left": "var:preset|spacing|50",
|
|
"right": "var:preset|spacing|50",
|
|
"top": "var:preset|spacing|50"
|
|
}
|
|
},
|
|
"typography": {
|
|
"fontFamily": "var(--wp--preset--font-family--system-font)",
|
|
"fontSize": "var(--wp--preset--font-size--medium)",
|
|
"fontStyle": "normal",
|
|
"fontWeight": "300",
|
|
"lineHeight": "1.6"
|
|
}
|
|
},
|
|
"templateParts": [
|
|
{
|
|
"area": "header",
|
|
"name": "header"
|
|
},
|
|
{
|
|
"area": "footer",
|
|
"name": "footer"
|
|
}
|
|
],
|
|
"version": 2,
|
|
"$schema": "https://schemas.wp.org/trunk/theme.json"
|
|
} |