|
3 | 3 | @import 'streamdown/styles.css'; |
4 | 4 | @import 'katex/dist/katex.min.css'; |
5 | 5 |
|
6 | | -/* Source Serif 4 reading face for AI prose. Chrome stays Inter. */ |
7 | | -@import '@fontsource/source-serif-4/400.css'; |
8 | | -@import '@fontsource/source-serif-4/400-italic.css'; |
| 6 | +/* Nunito: single typeface for both UI chrome and AI prose. */ |
| 7 | +@import '@fontsource/nunito/400.css'; |
| 8 | +@import '@fontsource/nunito/500.css'; |
| 9 | +@import '@fontsource/nunito/600.css'; |
| 10 | +@import '@fontsource/nunito/700.css'; |
9 | 11 |
|
10 | 12 | @theme { |
11 | 13 | --font-sans: |
12 | | - 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, |
| 14 | + 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, |
13 | 15 | Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif; |
14 | 16 |
|
15 | 17 | /* Brand palette - single source of truth for all color decisions */ |
@@ -190,16 +192,14 @@ body { |
190 | 192 | display: none; |
191 | 193 | } |
192 | 194 |
|
193 | | -/* AI prose reading face: serif body, warm cream, looser leading. Scoped to |
194 | | - * .markdown-body so UI chrome (labels, buttons, search trace) stays Inter. |
195 | | - * User bubble renders via renderUserContent, not MarkdownRenderer. |
196 | | - */ |
| 195 | +/* AI prose: warm cream, looser leading. Scoped to .markdown-body so UI chrome stays separate. */ |
197 | 196 | .markdown-body { |
198 | | - font-family: 'Source Serif 4', Charter, 'Iowan Old Style', Georgia, serif; |
199 | | - color: #efe3cc; |
200 | | - font-size: 15.5px; |
201 | | - line-height: 1.65; |
| 197 | + font-family: var(--font-sans); |
| 198 | + color: #fbe8c6; |
| 199 | + font-size: 16.5px; |
| 200 | + line-height: 1.6; |
202 | 201 | letter-spacing: 0.3px; |
| 202 | + font-weight: 600; |
203 | 203 | } |
204 | 204 |
|
205 | 205 | /* ─── Markdown Body: Prose Defaults ─── |
|
0 commit comments