The Seed design system is Delta’s default design system. It has its own version number, separate from the theme’s.
The Seed is the base, so it does not change often. It does grow. Sometimes a change to its tokens, templates or CSS needs an adjustment. A new Seed version carries that adjustment.
Your site keeps its own copy
When a site starts, Delta copies the Seed into the site. A theme update does not rewrite that copy, so your site looks the same after an update.
When a new version comes
Your agent can see when your site is behind the Seed. It tells you and offers to upgrade. Nothing happens until you say yes. There is no upgrade button in wp-admin: you ask the agent.
Before it changes anything, the agent shows you what a visitor would see change. Then the upgrade works like this:
- What you never changed follows the new Seed.
- What you changed or added stays as you made it.
- Nothing you have is removed.
- Seed rules you removed from
site.cssstay removed.
Your pages, templates and notes are not touched.
“Upgrade the site to the new Seed. Show me what changes first.”
Seed 0.3.1: buttons
Delta 0.5.0 brings Seed 0.3.1. Its only change is the button style.
Delta gives a plain button, and a submit, button or reset field, its button look. From 0.3.1 on, that look is weaker, so a class of your own wins over it. A button that page, template or plugin CSS styles with its own class now shows that style instead of Delta’s button look. Every other button looks the same.
Two examples where you see the change: the Search button of a search template made from Delta’s default, and the submit button of a form plugin that styles its own.
A site made before 0.5.0 keeps the 0.3.0 look until you upgrade. After the upgrade, check:
- the search page,
- a page with a form,
- any page with its own button styles.
If your site is still on a Seed older than 0.3.0, the upgrade also brings the 0.3.0 spacing changes. Then look at a long text page and a page with a contrast section too.
If you want to go back
Delta takes a snapshot before the upgrade. Ask the agent to restore that snapshot and your site is as it was.
For developers
- The Seed version is the
versionfield oftokens.json. The site’s copy lives inuploads/21press-delta. get-design-contextreturnstokensVersion,seedTokensVersionand, when the site is behind,seedUpgrade. Names stay the same across versions; only values and recipes change.delta/upgrade-seedwithdryRun: trueshows the visible changes and writes nothing. The real run takes a snapshot, then writes. A failed write restores the files;restore-snapshotwith the returned id undoes a finished upgrade.- The upgrade is a three-way merge of
tokens.json,site.cssand the component recipes: the Seed the site started from, the site’s file, the new Seed. Rules the site deleted fromsite.cssare reported asremovedBySiteand stay deleted. - 0.3.1: the button rules in
.delta-mainuse:where(button), so they weigh one class, and the dry run setsbuttonOwnClass. The 0.3.0 Seed ships indesign-system/previous/0.3.0/for comparison. An untouched 0.3.0 Seed still counts as seed. restore-seedis not an upgrade: it replaces the whole design pack with the current Seed, site changes included. Take a snapshot first.