Skip to content

Commit a2778f6

Browse files
committed
fix(web): keep blockquote text readable in every theme
1 parent 807319c commit a2778f6

1 file changed

Lines changed: 2 additions & 5 deletions

File tree

‎apps/web/src/index.css‎

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1980,16 +1980,13 @@ code {
19801980
}
19811981

19821982
:is(.chat-markdown, .composer-tiptap) blockquote {
1983-
border-inline-start: 2px solid var(--contrast-border);
1983+
border-inline-start: 2px solid color-mix(in srgb, currentcolor 35%, transparent);
19841984
padding-inline-start: 0.8rem;
1985-
color: var(--contrast-muted-foreground);
1985+
color: inherit;
19861986
}
19871987

1988-
/* A quote in the composer is text the user is still writing; muting it reads
1989-
as disabled in an input, so the border alone carries the quote. */
19901988
.composer-tiptap blockquote {
19911989
margin: 0.65rem 0;
1992-
color: var(--foreground);
19931990
}
19941991

19951992
/* Preflight already draws the 1px rule, as it does in chat; only the block

0 commit comments

Comments
 (0)