mirror of
https://github.com/astral-sh/ruff.git
synced 2025-12-15 22:14:44 +00:00
fix(docs): admonition in dark mode (#9502)
## Summary The admonition in dark mode are in actually same as in light mode here: https://docs.astral.sh/ruff/formatter/#ruff-format I propose to move admonition in real dark mode as shown below: - Before the PR https://github.com/astral-sh/ruff/pull/9385  - Current version  - Proposal  Close #9501 ## Test Plan Documentation was regenerated via mkdocs and the supplied requirements.
This commit is contained in:
parent
957a1f35c4
commit
ef2798f758
1 changed files with 3 additions and 2 deletions
|
|
@ -99,6 +99,7 @@
|
|||
}
|
||||
|
||||
/* See: https://github.com/astral-sh/ruff/issues/9046 */
|
||||
[data-md-color-scheme="astral-dark"] div.admonition p a {
|
||||
color: var(--flare);
|
||||
[data-md-color-scheme="astral-dark"] div.admonition {
|
||||
color: var(--md-code-fg-color);
|
||||
background-color: var(--md-code-bg-color);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue