[wp-trac] [WordPress Trac] #64698: Editor: @wordpress/theme style enqueue missing
WordPress Trac
noreply at wordpress.org
Mon Feb 23 20:10:31 UTC 2026
#64698: Editor: @wordpress/theme style enqueue missing
--------------------------+---------------------
Reporter: wildworks | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: 7.0
Component: Editor | Version:
Severity: normal | Resolution:
Keywords: | Focuses:
--------------------------+---------------------
Comment (by aduth):
I think the proposed patch is certainly how we'll want to think about
introducing the theme styles to all the Gutenberg app entrypoints. I'm a
little hesitant about over-exposing the tokens now if it limits the
ability to change them moving forward (e.g. there's still
[https://github.com/WordPress/gutenberg/pull/74980#issuecomment-3812099166
some discussion] of typography naming).
I wonder if the changes proposed by @0mirka00 in
[https://github.com/WordPress/gutenberg/pull/75589 Gutenberg#75589] would
work as a solution here. The goal of that pull request is to add
reasonable fallback values in exactly these types of scenarios where the
token stylesheet may not be present. And with current usage, the fallbacks
are exactly what the "true" values would be anyways.
I think that change would be reasonably contained to the new component
implementations, but if that would be too significant a change to land and
backport for 7.0, an alternative could be to temporarily (for 7.0) swap
the implementation of Stack used in DataViews to use e.g. a local copy
that doesn't depend on the tokens.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/64698#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list