Skip to content

Commit d5ed679

Browse files
committed
Add blockquote styles
1 parent e023d88 commit d5ed679

1 file changed

Lines changed: 10 additions & 3 deletions

File tree

src/styles/global.css

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,9 @@
3737
/* Base colors */
3838
--color-terminal-gray-900: #1e1e2e;
3939
--color-terminal-gray-700: #45475a;
40-
--color-terminal-gray-500: #585b70;
40+
--color-terminal-gray-600: #585b70;
41+
--color-terminal-gray-500: #6c7086;
42+
--color-terminal-gray-400: #7f849c;
4143
--color-terminal-gray-300: #a6adc8;
4244
--color-terminal-gray-100: #bac2de;
4345
--color-terminal-red: #f38ba8;
@@ -206,6 +208,7 @@ a:focus {
206208
.prose {
207209
--flow-space: var(--space-m);
208210
hyphens: auto;
211+
color: var(--color-text-dim);
209212
}
210213

211214
.prose :is(h1) {
@@ -228,11 +231,10 @@ a:focus {
228231
text-wrap: balance;
229232
}
230233

231-
.prose :is(p, li, dl, figcaption, blockquote) {
234+
.prose :is(p, li, dl, figcaption) {
232235
max-width: 75ch;
233236
text-wrap: pretty;
234237
overflow-wrap: break-word;
235-
color: var(--color-text-dim);
236238
}
237239

238240
.prose :is(figure, table),
@@ -253,6 +255,11 @@ a:focus {
253255
--flow-space: var(--space-2xl);
254256
}
255257

258+
.prose :is(blockquote) {
259+
border-left: 4px solid var(--color-terminal-gray-700);
260+
padding: var(--space-2xs) var(--space-xs);
261+
}
262+
256263
/* Expressive Code overrides */
257264
.expressive-code .title {
258265
background-clip: border-box !important;

0 commit comments

Comments
 (0)