Update docs for twelve-ui changes#628
Open
formfcw wants to merge 4 commits into
Open
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This was referenced Apr 13, 2026
…e migration callout; refresh module tutorials
…ght opacity 0.333 (#678)
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.
Summary
Docs updates for the Directus 12 studio design refresh (directus/directus#27394).
Extension guides
private-viewslots table (5.modules.md): clarified the new layout in line with the actual code changes.headlineslot is deprecated (not removed). Existing content now renders prepended to the title.actions:appendslot is deprecated (not renamed). Existing content keeps rendering in the secondary actions zone alongside theactionsslot.actions:primaryis a new slot for the page's primary CTA (labeled, prominent button).6.themes.md): updated to use the newshellscope, and added a migration callout listing the v12 theme schema breaking changes:navigation.*/header.*background & border tokens → moved toshell.*(CSS vars--theme--navigation--*/--theme--header--*→--theme--shell--*).header.headline.foreground/header.headline.fontFamilyremoved alongside theheadlineslot.borderColorFocus,boxShadowHover,boxShadowFocus→ replaced byfocusRingColor(--theme--form--field--input--focus-ring-color).navigation.project.*removed.section.toggle.borderWidth/section.toggle.borderColorremoved (use section-level border tokens).headerShadow/sidebarShadowno longer exposed bydefineLayout();boxShadowremoved from header theme rules.Tutorials
Refreshed the two module tutorials that still demonstrated deprecated APIs:
understand-available-slots-in-custom-modules.md: dropped theheadlineslot section (usedv-breadcrumb, both deprecated), removedroundedfrom allv-buttonexamples (prop deprecated, no functional impact), and added a section showing the newactions:primaryslot.implement-navigation-in-multipage-custom-modules.md: removed the entire breadcrumb workflow (refs, render logic,#headlineslot, screenshots) since bothv-breadcrumband#headlineare deprecated in v12.