update george-lois default styles to light (#7139)

* Revert "update george-lois default styles to dark (#7138)"

This reverts commit 3fcd94eeb7.

* move Dark tyle to its own file

* remove light style file
This commit is contained in:
Vicente Canales 2023-06-18 22:14:19 -04:00 committed by GitHub
parent 3fcd94eeb7
commit 00921073b7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 510 additions and 98 deletions

View file

@ -0,0 +1,505 @@
{
"settings": {
"appearanceTools": true,
"color": {
"custom": true,
"customGradient": true,
"palette": [
{
"color": "#f4f4f3",
"name": "Primary",
"slug": "primary"
},
{
"color": "#131020",
"name": "Secondary",
"slug": "secondary"
},
{
"color": "#f4f4f3",
"name": "Foreground",
"slug": "foreground"
},
{
"color": "#131020",
"name": "Background",
"slug": "background"
},
{
"color": "#131020",
"name": "Tertiary",
"slug": "tertiary"
}
]
},
"layout": {
"contentSize": "1080px",
"wideSize": "1080px"
},
"spacing": {
"units": ["%", "px", "em", "rem", "vh", "vw"]
},
"typography": {
"customFontSize": true,
"fluid": true,
"fontFamilies": [
{
"fontFace": [
{
"fontFamily": "Libre Franklin",
"fontStyle": "normal",
"fontWeight": "700",
"src": [
"file:./assets/fonts/libre-franklin_700.ttf"
]
},
{
"fontFamily": "Libre Franklin",
"fontStyle": "normal",
"fontWeight": "400",
"src": [
"file:./assets/fonts/libre-franklin_regular.ttf"
]
},
{
"fontFamily": "Libre Franklin",
"fontStyle": "italic",
"fontWeight": "400",
"src": [
"file:./assets/fonts/libre-franklin_italic.ttf"
]
},
{
"fontFamily": "Libre Franklin",
"fontStyle": "italic",
"fontWeight": "700",
"src": [
"file:./assets/fonts/libre-franklin_700italic.ttf"
]
}
],
"fontFamily": "Libre Franklin",
"slug": "libre-franklin"
},
{
"fontFace": [
{
"fontFamily": "Figtree",
"fontStyle": "normal",
"fontWeight": "700",
"src": ["file:./assets/fonts/figtree_700.ttf"]
}
],
"fontFamily": "Figtree",
"slug": "figtree"
},
{
"fontFace": [
{
"fontFamily": "TeX Gyre Schola",
"fontStyle": "italic",
"fontWeight": "400",
"src": [
"file:./assets/fonts/tex-gyre-schola_italic_400.woff"
]
},
{
"fontFamily": "TeX Gyre Schola",
"fontStyle": "normal",
"fontWeight": "700",
"src": [
"file:./assets/fonts/tex-gyre-schola_normal_700.woff"
]
},
{
"fontFamily": "TeX Gyre Schola",
"fontStyle": "italic",
"fontWeight": "700",
"src": [
"file:./assets/fonts/tex-gyre-schola_italic_700.woff"
]
},
{
"fontFamily": "TeX Gyre Schola",
"fontStyle": "normal",
"fontWeight": "400",
"src": [
"file:./assets/fonts/tex-gyre-schola_normal_400.woff"
]
}
],
"fontFamily": "TeX Gyre Schola",
"slug": "tex-gyre-schola"
}
],
"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/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/comment-author-name": {
"typography": {
"fontSize": "var(--wp--preset--font-size--small)"
}
},
"core/comment-date": {
"typography": {
"fontSize": "var(--wp--preset--font-size--small)"
}
},
"core/comment-edit-link": {
"typography": {
"fontSize": "var(--wp--preset--font-size--small)"
}
},
"core/comment-reply-link": {
"typography": {
"fontSize": "var(--wp--preset--font-size--small)"
}
},
"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-date": {
"color": {
"text": "var(--wp--preset--color--foreground)"
},
"elements": {
"link": {
":hover": {
"typography": {
"textDecoration": "underline"
}
},
"color": {
"text": "var(--wp--preset--color--secondary)"
},
"typography": {
"textDecoration": "none"
}
}
},
"typography": {
"fontSize": "var(--wp--preset--font-size--medium)",
"fontWeight": "700"
}
},
"core/post-title": {
"elements": {
"link": {
":hover": {
"typography": {
"textDecoration": "underline"
}
},
"typography": {
"textDecoration": "none"
}
}
},
"spacing": {
"margin": {
"bottom": "0"
}
}
},
"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/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": {
"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": "var(--wp--preset--font-size--small)"
}
},
"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--secondary)",
"text": "var(--wp--preset--color--primary)"
},
"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)"
}
},
":hover": {
"color": {
"background": "var(--wp--preset--color--primary)",
"text": "var(--wp--preset--color--background)"
}
},
"border": {
"radius": "0.25rem"
},
"color": {
"background": "var(--wp--preset--color--primary)",
"text": "var(--wp--preset--color--secondary)"
},
"typography": {
"fontSize": "clamp(0.825rem, 0.825rem + ((1vw - 0.48rem) * 0.458), 1.0625rem)",
"fontStyle": "normal",
"fontWeight": "700"
}
},
"h1": {
"typography": {
"fontFamily": "Libre Franklin",
"fontSize": "4.6rem",
"letterSpacing": "-2px",
"lineHeight": 1.1
}
},
"h2": {
"typography": {
"fontFamily": "Libre Franklin",
"fontSize": "3.6rem",
"fontStyle": "normal",
"fontWeight": "700",
"letterSpacing": "-2px"
}
},
"h3": {
"typography": {
"fontFamily": "Libre Franklin",
"fontSize": "2rem",
"fontStyle": "normal",
"fontWeight": "700",
"letterSpacing": "-1px",
"textTransform": "none"
}
},
"h4": {
"typography": {
"fontFamily": "Libre Franklin",
"fontSize": "clamp(1.25rem, calc(1.25rem + ((1vw - 0.48rem) * 0.4808)), 1.5rem)",
"fontStyle": "normal",
"fontWeight": "700"
}
},
"h5": {
"typography": {
"fontFamily": "Libre Franklin",
"fontSize": "var(--wp--preset--font-size--medium)",
"fontStyle": "normal",
"fontWeight": "700"
}
},
"h6": {
"typography": {
"fontFamily": "Libre Franklin",
"fontSize": "var(--wp--preset--font-size--small)",
"fontStyle": "normal",
"fontWeight": "700"
}
},
"heading": {
"color": {
"text": "var(--wp--preset--color--foreground)"
},
"typography": {
"fontFamily": "Libre Franklin",
"fontStyle": "normal",
"fontWeight": "700",
"lineHeight": "1.125"
}
},
"link": {
":hover": {
"color": {
"text": "var(--wp--preset--color--primary)"
},
"typography": {
"textDecoration": "none"
}
},
"color": {
"text": "var(--wp--preset--color--primary)"
}
}
},
"spacing": {
"blockGap": "var(--wp--preset--spacing--50)",
"padding": {
"bottom": "0px",
"left": "var(--wp--preset--spacing--50)",
"right": "var(--wp--preset--spacing--50)",
"top": "0px"
}
},
"typography": {
"fontFamily": "var(--wp--preset--font-family--tex-gyre-schola)",
"fontSize": "var(--wp--preset--font-size--medium)",
"fontStyle": "normal",
"fontWeight": "400",
"lineHeight": 1.4
}
},
"templateParts": [
{
"area": "header",
"name": "header"
},
{
"area": "footer",
"name": "footer"
}
],
"title": "Dark",
"version": 2,
"$schema": "https://schemas.wp.org/trunk/theme.json"
}

