Ben Dwyer 6d6c394f83 Seedlet: Remove wpstats image code (#4546) %!s(int64=3) %!d(string=hai) anos
..
assets 6d6c394f83 Seedlet: Remove wpstats image code (#4546) %!s(int64=3) %!d(string=hai) anos
classes 51dddaa4da Fix wp_localize_script argument. %!s(int64=4) %!d(string=hai) anos
inc 0ea9c6a373 Fix for custom colors on atomic %!s(int64=4) %!d(string=hai) anos
languages e5baa9ee70 added some missing .pot files %!s(int64=4) %!d(string=hai) anos
template-parts a974b4eddf Tidying whitespace %!s(int64=4) %!d(string=hai) anos
404.php 63f020a88f Seedlet: fix landmark roles (#2395) %!s(int64=4) %!d(string=hai) anos
LICENSE 66fe602d0c Adding 1.0 seedlet theme. %!s(int64=5) %!d(string=hai) anos
README.md 47537bc697 Add an acknowledgement for the CSS Vars ponyfill %!s(int64=4) %!d(string=hai) anos
archive.php 8630865fb2 Add description to category pages with styling %!s(int64=4) %!d(string=hai) anos
comments.php 25692bd19a Replace with esc translation. (#2430) %!s(int64=4) %!d(string=hai) anos
footer.php f0b991b363 dry blank canvas and seedlet %!s(int64=4) %!d(string=hai) anos
functions.php 78fc9b0861 Revert "Added block template support to seedlet. (#4251)" (#4261) %!s(int64=4) %!d(string=hai) anos
header.php 0f8718a58c refactor seedlet and blank canvas so they share more code %!s(int64=4) %!d(string=hai) anos
image.php 8a00a6c9fd Change namespace. %!s(int64=4) %!d(string=hai) anos
index.php fabefd7058 Refactor customizer class and add ability to toggle excerpts. %!s(int64=4) %!d(string=hai) anos
package-lock.json 8a5c5b1977 Apply/batch utils audit (#4494) %!s(int64=3) %!d(string=hai) anos
package.json 6d6c394f83 Seedlet: Remove wpstats image code (#4546) %!s(int64=3) %!d(string=hai) anos
page.php 63f020a88f Seedlet: fix landmark roles (#2395) %!s(int64=4) %!d(string=hai) anos
postcss.config.js 283b23fd16 Seedlet: Fix layout grid margins (#2219) %!s(int64=5) %!d(string=hai) anos
readme.txt bc6df0b9bc Bump minor version. %!s(int64=4) %!d(string=hai) anos
screenshot.png 71dbe74c81 Seedlet: Optimize the screenshot %!s(int64=5) %!d(string=hai) anos
search.php 6698c7ae18 Use correct template tags for navigation + pagination. %!s(int64=4) %!d(string=hai) anos
single.php 6698c7ae18 Use correct template tags for navigation + pagination. %!s(int64=4) %!d(string=hai) anos
style-rtl.css 6d6c394f83 Seedlet: Remove wpstats image code (#4546) %!s(int64=3) %!d(string=hai) anos
style.css 6d6c394f83 Seedlet: Remove wpstats image code (#4546) %!s(int64=3) %!d(string=hai) anos

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