|
682 | 682 | </script> |
683 | 683 | <!-- vite.config.ts stamps the web build's channel into this title. --> |
684 | 684 | <title>T3 Code</title> |
| 685 | + <!-- Lazurio shell (docs/operations/lazurio-fork-release.md "Lazurio shell"): served by the Environment's Launchpad; absent outside Lazurio. --> |
| 686 | + <script type="module" src="/.lazurio/shell.js" vite-ignore></script> |
| 687 | + <style> |
| 688 | + #root { |
| 689 | + box-sizing: border-box; |
| 690 | + padding-left: var(--lazurio-rail-width, 0px); |
| 691 | + } |
| 692 | + /* T3's sidebar and its toggle are position: fixed; contain them beside the rail, not under it. */ |
| 693 | + lazurio-rail:defined ~ #root [data-slot="sidebar-wrapper"] { |
| 694 | + contain: layout paint; |
| 695 | + } |
| 696 | + /* The shell's colour roles, from T3's own sidebar tokens, so the shell follows every T3 |
| 697 | + theme, light and dark. Declared where T3 recomputes its sidebar palette, so they resolve |
| 698 | + against the sidebar's own values; the rail joins that scope (data-app-sidebar) and reads |
| 699 | + as one surface with T3's sidebar. */ |
| 700 | + :root, |
| 701 | + [data-app-sidebar] { |
| 702 | + --lazurio-surface: var(--sidebar); |
| 703 | + --lazurio-ink: var(--contrast-sidebar-foreground); |
| 704 | + --lazurio-ink-muted: var(--contrast-sidebar-muted-foreground); |
| 705 | + --lazurio-line: var(--contrast-sidebar-border); |
| 706 | + --lazurio-line-strong: color-mix( |
| 707 | + in oklab, |
| 708 | + var(--contrast-sidebar-foreground) 24%, |
| 709 | + var(--sidebar) |
| 710 | + ); |
| 711 | + --lazurio-hover: var(--sidebar-row-hover); |
| 712 | + --lazurio-selected: var(--sidebar-row-selected); |
| 713 | + --lazurio-control: var(--sidebar-control-surface); |
| 714 | + --lazurio-raised: var(--sidebar-row-active); |
| 715 | + --lazurio-overlay: var(--popover); |
| 716 | + --lazurio-overlay-ink: var(--contrast-popover-foreground); |
| 717 | + --lazurio-focus: var(--ring); |
| 718 | + } |
| 719 | + /* The column head keeps the inset the Launchpad's column gives it (10 px each side), so the |
| 720 | + picker and the switch stand where they do in Apps and in the prototype. */ |
| 721 | + #root lazurio-column-head { |
| 722 | + margin-inline: 10px; |
| 723 | + } |
| 724 | + /* T3 grains its chrome surfaces (surface-grain); without it the rail reads a shade apart. */ |
| 725 | + lazurio-rail:defined { |
| 726 | + background-image: var(--surface-grain); |
| 727 | + background-repeat: repeat; |
| 728 | + background-size: var(--surface-grain-size); |
| 729 | + } |
| 730 | + </style> |
685 | 731 | </head> |
686 | 732 | <body> |
| 733 | + <lazurio-rail data-app-sidebar app="chat"></lazurio-rail> |
687 | 734 | <div id="root"> |
688 | 735 | <div id="boot-shell"> |
689 | 736 | <div id="boot-shell-card" aria-label="T3 Code splash screen"> |
690 | 737 | <img id="boot-shell-logo" src="/apple-touch-icon.png" alt="T3 Code" /> |
691 | 738 | </div> |
692 | 739 | </div> |
693 | 740 | </div> |
| 741 | + <lazurio-buddy></lazurio-buddy> |
694 | 742 | <script type="module" src="/src/bootstrap.ts"></script> |
695 | 743 | </body> |
696 | 744 | </html> |