[design showcase] - #3352
Open
pwizla wants to merge 7 commits into
Open
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
A lone 200 response rendered its status header and code without the content border used by multi-status responses. Draw a single bordered box around the header + code (matching the tabs-container border, minus the tab bar), strip the inner code block's own border and bottom margin so it blends into the box with no double border or double gap, and keep the header and JSON left-aligned. The copy button still copies only the code, not the status label.
* Fix note admonition and linked inline-code contrast/consistency - note admonition: rework background/border/inline-code colors in both light and dark mode so text meets WCAG AA (4.5:1) against their backgrounds - all inline code wrapped in a link: prepend a link icon (Phosphor), reduce font-weight from bold to regular, and normalize the border width to 1px to match admonition borders (previously 1.6px via Infima's default) * Extend contrast/consistency fixes to remaining admonition variants - tip/success, caution, danger/warning, info/callout, strapi, subtle, prerequisites: rework background/border/inline-code colors in both light and dark mode, following the same pattern established for the note admonition (light: tinted bg @60%, full-strength borders/code-bg; dark: @6%/@12%/@20% opacity layers) - fix a pre-existing bug where the `warning` admonition type used red (danger) colors in light mode but orange (caution) colors in dark mode — now consistently red/danger in both themes - unify inline-code-in-tables to the same neutral grey as info/subtle/prerequisites, instead of a separate, different grey - fix default (non-admonition) inline code in dark mode rendering white instead of the intended primary blue - caution text color in light mode uses a custom #CA3500 (darker than the darkest available warning-700 token) since even warning-700 falls short of WCAG AA against the caution background
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.
This PR shows all the available components.
Components: https://documentation-git-repo-summer-2026-redesign-all-97d3d2-strapijs.vercel.app/cms/design-showcase/components
API components: https://documentation-git-repo-summer-2026-redesign-all-97d3d2-strapijs.vercel.app/cms/design-showcase/api-components