Skip to content

Commit fcc2e00

Browse files
committed
style/admonitions: add background color
1 parent a68f351 commit fcc2e00

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

apps/client/src/stylesheets/style.css

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2277,9 +2277,8 @@ footer.webview-footer button {
22772277

22782278
.admonition {
22792279
--accent-color: var(--card-border-color);
2280+
background: color-mix(in srgb, var(--accent-color) 15%, transparent);
22802281
border: 1px solid var(--accent-color);
2281-
box-shadow: var(--card-box-shadow);
2282-
background: var(--card-background-color);
22832282
border-radius: 0.5em;
22842283
padding: 1em;
22852284
margin: 1.25em 0;

apps/client/src/stylesheets/theme-next/notes/text.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -354,6 +354,7 @@
354354
align-items: center;
355355
width: 100%;
356356
margin: 4px;
357+
background: color-mix(in srgb, var(--accent) 15%, var(--main-background-color));
357358
padding-inline-end: 2em;
358359
border: 1px solid var(--accent);
359360
border-radius: 6px;

0 commit comments

Comments
 (0)