[DO NOT MERGE] Add light and dark color scheme test themes - #266
Draft
MaggieCabrera wants to merge 3 commits into
Draft
[DO NOT MERGE] Add light and dark color scheme test themes#266MaggieCabrera wants to merge 3 commits into
MaggieCabrera wants to merge 3 commits into
Conversation
Preview changesI've detected changes to the following themes in this PR: Dark Theme, Light Theme. You can preview these changes by following the links below: I will update this comment with the latest preview links as you push more changes to this PR. |
This was referenced Jul 28, 2026
Both fixtures now express their opposite scheme with inline settings.color.light / settings.color.dark, matching the data model in WordPress/gutenberg#80698, and drop the style-variation fixtures and the color-scheme-toggle block reference that the stack does not provide. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This was referenced Jul 28, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Warning
DO NOT MERGE. These are throwaway fixtures for WordPress/gutenberg#80698 and its duotone child #80746. Close this PR when testing is complete.
What
Two standalone block themes for manually testing the experimental color-scheme data model. Each declares its opposite scheme inline, mirroring the CSS
prefers-color-schememodel — the base palette is the default, andsettings.color.light/settings.color.darkoverride the other scheme.light-theme— light by default (Citrus Daylight), withsettings.color.darksupplying the Electric Dusk scheme.dark-theme— dark by default (Midnight Terminal), withsettings.color.lightsupplying the Paper Morning scheme.Between them they cover:
signal) and duotone (portrait) presets all flipping together.fixed-accent, a preset deliberately left unoverridden, holding its single value in both schemes.data-schemevalues overriding it.dark, and a dark-first theme addinglight.Each theme ships original test artwork, a 1200×900 screenshot, and a non-persistent System/Light/Dark helper that sets
data-schemeon the root element. The shared setup and expected-results matrix lives inCOLOR-SCHEME-TESTING.md.Gutenberg stack
The experimental
$schemaURLs intentionally follow the head branch of #80746. A Gutenberg build containing both PRs is required; older builds fall back to each theme's base palette.Validation
npm run schema:validate -- light-theme/theme.json dark-theme/theme.jsonfunctions.phpand pattern files.git diff --check.Manual testing
Follow the setup and expected-results matrix in
COLOR-SCHEME-TESTING.md.Draft while the Gutenberg APIs remain experimental.