View file

@ -1,93 +0,0 @@
{
"settings": {
"appearanceTools": true,
"color": {
"custom": true,
"customGradient": true,
"palette": [
{
"color": "#131020",
"name": "Primary",
"slug": "primary"
},
{
"color": "#f4f4f3",
"name": "Secondary",
"slug": "secondary"
},
{
"color": "#131020",
"name": "Foreground",
"slug": "foreground"
},
{
"color": "#f4f4f3",
"name": "Background",
"slug": "background"
},
{
"color": "#f4f4f3",
"name": "Tertiary",
"slug": "tertiary"
}
]
}
},
"styles": {
"blocks": {
"core/post-date": {
"color": {
"text": "var(--wp--preset--color--foreground)"
}
}
},
"color": {
"background": "var:preset|color|secondary",
"text": "var:preset|color|primary"
},
"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)"
}
},
":hover": {
"color": {
"background": "var(--wp--preset--color--primary)",
"text": "var(--wp--preset--color--background)"
}
},
"color": {
"background": "var:preset|color|primary",
"text": "var:preset|color|secondary"
}
},
"heading": {
"color": {
"text": "var:preset|color|foreground"
}
},
"link": {
"color": {
"text": "var:preset|color|primary"
},
":hover": {
"color": {
"text": "var:preset|color|primary"
}
}
}
}
},
"title": "Light",
"version": 2,
"$schema": "https://schemas.wp.org/wp/6.1/theme.json"
}

View file

@ -6,27 +6,27 @@
"customGradient": true, "customGradient": true,
"palette": [ "palette": [
{ {
"color": "#f4f4f3", "color": "#131020",
"name": "Primary", "name": "Primary",
"slug": "primary" "slug": "primary"
}, },
{ {
"color": "#131020", "color": "#f4f4f3",
"name": "Secondary", "name": "Secondary",
"slug": "secondary" "slug": "secondary"
}, },
{ {
"color": "#f4f4f3", "color": "#131020",
"name": "Foreground", "name": "Foreground",
"slug": "foreground" "slug": "foreground"
}, },
{ {
"color": "#131020", "color": "#f4f4f3",
"name": "Background", "name": "Background",
"slug": "background" "slug": "background"
}, },
{ {
"color": "#131020", "color": "#f4f4f3",
"name": "Tertiary", "name": "Tertiary",
"slug": "tertiary" "slug": "tertiary"
} }