Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

Fix the rendering of warning text in our docs (#17958)

Mikayla Maki447a5d6e6e95
diff --git a/docs/theme/css/general.css b/docs/theme/css/general.css
index e6905b47bf4..6f086a10524 100644
--- a/docs/theme/css/general.css
+++ b/docs/theme/css/general.css
@@ -268,7 +268,7 @@ blockquote .warning:before {
.warning {
margin: auto;
padding: 1rem 1.25rem;
- color: #000;
+ color: var(--fg);
background-color: var(--warning-bg);
border: 1px solid var(--warning-border);
}