docs: Improve warning callout docs (#17997)
This PR is a quick follow-up to https://github.com/zed-industries/zed/pull/1795. 😊 Release Notes: - N/A
This commit is contained in:
Vendored
+1
-1
@@ -268,7 +268,7 @@ blockquote .warning:before {
|
|||||||
.warning {
|
.warning {
|
||||||
margin: auto;
|
margin: auto;
|
||||||
padding: 1rem 1.25rem;
|
padding: 1rem 1.25rem;
|
||||||
color: var(--fg);
|
color: var(--full-contrast);
|
||||||
background-color: var(--warning-bg);
|
background-color: var(--warning-bg);
|
||||||
border: 1px solid var(--warning-border);
|
border: 1px solid var(--warning-border);
|
||||||
}
|
}
|
||||||
|
|||||||
Vendored
+5
-1
@@ -111,7 +111,7 @@
|
|||||||
--icons-hover: hsl(220, 14%, 90%);
|
--icons-hover: hsl(220, 14%, 90%);
|
||||||
--icon-btn-bg-hover: hsl(220, 93%, 42%, 0.4);
|
--icon-btn-bg-hover: hsl(220, 93%, 42%, 0.4);
|
||||||
|
|
||||||
--links: hsl(220, 93%, 70%);
|
--links: hsl(220, 93%, 75%);
|
||||||
--link-line-decoration: hsl(220, 92%, 80%, 0.4);
|
--link-line-decoration: hsl(220, 92%, 80%, 0.4);
|
||||||
--link-line-decoration-hover: hsl(220, 92%, 80%, 0.8);
|
--link-line-decoration-hover: hsl(220, 92%, 80%, 0.8);
|
||||||
--full-contrast: #fff;
|
--full-contrast: #fff;
|
||||||
@@ -136,6 +136,10 @@
|
|||||||
--table-header-bg: hsl(220, 13%, 25%, 0.5);
|
--table-header-bg: hsl(220, 13%, 25%, 0.5);
|
||||||
--table-alternate-bg: hsl(220, 13%, 20%, 0.4);
|
--table-alternate-bg: hsl(220, 13%, 20%, 0.4);
|
||||||
|
|
||||||
|
--warning-border: hsl(25, 100%, 85%, 0.2);
|
||||||
|
--warning-bg: hsl(42, 100%, 40%, 0.1);
|
||||||
|
--warning-icon: hsl(42, 100%, 80%);
|
||||||
|
|
||||||
--searchbar-border-color: hsl(220, 13%, 30%);
|
--searchbar-border-color: hsl(220, 13%, 30%);
|
||||||
--searchbar-bg: hsl(220, 13%, 22%, 0.5);
|
--searchbar-bg: hsl(220, 13%, 22%, 0.5);
|
||||||
--searchbar-fg: hsl(220, 14%, 71%);
|
--searchbar-fg: hsl(220, 14%, 71%);
|
||||||
|
|||||||
Reference in New Issue
Block a user