Ben Dwyer 21da3386be remove rej file 4 years ago
..
assets b8c9b42a49 centre the logo in seedlet 4 years ago
classes 6b8c09b2b2 Rebase trunk. 4 years ago
inc 6fff1f74e4 Display dark mode notice when default palette is active. 4 years ago
languages 14ba96ac8b Remove reject file. 4 years ago
template-parts 4c950b6afb Merge pull request #2494 from Automattic/fix/issue-2413 4 years ago
404.php 63f020a88f Seedlet: fix landmark roles (#2395) 4 years ago
LICENSE 66fe602d0c Adding 1.0 seedlet theme. 5 years ago
README.md 47537bc697 Add an acknowledgement for the CSS Vars ponyfill 4 years ago
archive.php fabefd7058 Refactor customizer class and add ability to toggle excerpts. 4 years ago
comments.php 25692bd19a Replace with esc translation. (#2430) 4 years ago
dotorg-exclude.txt dfbf6a2c0f Delete map files. 4 years ago
footer.php 63f020a88f Seedlet: fix landmark roles (#2395) 4 years ago
functions.php e67ff5c9df implement the jetpack author bio 4 years ago
header.php 405ea1ed6e Spearhead: Add support for site logo 4 years ago
image.php 63f020a88f Seedlet: fix landmark roles (#2395) 4 years ago
index.php fabefd7058 Refactor customizer class and add ability to toggle excerpts. 4 years ago
package-dotorg.sh febf647ca2 git restore and ignore all zip files. 4 years ago
package-lock.json 3f3beec61a Separate the seedlet menu CSS into a different file 4 years ago
package.json 24e9cda228 update Seedlet version number 4 years ago
page.php 63f020a88f Seedlet: fix landmark roles (#2395) 4 years ago
postcss.config.js 283b23fd16 Seedlet: Fix layout grid margins (#2219) 5 years ago
readme.txt 5f857b331c Update changelog. 4 years ago
screenshot.png 71dbe74c81 Seedlet: Optimize the screenshot 5 years ago
search.php 6698c7ae18 Use correct template tags for navigation + pagination. 4 years ago
single.php 6698c7ae18 Use correct template tags for navigation + pagination. 4 years ago
style-rtl.css b8c9b42a49 centre the logo in seedlet 4 years ago
style.css b8c9b42a49 centre the logo in seedlet 4 years ago
style.css.map b8c9b42a49 centre the logo in seedlet 4 years ago

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