/* Theme Name: Seedlet (Blocks) Theme URI: https://github.com/Automattic/themes/seedlet-blocks Author: Automattic Author URI: https://automattic.com/ Description: A simple, text-driven, single-column block-based theme. Requires at least: 4.9.6 Tested up to: 5.4.1 Requires PHP: 7.3 Version: 1.0 License: GNU General Public License v2 or later License URI: LICENSE Template: seedlet Text Domain: seedlet-blocks Tags: one-column, flexible-header, accessibility-ready, custom-colors, custom-menu, custom-logo, editor-style, featured-images, footer-widgets, rtl-language-support, sticky-post, threaded-comments, translation-ready Seedlet Blocks WordPress Theme, (C) 2020 Automattic, Inc. Seedlet Blocks is distributed under the terms of the GNU GPL. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of 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: calc( 1px * var(--wp--preset--font-size--tiny) ); --global--font-size-sm: calc( 1px * var(--wp--preset--font-size--small) ); --global--font-size-md: calc( 1px * var(--wp--preset--font-size--normal) ); --global--font-size-lg: calc( 1px * var(--wp--preset--font-size--large) ); --global--font-size-xl: calc( 1px * var(--wp--preset--font-size--huge) ); /* 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); } /* Make sure full-width items in entry content show up as full-width. */ .wp-block-group.site-content .wp-block-group__inner-container .entry-content { max-width: calc(100% + (2 * var(--global--spacing-horizontal))); width: calc(100% + (2 * var(--global--spacing-horizontal))); margin-left: calc(-1 * var(--global--spacing-horizontal)); margin-right: auto; }