Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Only enqueue default font-sizes once #34006

Closed
oandregal opened this issue Aug 11, 2021 · 0 comments · Fixed by #35182
Closed

Only enqueue default font-sizes once #34006

oandregal opened this issue Aug 11, 2021 · 0 comments · Fixed by #35182
Assignees
Labels
Global Styles Anything related to the broader Global Styles efforts, including Styles Engine and theme.json [Package] Block editor /packages/block-editor [Package] Block library /packages/block-library [Status] In Progress Tracking issues with work in progress

Comments

@oandregal
Copy link
Member

oandregal commented Aug 11, 2021

Related #34138

We're now currently shipping CSS bundled via the JavaScript packages that are enqueued by the global stylesheet as well. We need to consolidate this for all the use cases we have: themes with and without theme.json whether or not they declare a custom palette and gradients.

@oandregal oandregal self-assigned this Aug 11, 2021
@oandregal oandregal added the [Package] Block editor /packages/block-editor label Aug 11, 2021
@oandregal oandregal added [Package] Block library /packages/block-library Global Styles Anything related to the broader Global Styles efforts, including Styles Engine and theme.json labels Aug 18, 2021
@oandregal oandregal changed the title Remove default font sizes from the block-library bundle Only enqueue default font-sizes once Aug 18, 2021
@github-actions github-actions bot added the [Status] In Progress Tracking issues with work in progress label Sep 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Global Styles Anything related to the broader Global Styles efforts, including Styles Engine and theme.json [Package] Block editor /packages/block-editor [Package] Block library /packages/block-library [Status] In Progress Tracking issues with work in progress
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant