|
63 | 63 | } |
64 | 64 |
|
65 | 65 | .docs-prose [data-rehype-pretty-code-figure] code { |
66 | | - font-family: var(--font-mono), monospace; |
| 66 | + font-family: var(--font-mono); |
67 | 67 | font-size: inherit; |
68 | 68 | background: none !important; |
69 | 69 | padding: 0 !important; |
|
90 | 90 | * table columns squeeze below the chip width and wrap `agent` as agen/t. */ |
91 | 91 | word-break: normal; |
92 | 92 | overflow-wrap: break-word; |
93 | | - font-family: var(--font-mono), monospace; |
| 93 | + font-family: var(--font-mono); |
94 | 94 | font-size: 0.85em; |
95 | 95 | background: var(--color-accent-surface); |
96 | 96 | color: var(--color-accent); |
|
255 | 255 | color: var(--color-accent); |
256 | 256 | } |
257 | 257 | .ag-ui-arch-box-title { |
258 | | - font-family: "JetBrains Mono", monospace; |
| 258 | + font-family: var(--font-mono); |
259 | 259 | font-size: 0.95rem; |
260 | 260 | font-weight: 600; |
261 | 261 | color: var(--color-text-primary); |
|
360 | 360 | /* |
361 | 361 | * mdx components (components/docs/mdx/*.tsx) — presentation for the MDX |
362 | 362 | * content components authored inside docs pages. |
363 | | - * |
364 | | - * Font-family exception: see the top of ui.css for the next/font shadowing |
365 | | - * rationale. `tokens.typography.fontSans/fontMono/fontSerif` are raw stacks |
366 | | - * and are copied through verbatim below ('Inter, system-ui, sans-serif', |
367 | | - * '"JetBrains Mono", monospace', '"EB Garamond", Georgia, serif'); |
368 | | - * `tokens.typography.body.family` is already `var(--font-inter)` and is |
369 | | - * copied through as the var. |
| 363 | + * Fonts: unified onto the next/font vars — see the font note atop ui.css. |
370 | 364 | */ |
371 | 365 |
|
372 | 366 | /* mdx — Callout */ |
|
408 | 402 | height: 20px; |
409 | 403 | border-radius: var(--radius-full); |
410 | 404 | color: var(--color-text-inverted); |
411 | | - font-family: "JetBrains Mono", monospace; |
| 405 | + font-family: var(--font-mono); |
412 | 406 | font-size: 11px; |
413 | 407 | font-weight: 700; |
414 | 408 | flex-shrink: 0; |
|
426 | 420 | background: var(--color-angular-red); |
427 | 421 | } |
428 | 422 | .mdx-callout-title { |
429 | | - font-family: Inter, system-ui, sans-serif; |
| 423 | + font-family: var(--font-inter); |
430 | 424 | font-size: 15px; |
431 | 425 | color: var(--color-text-primary); |
432 | 426 | font-weight: 600; |
|
460 | 454 | border-radius: var(--radius-full); |
461 | 455 | background: var(--color-accent); |
462 | 456 | color: var(--color-text-inverted); |
463 | | - font-family: "JetBrains Mono", monospace; |
| 457 | + font-family: var(--font-mono); |
464 | 458 | font-size: 14px; |
465 | 459 | font-weight: 700; |
466 | 460 | display: inline-flex; |
|
490 | 484 | padding-bottom: 8px; |
491 | 485 | } |
492 | 486 | .mdx-step-title { |
493 | | - font-family: Inter, system-ui, sans-serif; |
| 487 | + font-family: var(--font-inter); |
494 | 488 | font-size: 17px; |
495 | 489 | font-weight: 600; |
496 | 490 | color: var(--color-text-primary); |
|
539 | 533 | margin-bottom: 6px; |
540 | 534 | } |
541 | 535 | .mdx-card-title { |
542 | | - font-family: "EB Garamond", Georgia, serif; |
| 536 | + font-family: var(--font-garamond); |
543 | 537 | font-weight: 700; |
544 | 538 | font-size: 0.95rem; |
545 | 539 | color: var(--color-text-primary); |
|
570 | 564 | } |
571 | 565 | .mdx-tab-button { |
572 | 566 | padding: 10px 18px; |
573 | | - font-family: "JetBrains Mono", monospace; |
| 567 | + font-family: var(--font-mono); |
574 | 568 | font-size: 0.8rem; |
575 | 569 | font-weight: 400; |
576 | 570 | color: var(--color-text-secondary); |
|
637 | 631 | } |
638 | 632 | .mdx-codegroup-tab { |
639 | 633 | padding: 8px 14px; |
640 | | - font-family: "JetBrains Mono", monospace; |
| 634 | + font-family: var(--font-mono); |
641 | 635 | font-size: 0.7rem; |
642 | 636 | font-weight: 400; |
643 | 637 | color: var(--color-text-secondary); |
|
698 | 692 | margin-bottom: 8px; |
699 | 693 | } |
700 | 694 | .mdx-chip-title { |
701 | | - font-family: Inter, system-ui, sans-serif; |
| 695 | + font-family: var(--font-inter); |
702 | 696 | font-size: 13px; |
703 | 697 | font-weight: 600; |
704 | 698 | color: var(--color-text-primary); |
705 | 699 | margin-bottom: 4px; |
706 | 700 | } |
707 | 701 | .mdx-chip-signal { |
708 | | - font-family: "JetBrains Mono", monospace; |
| 702 | + font-family: var(--font-mono); |
709 | 703 | font-size: 10px; |
710 | 704 | color: var(--color-accent); |
711 | 705 | } |
|
760 | 754 | min-width: 0; |
761 | 755 | } |
762 | 756 | .docs-sidebar-lib-trigger-label { |
763 | | - font-family: "JetBrains Mono", monospace; |
| 757 | + font-family: var(--font-mono); |
764 | 758 | font-size: 0.8rem; |
765 | 759 | } |
766 | 760 | .docs-sidebar-lib-caret { |
|
792 | 786 | min-width: 0; |
793 | 787 | } |
794 | 788 | .docs-sidebar-lib-item-title { |
795 | | - font-family: "JetBrains Mono", monospace; |
| 789 | + font-family: var(--font-mono); |
796 | 790 | font-weight: 600; |
797 | 791 | color: var(--color-text-primary); |
798 | 792 | font-size: 0.8rem; |
|
853 | 847 | font-size: 0.8rem; |
854 | 848 | } |
855 | 849 | .docs-sidebar-search-kbd { |
856 | | - font-family: "JetBrains Mono", ui-monospace, monospace; |
| 850 | + font-family: var(--font-mono); |
857 | 851 | font-size: 0.65rem; |
858 | 852 | color: var(--color-text-muted); |
859 | 853 | background: var(--color-surface-dim); |
|
1008 | 1002 | /* Typography on the LIST, not the links: the separators are siblings of the |
1009 | 1003 | * links inside each li, and when only the links carried 13px the first two |
1010 | 1004 | * separators inherited body's 16px/24px and floated 3px high (findings §3). */ |
1011 | | - font-family: Inter, system-ui, sans-serif; |
| 1005 | + font-family: var(--font-inter); |
1012 | 1006 | font-size: 13px; |
1013 | 1007 | line-height: 1.5; |
1014 | 1008 | } |
|
1042 | 1036 | min-width: 0; |
1043 | 1037 | } |
1044 | 1038 | .docs-page-header-label { |
1045 | | - font-family: "JetBrains Mono", monospace; |
| 1039 | + font-family: var(--font-mono); |
1046 | 1040 | font-size: 11px; |
1047 | 1041 | letter-spacing: 0.08em; |
1048 | 1042 | text-transform: uppercase; |
|
1077 | 1071 | align-items: center; |
1078 | 1072 | gap: 7px; |
1079 | 1073 | padding: 7px 12px; |
1080 | | - font-family: Inter, system-ui, sans-serif; |
| 1074 | + font-family: var(--font-inter); |
1081 | 1075 | font-size: 13px; |
1082 | 1076 | font-weight: 500; |
1083 | 1077 | color: var(--color-text-secondary); |
|
1149 | 1143 | width: 100%; |
1150 | 1144 | text-align: left; |
1151 | 1145 | padding: 8px 12px; |
1152 | | - font-family: Inter, system-ui, sans-serif; |
| 1146 | + font-family: var(--font-inter); |
1153 | 1147 | font-size: 13px; |
1154 | 1148 | color: var(--color-text-primary); |
1155 | 1149 | background: transparent; |
|
1591 | 1585 | margin-bottom: 8px; |
1592 | 1586 | } |
1593 | 1587 | .docs-prevnext-title { |
1594 | | - font-family: Inter, system-ui, sans-serif; |
| 1588 | + font-family: var(--font-inter); |
1595 | 1589 | font-size: 16px; |
1596 | 1590 | font-weight: 600; |
1597 | 1591 | color: var(--color-accent); |
|
0 commit comments