themes-wordpress/seedlet
Dan Luu 2f1167d9ad
Lossless image optimization (#7671)
* Lossless image optimization (using ImageOptim).

This shouldn't change the visual appearance of any images. ImageOptim
was run with the highest compression setting except that JPEG metadata
stripping was disabled because some users prefer to avoid stripping
JPEG metadata.

* Update READMEs that have Changelogs for themes impacted by lossless image optmization change.
2024-03-20 11:46:05 +00:00
..
assets Lossless image optimization (#7671) 2024-03-20 11:46:05 +00:00
classes Programme: add design updates (#7474) 2023-11-20 11:15:31 +00:00
inc Fix for custom colors on atomic 2021-07-19 11:31:22 -03:00
languages added some missing .pot files 2021-06-10 09:45:50 +01:00
template-parts #5379: Varia/Seedlet: Fix no posts found message (#6185) 2022-07-14 13:04:22 +05:30
404.php Seedlet: fix landmark roles (#2395) 2020-08-27 10:45:39 -04:00
archive.php Add description to category pages with styling 2021-01-04 00:23:41 +01:00
comments.php Fix 5146 (#5214) 2021-12-16 13:54:44 -05:00
footer.php dry blank canvas and seedlet 2021-01-08 16:42:41 +00:00
functions.php Replace experimental-link-color with link-color (#7221) 2023-07-13 09:51:43 -04:00
header.php refactor seedlet and blank canvas so they share more code 2021-01-11 12:32:15 +00:00
image.php Change namespace. 2021-01-22 10:56:25 -05:00
index.php Refactor customizer class and add ability to toggle excerpts. 2020-10-22 14:22:30 -04:00
LICENSE Adding 1.0 seedlet theme. 2020-06-10 12:58:55 -04:00
package.json Version Bump 2023-11-14 13:42:27 -03: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 Lossless image optimization (#7671) 2024-03-20 11:46:05 +00:00
screenshot.png Lossless image optimization (#7671) 2024-03-20 11:46:05 +00:00
search.php Use correct template tags for navigation + pagination. 2020-10-14 10:23:00 -04:00
single.php Use correct template tags for navigation + pagination. 2020-10-14 10:23:00 -04:00
style-rtl.css Version Bump 2023-11-14 13:42:27 -03:00
style.css Version Bump 2023-11-20 11:33:23 +00: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