Skip to content

fix(docs): use dark colors for the rule legend - #30754

Merged
MichaReiser merged 1 commit into
astral-sh:mainfrom
hector2394:fix/30751-rule-legend-colors
Nov 24, 2026
Merged

MichaReiser merged 1 commit into
astral-sh:mainfrom
hector2394:fix/30751-rule-legend-colors

Conversation

@hector2394

Copy link
Copy Markdown
Contributor

Summary

The Rule legend panel has a white background in dark mode, making its preview link hard to read. Apply the existing dark admonition colors to disclosure panels so the legend follows the selected theme.

Fixes #30751.

Testing

Checked the panel, text, and link colors in Chrome. All five assertions passed, including the light-mode comparison. git diff --check passed.

Use the existing dark panel colors for disclosure panels so the rule legend is readable in dark mode.
@ntBre

ntBre commented Nov 23, 2026

Copy link
Copy Markdown
Contributor

Could you include a screenshot of the updated dropdown? That will be much more helpful testing evidence than git diff --check passing.

@ntBre ntBre added the bot:ai-policy-comment Trigger a bot comment explaining the org AI policy label Nov 23, 2026
@astral-automations-bot

Copy link
Copy Markdown
Contributor

We support using AI (i.e., LLMs) while coding. However, AI should not be used to communicate with maintainers.

Please read and follow our AI policy when submitting issues and pull requests.

@hector2394

Copy link
Copy Markdown
Contributor Author
image There you go sorry :)

@MichaReiser
MichaReiser merged commit f4a4aa0 into astral-sh:main Nov 24, 2026
58 checks passed
@MichaReiser

Copy link
Copy Markdown
Member

Thank you

@MichaReiser MichaReiser added the documentation Improvements or additions to public-facing documentation label Nov 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bot:ai-policy-comment Trigger a bot comment explaining the org AI policy documentation Improvements or additions to public-facing documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

rules legend doc dropdown light mode

3 participants