themes-wordpress/seedlet
2020-06-29 15:32:25 -04:00
..
assets Seedlet: Add vertical spacing logic to widget areas. 2020-06-25 18:01:24 -04:00
classes Add comment about theme_mod_bg_color check. 2020-06-23 10:14:15 -04:00
inc Remove mention of Varia. 2020-06-29 15:32:25 -04:00
languages Escape and translate aria labels. (#2193) 2020-06-29 14:25:06 -04:00
template-parts Adding 1.0 seedlet theme. 2020-06-10 12:58:55 -04:00
404.php Adding 1.0 seedlet theme. 2020-06-10 12:58:55 -04:00
archive.php Adding 1.0 seedlet theme. 2020-06-10 12:58:55 -04:00
comments.php Adding 1.0 seedlet theme. 2020-06-10 12:58:55 -04:00
footer.php Adding 1.0 seedlet theme. 2020-06-10 12:58:55 -04:00
functions.php Remove conditional logic to hide navigation scripts. 2020-06-18 08:28:16 -04:00
header.php Escape and translate aria labels. (#2193) 2020-06-29 14:25:06 -04:00
image.php Adding 1.0 seedlet theme. 2020-06-10 12:58:55 -04:00
index.php Adding 1.0 seedlet theme. 2020-06-10 12:58:55 -04:00
LICENSE Adding 1.0 seedlet theme. 2020-06-10 12:58:55 -04:00
package-lock.json Adding 1.0 seedlet theme. 2020-06-10 12:58:55 -04:00
package.json Adding 1.0 seedlet theme. 2020-06-10 12:58:55 -04:00
page.php Adding 1.0 seedlet theme. 2020-06-10 12:58:55 -04:00
postcss.config.js Adding 1.0 seedlet theme. 2020-06-10 12:58:55 -04:00
README.md Update Seedlet readme. (#2181) 2020-06-25 13:56:05 -04:00
readme.txt Adding 1.0 seedlet theme. 2020-06-10 12:58:55 -04:00
screenshot.png Adding 1.0 seedlet theme. 2020-06-10 12:58:55 -04:00
search.php Adding 1.0 seedlet theme. 2020-06-10 12:58:55 -04:00
single.php Adding 1.0 seedlet theme. 2020-06-10 12:58:55 -04:00
style-rtl.css Seedlet: Add vertical spacing logic to widget areas. 2020-06-25 18:01:24 -04:00
style.css Seedlet: Add vertical spacing logic to widget areas. 2020-06-25 18:01:24 -04:00

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 dont 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