-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Closed
Labels
[Package] Theme/packages/theme/packages/theme[Type] TaskIssues or PRs that have been broken down into an individual action to takeIssues or PRs that have been broken down into an individual action to take
Description
Task:
- A developer should be able to
wp_enqueue_style( 'wp-theme' );to enqueuedesign-tokens.css
Background:
Related comment: #73938 (comment)
We already treat @wordpress/theme as a "typical" script package in that we already have a script handle, and so it seems reasonable to have a style handle to bring in the required styles.
Implementation notes:
The build system looks for style.css for "auto-registration", so we may either need to ensure that a style.css is available for it to find, or update the build system to generalize styles exposed for auto-registration.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
[Package] Theme/packages/theme/packages/theme[Type] TaskIssues or PRs that have been broken down into an individual action to takeIssues or PRs that have been broken down into an individual action to take