Repository navigation
Replace admonition left bar with logo-style corners - #248
Merged
Merged
Conversation
knstvk
approved these changes
Nov 18, 2026
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.
The 4px left bar on admonition blocks is a common default in generated pages, and it made our docs look generic. This PR removes it.
Each block keeps its tinted background and 1px border and gets two corners in the type color, top left and bottom right. As in the corners of the Jmix logo, the long arm is twice the short one. In the logo the corners turn the other way; here the long arm runs along the long side of the block, which fits a wide block better.
tokens.css: corner size tokens--admonition-corner-long,--admonition-corner-shortand--admonition-corner-width.site.css: the corners are the::beforeand::afterof the block table, drawn over the border. The left padding now equals the right one.tools/ui-audit.mjs: checks the corners instead of the left border.Checks:
node tools/check-css.mjsreports no problems.node tools/ui-audit.mjspasses styles, theme, focus, skip, names, search and fonts.contrastandforcedfail onrelease_3too: after the BPM pages were reworked,bpmn-eventshas no WARNING block andtransactionshas no admonitions. The audit pages need a separate fix.Before:
After: