Skip to content

Block Supports: Add background clip support to facilitate text gradients#76033

Closed
aaronrobertshaw wants to merge 14 commits intotrunkfrom
add/background-clip-support
Closed

Block Supports: Add background clip support to facilitate text gradients#76033
aaronrobertshaw wants to merge 14 commits intotrunkfrom
add/background-clip-support

Conversation

@aaronrobertshaw
Copy link
Copy Markdown
Contributor

@aaronrobertshaw aaronrobertshaw commented Mar 1, 2026

What?

Closes #30982
Closes #49642

Introduces background-clip as a new block support and Global Styles feature.

Heading and paragraph blocks opt in by default.

A new BackgroundClipControl component lets users select from the four standard background-clip values — border-box, padding-box, content-box, and text — with live CSS-based previews for each option.

When text is selected, the required companion declarations (-webkit-background-clip: text, -webkit-text-fill-color: transparent, color: transparent) are emitted automatically, enabling gradient text effects when combined with a background gradient or image.

Why?

Users have long been able to apply gradients and background images to blocks, but had no way to clip that background to the text content — the CSS technique used to create gradient-coloured text. Achieving this required hand-written CSS (see #49642).

Adding background-clip as a first-class block support resolves that gap and fits naturally alongside the existing background support group (backgroundImage, gradient). It also provides a clean integration point that avoids the current tension between color.gradient and background.gradient, since both surface a gradient on background-image and can now be combined with clip behaviour in a backwards-compatible way.

How?

  • Style engine (JS + PHP): Added a backgroundClip style definition that generates background-clip and, when the value is text, the three companion vendor-prefixed declarations. Fixed a kebabCase conversion bug that was stripping the leading dash from vendor-prefixed properties (e.g. producing webkit-background-clip instead of -webkit-background-clip).
  • Global Styles PHP output: WP_Theme_JSON::compute_style_properties bypasses the style engine, so vendor-prefixed declarations for text clipping were added there separately.
  • Block supports (PHP): Updated the background render filter to handle backgroundClip alongside backgroundImage, with independent checks for feature support and serialization skip.
  • Block support opt-in: heading and paragraph block.json files opt in via supports.background.backgroundClip. The setting defaults to true when a block declares support, so the control appears even when the theme hasn't enabled appearanceTools.
  • UI: A new BackgroundClipControl component (using Composite / Composite.Item) renders interactive previews using actual background-clip CSS, so each option visually demonstrates the clipping behaviour it represents. The control appears in the Background panel in Global Styles and is included in DEFAULT_CONTROLS so it is visible without needing to enable it from the dropdown.
  • Visibility: The control is currently scoped to the Global Styles blocks screen (not the per-block inspector sidebar), following the same pattern as disableBlockGap and disableAspectRatio.
  • KSES: Added background-clip and vendor-prefixed variants to the allowed CSS properties.

UI/UX considerations for further iteration

The current PR exposes background-clip as a direct block support control. There is an open question about whether this is the right UI surface — particularly for the common use case of gradient text, where users are unlikely to look in a "background clipping" control.

A future iteration could hide the implementation detail and instead surface an ergonomic gradient picker inside the Color → Text panel, which writes to both background and backgroundClip behind the scenes. The block support could adaptively show:

  • A simplified gradient text control (in the color panel) when only text clipping is enabled
  • The full background-clip control (in the background panel) when broader clip values are configured

This mirrors the approach used by the border block support for toggling subfeature controls. Design input would be valuable here before finalising the UI direction.

Still todo

  • The BackgroundClipControl UI (currently a Composite-based popover) has been assembled as a functional prototype and needs design review before this is considered complete. Feedback on the control layout, option labels, and preview style is welcome.

Testing Instructions

  1. Open the Site Editor (Appearance → Editor).
  2. Navigate to Styles → Blocks → Heading (or Paragraph).
  3. Open the Background panel.
  4. Confirm a Clip control is visible with four options: Border box, Padding box, Content box, and Text.
  5. Set a background gradient on the block (in the same panel or via Colors → Gradient).
  6. Select Text from the Clip control. Confirm the gradient is now clipped to the text in the preview.
  7. Save and view the front end. Confirm the gradient text renders correctly (including on Safari/WebKit).
  8. Select a non-text clip value (e.g. Border box) and confirm the gradient reverts to a standard background fill.
  9. Repeat with the Paragraph block.
  10. Inspect the generated CSS (browser DevTools or saved stylesheet) and confirm -webkit-background-clip: text, -webkit-text-fill-color: transparent, and color: transparent are all present when Text clip is active, and absent otherwise.

Testing Instructions for Keyboard

  1. Follow steps 1–3 above using keyboard navigation only.
  2. Tab into the Clip control. Confirm focus is visible on the active option.
  3. Use arrow keys to move between clip options. Confirm each option receives focus and the selection updates.
  4. Press Enter/Space to confirm a selection.

Screenshot

Screenshot 2026-03-01 at 10 56 51 pm

Demo

Screen.Recording.2026-03-01.at.10.55.13.pm.mp4

Adds a new `backgroundClip` style definition to both the JavaScript and
PHP style engines. When the value is `text`, the engines emit the
additional vendor-prefixed properties (`-webkit-background-clip` and
`-webkit-text-fill-color: transparent`) needed to clip backgrounds to
text, enabling gradient text effects.
Update the background block support PHP render filter to handle
backgroundClip alongside backgroundImage. Each support now independently
checks for both feature support and serialization skip. Add
background.backgroundClip support to heading and paragraph blocks.
Introduces a new BackgroundClipControl component using the
Composite + Composite.Item pattern for selecting background-clip
values (border-box, padding-box, content-box, text) with static CSS-based background-clip previews

Use actual background-clip CSS on preview elements instead of
static SVGs, so each option visually demonstrates the clipping
behavior it represents.
In global styles, all supported controls should be visible by
default. The backgroundClip control was missing from DEFAULT_CONTROLS,
so it was hidden behind the tools panel dropdown menu.
Like textIndent, backgroundClip may not exist in parent settings if
the theme hasn't opted in via appearanceTools. When a block declares
backgroundClip support, default the setting to true so the control
is visible in global styles.
…k inspector

Reverts the shared useSettingsForBlockElement change which incorrectly
forced backgroundClip on in both contexts. Instead, enables
backgroundClip in the settings only within the global styles
screen-block, following the same pattern as disableBlockGap and
disableAspectRatio.
The camelCase keys WebkitBackgroundClip and WebkitTextFillColor were
being converted via paramCase to webkit-background-clip (missing the
leading dash). Use the literal CSS property names instead, matching
the PHP style engine which already uses -webkit-background-clip and
-webkit-text-fill-color.
…tput

The compute_style_properties method in WP_Theme_JSON generates CSS
from PROPERTIES_METADATA directly, bypassing the style engine. When
background-clip is set to 'text', the -webkit-background-clip and
-webkit-text-fill-color declarations were missing from the generated
global styles CSS. The block supports render filter and inline styles
already handled this via the style engine, but global styles output
did not.
kebabCase() strips the leading dash from vendor-prefixed properties
like -webkit-background-clip, producing webkit-background-clip. Skip
kebabCase conversion for keys that already start with '-', as these
are already valid CSS property names.

Fixes the issue in both the style engine's compileCSS and the global
styles engine's render output.
@aaronrobertshaw aaronrobertshaw self-assigned this Mar 1, 2026
@aaronrobertshaw aaronrobertshaw added the [Type] Enhancement A suggestion for improvement. label Mar 1, 2026
@aaronrobertshaw aaronrobertshaw added the [Block] Heading Affects the Headings Block label Mar 1, 2026
@aaronrobertshaw aaronrobertshaw added the [Block] Paragraph Affects the Paragraph Block label Mar 1, 2026
@aaronrobertshaw aaronrobertshaw added [Feature] Design Tools Tools that impact the appearance of blocks both to expand the number of tools and improve the experi [Feature] Colors Color management [Feature] Typography Font and typography-related issues and PRs labels Mar 1, 2026
@github-actions github-actions bot added [Package] Blocks /packages/blocks [Package] Block library /packages/block-library [Package] Block editor /packages/block-editor labels Mar 1, 2026
@github-actions github-actions bot added the [Package] Style Engine /packages/style-engine label Mar 1, 2026
@aaronrobertshaw aaronrobertshaw added Needs Design Feedback Needs general design feedback. and removed [Package] Blocks /packages/blocks [Package] Block library /packages/block-library [Package] Block editor /packages/block-editor [Package] Style Engine /packages/style-engine labels Mar 1, 2026
@aaronrobertshaw
Copy link
Copy Markdown
Contributor Author

I've added the "Needs Design Feedback" label as the BackgroundClipControl UI is only an experimental placeholder at the moment:

Screenshot 2026-03-01 at 10 58 54 pm

@github-actions
Copy link
Copy Markdown

github-actions bot commented Mar 1, 2026

The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the props-bot label.

Unlinked Accounts

The following contributors have not linked their GitHub and WordPress.org accounts: @jnz31, @CreativeDive, @insaineyesay.

Contributors, please read how to link your accounts to ensure your work is properly credited in WordPress releases.

If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message.

Unlinked contributors: jnz31, CreativeDive, insaineyesay.

Co-authored-by: aaronrobertshaw <aaronrobertshaw@git.wordpress.org>
Co-authored-by: tellthemachines <isabel_brison@git.wordpress.org>
Co-authored-by: ramonjd <ramonopoly@git.wordpress.org>
Co-authored-by: jasmussen <joen@git.wordpress.org>
Co-authored-by: mtias <matveb@git.wordpress.org>
Co-authored-by: luminuu <luminuu@git.wordpress.org>
Co-authored-by: scruffian <scruffian@git.wordpress.org>
Co-authored-by: phil-sola <philsola@git.wordpress.org>
Co-authored-by: andrewserong <andrewserong@git.wordpress.org>
Co-authored-by: justintadlock <greenshady@git.wordpress.org>
Co-authored-by: carolinan <poena@git.wordpress.org>
Co-authored-by: annezazu <annezazu@git.wordpress.org>

To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook.

@github-actions
Copy link
Copy Markdown

github-actions bot commented Mar 1, 2026

Size Change: +2.61 kB (+0.04%)

Total Size: 6.87 MB

Filename Size Change
build/modules/lazy-editor/index.min.js 13.7 kB +5 B (+0.04%)
build/scripts/block-editor/index.min.js 330 kB +729 B (+0.22%)
build/scripts/block-library/index.min.js 317 kB +17 B (+0.01%)
build/scripts/blocks/index.min.js 56.7 kB +12 B (+0.02%)
build/scripts/edit-site/index.min.js 245 kB +5 B (0%)
build/scripts/editor/index.min.js 348 kB +77 B (+0.02%)
build/scripts/style-engine/index.min.js 2.5 kB +136 B (+5.75%) 🔍
build/styles/block-editor/style-rtl.css 18.7 kB +413 B (+2.26%)
build/styles/block-editor/style-rtl.min.css 16.1 kB +405 B (+2.58%)
build/styles/block-editor/style.css 18.7 kB +411 B (+2.24%)
build/styles/block-editor/style.min.css 16.1 kB +400 B (+2.55%)
ℹ️ View Unchanged
Filename Size
build/modules/a11y/index.min.js 355 B
build/modules/abilities/index.min.js 42.3 kB
build/modules/block-editor/utils/fit-text-frontend.min.js 617 B
build/modules/block-library/accordion/view.min.js 595 B
build/modules/block-library/file/view.min.js 346 B
build/modules/block-library/form/view.min.js 528 B
build/modules/block-library/image/view.min.js 2.64 kB
build/modules/block-library/navigation/view.min.js 1.12 kB
build/modules/block-library/playlist/view.min.js 10.9 kB
build/modules/block-library/query/view.min.js 518 B
build/modules/block-library/search/view.min.js 498 B
build/modules/block-library/tabs/view.min.js 946 B
build/modules/boot/index.min.js 14.8 kB
build/modules/connectors/index.min.js 1.85 kB
build/modules/core-abilities/index.min.js 892 B
build/modules/edit-site-init/index.min.js 2.13 kB
build/modules/interactivity-router/full-page.min.js 451 B
build/modules/interactivity-router/index.min.js 11.6 kB
build/modules/interactivity/index.min.js 15.1 kB
build/modules/latex-to-mathml/index.min.js 56.5 kB
build/modules/latex-to-mathml/loader.min.js 131 B
build/modules/route/index.min.js 25 kB
build/modules/vips/loader.min.js 127 B
build/modules/vips/worker.min.js 3.81 MB
build/modules/workflow/index.min.js 19.9 kB
build/scripts/a11y/index.min.js 1.06 kB
build/scripts/annotations/index.min.js 2.39 kB
build/scripts/api-fetch/index.min.js 2.83 kB
build/scripts/autop/index.min.js 2.18 kB
build/scripts/base-styles/index.min.js 98 B
build/scripts/blob/index.min.js 631 B
build/scripts/block-directory/index.min.js 8.03 kB
build/scripts/block-serialization-default-parser/index.min.js 1.16 kB
build/scripts/block-serialization-spec-parser/index.min.js 3.08 kB
build/scripts/commands/index.min.js 20.2 kB
build/scripts/components/index.min.js 265 kB
build/scripts/compose/index.min.js 13.9 kB
build/scripts/core-commands/index.min.js 4.31 kB
build/scripts/core-data/index.min.js 28.5 kB
build/scripts/customize-widgets/index.min.js 12.3 kB
build/scripts/data-controls/index.min.js 795 B
build/scripts/data/index.min.js 9.64 kB
build/scripts/date/index.min.js 23.6 kB
build/scripts/deprecated/index.min.js 756 B
build/scripts/dom-ready/index.min.js 476 B
build/scripts/dom/index.min.js 4.98 kB
build/scripts/edit-post/index.min.js 16.3 kB
build/scripts/edit-widgets/index.min.js 19.9 kB
build/scripts/element/index.min.js 5.2 kB
build/scripts/escape-html/index.min.js 587 B
build/scripts/format-library/index.min.js 10.7 kB
build/scripts/hooks/index.min.js 1.83 kB
build/scripts/html-entities/index.min.js 494 B
build/scripts/i18n/index.min.js 2.46 kB
build/scripts/is-shallow-equal/index.min.js 572 B
build/scripts/keyboard-shortcuts/index.min.js 1.57 kB
build/scripts/keycodes/index.min.js 1.56 kB
build/scripts/list-reusable-blocks/index.min.js 2.44 kB
build/scripts/media-utils/index.min.js 73.5 kB
build/scripts/notices/index.min.js 1.9 kB
build/scripts/nux/index.min.js 1.89 kB
build/scripts/patterns/index.min.js 7.75 kB
build/scripts/plugins/index.min.js 2.15 kB
build/scripts/preferences-persistence/index.min.js 2.15 kB
build/scripts/preferences/index.min.js 3.3 kB
build/scripts/primitives/index.min.js 1.01 kB
build/scripts/priority-queue/index.min.js 1.62 kB
build/scripts/private-apis/index.min.js 1.09 kB
build/scripts/react-i18n/index.min.js 833 B
build/scripts/redux-routine/index.min.js 3.37 kB
build/scripts/reusable-blocks/index.min.js 2.92 kB
build/scripts/rich-text/index.min.js 13.9 kB
build/scripts/router/index.min.js 5.96 kB
build/scripts/server-side-render/index.min.js 1.91 kB
build/scripts/shortcode/index.min.js 1.59 kB
build/scripts/sync/index.min.js 37.2 kB
build/scripts/theme/index.min.js 21.9 kB
build/scripts/token-list/index.min.js 739 B
build/scripts/undo-manager/index.min.js 918 B
build/scripts/upload-media/index.min.js 7.82 kB
build/scripts/url/index.min.js 3.98 kB
build/scripts/vendors/react-dom.min.js 43.2 kB
build/scripts/vendors/react-jsx-runtime.min.js 667 B
build/scripts/vendors/react.min.js 2.77 kB
build/scripts/viewport/index.min.js 1.21 kB
build/scripts/warning/index.min.js 454 B
build/scripts/widgets/index.min.js 7.8 kB
build/scripts/wordcount/index.min.js 1.04 kB
build/styles/base-styles/admin-schemes-rtl.css 1.71 kB
build/styles/base-styles/admin-schemes-rtl.min.css 775 B
build/styles/base-styles/admin-schemes.css 1.71 kB
build/styles/base-styles/admin-schemes.min.css 775 B
build/styles/block-directory/style-rtl.css 1.96 kB
build/styles/block-directory/style-rtl.min.css 1.05 kB
build/styles/block-directory/style.css 1.97 kB
build/styles/block-directory/style.min.css 1.05 kB
build/styles/block-editor/content-rtl.css 5.42 kB
build/styles/block-editor/content-rtl.min.css 3.98 kB
build/styles/block-editor/content.css 5.42 kB
build/styles/block-editor/content.min.css 3.98 kB
build/styles/block-editor/default-editor-styles-rtl.css 697 B
build/styles/block-editor/default-editor-styles-rtl.min.css 224 B
build/styles/block-editor/default-editor-styles.css 697 B
build/styles/block-editor/default-editor-styles.min.css 224 B
build/styles/block-library/accordion-heading/style-rtl.css 346 B
build/styles/block-library/accordion-heading/style-rtl.min.css 325 B
build/styles/block-library/accordion-heading/style.css 346 B
build/styles/block-library/accordion-heading/style.min.css 325 B
build/styles/block-library/accordion-item/style-rtl.css 239 B
build/styles/block-library/accordion-item/style-rtl.min.css 180 B
build/styles/block-library/accordion-item/style.css 238 B
build/styles/block-library/accordion-item/style.min.css 180 B
build/styles/block-library/accordion-panel/style-rtl.css 110 B
build/styles/block-library/accordion-panel/style-rtl.min.css 99 B
build/styles/block-library/accordion-panel/style.css 110 B
build/styles/block-library/accordion-panel/style.min.css 99 B
build/styles/block-library/accordion/style-rtl.css 69 B
build/styles/block-library/accordion/style-rtl.min.css 62 B
build/styles/block-library/accordion/style.css 69 B
build/styles/block-library/accordion/style.min.css 62 B
build/styles/block-library/archives/style-rtl.css 101 B
build/styles/block-library/archives/style-rtl.min.css 90 B
build/styles/block-library/archives/style.css 101 B
build/styles/block-library/archives/style.min.css 90 B
build/styles/block-library/audio/editor-rtl.css 166 B
build/styles/block-library/audio/editor-rtl.min.css 149 B
build/styles/block-library/audio/editor.css 166 B
build/styles/block-library/audio/editor.min.css 151 B
build/styles/block-library/audio/style-rtl.css 945 B
build/styles/block-library/audio/style-rtl.min.css 132 B
build/styles/block-library/audio/style.css 945 B
build/styles/block-library/audio/style.min.css 132 B
build/styles/block-library/audio/theme-rtl.css 967 B
build/styles/block-library/audio/theme-rtl.min.css 134 B
build/styles/block-library/audio/theme.css 967 B
build/styles/block-library/audio/theme.min.css 134 B
build/styles/block-library/avatar/editor-rtl.css 127 B
build/styles/block-library/avatar/editor-rtl.min.css 115 B
build/styles/block-library/avatar/editor.css 127 B
build/styles/block-library/avatar/editor.min.css 115 B
build/styles/block-library/avatar/style-rtl.css 117 B
build/styles/block-library/avatar/style-rtl.min.css 104 B
build/styles/block-library/avatar/style.css 117 B
build/styles/block-library/avatar/style.min.css 104 B
build/styles/block-library/breadcrumbs/style-rtl.css 233 B
build/styles/block-library/breadcrumbs/style-rtl.min.css 203 B
build/styles/block-library/breadcrumbs/style.css 233 B
build/styles/block-library/breadcrumbs/style.min.css 203 B
build/styles/block-library/button/editor-rtl.css 306 B
build/styles/block-library/button/editor-rtl.min.css 265 B
build/styles/block-library/button/editor.css 317 B
build/styles/block-library/button/editor.min.css 265 B
build/styles/block-library/button/style-rtl.css 651 B
build/styles/block-library/button/style-rtl.min.css 596 B
build/styles/block-library/button/style.css 662 B
build/styles/block-library/button/style.min.css 596 B
build/styles/block-library/buttons/editor-rtl.css 391 B
build/styles/block-library/buttons/editor-rtl.min.css 291 B
build/styles/block-library/buttons/editor.css 391 B
build/styles/block-library/buttons/editor.min.css 291 B
build/styles/block-library/buttons/style-rtl.css 452 B
build/styles/block-library/buttons/style-rtl.min.css 349 B
build/styles/block-library/buttons/style.css 453 B
build/styles/block-library/buttons/style.min.css 349 B
build/styles/block-library/calendar/style-rtl.css 271 B
build/styles/block-library/calendar/style-rtl.min.css 239 B
build/styles/block-library/calendar/style.css 271 B
build/styles/block-library/calendar/style.min.css 239 B
build/styles/block-library/categories/editor-rtl.css 171 B
build/styles/block-library/categories/editor-rtl.min.css 132 B
build/styles/block-library/categories/editor.css 170 B
build/styles/block-library/categories/editor.min.css 131 B
build/styles/block-library/categories/style-rtl.css 226 B
build/styles/block-library/categories/style-rtl.min.css 169 B
build/styles/block-library/categories/style.css 235 B
build/styles/block-library/categories/style.min.css 169 B
build/styles/block-library/classic-rtl.css 363 B
build/styles/block-library/classic-rtl.min.css 321 B
build/styles/block-library/classic.css 363 B
build/styles/block-library/classic.min.css 321 B
build/styles/block-library/code/editor-rtl.css 59 B
build/styles/block-library/code/editor-rtl.min.css 53 B
build/styles/block-library/code/editor.css 59 B
build/styles/block-library/code/editor.min.css 53 B
build/styles/block-library/code/style-rtl.css 158 B
build/styles/block-library/code/style-rtl.min.css 139 B
build/styles/block-library/code/style.css 179 B
build/styles/block-library/code/style.min.css 139 B
build/styles/block-library/code/theme-rtl.css 135 B
build/styles/block-library/code/theme-rtl.min.css 122 B
build/styles/block-library/code/theme.css 135 B
build/styles/block-library/code/theme.min.css 122 B
build/styles/block-library/columns/editor-rtl.css 119 B
build/styles/block-library/columns/editor-rtl.min.css 108 B
build/styles/block-library/columns/editor.css 119 B
build/styles/block-library/columns/editor.min.css 108 B
build/styles/block-library/columns/style-rtl.css 1.3 kB
build/styles/block-library/columns/style-rtl.min.css 421 B
build/styles/block-library/columns/style.css 1.3 kB
build/styles/block-library/columns/style.min.css 421 B
build/styles/block-library/comment-author-avatar/editor-rtl.css 136 B
build/styles/block-library/comment-author-avatar/editor-rtl.min.css 124 B
build/styles/block-library/comment-author-avatar/editor.css 136 B
build/styles/block-library/comment-author-avatar/editor.min.css 124 B
build/styles/block-library/comment-author-name/style-rtl.css 79 B
build/styles/block-library/comment-author-name/style-rtl.min.css 72 B
build/styles/block-library/comment-author-name/style.css 79 B
build/styles/block-library/comment-author-name/style.min.css 72 B
build/styles/block-library/comment-content/style-rtl.css 137 B
build/styles/block-library/comment-content/style-rtl.min.css 120 B
build/styles/block-library/comment-content/style.css 137 B
build/styles/block-library/comment-content/style.min.css 120 B
build/styles/block-library/comment-date/style-rtl.css 72 B
build/styles/block-library/comment-date/style-rtl.min.css 65 B
build/styles/block-library/comment-date/style.css 72 B
build/styles/block-library/comment-date/style.min.css 65 B
build/styles/block-library/comment-edit-link/style-rtl.css 77 B
build/styles/block-library/comment-edit-link/style-rtl.min.css 70 B
build/styles/block-library/comment-edit-link/style.css 77 B
build/styles/block-library/comment-edit-link/style.min.css 70 B
build/styles/block-library/comment-reply-link/style-rtl.css 78 B
build/styles/block-library/comment-reply-link/style-rtl.min.css 71 B
build/styles/block-library/comment-reply-link/style.css 78 B
build/styles/block-library/comment-reply-link/style.min.css 71 B
build/styles/block-library/comment-template/style-rtl.css 213 B
build/styles/block-library/comment-template/style-rtl.min.css 191 B
build/styles/block-library/comment-template/style.css 213 B
build/styles/block-library/comment-template/style.min.css 191 B
build/styles/block-library/comments-pagination-numbers/editor-rtl.css 135 B
build/styles/block-library/comments-pagination-numbers/editor-rtl.min.css 122 B
build/styles/block-library/comments-pagination-numbers/editor.css 144 B
build/styles/block-library/comments-pagination-numbers/editor.min.css 121 B
build/styles/block-library/comments-pagination/editor-rtl.css 184 B
build/styles/block-library/comments-pagination/editor-rtl.min.css 168 B
build/styles/block-library/comments-pagination/editor.css 184 B
build/styles/block-library/comments-pagination/editor.min.css 168 B
build/styles/block-library/comments-pagination/style-rtl.css 224 B
build/styles/block-library/comments-pagination/style-rtl.min.css 201 B
build/styles/block-library/comments-pagination/style.css 236 B
build/styles/block-library/comments-pagination/style.min.css 201 B
build/styles/block-library/comments-title/editor-rtl.css 83 B
build/styles/block-library/comments-title/editor-rtl.min.css 75 B
build/styles/block-library/comments-title/editor.css 83 B
build/styles/block-library/comments-title/editor.min.css 75 B
build/styles/block-library/comments/editor-rtl.css 968 B
build/styles/block-library/comments/editor-rtl.min.css 842 B
build/styles/block-library/comments/editor.css 968 B
build/styles/block-library/comments/editor.min.css 842 B
build/styles/block-library/comments/style-rtl.css 754 B
build/styles/block-library/comments/style-rtl.min.css 637 B
build/styles/block-library/comments/style.css 752 B
build/styles/block-library/comments/style.min.css 637 B
build/styles/block-library/common-rtl.css 2.48 kB
build/styles/block-library/common-rtl.min.css 1.11 kB
build/styles/block-library/common.css 2.49 kB
build/styles/block-library/common.min.css 1.11 kB
build/styles/block-library/cover/editor-rtl.css 1.05 kB
build/styles/block-library/cover/editor-rtl.min.css 631 B
build/styles/block-library/cover/editor.css 1.05 kB
build/styles/block-library/cover/editor.min.css 631 B
build/styles/block-library/cover/style-rtl.css 2.5 kB
build/styles/block-library/cover/style-rtl.min.css 1.82 kB
build/styles/block-library/cover/style.css 2.51 kB
build/styles/block-library/cover/style.min.css 1.81 kB
build/styles/block-library/details/editor-rtl.css 72 B
build/styles/block-library/details/editor-rtl.min.css 65 B
build/styles/block-library/details/editor.css 72 B
build/styles/block-library/details/editor.min.css 65 B
build/styles/block-library/details/style-rtl.css 97 B
build/styles/block-library/details/style-rtl.min.css 86 B
build/styles/block-library/details/style.css 97 B
build/styles/block-library/details/style.min.css 86 B
build/styles/block-library/editor-elements-rtl.css 117 B
build/styles/block-library/editor-elements-rtl.min.css 75 B
build/styles/block-library/editor-elements.css 117 B
build/styles/block-library/editor-elements.min.css 75 B
build/styles/block-library/editor-rtl.css 12.3 kB
build/styles/block-library/editor-rtl.min.css 10.1 kB
build/styles/block-library/editor.css 12.3 kB
build/styles/block-library/editor.min.css 10.1 kB
build/styles/block-library/elements-rtl.css 84 B
build/styles/block-library/elements-rtl.min.css 54 B
build/styles/block-library/elements.css 84 B
build/styles/block-library/elements.min.css 54 B
build/styles/block-library/embed/editor-rtl.css 391 B
build/styles/block-library/embed/editor-rtl.min.css 331 B
build/styles/block-library/embed/editor.css 390 B
build/styles/block-library/embed/editor.min.css 331 B
build/styles/block-library/embed/style-rtl.css 1.29 kB
build/styles/block-library/embed/style-rtl.min.css 448 B
build/styles/block-library/embed/style.css 1.29 kB
build/styles/block-library/embed/style.min.css 448 B
build/styles/block-library/embed/theme-rtl.css 967 B
build/styles/block-library/embed/theme-rtl.min.css 133 B
build/styles/block-library/embed/theme.css 967 B
build/styles/block-library/embed/theme.min.css 133 B
build/styles/block-library/file/editor-rtl.css 352 B
build/styles/block-library/file/editor-rtl.min.css 324 B
build/styles/block-library/file/editor.css 353 B
build/styles/block-library/file/editor.min.css 324 B
build/styles/block-library/file/style-rtl.css 318 B
build/styles/block-library/file/style-rtl.min.css 278 B
build/styles/block-library/file/style.css 331 B
build/styles/block-library/file/style.min.css 278 B
build/styles/block-library/footnotes/style-rtl.css 220 B
build/styles/block-library/footnotes/style-rtl.min.css 198 B
build/styles/block-library/footnotes/style.css 219 B
build/styles/block-library/footnotes/style.min.css 197 B
build/styles/block-library/form-input/editor-rtl.css 247 B
build/styles/block-library/form-input/editor-rtl.min.css 229 B
build/styles/block-library/form-input/editor.css 246 B
build/styles/block-library/form-input/editor.min.css 229 B
build/styles/block-library/form-input/style-rtl.css 467 B
build/styles/block-library/form-input/style-rtl.min.css 366 B
build/styles/block-library/form-input/style.css 467 B
build/styles/block-library/form-input/style.min.css 366 B
build/styles/block-library/form-submission-notification/editor-rtl.css 368 B
build/styles/block-library/form-submission-notification/editor-rtl.min.css 344 B
build/styles/block-library/form-submission-notification/editor.css 368 B
build/styles/block-library/form-submission-notification/editor.min.css 341 B
build/styles/block-library/form-submit-button/style-rtl.css 77 B
build/styles/block-library/form-submit-button/style-rtl.min.css 69 B
build/styles/block-library/form-submit-button/style.css 77 B
build/styles/block-library/form-submit-button/style.min.css 69 B
build/styles/block-library/freeform/editor-rtl.css 1.12 kB
build/styles/block-library/freeform/editor-rtl.min.css 288 B
build/styles/block-library/freeform/editor.css 1.12 kB
build/styles/block-library/freeform/editor.min.css 288 B
build/styles/block-library/gallery/editor-rtl.css 1.52 kB
build/styles/block-library/gallery/editor-rtl.min.css 615 B
build/styles/block-library/gallery/editor.css 1.52 kB
build/styles/block-library/gallery/editor.min.css 616 B
build/styles/block-library/gallery/style-rtl.css 2.84 kB
build/styles/block-library/gallery/style-rtl.min.css 1.84 kB
build/styles/block-library/gallery/style.css 2.84 kB
build/styles/block-library/gallery/style.min.css 1.84 kB
build/styles/block-library/gallery/theme-rtl.css 941 B
build/styles/block-library/gallery/theme-rtl.min.css 108 B
build/styles/block-library/gallery/theme.css 941 B
build/styles/block-library/gallery/theme.min.css 108 B
build/styles/block-library/group/editor-rtl.css 772 B
build/styles/block-library/group/editor-rtl.min.css 335 B
build/styles/block-library/group/editor.css 772 B
build/styles/block-library/group/editor.min.css 335 B
build/styles/block-library/group/style-rtl.css 120 B
build/styles/block-library/group/style-rtl.min.css 103 B
build/styles/block-library/group/style.css 120 B
build/styles/block-library/group/style.min.css 103 B
build/styles/block-library/group/theme-rtl.css 468 B
build/styles/block-library/group/theme-rtl.min.css 79 B
build/styles/block-library/group/theme.css 468 B
build/styles/block-library/group/theme.min.css 79 B
build/styles/block-library/heading/style-rtl.css 604 B
build/styles/block-library/heading/style-rtl.min.css 205 B
build/styles/block-library/heading/style.css 604 B
build/styles/block-library/heading/style.min.css 205 B
build/styles/block-library/html/editor-rtl.css 1.24 kB
build/styles/block-library/html/editor-rtl.min.css 419 B
build/styles/block-library/html/editor.css 1.25 kB
build/styles/block-library/html/editor.min.css 419 B
build/styles/block-library/icon/editor-rtl.css 753 B
build/styles/block-library/icon/editor-rtl.min.css 353 B
build/styles/block-library/icon/editor.css 753 B
build/styles/block-library/icon/editor.min.css 353 B
build/styles/block-library/icon/style-rtl.css 218 B
build/styles/block-library/icon/style-rtl.min.css 154 B
build/styles/block-library/icon/style.css 218 B
build/styles/block-library/icon/style.min.css 154 B
build/styles/block-library/image/editor-rtl.css 1.63 kB
build/styles/block-library/image/editor-rtl.min.css 763 B
build/styles/block-library/image/editor.css 1.62 kB
build/styles/block-library/image/editor.min.css 763 B
build/styles/block-library/image/style-rtl.css 2.92 kB
build/styles/block-library/image/style-rtl.min.css 1.86 kB
build/styles/block-library/image/style.css 2.92 kB
build/styles/block-library/image/style.min.css 1.85 kB
build/styles/block-library/image/theme-rtl.css 971 B
build/styles/block-library/image/theme-rtl.min.css 137 B
build/styles/block-library/image/theme.css 971 B
build/styles/block-library/image/theme.min.css 137 B
build/styles/block-library/latest-comments/style-rtl.css 394 B
build/styles/block-library/latest-comments/style-rtl.min.css 355 B
build/styles/block-library/latest-comments/style.css 394 B
build/styles/block-library/latest-comments/style.min.css 354 B
build/styles/block-library/latest-posts/editor-rtl.css 154 B
build/styles/block-library/latest-posts/editor-rtl.min.css 139 B
build/styles/block-library/latest-posts/editor.css 153 B
build/styles/block-library/latest-posts/editor.min.css 138 B
build/styles/block-library/latest-posts/style-rtl.css 1.36 kB
build/styles/block-library/latest-posts/style-rtl.min.css 520 B
build/styles/block-library/latest-posts/style.css 1.37 kB
build/styles/block-library/latest-posts/style.min.css 520 B
build/styles/block-library/list/style-rtl.css 498 B
build/styles/block-library/list/style-rtl.min.css 107 B
build/styles/block-library/list/style.css 498 B
build/styles/block-library/list/style.min.css 107 B
build/styles/block-library/loginout/style-rtl.css 68 B
build/styles/block-library/loginout/style-rtl.min.css 61 B
build/styles/block-library/loginout/style.css 68 B
build/styles/block-library/loginout/style.min.css 61 B
build/styles/block-library/math/editor-rtl.css 491 B
build/styles/block-library/math/editor-rtl.min.css 105 B
build/styles/block-library/math/editor.css 502 B
build/styles/block-library/math/editor.min.css 105 B
build/styles/block-library/math/style-rtl.css 70 B
build/styles/block-library/math/style-rtl.min.css 61 B
build/styles/block-library/math/style.css 70 B
build/styles/block-library/math/style.min.css 61 B
build/styles/block-library/media-text/editor-rtl.css 389 B
build/styles/block-library/media-text/editor-rtl.min.css 321 B
build/styles/block-library/media-text/editor.css 389 B
build/styles/block-library/media-text/editor.min.css 320 B
build/styles/block-library/media-text/style-rtl.css 873 B
build/styles/block-library/media-text/style-rtl.min.css 552 B
build/styles/block-library/media-text/style.css 901 B
build/styles/block-library/media-text/style.min.css 550 B
build/styles/block-library/more/editor-rtl.css 796 B
build/styles/block-library/more/editor-rtl.min.css 393 B
build/styles/block-library/more/editor.css 798 B
build/styles/block-library/more/editor.min.css 393 B
build/styles/block-library/navigation-link/editor-rtl.css 1.28 kB
build/styles/block-library/navigation-link/editor-rtl.min.css 710 B
build/styles/block-library/navigation-link/editor.css 1.27 kB
build/styles/block-library/navigation-link/editor.min.css 713 B
build/styles/block-library/navigation-link/style-rtl.css 579 B
build/styles/block-library/navigation-link/style-rtl.min.css 190 B
build/styles/block-library/navigation-link/style.css 579 B
build/styles/block-library/navigation-link/style.min.css 188 B
build/styles/block-library/navigation-overlay-close/style-rtl.css 257 B
build/styles/block-library/navigation-overlay-close/style-rtl.min.css 236 B
build/styles/block-library/navigation-overlay-close/style.css 257 B
build/styles/block-library/navigation-overlay-close/style.min.css 236 B
build/styles/block-library/navigation-submenu/editor-rtl.css 1.12 kB
build/styles/block-library/navigation-submenu/editor-rtl.min.css 295 B
build/styles/block-library/navigation-submenu/editor.css 1.12 kB
build/styles/block-library/navigation-submenu/editor.min.css 294 B
build/styles/block-library/navigation/editor-rtl.css 3.28 kB
build/styles/block-library/navigation/editor-rtl.min.css 2.28 kB
build/styles/block-library/navigation/editor.css 3.29 kB
build/styles/block-library/navigation/editor.min.css 2.28 kB
build/styles/block-library/navigation/style-rtl.css 3.55 kB
build/styles/block-library/navigation/style-rtl.min.css 2.49 kB
build/styles/block-library/navigation/style.css 3.54 kB
build/styles/block-library/navigation/style.min.css 2.48 kB
build/styles/block-library/nextpage/editor-rtl.css 799 B
build/styles/block-library/nextpage/editor-rtl.min.css 392 B
build/styles/block-library/nextpage/editor.css 800 B
build/styles/block-library/nextpage/editor.min.css 392 B
build/styles/block-library/page-list/editor-rtl.css 1.18 kB
build/styles/block-library/page-list/editor-rtl.min.css 356 B
build/styles/block-library/page-list/editor.css 1.18 kB
build/styles/block-library/page-list/editor.min.css 356 B
build/styles/block-library/page-list/style-rtl.css 207 B
build/styles/block-library/page-list/style-rtl.min.css 192 B
build/styles/block-library/page-list/style.css 207 B
build/styles/block-library/page-list/style.min.css 192 B
build/styles/block-library/paragraph/editor-rtl.css 315 B
build/styles/block-library/paragraph/editor-rtl.min.css 292 B
build/styles/block-library/paragraph/editor.css 314 B
build/styles/block-library/paragraph/editor.min.css 292 B
build/styles/block-library/paragraph/style-rtl.css 746 B
build/styles/block-library/paragraph/style-rtl.min.css 341 B
build/styles/block-library/paragraph/style.css 752 B
build/styles/block-library/paragraph/style.min.css 340 B
build/styles/block-library/playlist-track/style-rtl.css 453 B
build/styles/block-library/playlist-track/style-rtl.min.css 420 B
build/styles/block-library/playlist-track/style.css 453 B
build/styles/block-library/playlist-track/style.min.css 420 B
build/styles/block-library/playlist/editor-rtl.css 120 B
build/styles/block-library/playlist/editor-rtl.min.css 112 B
build/styles/block-library/playlist/editor.css 120 B
build/styles/block-library/playlist/editor.min.css 112 B
build/styles/block-library/playlist/style-rtl.css 1.51 kB
build/styles/block-library/playlist/style-rtl.min.css 1.41 kB
build/styles/block-library/playlist/style.css 1.51 kB
build/styles/block-library/playlist/style.min.css 1.41 kB
build/styles/block-library/post-author-biography/style-rtl.css 81 B
build/styles/block-library/post-author-biography/style-rtl.min.css 74 B
build/styles/block-library/post-author-biography/style.css 81 B
build/styles/block-library/post-author-biography/style.min.css 74 B
build/styles/block-library/post-author-name/style-rtl.css 76 B
build/styles/block-library/post-author-name/style-rtl.min.css 69 B
build/styles/block-library/post-author-name/style.css 76 B
build/styles/block-library/post-author-name/style.min.css 69 B
build/styles/block-library/post-author/editor-rtl.css 490 B
build/styles/block-library/post-author/editor-rtl.min.css 104 B
build/styles/block-library/post-author/editor.css 490 B
build/styles/block-library/post-author/editor.min.css 104 B
build/styles/block-library/post-author/style-rtl.css 213 B
build/styles/block-library/post-author/style-rtl.min.css 188 B
build/styles/block-library/post-author/style.css 214 B
build/styles/block-library/post-author/style.min.css 189 B
build/styles/block-library/post-comments-count/style-rtl.css 79 B
build/styles/block-library/post-comments-count/style-rtl.min.css 72 B
build/styles/block-library/post-comments-count/style.css 79 B
build/styles/block-library/post-comments-count/style.min.css 72 B
build/styles/block-library/post-comments-form/editor-rtl.css 104 B
build/styles/block-library/post-comments-form/editor-rtl.min.css 96 B
build/styles/block-library/post-comments-form/editor.css 104 B
build/styles/block-library/post-comments-form/editor.min.css 96 B
build/styles/block-library/post-comments-form/style-rtl.css 585 B
build/styles/block-library/post-comments-form/style-rtl.min.css 525 B
build/styles/block-library/post-comments-form/style.css 584 B
build/styles/block-library/post-comments-form/style.min.css 525 B
build/styles/block-library/post-comments-link/style-rtl.css 78 B
build/styles/block-library/post-comments-link/style-rtl.min.css 71 B
build/styles/block-library/post-comments-link/style.css 78 B
build/styles/block-library/post-comments-link/style.min.css 71 B
build/styles/block-library/post-content/style-rtl.css 68 B
build/styles/block-library/post-content/style-rtl.min.css 61 B
build/styles/block-library/post-content/style.css 68 B
build/styles/block-library/post-content/style.min.css 61 B
build/styles/block-library/post-date/style-rtl.css 69 B
build/styles/block-library/post-date/style-rtl.min.css 62 B
build/styles/block-library/post-date/style.css 69 B
build/styles/block-library/post-date/style.min.css 62 B
build/styles/block-library/post-excerpt/editor-rtl.css 78 B
build/styles/block-library/post-excerpt/editor-rtl.min.css 71 B
build/styles/block-library/post-excerpt/editor.css 78 B
build/styles/block-library/post-excerpt/editor.min.css 71 B
build/styles/block-library/post-excerpt/style-rtl.css 171 B
build/styles/block-library/post-excerpt/style-rtl.min.css 155 B
build/styles/block-library/post-excerpt/style.css 171 B
build/styles/block-library/post-excerpt/style.min.css 155 B
build/styles/block-library/post-featured-image/editor-rtl.css 1.14 kB
build/styles/block-library/post-featured-image/editor-rtl.min.css 719 B
build/styles/block-library/post-featured-image/editor.css 1.14 kB
build/styles/block-library/post-featured-image/editor.min.css 717 B
build/styles/block-library/post-featured-image/style-rtl.css 392 B
build/styles/block-library/post-featured-image/style-rtl.min.css 347 B
build/styles/block-library/post-featured-image/style.css 392 B
build/styles/block-library/post-featured-image/style.min.css 347 B
build/styles/block-library/post-navigation-link/style-rtl.css 234 B
build/styles/block-library/post-navigation-link/style-rtl.min.css 215 B
build/styles/block-library/post-navigation-link/style.css 245 B
build/styles/block-library/post-navigation-link/style.min.css 214 B
build/styles/block-library/post-template/style-rtl.css 1.25 kB
build/styles/block-library/post-template/style-rtl.min.css 414 B
build/styles/block-library/post-template/style.css 1.25 kB
build/styles/block-library/post-template/style.min.css 414 B
build/styles/block-library/post-terms/style-rtl.css 108 B
build/styles/block-library/post-terms/style-rtl.min.css 96 B
build/styles/block-library/post-terms/style.css 108 B
build/styles/block-library/post-terms/style.min.css 96 B
build/styles/block-library/post-time-to-read/style-rtl.css 77 B
build/styles/block-library/post-time-to-read/style-rtl.min.css 70 B
build/styles/block-library/post-time-to-read/style.css 77 B
build/styles/block-library/post-time-to-read/style.min.css 70 B
build/styles/block-library/post-title/style-rtl.css 175 B
build/styles/block-library/post-title/style-rtl.min.css 162 B
build/styles/block-library/post-title/style.css 175 B
build/styles/block-library/post-title/style.min.css 162 B
build/styles/block-library/preformatted/style-rtl.css 511 B
build/styles/block-library/preformatted/style-rtl.min.css 125 B
build/styles/block-library/preformatted/style.css 511 B
build/styles/block-library/preformatted/style.min.css 125 B
build/styles/block-library/pullquote/editor-rtl.css 146 B
build/styles/block-library/pullquote/editor-rtl.min.css 133 B
build/styles/block-library/pullquote/editor.css 146 B
build/styles/block-library/pullquote/editor.min.css 133 B
build/styles/block-library/pullquote/style-rtl.css 765 B
build/styles/block-library/pullquote/style-rtl.min.css 365 B
build/styles/block-library/pullquote/style.css 764 B
build/styles/block-library/pullquote/style.min.css 365 B
build/styles/block-library/pullquote/theme-rtl.css 195 B
build/styles/block-library/pullquote/theme-rtl.min.css 176 B
build/styles/block-library/pullquote/theme.css 195 B
build/styles/block-library/pullquote/theme.min.css 176 B
build/styles/block-library/query-pagination-numbers/editor-rtl.css 134 B
build/styles/block-library/query-pagination-numbers/editor-rtl.min.css 121 B
build/styles/block-library/query-pagination-numbers/editor.css 144 B
build/styles/block-library/query-pagination-numbers/editor.min.css 118 B
build/styles/block-library/query-pagination/editor-rtl.css 168 B
build/styles/block-library/query-pagination/editor-rtl.min.css 154 B
build/styles/block-library/query-pagination/editor.css 168 B
build/styles/block-library/query-pagination/editor.min.css 154 B
build/styles/block-library/query-pagination/style-rtl.css 254 B
build/styles/block-library/query-pagination/style-rtl.min.css 237 B
build/styles/block-library/query-pagination/style.css 265 B
build/styles/block-library/query-pagination/style.min.css 237 B
build/styles/block-library/query-title/style-rtl.css 71 B
build/styles/block-library/query-title/style-rtl.min.css 64 B
build/styles/block-library/query-title/style.css 71 B
build/styles/block-library/query-title/style.min.css 64 B
build/styles/block-library/query-total/style-rtl.css 71 B
build/styles/block-library/query-total/style-rtl.min.css 64 B
build/styles/block-library/query-total/style.css 71 B
build/styles/block-library/query-total/style.min.css 64 B
build/styles/block-library/query/editor-rtl.css 1.28 kB
build/styles/block-library/query/editor-rtl.min.css 438 B
build/styles/block-library/query/editor.css 1.28 kB
build/styles/block-library/query/editor.min.css 438 B
build/styles/block-library/quote/style-rtl.css 255 B
build/styles/block-library/quote/style-rtl.min.css 238 B
build/styles/block-library/quote/style.css 256 B
build/styles/block-library/quote/style.min.css 238 B
build/styles/block-library/quote/theme-rtl.css 253 B
build/styles/block-library/quote/theme-rtl.min.css 233 B
build/styles/block-library/quote/theme.css 254 B
build/styles/block-library/quote/theme.min.css 236 B
build/styles/block-library/read-more/style-rtl.css 146 B
build/styles/block-library/read-more/style-rtl.min.css 131 B
build/styles/block-library/read-more/style.css 146 B
build/styles/block-library/read-more/style.min.css 131 B
build/styles/block-library/reset-rtl.css 936 B
build/styles/block-library/reset-rtl.min.css 467 B
build/styles/block-library/reset.css 936 B
build/styles/block-library/reset.min.css 467 B
build/styles/block-library/rss/editor-rtl.css 144 B
build/styles/block-library/rss/editor-rtl.min.css 126 B
build/styles/block-library/rss/editor.css 144 B
build/styles/block-library/rss/editor.min.css 126 B
build/styles/block-library/rss/style-rtl.css 1.11 kB
build/styles/block-library/rss/style-rtl.min.css 284 B
build/styles/block-library/rss/style.css 1.12 kB
build/styles/block-library/rss/style.min.css 283 B
build/styles/block-library/search/editor-rtl.css 217 B
build/styles/block-library/search/editor-rtl.min.css 199 B
build/styles/block-library/search/editor.css 217 B
build/styles/block-library/search/editor.min.css 199 B
build/styles/block-library/search/style-rtl.css 1.1 kB
build/styles/block-library/search/style-rtl.min.css 665 B
build/styles/block-library/search/style.css 1.1 kB
build/styles/block-library/search/style.min.css 666 B
build/styles/block-library/search/theme-rtl.css 130 B
build/styles/block-library/search/theme-rtl.min.css 113 B
build/styles/block-library/search/theme.css 130 B
build/styles/block-library/search/theme.min.css 113 B
build/styles/block-library/separator/editor-rtl.css 106 B
build/styles/block-library/separator/editor-rtl.min.css 100 B
build/styles/block-library/separator/editor.css 106 B
build/styles/block-library/separator/editor.min.css 100 B
build/styles/block-library/separator/style-rtl.css 284 B
build/styles/block-library/separator/style-rtl.min.css 248 B
build/styles/block-library/separator/style.css 297 B
build/styles/block-library/separator/style.min.css 248 B
build/styles/block-library/separator/theme-rtl.css 226 B
build/styles/block-library/separator/theme-rtl.min.css 195 B
build/styles/block-library/separator/theme.css 226 B
build/styles/block-library/separator/theme.min.css 195 B
build/styles/block-library/shortcode/editor-rtl.css 1.1 kB
build/styles/block-library/shortcode/editor-rtl.min.css 286 B
build/styles/block-library/shortcode/editor.css 1.1 kB
build/styles/block-library/shortcode/editor.min.css 286 B
build/styles/block-library/site-logo/editor-rtl.css 1.12 kB
build/styles/block-library/site-logo/editor-rtl.min.css 696 B
build/styles/block-library/site-logo/editor.css 1.12 kB
build/styles/block-library/site-logo/editor.min.css 692 B
build/styles/block-library/site-logo/style-rtl.css 239 B
build/styles/block-library/site-logo/style-rtl.min.css 218 B
build/styles/block-library/site-logo/style.css 238 B
build/styles/block-library/site-logo/style.min.css 218 B
build/styles/block-library/site-tagline/editor-rtl.css 94 B
build/styles/block-library/site-tagline/editor-rtl.min.css 87 B
build/styles/block-library/site-tagline/editor.css 94 B
build/styles/block-library/site-tagline/editor.min.css 87 B
build/styles/block-library/site-tagline/style-rtl.css 72 B
build/styles/block-library/site-tagline/style-rtl.min.css 65 B
build/styles/block-library/site-tagline/style.css 72 B
build/styles/block-library/site-tagline/style.min.css 65 B
build/styles/block-library/site-title/editor-rtl.css 93 B
build/styles/block-library/site-title/editor-rtl.min.css 85 B
build/styles/block-library/site-title/editor.css 93 B
build/styles/block-library/site-title/editor.min.css 85 B
build/styles/block-library/site-title/style-rtl.css 153 B
build/styles/block-library/site-title/style-rtl.min.css 143 B
build/styles/block-library/site-title/style.css 153 B
build/styles/block-library/site-title/style.min.css 143 B
build/styles/block-library/social-link/editor-rtl.css 346 B
build/styles/block-library/social-link/editor-rtl.min.css 314 B
build/styles/block-library/social-link/editor.css 348 B
build/styles/block-library/social-link/editor.min.css 314 B
build/styles/block-library/social-links/editor-rtl.css 737 B
build/styles/block-library/social-links/editor-rtl.min.css 339 B
build/styles/block-library/social-links/editor.css 738 B
build/styles/block-library/social-links/editor.min.css 338 B
build/styles/block-library/social-links/style-rtl.css 1.57 kB
build/styles/block-library/social-links/style-rtl.min.css 1.51 kB
build/styles/block-library/social-links/style.css 1.57 kB
build/styles/block-library/social-links/style.min.css 1.51 kB
build/styles/block-library/spacer/editor-rtl.css 774 B
build/styles/block-library/spacer/editor-rtl.min.css 346 B
build/styles/block-library/spacer/editor.css 774 B
build/styles/block-library/spacer/editor.min.css 346 B
build/styles/block-library/spacer/style-rtl.css 55 B
build/styles/block-library/spacer/style-rtl.min.css 48 B
build/styles/block-library/spacer/style.css 55 B
build/styles/block-library/spacer/style.min.css 48 B
build/styles/block-library/style-rtl.css 21.5 kB
build/styles/block-library/style-rtl.min.css 18 kB
build/styles/block-library/style.css 21.6 kB
build/styles/block-library/style.min.css 17.9 kB
build/styles/block-library/tab-panel/style-rtl.css 75 B
build/styles/block-library/tab-panel/style-rtl.min.css 64 B
build/styles/block-library/tab-panel/style.css 75 B
build/styles/block-library/tab-panel/style.min.css 64 B
build/styles/block-library/tab/style-rtl.css 233 B
build/styles/block-library/tab/style-rtl.min.css 210 B
build/styles/block-library/tab/style.css 233 B
build/styles/block-library/tab/style.min.css 210 B
build/styles/block-library/table-of-contents/style-rtl.css 89 B
build/styles/block-library/table-of-contents/style-rtl.min.css 83 B
build/styles/block-library/table-of-contents/style.css 89 B
build/styles/block-library/table-of-contents/style.min.css 83 B
build/styles/block-library/table/editor-rtl.css 1.25 kB
build/styles/block-library/table/editor-rtl.min.css 394 B
build/styles/block-library/table/editor.css 1.25 kB
build/styles/block-library/table/editor.min.css 394 B
build/styles/block-library/table/style-rtl.css 1.06 kB
build/styles/block-library/table/style-rtl.min.css 641 B
build/styles/block-library/table/style.css 1.06 kB
build/styles/block-library/table/style.min.css 640 B
build/styles/block-library/table/theme-rtl.css 985 B
build/styles/block-library/table/theme-rtl.min.css 152 B
build/styles/block-library/table/theme.css 985 B
build/styles/block-library/table/theme.min.css 152 B
build/styles/block-library/tabs-menu-item/editor-rtl.css 168 B
build/styles/block-library/tabs-menu-item/editor-rtl.min.css 155 B
build/styles/block-library/tabs-menu-item/editor.css 168 B
build/styles/block-library/tabs-menu-item/editor.min.css 155 B
build/styles/block-library/tabs-menu-item/style-rtl.css 367 B
build/styles/block-library/tabs-menu-item/style-rtl.min.css 337 B
build/styles/block-library/tabs-menu-item/style.css 367 B
build/styles/block-library/tabs-menu-item/style.min.css 337 B
build/styles/block-library/tabs-menu/editor-rtl.css 102 B
build/styles/block-library/tabs-menu/editor-rtl.min.css 93 B
build/styles/block-library/tabs-menu/editor.css 102 B
build/styles/block-library/tabs-menu/editor.min.css 93 B
build/styles/block-library/tabs-menu/style-rtl.css 135 B
build/styles/block-library/tabs-menu/style-rtl.min.css 111 B
build/styles/block-library/tabs-menu/style.css 135 B
build/styles/block-library/tabs-menu/style.min.css 111 B
build/styles/block-library/tabs/style-rtl.css 95 B
build/styles/block-library/tabs/style-rtl.min.css 84 B
build/styles/block-library/tabs/style.css 95 B
build/styles/block-library/tabs/style.min.css 84 B
build/styles/block-library/tag-cloud/style-rtl.css 283 B
build/styles/block-library/tag-cloud/style-rtl.min.css 248 B
build/styles/block-library/tag-cloud/style.css 283 B
build/styles/block-library/tag-cloud/style.min.css 248 B
build/styles/block-library/template-part/editor-rtl.css 1.2 kB
build/styles/block-library/template-part/editor-rtl.min.css 368 B
build/styles/block-library/template-part/editor.css 1.2 kB
build/styles/block-library/template-part/editor.min.css 368 B
build/styles/block-library/template-part/theme-rtl.css 492 B
build/styles/block-library/template-part/theme-rtl.min.css 113 B
build/styles/block-library/template-part/theme.css 492 B
build/styles/block-library/template-part/theme.min.css 113 B
build/styles/block-library/term-count/style-rtl.css 70 B
build/styles/block-library/term-count/style-rtl.min.css 63 B
build/styles/block-library/term-count/style.css 70 B
build/styles/block-library/term-count/style.min.css 63 B
build/styles/block-library/term-description/style-rtl.css 138 B
build/styles/block-library/term-description/style-rtl.min.css 126 B
build/styles/block-library/term-description/style.css 138 B
build/styles/block-library/term-description/style.min.css 126 B
build/styles/block-library/term-name/style-rtl.css 69 B
build/styles/block-library/term-name/style-rtl.min.css 62 B
build/styles/block-library/term-name/style.css 69 B
build/styles/block-library/term-name/style.min.css 62 B
build/styles/block-library/term-template/editor-rtl.css 267 B
build/styles/block-library/term-template/editor-rtl.min.css 225 B
build/styles/block-library/term-template/editor.css 267 B
build/styles/block-library/term-template/editor.min.css 225 B
build/styles/block-library/term-template/style-rtl.css 124 B
build/styles/block-library/term-template/style-rtl.min.css 114 B
build/styles/block-library/term-template/style.css 124 B
build/styles/block-library/term-template/style.min.css 114 B
build/styles/block-library/text-columns/editor-rtl.css 481 B
build/styles/block-library/text-columns/editor-rtl.min.css 95 B
build/styles/block-library/text-columns/editor.css 481 B
build/styles/block-library/text-columns/editor.min.css 95 B
build/styles/block-library/text-columns/style-rtl.css 177 B
build/styles/block-library/text-columns/style-rtl.min.css 165 B
build/styles/block-library/text-columns/style.css 177 B
build/styles/block-library/text-columns/style.min.css 165 B
build/styles/block-library/theme-rtl.css 1.59 kB
build/styles/block-library/theme-rtl.min.css 715 B
build/styles/block-library/theme.css 1.6 kB
build/styles/block-library/theme.min.css 719 B
build/styles/block-library/verse/style-rtl.css 155 B
build/styles/block-library/verse/style-rtl.min.css 137 B
build/styles/block-library/verse/style.css 155 B
build/styles/block-library/verse/style.min.css 137 B
build/styles/block-library/video/editor-rtl.css 825 B
build/styles/block-library/video/editor-rtl.min.css 415 B
build/styles/block-library/video/editor.css 826 B
build/styles/block-library/video/editor.min.css 416 B
build/styles/block-library/video/style-rtl.css 1.02 kB
build/styles/block-library/video/style-rtl.min.css 202 B
build/styles/block-library/video/style.css 1.02 kB
build/styles/block-library/video/style.min.css 202 B
build/styles/block-library/video/theme-rtl.css 967 B
build/styles/block-library/video/theme-rtl.min.css 134 B
build/styles/block-library/video/theme.css 967 B
build/styles/block-library/video/theme.min.css 134 B
build/styles/commands/style-rtl.css 2.01 kB
build/styles/commands/style-rtl.min.css 1.12 kB
build/styles/commands/style.css 2.01 kB
build/styles/commands/style.min.css 1.12 kB
build/styles/components/style-rtl.css 17.6 kB
build/styles/components/style-rtl.min.css 14.4 kB
build/styles/components/style.css 17.7 kB
build/styles/components/style.min.css 14.4 kB
build/styles/customize-widgets/style-rtl.css 2.35 kB
build/styles/customize-widgets/style-rtl.min.css 1.44 kB
build/styles/customize-widgets/style.css 2.35 kB
build/styles/customize-widgets/style.min.css 1.44 kB
build/styles/edit-post/classic-rtl.css 1.29 kB
build/styles/edit-post/classic-rtl.min.css 426 B
build/styles/edit-post/classic.css 1.31 kB
build/styles/edit-post/classic.min.css 427 B
build/styles/edit-post/style-rtl.css 3.92 kB
build/styles/edit-post/style-rtl.min.css 2.56 kB
build/styles/edit-post/style.css 3.93 kB
build/styles/edit-post/style.min.css 2.56 kB
build/styles/edit-site/style-rtl.css 20.6 kB
build/styles/edit-site/style-rtl.min.css 16.6 kB
build/styles/edit-site/style.css 20.6 kB
build/styles/edit-site/style.min.css 16.6 kB
build/styles/edit-widgets/style-rtl.css 5.16 kB
build/styles/edit-widgets/style-rtl.min.css 3.78 kB
build/styles/edit-widgets/style.css 5.15 kB
build/styles/edit-widgets/style.min.css 3.79 kB
build/styles/editor/style-rtl.css 23.4 kB
build/styles/editor/style-rtl.min.css 19.9 kB
build/styles/editor/style.css 23.4 kB
build/styles/editor/style.min.css 19.9 kB
build/styles/format-library/style-rtl.css 735 B
build/styles/format-library/style-rtl.min.css 326 B
build/styles/format-library/style.css 746 B
build/styles/format-library/style.min.css 326 B
build/styles/list-reusable-blocks/style-rtl.css 1.07 kB
build/styles/list-reusable-blocks/style-rtl.min.css 250 B
build/styles/list-reusable-blocks/style.css 1.07 kB
build/styles/list-reusable-blocks/style.min.css 249 B
build/styles/media-utils/style-rtl.css 1.7 kB
build/styles/media-utils/style-rtl.min.css 808 B
build/styles/media-utils/style.css 1.7 kB
build/styles/media-utils/style.min.css 808 B
build/styles/nux/style-rtl.css 1.48 kB
build/styles/nux/style-rtl.min.css 622 B
build/styles/nux/style.css 1.5 kB
build/styles/nux/style.min.css 618 B
build/styles/patterns/style-rtl.css 1.46 kB
build/styles/patterns/style-rtl.min.css 611 B
build/styles/patterns/style.css 1.46 kB
build/styles/patterns/style.min.css 611 B
build/styles/preferences/style-rtl.css 1.26 kB
build/styles/preferences/style-rtl.min.css 415 B
build/styles/preferences/style.css 1.26 kB
build/styles/preferences/style.min.css 415 B
build/styles/reusable-blocks/style-rtl.css 1.11 kB
build/styles/reusable-blocks/style-rtl.min.css 275 B
build/styles/reusable-blocks/style.css 1.11 kB
build/styles/reusable-blocks/style.min.css 275 B
build/styles/widgets/style-rtl.css 2.04 kB
build/styles/widgets/style-rtl.min.css 1.15 kB
build/styles/widgets/style.css 2.04 kB
build/styles/widgets/style.min.css 1.15 kB

compressed-size-action

@tellthemachines
Copy link
Copy Markdown
Contributor

A new BackgroundClipControl component lets users select from the four standard background-clip values — border-box, padding-box, content-box, and text — with live CSS-based previews for each option.

I'm not convinced background-clip is useful as a block support in itself. Reading the issues requesting gradient support for text, I was more thinking this should be an option you could set in text colour. So you'd click color > text, and in the popover you'd have "color" and "gradient" tabs like we currently have in background. Then, if you selected a gradient for text color, background color would either be disabled, or we'd pop up a warning saying that background color doesn't apply to blocks with text color gradients. Does that make sense?

Apart from simplifying the UI, this would have the advantage of not exposing the implementation. Using background-clip to set text gradients is kind of a hack, and it's possible at some point a better way of doing it will be built into CSS, and then we could switch it behind the scenes.

@ramonjd
Copy link
Copy Markdown
Member

ramonjd commented Mar 2, 2026

Thanks for getting this PR up. It does what it say on the tin, and opting in only heading and paragraph makes sense to me for now.

Screenshot 2026-03-02 at 5 18 06 pm

I'm also leaning towards the idea that text gradients should live in color. I'm thinking if someone wants gradient text, their minds go to text color, not how a background gets clipped

But background-clip still might still have value as a background property for the other three values.

I'm wondering if there's a way to split concerns. I mean text gradients > color panel, and background clipping to content/padding box > background panel

I don't expect it to be pretty.

Both paths will ultimately want to write to background-clip from two different UI locations, assuming a block supports both. In the case of Group, I guess so. I like the idea of a warning when text gradient is active for example.

I think we'll keep running into inconsistencies with background, e.g., where the controls should live, should they be unified. I'm interested to hear what the design folks say.

Cheers!

@aaronrobertshaw
Copy link
Copy Markdown
Contributor Author

Thanks both for the thoughtful feedback 👍

These are exactly the concerns I had in the back of my mind when putting this together, and I should have called them out in the description along with some of the ideas I'd discussed privately (adding a section now).

I agree that a user wanting gradient text will think "text color", not "background clip". That said, I'd push back slightly on calling background-clip a hack. It's the established browser mechanism for this and has been for a long time. Even if CSS for text gradients evolves, I wouldn't expect background clip to go away soon. Especially, as the other methods of background clipping would still have their uses.

One idea I've been turning over, was as touched on already: the block support could adaptively change what control it renders based on which clip values are allowed.

Similar to the enum setting used for the Line Indent block support, we could allow themes to define which background clipping options they wish to expose. Alternatively, we could lean on the default controls to be displayed like the Border control. Displaying only the text option by default would be the equivalent to setting only text via the enum option.

If a theme opts into text only, we could surface a gradient picker directly in the Color panel (text color section) that writes to both background and backgroundClip under the hood. If broader values are enabled (border-box, padding-box, content-box), we fall back to the full clip control in the background panel, or simply display the background clip control in addition, minus the text clipping option.

In other words, I'm aligned with @ramonjd on splitting the concerns: text gradient UX → color panel, clip-to-box UX → background panel. Both ultimately write to background-clip, and a warning when there's a conflict seems reasonable.

There's no rush to land this, so happy to wait for design input before settling on the right UI direction.

In the meantime, I might see if I can throw up a quick PoC on splitting the concerns.

@tellthemachines
Copy link
Copy Markdown
Contributor

That said, I'd push back slightly on calling background-clip a hack. It's the established browser mechanism for this and has been for a long time. Even if CSS for text gradients evolves, I wouldn't expect background clip to go away soon. Especially, as the other methods of background clipping would still have their uses.

I don't mean background-clip being deprecated or anything, but other ways of adding gradients to text may become available.

But my main concern here is with exposing background-clip as a tool in the UI. Aside from the text gradient, it doesn't feel useful. Anyone wanting to apply a background color to the content box only can achieve similar effects by using margins instead of padding, so as a control background-clip doesn't add much value in itself. Is it worth the extra complexity introduced by a new block support? Personally I don't think so.

It would be good to have @WordPress/gutenberg-design opinions on this before proceeding.

@aaronrobertshaw
Copy link
Copy Markdown
Contributor Author

Anyone wanting to apply a background color to the content box only can achieve similar effects by using margins instead of padding, so as a control background-clip doesn't add much value in itself.

I'm not sure margins are a reliable substitute here.

Padding creates space inside the border, margins outside it. So as soon as a block has a visible border, you can't replicate padding-box or content-box clipping with margins. The border would need to live on a separate wrapper element, which means extra markup and an additional block to work around the limitation.

Then there's border-box clipping with dashed or dotted borders, which is a unique visual effect with no workaround at all.

Is it worth the extra complexity introduced by a new block support? Personally I don't think so.

It's worth noting that a new block support is needed either way.

Even if we only ever expose the text gradient use case, that still requires a new block support whether it's under the banner of the color group of supports or background.

It still requires background-clip under the hood to so the question is really if there's any benefit in exposing the additional box clipping values on top of that, and I think for some theme authors building more expressive layouts it is.

The UI concern is real, though, and I agree that surfacing background clip directly isn't ideal for most cases.

I'm exploring that separately at the moment, the idea being that the text gradient use case gets a friendlier home in the colour panel and the box-clipping values only appear if a theme explicitly opts into them. So in practice, most users would never encounter a "background clip" control at all other than the text gradient control.

@ramonjd
Copy link
Copy Markdown
Member

ramonjd commented Mar 3, 2026

Then there's border-box clipping with dashed or dotted borders, which is a unique visual effect with no workaround at all.

I can imagine padding-box in particular being useful. I'm just looking at the examples at https://developer.mozilla.org/en-US/docs/Web/CSS/Reference/Properties/background-clip

@jasmussen
Copy link
Copy Markdown
Contributor

jasmussen commented Mar 3, 2026

This is cool stuff. To be reductive, yes we definitely want for it to be trivial to apply gradients to apply to just the text, like this.

I also appreciate the broader ping, and the discussion already about this element, which I tend to echo:

Skærmbillede 2026-03-03 kl  11 17 37

This is a very complicated UI, and unless you know what padding-box, border-box, and background clip do, this will not be intuitive for very many people to use, and it most likely will not be easily with someone with an "I want to add a gradient to just the text" job in mind.

In that sense, I see two paths forward for landing this, but would appreciate broader input by those already pinged.

  1. Embrace the advanced nature of background clip.
    The path this PR is already on. We need to consider the full spectrum of where border-box, padding-box, and background-clip features are useful, so we add this feature not just for block background. And we cast it as an advanced feature, definitely not shown by default (i.e. Advanced panel, or "add via ToolsPanel" disclosure), and add verbose help text. Patterns with text gradients already applied could still be a discovery mechanism, and theme designers can benefit.l
  2. We rethink the feature as not about background-clip, but about text gradients
    This is an alternate approach that abstracts away padding-box/border-box/background-clip as just elements in a feature. Similar to "fit text", we'd need to think of a way to package this up that is simle and mostly intuitive.

For us to decide between the two, we'd need to take inventory of all the different ways the clip options can be used to create interesting designs. If it presents a compelling picture, we can go that way.

But absent that, 2 resonates in that it could possibly be as simple as this, which is arguably what is already being proposed:

image

I.e. add "gradient" as a tab on the Text color control.

@aaronrobertshaw
Copy link
Copy Markdown
Contributor Author

A proof of concept is taking shape, though a number of problems were encountered while trying to build the combined text gradient control on top of color.gradient. The main issue is that color.gradient uses the background CSS shorthand, which can't be updated simultaneously with background-clip to produce the text gradient effect. Attempting to do so throws errors in the editor.

The proof of concept in #76171 addresses this by building on the proposed background.gradient support from #75859 instead.

There are still a number of rough edges in the UI so it isn't ready for demo or testing yet, but should be by later this week or early next.


One consideration worth raising: combining the background gradient and background clip into a single text gradient control removes the ability to clip a background image to text rather than a gradient. While testing, this turned out to produce some interesting aesthetics, particularly on large, chunky headings.

Once the proof of concept is more fleshed out, it would be worth evaluating whether the hybrid approach strikes the right balance between a streamlined text gradient flow and split controls (background image + background clip) for clipping a background image to text

@ramonjd
Copy link
Copy Markdown
Member

ramonjd commented Mar 5, 2026

combining the background gradient and background clip into a single text gradient control removes the ability to clip a background image to text rather than a gradient

It would be very cool to clip to an image. I'm just speaking for myself 😄

building on the proposed background.gradient support from #75859 instead.

This is pretty out there, but this reminds me of this idea: #60401 (comment)

background-image can have multiple stacked layers, and combined with opacity can open up some truly funky designs.

@jasmussen
Copy link
Copy Markdown
Contributor

ses the background CSS shorthand, which can't be updated simultaneously with background-clip to produce the text gradient effect. Attempting to do so throws errors in the editor.

This is an early morning vague thought, I've no idea if relevant. But you could:

element {
	background: ...;
	background-clip: ...;
}

I.e. you don't have to put the clip part inside the shorthand selector, it can still exist separately to it, so long as it's below the shorthand declaration. I use this often with things like background and background-position.

Adding a background image is certainly interesting. But it's a difficult balance we're trying to strike here; the ability to add a "gradient" tab to the color panel seems so straight-forward and relatively intuitive, that I think it will make an excellent UI for this. Whereas the alternative can very easily get complex, UI wise. It's also arguably a bit of an edge-case to use images for this, so I'd personally be comfortable relegating this to requiring custom CSS for now.

However, and connecting back to #38577, one option to explore in the future, would be to add a 3rd tab, "Pattern" (or "Image") to the text color flyout, which would let you pick from a couple of bundled pattern images, or pick your own. Provided we could find the space for it (not much room for more tabs) and phrasing, that could unlock the UI for it. I think it'd be fine to explore, but I'd still keep it separate for now. Is that fair?

@aaronrobertshaw
Copy link
Copy Markdown
Contributor Author

Just to be clear, I'm fully on board with adding a gradient tab to the Color panel's text section. The questions are really about what it builds on and how much of the underlying functionality we expose.

I.e. you don't have to put the clip part inside the shorthand selector, it can still exist separately to it, so long as it's below the shorthand declaration.

Thanks @jasmussen. The issue isn't about CSS declaration order, though. Block support styles are applied as React inline style objects, and React throws a runtime error when a style object contains both a shorthand property and a longhand it covers, in this case background and background-clip. There's no cascade to exploit here, in my understanding.

There are actually two separate questions. The first is which gradient support the text gradient control should build on. The second is whether theme authors should have access to the full background-clip functionality we're building anyway, beyond just the text gradient use case. The PoC in #76171 is exploring both.

On the first question, a few things worth laying out:

  1. color.gradient conflicts with background image support due to its use of the background shorthand. This is a known limitation and the reason background.gradient in Block Supports: Add background gradient support that can combine with background images #75859 was proposed.
  2. That same conflict is what makes building text gradient on top of color.gradient problematic. We'd be adding a new feature on foundations we've already identified as needing replacement.
  3. Building on background.gradient also opens up more design freedom, since a text gradient could still be combined with a background image.

On the second question, the tradeoff with background.gradient is that it lives in the Background panel while also being settable via the Color panel's text gradient control, which requires some UX coordination between the two. But if we're solving that coordination problem for the gradient control, the same approach can be applied to a background.backgroundClip control, giving theme authors and block developers flexibility to expose as much or as little of the clipping functionality as they need. The base theme.json could disable the background clip UI by default, making it a deliberate opt-in for theme authors rather than something end users encounter unexpectedly.

On the image clipping point, agreed it's a niche case for now, and custom CSS is a reasonable fallback. The "Pattern/Image" tab idea is worth keeping in mind for later. The main concern is that collapsing clip into the gradient control and the color block supports early would make it harder to surface image clipping when the time comes.

So yes, broadly fair, with the caveat that the path to a gradient tab in the Color panel probably runs through background.gradient rather than color.gradient.

I hope all that makes sense 🤞

@ramonjd
Copy link
Copy Markdown
Member

ramonjd commented Mar 5, 2026

Building on background.gradient also opens up more design freedom, since a text gradient could still be combined with a background image.
the tradeoff with background.gradient is that it lives in the Background panel while also being settable via the Color panel's text gradient control, which requires some UX coordination between the two.
the caveat that the path to a gradient tab in the Color panel probably runs through background.gradient rather than color.gradient.

I have a bias toward fixing the background/background-* conflict, which has been reported in lots of places.

If it can be done under the hood, and it allows us to tread lightly in the UI and open up more design options for discussion I'm all for it!

Thanks for the laying out the issues and the great discussion 🙇🏻

@aaronrobertshaw
Copy link
Copy Markdown
Contributor Author

Closing this PR in favour of #76171 which is based off #75859 so we can avoid the errors thrown due to color.background's use of the shorthand background CSS property.

#76171 also iterates on the UI discussions started here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

[Block] Heading Affects the Headings Block [Block] Paragraph Affects the Paragraph Block [Feature] Colors Color management [Feature] Design Tools Tools that impact the appearance of blocks both to expand the number of tools and improve the experi [Feature] Typography Font and typography-related issues and PRs Needs Design Feedback Needs general design feedback. [Type] Enhancement A suggestion for improvement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Styles: add gradient support to text color options Add a text gradient block support

4 participants