diff --git a/templates/index.html b/templates/index.html
index 12379ab..2b72a35 100644
--- a/templates/index.html
+++ b/templates/index.html
@@ -1,4 +1,4 @@
-
+
@@ -35,4 +35,4 @@
-
+
diff --git a/templates/page-no-title.html b/templates/page-no-title.html
index 1cc96e3..b03b1fe 100644
--- a/templates/page-no-title.html
+++ b/templates/page-no-title.html
@@ -1,4 +1,4 @@
-
+
@@ -14,4 +14,4 @@
-
+
diff --git a/templates/page.html b/templates/page.html
index d5d7cd1..a5aa4d2 100644
--- a/templates/page.html
+++ b/templates/page.html
@@ -1,4 +1,4 @@
-
+
@@ -25,4 +25,4 @@
-
+
diff --git a/templates/search.html b/templates/search.html
index 026386c..41ec208 100644
--- a/templates/search.html
+++ b/templates/search.html
@@ -1,4 +1,4 @@
-
+
@@ -56,4 +56,4 @@
-
+
diff --git a/templates/single.html b/templates/single.html
index dd052a5..df83424 100644
--- a/templates/single.html
+++ b/templates/single.html
@@ -1,4 +1,4 @@
-
+
@@ -32,4 +32,4 @@
-
+
diff --git a/theme.json b/theme.json
index 53a2861..72a3d7f 100644
--- a/theme.json
+++ b/theme.json
@@ -1,7 +1,20 @@
{
- "$schema": "https://schemas.wp.org/trunk/theme.json",
- "version": 3,
- "title": "Light Mode",
+ "customTemplates": [
+ {
+ "name": "page-blank",
+ "postTypes": [
+ "page"
+ ],
+ "title": "Page: Blank"
+ },
+ {
+ "name": "page-no-title",
+ "postTypes": [
+ "page"
+ ],
+ "title": "Page: No Title"
+ }
+ ],
"description": "Light mode palette for the theme",
"settings": {
"appearanceTools": true,
@@ -188,17 +201,17 @@
},
"custom": {
"header": {
- "text": "var(--wp--preset--color--black)",
"background": "var(--wp--preset--color--white)",
- "svg": "var(--wp--preset--color--grey-500)"
+ "svg": "var(--wp--preset--color--grey-500)",
+ "text": "var(--wp--preset--color--black)"
},
"navigation": {
"background": "var(--wp--preset--color--black)",
"link": "var(--wp--preset--color--black)",
"link-hover": "var(--wp--preset--color--grey-800)",
"sublink": "var(--wp--preset--color--black)",
- "sublink-hover": "var(--wp--preset--color--white)",
- "sublink-background": "var(--wp--preset--color--black)"
+ "sublink-background": "var(--wp--preset--color--black)",
+ "sublink-hover": "var(--wp--preset--color--white)"
}
},
"layout": {
@@ -243,7 +256,9 @@
"spacing": {
"defaultSpacingSizes": false,
"spacingScale": {
- "steps": 1
+ "theme": {
+ "steps": 1
+ }
},
"spacingSizes": [
{
@@ -282,30 +297,41 @@
"slug": "70"
}
],
- "units": ["%", "px", "em", "rem", "vh", "vw"]
+ "units": [
+ "%",
+ "px",
+ "em",
+ "rem",
+ "vh",
+ "vw"
+ ]
},
"typography": {
"defaultFontSizes": false,
"dropCap": false,
+ "fluid": {
+ "maxViewportWidth": "1200px",
+ "minFontSize": "0.813rem",
+ "minViewportWidth": "600px"
+ },
"fontFamilies": [
{
- "fontFamily": "Inter, sans-serif",
- "name": "Inter",
- "slug": "headline",
"fontFace": [
{
"fontFamily": "Inter",
"fontStretch": "normal",
"fontStyle": "normal",
"fontWeight": "400 500 700",
- "src": ["file:./build/fonts/inter/Inter.woff2"]
+ "src": [
+ "file:./build/fonts/inter/Inter.woff2"
+ ]
}
- ]
+ ],
+ "fontFamily": "Inter, sans-serif",
+ "name": "Inter",
+ "slug": "headline"
},
{
- "fontFamily": "Oxygen, sans-serif",
- "name": "Oxygen",
- "slug": "body",
"fontFace": [
{
"fontFamily": "Oxygen",
@@ -323,12 +349,12 @@
"file:./build/fonts/oxygen/oxygen-v15-latin-700.woff2"
]
}
- ]
+ ],
+ "fontFamily": "Oxygen, sans-serif",
+ "name": "Oxygen",
+ "slug": "body"
},
{
- "fontFamily": "Roboto Mono",
- "name": "Roboto Mono",
- "slug": "mono",
"fontFace": [
{
"fontFamily": "Roboto Mono",
@@ -339,14 +365,12 @@
"file:./build/fonts/roboto-mono/roboto-mono.woff2"
]
}
- ]
+ ],
+ "fontFamily": "Roboto Mono",
+ "name": "Roboto Mono",
+ "slug": "mono"
}
],
- "fluid": {
- "minFontSize": "0.813rem",
- "maxViewportWidth": "1200px",
- "minViewportWidth": "600px"
- },
"fontSizes": [
{
"fluid": false,
@@ -380,8 +404,8 @@
},
{
"fluid": {
- "min": "1.5rem",
- "max": "1.75rem"
+ "max": "1.75rem",
+ "min": "1.5rem"
},
"name": "xl",
"size": "1.75rem",
@@ -389,8 +413,8 @@
},
{
"fluid": {
- "min": "1.5rem",
- "max": "2.25rem"
+ "max": "2.25rem",
+ "min": "1.5rem"
},
"name": "2xl",
"size": "2.25rem",
@@ -398,8 +422,8 @@
},
{
"fluid": {
- "min": "1.75rem",
- "max": "3rem"
+ "max": "3rem",
+ "min": "1.75rem"
},
"name": "3xl",
"size": "3rem",
@@ -407,8 +431,8 @@
},
{
"fluid": {
- "min": "2.25rem",
- "max": "3.75rem"
+ "max": "3.75rem",
+ "min": "2.25rem"
},
"name": "4xl",
"size": "3.75rem",
@@ -433,10 +457,10 @@
},
"spacing": {
"padding": {
- "top": "0.5rem",
- "right": "1rem",
"bottom": "0.5rem",
- "left": "1rem"
+ "left": "1rem",
+ "right": "1rem",
+ "top": "0.5rem"
}
}
}
@@ -454,13 +478,13 @@
},
"spacing": {
"margin": {
- "top": "var(--wp--preset--spacing--30)",
- "bottom": "var(--wp--preset--spacing--30)"
+ "bottom": "var(--wp--preset--spacing--30)",
+ "top": "var(--wp--preset--spacing--30)"
}
},
"typography": {
- "fontSize": "var(--wp--preset--font-size--xs)",
- "fontFamily": "var(--wp--preset--font-family--body)"
+ "fontFamily": "var(--wp--preset--font-family--body)",
+ "fontSize": "var(--wp--preset--font-size--xs)"
}
},
"core/code": {
@@ -470,15 +494,15 @@
},
"spacing": {
"padding": {
- "top": "1.5rem",
- "right": "1.5rem",
"bottom": "1.5rem",
- "left": "1.5rem"
+ "left": "1.5rem",
+ "right": "1.5rem",
+ "top": "1.5rem"
}
},
"typography": {
- "fontSize": "var(--wp--preset--font-size--xs)",
"fontFamily": "var(--wp--preset--font-family--mono)",
+ "fontSize": "var(--wp--preset--font-size--xs)",
"lineHeight": "clamp(130%, 0.7600rem + 0.9178vw, 150%)"
}
},
@@ -495,24 +519,24 @@
}
},
"core/cover": {
- "spacing": {
- "padding": {
- "top": "var(--wp--preset--spacing--30)",
- "right": "var(--wp--preset--spacing--30)",
- "bottom": "var(--wp--preset--spacing--30)",
- "left": "var(--wp--preset--spacing--30)"
- },
- "margin": {
- "bottom": "0",
- "top": "0"
- }
- },
"elements": {
"heading": {
"typography": {
"fontWeight": "600"
}
}
+ },
+ "spacing": {
+ "margin": {
+ "bottom": "0",
+ "top": "0"
+ },
+ "padding": {
+ "bottom": "var(--wp--preset--spacing--30)",
+ "left": "var(--wp--preset--spacing--30)",
+ "right": "var(--wp--preset--spacing--30)",
+ "top": "var(--wp--preset--spacing--30)"
+ }
}
},
"core/file": {
@@ -524,18 +548,6 @@
"color": {
"text": "var(--wp--preset--color--black)"
},
- "spacing": {
- "padding": {
- "top": "1rem",
- "right": "0",
- "bottom": "1rem",
- "left": "0"
- }
- },
- "typography": {
- "fontFamily": "var(--wp--preset--font-family--body)",
- "fontSize": "var(--wp--preset--font-size--xs)"
- },
"elements": {
"link": {
"color": {
@@ -546,6 +558,18 @@
"fontSize": "var(--wp--preset--font-size--xs)"
}
}
+ },
+ "spacing": {
+ "padding": {
+ "bottom": "1rem",
+ "left": "0",
+ "right": "0",
+ "top": "1rem"
+ }
+ },
+ "typography": {
+ "fontFamily": "var(--wp--preset--font-family--body)",
+ "fontSize": "var(--wp--preset--font-size--xs)"
}
},
"core/footnotes": {
@@ -573,10 +597,10 @@
"core/list": {
"spacing": {
"padding": {
- "top": "var(--wp--preset--spacing--20)",
- "right": "var(--wp--preset--spacing--30)",
"bottom": "var(--wp--preset--spacing--20)",
- "left": "0"
+ "left": "0",
+ "right": "var(--wp--preset--spacing--30)",
+ "top": "var(--wp--preset--spacing--20)"
}
}
},
@@ -596,20 +620,20 @@
},
"typography": {
"fontSize": "var(--wp--preset--font-size--xs)",
- "lineHeight": "clamp(130%, 0.7600rem + 0.9178vw, 150%)",
- "letterSpacing": "0.002em"
+ "letterSpacing": "0.002em",
+ "lineHeight": "clamp(130%, 0.7600rem + 0.9178vw, 150%)"
}
},
"core/post-navigation-link": {
- "typography": {
- "fontFamily": "var(--wp--preset--font-family--body)"
- },
"elements": {
"link": {
"typography": {
"fontWeight": "700"
}
}
+ },
+ "typography": {
+ "fontFamily": "var(--wp--preset--font-family--body)"
}
},
"core/post-template": {
@@ -617,35 +641,24 @@
"blockGap": "var(--wp--preset--spacing--40);"
}
},
- "core/post-title": {
- "typography": {
- "fontSize": "var(--wp--preset--font-size--xxxl)"
- }
- },
"core/post-terms": {
- "typography": {
- "fontFamily": "var(--wp--preset--font-family--headline)",
- "fontSize": "0.75rem",
- "fontWeight": "400",
- "textTransform": "uppercase"
- },
"elements": {
"link": {
- "color": {
- "background": "var(--wp--preset--color--primary-50)",
- "text": "var(--wp--preset--color--grey-700)"
- },
":hover": {
"color": {
"background": "var(--wp--preset--color--primary-100)"
}
},
+ "color": {
+ "background": "var(--wp--preset--color--primary-50)",
+ "text": "var(--wp--preset--color--grey-700)"
+ },
"spacing": {
"padding": {
- "top": "0",
- "right": "0.75rem",
"bottom": "0",
- "left": "0.75rem"
+ "left": "0.75rem",
+ "right": "0.75rem",
+ "top": "0"
}
},
"typography": {
@@ -653,6 +666,17 @@
"textDecoration": "none"
}
}
+ },
+ "typography": {
+ "fontFamily": "var(--wp--preset--font-family--headline)",
+ "fontSize": "0.75rem",
+ "fontWeight": "400",
+ "textTransform": "uppercase"
+ }
+ },
+ "core/post-title": {
+ "typography": {
+ "fontSize": "var(--wp--preset--font-size--xxxl)"
}
},
"core/preformatted": {
@@ -660,19 +684,19 @@
"background": "var(--wp--preset--color--primary-50)",
"text": "var(--wp--preset--color--black)"
},
+ "css": "overflow-x: auto;",
"spacing": {
"padding": {
- "top": "0.75rem",
- "right": "0.75rem",
"bottom": "0.75rem",
- "left": "0.75rem"
+ "left": "0.75rem",
+ "right": "0.75rem",
+ "top": "0.75rem"
}
},
"typography": {
- "fontSize": "var(--wp--preset--font-size--s)",
- "fontFamily": "var(--wp--preset--font-family--mono)"
- },
- "css": "overflow-x: auto;"
+ "fontFamily": "var(--wp--preset--font-family--mono)",
+ "fontSize": "var(--wp--preset--font-size--s)"
+ }
},
"core/pullquote": {
"border": {
@@ -680,30 +704,30 @@
"style": "solid",
"width": "2px 0"
},
- "typography": {
- "fontFamily": "var(--wp--preset--font-family--headline)",
- "fontSize": "var(--wp--preset--font-size--xl)"
- },
"elements": {
"cite": {
"typography": {
"fontFamily": "var(--wp--preset--font-family--body)",
- "fontStyle": "inherit",
- "fontSize": "var(--wp--preset--font-size--xs)"
+ "fontSize": "var(--wp--preset--font-size--xs)",
+ "fontStyle": "inherit"
}
}
},
"spacing": {
+ "margin": {
+ "bottom": "var(--wp--preset--spacing--30)",
+ "top": "var(--wp--preset--spacing--30)"
+ },
"padding": {
- "top": "1.5rem",
- "right": "1.5rem",
"bottom": "1.5rem",
- "left": "1.5rem"
- },
- "margin": {
- "top": "var(--wp--preset--spacing--30)",
- "bottom": "var(--wp--preset--spacing--30)"
+ "left": "1.5rem",
+ "right": "1.5rem",
+ "top": "1.5rem"
}
+ },
+ "typography": {
+ "fontFamily": "var(--wp--preset--font-family--headline)",
+ "fontSize": "var(--wp--preset--font-size--xl)"
}
},
"core/query-title": {
@@ -718,45 +742,45 @@
"style": "solid",
"width": "0 0 0 2px"
},
- "typography": {
- "fontFamily": "var(--wp--preset--font-family--body)"
- },
"elements": {
"cite": {
"typography": {
"fontFamily": "var(--wp--preset--font-family--body)",
- "fontStyle": "inherit",
- "fontSize": "0.75rem"
+ "fontSize": "0.75rem",
+ "fontStyle": "inherit"
}
}
},
"spacing": {
+ "margin": {
+ "bottom": "var(--wp--preset--spacing--30)",
+ "top": "var(--wp--preset--spacing--30)"
+ },
"padding": {
- "top": "0",
- "right": "1.5rem",
"bottom": "0",
- "left": "1.5rem"
- },
- "margin": {
- "top": "var(--wp--preset--spacing--30)",
- "bottom": "var(--wp--preset--spacing--30)"
+ "left": "1.5rem",
+ "right": "1.5rem",
+ "top": "0"
}
},
+ "typography": {
+ "fontFamily": "var(--wp--preset--font-family--body)"
+ },
"variations": {
"plain": {
"border": {
"style": "none"
},
- "typography": {
- "fontStyle": "italic"
- },
"spacing": {
"padding": {
- "top": "0",
- "right": "0",
"bottom": "0",
- "left": "0"
+ "left": "0",
+ "right": "0",
+ "top": "0"
}
+ },
+ "typography": {
+ "fontStyle": "italic"
}
}
}
@@ -769,10 +793,10 @@
},
"spacing": {
"padding": {
- "top": "0.5rem",
- "right": "1rem",
"bottom": "0.5rem",
- "left": "1rem"
+ "left": "1rem",
+ "right": "1rem",
+ "top": "0.5rem"
}
}
}
@@ -830,6 +854,23 @@
},
"elements": {
"button": {
+ ":focus": {
+ "outline": {
+ "color": "var(--wp--preset--color--primary-300)",
+ "width": "4px"
+ }
+ },
+ ":hover": {
+ "color": {
+ "background": "var(--wp--preset--color--primary-600)",
+ "text": "var(--wp--preset--color--white)"
+ }
+ },
+ ":visited": {
+ "color": {
+ "text": "var(--wp--preset--color--white)"
+ }
+ },
"border": {
"color": "transparent",
"radius": "4px",
@@ -842,39 +883,22 @@
},
"spacing": {
"padding": {
- "top": "0.5rem",
- "right": "2.5rem",
"bottom": "0.5rem",
- "left": "1rem"
+ "left": "1rem",
+ "right": "2.5rem",
+ "top": "0.5rem"
}
},
"typography": {
"fontSize": "var(--wp--preset--font-size--xxs)",
"fontWeight": "400"
- },
- ":hover": {
- "color": {
- "background": "var(--wp--preset--color--primary-600)",
- "text": "var(--wp--preset--color--white)"
- }
- },
- ":focus": {
- "outline": {
- "color": "var(--wp--preset--color--primary-300)",
- "width": "4px"
- }
- },
- ":visited": {
- "color": {
- "text": "var(--wp--preset--color--white)"
- }
}
},
"caption": {
"spacing": {
"margin": {
- "top": "0.625rem",
- "bottom": "0"
+ "bottom": "0",
+ "top": "0.625rem"
}
},
"typography": {
@@ -924,18 +948,12 @@
}
},
"link": {
- "color": {
- "text": "var(--wp--preset--color--primary-500)"
- },
- "typography": {
- "textDecoration": "none"
- },
- ":hover": {
+ ":focus": {
"color": {
"text": "var(--wp--preset--color--primary-700)"
}
},
- ":focus": {
+ ":hover": {
"color": {
"text": "var(--wp--preset--color--primary-700)"
}
@@ -944,16 +962,22 @@
"color": {
"text": "var(--wp--preset--color--primary-300)"
}
+ },
+ "color": {
+ "text": "var(--wp--preset--color--primary-500)"
+ },
+ "typography": {
+ "textDecoration": "none"
}
}
},
"spacing": {
"blockGap": "var(--wp--preset--spacing--30)",
"padding": {
- "top": "0",
- "right": "var(--wp--preset--spacing--30)",
"bottom": "0",
- "left": "var(--wp--preset--spacing--30)"
+ "left": "var(--wp--preset--spacing--30)",
+ "right": "var(--wp--preset--spacing--30)",
+ "top": "0"
}
},
"typography": {
@@ -975,16 +999,7 @@
"title": "Footer"
}
],
- "customTemplates": [
- {
- "name": "page-blank",
- "postTypes": ["page"],
- "title": "Page: Blank"
- },
- {
- "name": "page-no-title",
- "postTypes": ["page"],
- "title": "Page: No Title"
- }
- ]
-}
+ "title": "Light Mode",
+ "version": 3,
+ "$schema": "https://schemas.wp.org/wp/6.7/theme.json"
+}
\ No newline at end of file