themes-wordpress/seedlet
2020-10-05 13:08:48 +01:00
..
assets remove IE CSS 2020-10-05 13:02:09 +01:00
classes Remove width and height attributes from SVG icons as they are dynamically added 2020-09-19 00:20:26 +02:00
inc Support IE11 via a ponyfill 2020-10-05 11:14:08 +01:00
languages Escape and translate aria labels. (#2193) 2020-06-29 14:25:06 -04:00
template-parts set the headers back to the default max width 2020-10-05 12:21:57 +01:00
404.php Seedlet: fix landmark roles (#2395) 2020-08-27 10:45:39 -04:00
archive.php set the headers back to the default max width 2020-10-05 12:21:57 +01:00
comments.php Replace with esc translation. (#2430) 2020-09-03 10:13:02 -04:00
footer.php Seedlet: fix landmark roles (#2395) 2020-08-27 10:45:39 -04:00
functions.php update seedlet version number 2020-10-05 13:08:48 +01:00
header.php Seedlet: fix landmark roles (#2395) 2020-08-27 10:45:39 -04:00
image.php Seedlet: fix landmark roles (#2395) 2020-08-27 10:45:39 -04:00
index.php Seedlet: fix landmark roles (#2395) 2020-08-27 10:45:39 -04:00
LICENSE Adding 1.0 seedlet theme. 2020-06-10 12:58:55 -04:00
package-lock.json rebuild assets 2020-10-02 12:13:09 +01:00
package.json update seedlet version number 2020-10-05 13:08:48 +01:00
page.php Seedlet: fix landmark roles (#2395) 2020-08-27 10:45:39 -04:00
postcss.config.js Seedlet: Fix layout grid margins (#2219) 2020-07-07 12:04:08 -04:00
README.md Add an acknowledgement for the CSS Vars ponyfill 2020-10-05 11:23:59 +01:00
readme.txt Update license information to include new images. 2020-09-25 09:01:20 -04:00
screenshot.png Seedlet: Optimize the screenshot 2020-07-24 02:11:15 +02:00
search.php set the headers back to the default max width 2020-10-05 12:21:57 +01:00
single.php Seedlet: fix landmark roles (#2395) 2020-08-27 10:45:39 -04:00
style-rtl.css rebuild assets 2020-10-05 12:21:58 +01:00
style.css rebuild assets 2020-10-05 12:21:58 +01:00
style.css.map copy alignment simplifcation from TT1 2020-10-05 12:21:57 +01: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

Acknowledgments

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