diff --git a/george-lois/styles/dark.json b/george-lois/styles/dark.json new file mode 100644 index 0000000000..e1df749aea --- /dev/null +++ b/george-lois/styles/dark.json @@ -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" +} diff --git a/george-lois/styles/light.json b/george-lois/styles/light.json deleted file mode 100644 index eb8a54b78a..0000000000 --- a/george-lois/styles/light.json +++ /dev/null @@ -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" -} diff --git a/george-lois/theme.json b/george-lois/theme.json index 78025ddd1d..369b231e0d 100644 --- a/george-lois/theme.json +++ b/george-lois/theme.json @@ -6,27 +6,27 @@ "customGradient": true, "palette": [ { - "color": "#f4f4f3", + "color": "#131020", "name": "Primary", "slug": "primary" }, { - "color": "#131020", + "color": "#f4f4f3", "name": "Secondary", "slug": "secondary" }, { - "color": "#f4f4f3", + "color": "#131020", "name": "Foreground", "slug": "foreground" }, { - "color": "#131020", + "color": "#f4f4f3", "name": "Background", "slug": "background" }, { - "color": "#131020", + "color": "#f4f4f3", "name": "Tertiary", "slug": "tertiary" }