Skip to content

Commit a2418a5

Browse files
committed
[css] Modernize Asides styling
1 parent afef9da commit a2418a5

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

src/styles/global.css

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,12 @@
6565
--sl-color-gray-5: #353841;
6666
--sl-color-gray-6: #24272f;
6767
--sl-color-black: #0b1418;
68+
69+
--sl-color-orange-low: hsl(var(--sl-hue-orange), 39%, 15%);
70+
--sl-color-green-low: hsl(var(--sl-hue-green), 39%, 15%);
71+
--sl-color-blue-low: hsl(var(--sl-hue-blue), 54%, 18%);
72+
--sl-color-purple-low: hsl(var(--sl-hue-purple), 39%, 15%);
73+
--sl-color-red-low: hsl(var(--sl-hue-red), 39%, 15%);
6874
}
6975
/* Light mode colors. */
7076
:root[data-theme="light"] {
@@ -80,6 +86,12 @@
8086
--sl-color-gray-6: #eceef2;
8187
--sl-color-gray-7: #f5f6f8;
8288
--sl-color-black: #ffffff;
89+
90+
--sl-color-orange-low: hsl(var(--sl-hue-orange), 90%, 90%);
91+
--sl-color-green-low: hsl(var(--sl-hue-green), 85%, 92%);
92+
--sl-color-blue-low: hsl(var(--sl-hue-blue), 88%, 94%);
93+
--sl-color-purple-low: hsl(var(--sl-hue-purple), 80%, 94%);
94+
--sl-color-red-low: hsl(var(--sl-hue-red), 80%, 94%);
8395
}
8496

8597
@theme {
@@ -410,3 +422,7 @@ header.header {
410422
max-width: 72rem;
411423
margin-inline: auto;
412424
}
425+
426+
.starlight-aside {
427+
border: 1px solid var(--sl-color-asides-border);
428+
}

0 commit comments

Comments
 (0)