Repository navigation
Give renderer components owned and inheritable styles - #135
Merged
Merged
Conversation
Merged
tenphi
added a commit
that referenced
this pull request
Oct 15, 2026
…rders (#160) - Sidebar: the next item's fill covered the lower edge of a focused link's ring. `Sidebar.InteractiveControl` now positions focus-visible controls with `z-index: 1`, so the ring draws above its neighbors. - Main content: `#main-content` (tabindex -1) receives focus when its text is clicked, and a key press then made it match :focus-visible, so keyboard scrolling drew the browser's ring around the whole article. It is a skip-link and page-swap target, not a control; drop its outline. - Pagination: #135 reduced the link's `$border-width solid #border` to a bare `borderColor` when the top-bar icon borders were removed, and #147 made it `#clear`, so links lost their resting border. Restore `border: true`. Hover only recolors, so geometry is unchanged and `theme.styles.Pagination.Link` border overrides still apply. Co-authored-by: Claude Opus 5.5 <[email protected]>
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.
Replacing Header previously removed fonts, document defaults, and unrelated UI styling because Header rendered the shared GlobalStyles collector. Initialize foundations from the common page shell and give each component an owning style module. Built-in and consumer components now share configurable component creation and inheritance.
Validation: several review/fix rounds; 377 unit tests and all 61 browser tests; desktop/mobile and light/dark computed-style comparisons; TypeScript checks; zero-warning lint; formatting; package boundaries; unused-dependency checks; theming, authoring, and recipe consumer builds; packed npm and Yarn installations with public TypeScript and ESLint/oxlint validation; reference CSS/JS/font/image budgets. Browser coverage includes built-in data-element identities, the absence of legacy markers, independent metadata states, custom end-margin preservation, nested spacing-token isolation, heading-level customization, anatomy override scope, compact root-state customization, retained media dimensions, prose and tab spacing, inherited button defaults, custom Header/Head and standalone CodeGroup, appearance precedence, menus, search, code copy, accessibility, and responsive logos. CI also runs the packed-consumer matrix across npm, pnpm, Yarn, Linux, macOS, Windows, and supported Node versions.