|
@@ -28,6 +28,26 @@ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
GNU General Public License for more details.
|
|
|
*/
|
|
|
|
|
|
+/* Override Seedlet variables with values from experimental-theme.json.
|
|
|
+ Doubling up on the :root selector is weird, but it just ensures these have higher specificity than everything else) */
|
|
|
+:root:root {
|
|
|
+ /* Font Size */
|
|
|
+ --global--font-size-xs: var(--wp--preset--font-size--tiny);
|
|
|
+ --global--font-size-sm: var(--wp--preset--font-size--small);
|
|
|
+ --global--font-size-md: var(--wp--preset--font-size--medium);
|
|
|
+ --global--font-size-lg: var(--wp--preset--font-size--large);
|
|
|
+ --global--font-size-xl: var(--wp--preset--font-size--extra-large);
|
|
|
+ --global--font-size-xxl: var(--wp--preset--font-size--huge);
|
|
|
+ --global--font-size-xxxl: var(--wp--preset--font-size--gigantic);
|
|
|
+
|
|
|
+ /* Colors */
|
|
|
+ --global--color-background: var(--wp--preset--color--background);
|
|
|
+ --global--color-foreground: var(--wp--preset--color--foreground);
|
|
|
+ --global--color-primary: var(--wp--preset--color--primary);
|
|
|
+ --global--color-secondary: var(--wp--preset--color--secondary);
|
|
|
+ --global--color-tertiary: var(--wp--preset--color--tertiary);
|
|
|
+}
|
|
|
+
|
|
|
/* Set up alignments */
|
|
|
.wp-block-group .wp-block-group__inner-container > * {
|
|
|
max-width: var(--responsive--aligndefault-width);
|