diff --git a/foam/parts/header.html b/foam/parts/header.html index 95fb4218d1..b04dea32ce 100644 --- a/foam/parts/header.html +++ b/foam/parts/header.html @@ -1,4 +1,4 @@ - +
@@ -6,6 +6,6 @@
-
+
\ No newline at end of file diff --git a/foam/playground.zip b/foam/playground.zip new file mode 100644 index 0000000000..506e788c16 Binary files /dev/null and b/foam/playground.zip differ diff --git a/foam/theme.json b/foam/theme.json index 0ae9bfbdf8..8232fbc776 100644 --- a/foam/theme.json +++ b/foam/theme.json @@ -45,175 +45,6 @@ }, "layout": { "contentSize": false, - "definitions": { - "constrained": { - "baseStyles": [ - { - "rules": { - "float": "left", - "margin-inline-end": "2em", - "margin-inline-start": "0" - }, - "selector": " > .alignleft" - }, - { - "rules": { - "float": "right", - "margin-inline-end": "0", - "margin-inline-start": "2em" - }, - "selector": " > .alignright" - }, - { - "rules": { - "margin-left": "auto !important", - "margin-right": "auto !important" - }, - "selector": " > .aligncenter" - }, - { - "rules": { - "margin-left": "auto !important", - "margin-right": "auto !important", - "max-width": "var(--wp--style--global--content-size)" - }, - "selector": " > :where(:not(.alignleft):not(.alignright):not(.alignfull))" - }, - { - "rules": { - "max-width": "var(--wp--style--global--wide-size)" - }, - "selector": " > .alignwide" - } - ], - "className": "is-layout-constrained", - "name": "constrained", - "slug": "constrained", - "spacingStyles": [ - { - "rules": { - "margin-block-start": "0" - }, - "selector": " > :first-child:first-child" - }, - { - "rules": { - "margin-block-end": "0" - }, - "selector": " > :last-child:last-child" - }, - { - "rules": { - "margin-block-end": "0", - "margin-block-start": null - }, - "selector": " > *" - } - ] - }, - "default": { - "baseStyles": [ - { - "rules": { - "float": "left", - "margin-inline-end": "2em", - "margin-inline-start": "0" - }, - "selector": " > .alignleft" - }, - { - "rules": { - "float": "right", - "margin-inline-end": "0", - "margin-inline-start": "2em" - }, - "selector": " > .alignright" - }, - { - "rules": { - "margin-left": "auto !important", - "margin-right": "auto !important" - }, - "selector": " > .aligncenter" - } - ], - "className": "is-layout-flow", - "name": "default", - "slug": "flow", - "spacingStyles": [ - { - "rules": { - "margin-block-start": "0" - }, - "selector": " > :first-child:first-child" - }, - { - "rules": { - "margin-block-end": "0" - }, - "selector": " > :last-child:last-child" - }, - { - "rules": { - "margin-block-end": "0", - "margin-block-start": null - }, - "selector": " > *" - } - ] - }, - "flex": { - "baseStyles": [ - { - "rules": { - "align-items": "center", - "flex-wrap": "wrap" - }, - "selector": "" - }, - { - "rules": { - "margin": "0" - }, - "selector": " > *" - } - ], - "className": "is-layout-flex", - "displayMode": "flex", - "name": "flex", - "slug": "flex", - "spacingStyles": [ - { - "rules": { - "gap": null - }, - "selector": "" - } - ] - }, - "grid": { - "baseStyles": [ - { - "rules": { - "margin": "0" - }, - "selector": " > *" - } - ], - "className": "is-layout-grid", - "displayMode": "grid", - "name": "grid", - "slug": "grid", - "spacingStyles": [ - { - "rules": { - "gap": null - }, - "selector": "" - } - ] - } - }, "wideSize": false }, "shadow": { @@ -377,175 +208,6 @@ }, "layout": { "contentSize": false, - "definitions": { - "constrained": { - "baseStyles": [ - { - "rules": { - "float": "left", - "margin-inline-end": "2em", - "margin-inline-start": "0" - }, - "selector": " > .alignleft" - }, - { - "rules": { - "float": "right", - "margin-inline-end": "0", - "margin-inline-start": "2em" - }, - "selector": " > .alignright" - }, - { - "rules": { - "margin-left": "auto !important", - "margin-right": "auto !important" - }, - "selector": " > .aligncenter" - }, - { - "rules": { - "margin-left": "auto !important", - "margin-right": "auto !important", - "max-width": "var(--wp--style--global--content-size)" - }, - "selector": " > :where(:not(.alignleft):not(.alignright):not(.alignfull))" - }, - { - "rules": { - "max-width": "var(--wp--style--global--wide-size)" - }, - "selector": " > .alignwide" - } - ], - "className": "is-layout-constrained", - "name": "constrained", - "slug": "constrained", - "spacingStyles": [ - { - "rules": { - "margin-block-start": "0" - }, - "selector": " > :first-child:first-child" - }, - { - "rules": { - "margin-block-end": "0" - }, - "selector": " > :last-child:last-child" - }, - { - "rules": { - "margin-block-end": "0", - "margin-block-start": null - }, - "selector": " > *" - } - ] - }, - "default": { - "baseStyles": [ - { - "rules": { - "float": "left", - "margin-inline-end": "2em", - "margin-inline-start": "0" - }, - "selector": " > .alignleft" - }, - { - "rules": { - "float": "right", - "margin-inline-end": "0", - "margin-inline-start": "2em" - }, - "selector": " > .alignright" - }, - { - "rules": { - "margin-left": "auto !important", - "margin-right": "auto !important" - }, - "selector": " > .aligncenter" - } - ], - "className": "is-layout-flow", - "name": "default", - "slug": "flow", - "spacingStyles": [ - { - "rules": { - "margin-block-start": "0" - }, - "selector": " > :first-child:first-child" - }, - { - "rules": { - "margin-block-end": "0" - }, - "selector": " > :last-child:last-child" - }, - { - "rules": { - "margin-block-end": "0", - "margin-block-start": null - }, - "selector": " > *" - } - ] - }, - "flex": { - "baseStyles": [ - { - "rules": { - "align-items": "center", - "flex-wrap": "wrap" - }, - "selector": "" - }, - { - "rules": { - "margin": "0" - }, - "selector": " > *" - } - ], - "className": "is-layout-flex", - "displayMode": "flex", - "name": "flex", - "slug": "flex", - "spacingStyles": [ - { - "rules": { - "gap": null - }, - "selector": "" - } - ] - }, - "grid": { - "baseStyles": [ - { - "rules": { - "margin": "0" - }, - "selector": " > *" - } - ], - "className": "is-layout-grid", - "displayMode": "grid", - "name": "grid", - "slug": "grid", - "spacingStyles": [ - { - "rules": { - "gap": null - }, - "selector": "" - } - ] - } - }, "wideSize": false }, "shadow": { @@ -716,13 +378,7 @@ }, "spacing": { "customSpacingSize": true, - "spacingScale": { - "increment": 1.5, - "mediumStep": 1.5, - "operator": "*", - "steps": 7, - "unit": "rem" - }, + "defaultSpacingSizes": false, "spacingSizes": [], "units": [ "%", @@ -735,6 +391,7 @@ }, "typography": { "customFontSize": true, + "defaultFontSizes": false, "dropCap": true, "fluid": true, "fontFamilies": [ @@ -1257,6 +914,6 @@ "name": "footer" } ], - "version": 2, + "version": 3, "$schema": "https://schemas.wp.org/trunk/theme.json" } \ No newline at end of file