Skip to content

Docs: show the dark-mode border on API example panels - #53

Merged
liyangbing merged 1 commit into
mainfrom
codex/docs-dark-panel-border
Nov 1, 2026
Merged

liyangbing merged 1 commit into
mainfrom
codex/docs-dark-panel-border

Conversation

@liyangbing

Copy link
Copy Markdown
Contributor

Follow-up to #52. The dark-mode border rule in the component's scoped style didn't match the panel, so the border never appeared. This moves the rule into custom.css, next to the fenced-code border rule.

Local check: the panel border is #36363a in dark mode and unchanged in light mode. npm run validate passes.

The :global(.dark) rule in the scoped style compiled to a selector that did not
match; move it next to the fenced-code rule in custom.css.
@liyangbing
liyangbing merged commit 9e07390 into main Nov 1, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant