Repository navigation
[6.x] UI tweaks: Craft 5 colors and tidier chrome - #20612
Merged
Merged
Conversation
Slate’s color keys are now Craft 5’s gray-050 through gray-900, so base, which shares them, and the surfaces built on it, take Craft 5’s blue-gray. base-200’s ratio drops to 1.1 to land on Craft 5’s gray-100. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01V33uARgrvVtiFqtAthPJbg
The accent blue (Save, selected states, lightswitches, links) matches Craft 5’s link blue. Leonardo keeps each stop’s contrast. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01V33uARgrvVtiFqtAthPJbg
Adds --c-surface-page (Craft 5’s gray-100) and --c-surface-details (a lighter gray-050), and a --cp-details-bg variable the details pane, its overlay panels, and the Activity and Ask AI composer fades share. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01V33uARgrvVtiFqtAthPJbg
Drawn by an overlay on the pane, so the composers’ fades can’t cover it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01V33uARgrvVtiFqtAthPJbg
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01V33uARgrvVtiFqtAthPJbg
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01V33uARgrvVtiFqtAthPJbg
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01V33uARgrvVtiFqtAthPJbg
craft-breadcrumbs now spaces its separators evenly, so the end margin these added doubled the gap after each one. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01V33uARgrvVtiFqtAthPJbg
Expanded rows with an icon now pad by the border less, so their icons sit where collapsed rows center them. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01V33uARgrvVtiFqtAthPJbg
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01V33uARgrvVtiFqtAthPJbg
Applies to buttons slotted as an action menu’s or popover’s invoker. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01V33uARgrvVtiFqtAthPJbg
The header drops its dark theme, fill, shadow, and borders (keeping a bottom border on mobile), takes in the space above the body panel, lines the system info up with the nav items (truncating long names, and keeping the name when collapsed), and centers the avatar on the details rail with the last icon ending where the details pane does. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01V33uARgrvVtiFqtAthPJbg
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01V33uARgrvVtiFqtAthPJbg
Adds --cp-chrome-icon-size (12px) and --cp-chrome-icon-color (slate-700), shared by the global nav, header, breadcrumb, details rail, and content tab icons. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01V33uARgrvVtiFqtAthPJbg
Also moves #20599's entry up with the other control panel changes. [ci skip] Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01V33uARgrvVtiFqtAthPJbg
📚 Storybook previews@craftcms/ui — open Storybook Changed components:
resources/js — open Storybook No changed components detected in this Storybook. |
Over a cover image the buttons have a backing of their own, so they keep the gap that plain ones dropped. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01V33uARgrvVtiFqtAthPJbg
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01V33uARgrvVtiFqtAthPJbg
A tooltip's fill is always black, but what it holds took the page's theme, so in the light theme the key caps in the header's Search and Ask AI tooltips were pale on pale. The dark header used to cover for this. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01V33uARgrvVtiFqtAthPJbg
Beside a visible label, a field's actions now follow the label and its required and translatable indicators rather than sitting at the far end of the heading. The translation button and the field's action menu are flush, so the label text, indicators and buttons all sit the same distance apart. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01V33uARgrvVtiFqtAthPJbg
brianjhanson
approved these changes
Nov 12, 2026
So its description opens on a press, including on touch screens, rather than on hover. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01V33uARgrvVtiFqtAthPJbg
A lone crumb with no switcher just repeats the page’s heading. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01V33uARgrvVtiFqtAthPJbg
[ci skip] Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01V33uARgrvVtiFqtAthPJbg
# Conflicts: # CHANGELOG.md # packages/craftcms-ui/src/components/nav-item/nav-item.styles.ts
…wn tests The tooltip checklist cited the field's translation test, which now covers an info icon instead. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01V33uARgrvVtiFqtAthPJbg
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Brings back Craft 5's colors and tightens up the chrome around the content.
--cp-details-bg, and a subtle inset shadow on its leading edge. Ask AI's input is transparent, like the comment box.craft-info-icon, so its description opens on press (and on touch) rather than hover.Evidence
All in light mode, on an entry page.
Full screen
Before:

After:

Sidebar collapsed
Before:

After:

Mobile
Before
After
🤖 Generated with Claude Code
https://claude.ai/code/session_01V33uARgrvVtiFqtAthPJbg