Add Site Tagline and Site Title to Design > Identity panel#76264
Add Site Tagline and Site Title to Design > Identity panel#76264ntsekouras merged 3 commits intotrunkfrom
Conversation
|
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 If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message. To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook. |
|
Size Change: +155 B (0%) Total Size: 7.74 MB 📦 View Changed
ℹ️ View Unchanged
|
@ntsekouras curious what the best approach is here. Without doing this, the descriptions were different sizes and it looked rough. |
|
Flaky tests detected in 6ce032d. 🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/24122839888
|
| } | ||
|
|
||
| .fields__media-edit-description { | ||
| font-size: $helptext-font-size; |
There was a problem hiding this comment.
@jameskoster I updated the help font size here to address Anne's comment. I believe it's fine, but do you see any drawback with this?
There was a problem hiding this comment.
Oh good spot. Yes help text should always be 12px. Is the line-height also consistent with other controls?
Currently we recommend using tokens from the Theme package for styling text since Text is a bit outdated (new version coming soon: #75870).
There was a problem hiding this comment.
Geez I left my review as pending, sorry.
There was a problem hiding this comment.
@jameskoster I updated the line-height to match the other help texts. Do you issue any issues with the css now?
Noting that I had a discussion with @mirka recently about the new Text component and is not ready right now to be stabilized.
There was a problem hiding this comment.
That's great news! I'll see to test it out in a separate PR. We have a few fields that are using the old one too.
Adds Site Title and Site Tagline as text fields to the Design > Identity panel, alongside the existing Site Logo and Site Icon media fields. Both fields edit the `root/site` entity (`title` and `description` properties), so changes are reflected by the Site Title and Site Tagline blocks in the editor preview. Uses a custom TextEdit component that renders field descriptions with `<Text variant="muted">` to match how MediaEdit renders its descriptions. The built-in DataForm text control renders descriptions via InputControl's `help` prop, which produces a smaller font size. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
d0602fd to
6ce032d
Compare
ntsekouras
left a comment
There was a problem hiding this comment.
Let's get this in, thank you!


Summary
Adds Site Title and Site Tagline text fields to the Design > Identity panel, alongside the existing Site Logo and Site Icon media fields added in #76116. Closes #76261.
root/siteentity (titleanddescriptionproperties from/wp/v2/settings), so changes are reflected by the Site Title and Site Tagline blocks in the editor preview.TextEditcomponent that renders field descriptions with<Text variant="muted">to match howMediaEditrenders its descriptions. The built-in DataForm text control renders descriptions viaInputControl'shelpprop, which produces a smaller font size — the custom component ensures visual consistency across all four fields.Test plan
🤖 Generated with Claude Code