Dean Sas b7b3b5113d Version Bump il y a 1 an
..
assets b7b3b5113d Version Bump il y a 1 an
classes 4bf4fb9af2 Add strict types il y a 1 an
inc 2bcca3f07e Seedlet: Fix a fatal error in Gutenberg (#7940) il y a 1 an
languages e5baa9ee70 added some missing .pot files il y a 4 ans
template-parts 4bf4fb9af2 Add strict types il y a 1 an
404.php 4bf4fb9af2 Add strict types il y a 1 an
LICENSE 66fe602d0c Adding 1.0 seedlet theme. il y a 5 ans
README.md 47537bc697 Add an acknowledgement for the CSS Vars ponyfill il y a 4 ans
archive.php 4bf4fb9af2 Add strict types il y a 1 an
comments.php 4bf4fb9af2 Add strict types il y a 1 an
footer.php 4bf4fb9af2 Add strict types il y a 1 an
functions.php 4bf4fb9af2 Add strict types il y a 1 an
header.php 4bf4fb9af2 Add strict types il y a 1 an
image.php 4bf4fb9af2 Add strict types il y a 1 an
index.php 4bf4fb9af2 Add strict types il y a 1 an
package.json b7b3b5113d Version Bump il y a 1 an
page.php 4bf4fb9af2 Add strict types il y a 1 an
postcss.config.js 283b23fd16 Seedlet: Fix layout grid margins (#2219) il y a 5 ans
readme.txt b7b3b5113d Version Bump il y a 1 an
screenshot.png 2f1167d9ad Lossless image optimization (#7671) il y a 1 an
search.php 4bf4fb9af2 Add strict types il y a 1 an
single.php 4bf4fb9af2 Add strict types il y a 1 an
style-rtl.css b7b3b5113d Version Bump il y a 1 an
style.css b7b3b5113d Version Bump il y a 1 an

README.md

Seedlet

Seedlet is simple, text-driven WordPress theme.

Along with being an excellent standalone theme, Seedlet is designed to be a parent-theme that allows folks to quickly create Gutenberg-ready child-themes for WordPress. [Instructions for how to make child themes are coming soon]

Development

To make changes to the styles, node.js is recommended:

  1. npm i to install the required development dependencies
  2. npm start to start the development server
  3. Make changes in assets/sass

Technical Overview

Principles

When you reduce a theme design down to a set of systematic design decisions, you end up with something called a Style Guide. The Seedlet system works by taking the rules of a Style Guide and expressing them through carefully placed variables or design tokens that influence the appearance of a WordPress site.

This unifies the design decisions needed to style the aesthetic appearance of Gutenberg Blocks, the theme Header + Footer areas, WooCommerce, Jetpack and more. It also syncs styles between the editor and the frontend so that you don’t need to hand-write CSS for both. This greatly speeds up the Gutenberg theme development process and reduces the amount of manual styling that typically goes into developing a theme.

Controls

The theme is built to offer the following controls:

  • Fonts - Font-family, size, weight, and line-height rules.
  • Colors - Primary, secondary, background, foreground and border colors.
  • Spacing - A default 8px vertical rhythm between all blocks and major components. It also includes utility spacing classes for negative margins.
  • Responsive Logic - Built-in responsive behavior across Blocks and Components.

Structure

The system itself lives in the /assets/sass directory as a collection of Sass partials broken up by scope and hierarchy. The partials get compiled down to singular CSS files that live in the main Seedlet directory and cascade downward like so:

Frontend

  • /assets/css/variables.css
  • /style.css

Editor

  • /assets/css/variables-editor.css
  • /style-editor.css

In each view, the variables are loaded first and then the stylesheet is loaded which applies the variables.

License

GNU General Public License v2 or later.

URI: LICENSE

Acknowledgments

CSS vars ponyfill: https://github.com/jhildenbiddle/css-vars-ponyfill