mirror of https://github.com/astral-sh/ruff
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
|
|
@ -99,6 +99,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
/* See: https://github.com/astral-sh/ruff/issues/9046 */
|
/* See: https://github.com/astral-sh/ruff/issues/9046 */
|
||||||
[data-md-color-scheme="astral-dark"] div.admonition p a {
|
[data-md-color-scheme="astral-dark"] div.admonition {
|
||||||
color: var(--flare);
|
color: var(--md-code-fg-color);
|
||||||
|
background-color: var(--md-code-bg-color);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue