Skip to content
1,151 linesCodeBlameRaw

Pick any line to see why it is the way it is: the commit, the pull request and issue it came from, and what the agent was thinking.

Secrets and variables kept from before stay with workflows1@import "tailwindcss" source(".");
2@import "@g1t/theme/tokens.css";
Invite-only launch: sign in with GitHub, repository access and lifecycle, many emails, a new look3@import "@g1t/theme/fonts.css";
Secrets and variables kept from before stay with workflows4
5/* Tailwind's names for the shared g1t tokens. */
6@theme {
7 --font-sans: var(--g1t-font-sans);
Invite-only launch: sign in with GitHub, repository access and lifecycle, many emails, a new look8 --font-display: var(--g1t-font-display);
Secrets and variables kept from before stay with workflows9 --font-mono: var(--g1t-font-mono);
10
Invite-only launch: sign in with GitHub, repository access and lifecycle, many emails, a new look11 /* Hanken and Bricolage want less tightening than a text face set close. */
12 --tracking-tight: -0.012em;
13
You choose how g1t looks: Auto follows your system, Light and Dark stay put, set from the account menu, the phone's You and help sheet, Settings → Account or the command palette; the page is drawn in your choice from the first byte, every colour has a light value that reads at 4.5:1 or better, code and diffs are highlighted for both, diagrams and the document editor follow along, the product tour and the g1t mark's avatar stay dark, and Dark is what you see until you choose; the workspaces guide says how.14 /*
15 * Every colour is a pair: light-dark() picks the light palette or the
16 * dark one by the element's color-scheme, which follows the Appearance
17 * setting (lib/theme.ts, set on <html> below). Something drawn dark on
18 * purpose in either theme, such as a product screenshot, sets
19 * `scheme-dark` and its tokens stay dark.
20 */
21 --color-bg: light-dark(var(--g1t-light-bg), var(--g1t-bg));
The left-hand navigation takes less room and reads at a glance. The dock becomes a rail: a 56-pixel column of icons with the g1t mark on top, the current app marked by a filled square, hover hints naming each with its shortcut, the apps you pinned in a scrolling band, and Apps, People, Workspace and your account at the foot. Each mode's sidebar sits flush against it, 240 pixels wide, opening on Search or jump to and listing its groups under small labels in 36-pixel rows; Ctrl B hides it and the page grows into the room. Every mode's list is built on the shadcn Sidebar now in the kit, so Workspace, Code, People, Notifications, account settings, Chat, Artifacts and Agents all share one frame; the phone keeps its bottom bar and drawer. The workspaces guide describes the rail, the sidebar and the page.22 /*
23 * The app's frame (components/shell.tsx, components/ui/sidebar.tsx):
24 * the page is a rounded panel on the shell; the sidebar sits flat on the
25 * same surface beside it, and the rail, the narrow column of icons at
26 * the window's edge, is a step apart: white in the light theme, near
27 * black in the dark one. The current row or icon is a muted fill.
28 */
29 --color-shell: light-dark(#efefed, #0b0b0d);
30 --color-sidebar: var(--color-shell);
31 --color-sidebar-accent: light-dark(#e1e1de, #1c1c20);
32 --color-sidebar-border: light-dark(#e0e0dd, #1d1d22);
33 --color-rail: light-dark(#ffffff, #050507);
You choose how g1t looks: Auto follows your system, Light and Dark stay put, set from the account menu, the phone's You and help sheet, Settings → Account or the command palette; the page is drawn in your choice from the first byte, every colour has a light value that reads at 4.5:1 or better, code and diffs are highlighted for both, diagrams and the document editor follow along, the product tour and the g1t mark's avatar stay dark, and Dark is what you see until you choose; the workspaces guide says how.34 --color-surface: light-dark(var(--g1t-light-surface), var(--g1t-surface));
35 --color-raised: light-dark(var(--g1t-light-raised), var(--g1t-raised));
36 --color-line: light-dark(var(--g1t-light-line), var(--g1t-line));
37 --color-line-strong: light-dark(var(--g1t-light-line-strong), var(--g1t-line-strong));
Secrets and variables kept from before stay with workflows38
You choose how g1t looks: Auto follows your system, Light and Dark stay put, set from the account menu, the phone's You and help sheet, Settings → Account or the command palette; the page is drawn in your choice from the first byte, every colour has a light value that reads at 4.5:1 or better, code and diffs are highlighted for both, diagrams and the document editor follow along, the product tour and the g1t mark's avatar stay dark, and Dark is what you see until you choose; the workspaces guide says how.39 --color-fg: light-dark(var(--g1t-light-fg), var(--g1t-fg));
40 --color-fg-soft: light-dark(var(--g1t-light-fg-soft), var(--g1t-fg-soft));
41 /* A primary button's hover: brighter than fg on dark, softer on light. */
42 --color-fg-hover: light-dark(#3a3a41, #ffffff);
43 --color-muted: light-dark(var(--g1t-light-muted), var(--g1t-muted));
44 --color-faint: light-dark(var(--g1t-light-faint), var(--g1t-faint));
Secrets and variables kept from before stay with workflows45
You choose how g1t looks: Auto follows your system, Light and Dark stay put, set from the account menu, the phone's You and help sheet, Settings → Account or the command palette; the page is drawn in your choice from the first byte, every colour has a light value that reads at 4.5:1 or better, code and diffs are highlighted for both, diagrams and the document editor follow along, the product tour and the g1t mark's avatar stay dark, and Dark is what you see until you choose; the workspaces guide says how.46 --color-accent: light-dark(var(--g1t-light-accent), var(--g1t-accent));
47 --color-accent-hover: light-dark(var(--g1t-light-accent-hover), var(--g1t-accent-hover));
48 --color-accent-dim: light-dark(var(--g1t-light-accent-dim), var(--g1t-accent-dim));
49 --color-accent-low: light-dark(var(--g1t-light-accent-low), var(--g1t-accent-low));
50 /* The accent at its palest on dark, a middle lavender on light: the headline's gradient. */
51 --color-accent-high: light-dark(#8b76e0, #d9d1ff);
Secrets and variables kept from before stay with workflows52
You choose how g1t looks: Auto follows your system, Light and Dark stay put, set from the account menu, the phone's You and help sheet, Settings → Account or the command palette; the page is drawn in your choice from the first byte, every colour has a light value that reads at 4.5:1 or better, code and diffs are highlighted for both, diagrams and the document editor follow along, the product tour and the g1t mark's avatar stay dark, and Dark is what you see until you choose; the workspaces guide says how.53 --color-success: light-dark(var(--g1t-light-success), var(--g1t-success));
54 --color-success-dim: light-dark(var(--g1t-light-success-dim), var(--g1t-success-dim));
55 --color-success-low: light-dark(var(--g1t-light-success-low), var(--g1t-success-low));
Merge branch 'worktree-agent-ad7c6d88d93adc817'56
You choose how g1t looks: Auto follows your system, Light and Dark stay put, set from the account menu, the phone's You and help sheet, Settings → Account or the command palette; the page is drawn in your choice from the first byte, every colour has a light value that reads at 4.5:1 or better, code and diffs are highlighted for both, diagrams and the document editor follow along, the product tour and the g1t mark's avatar stay dark, and Dark is what you see until you choose; the workspaces guide says how.57 --color-info: light-dark(var(--g1t-light-info), var(--g1t-info));
58 --color-merged: light-dark(var(--g1t-light-merged), var(--g1t-merged));
59 --color-warn: light-dark(var(--g1t-light-warn), var(--g1t-warn));
60 --color-danger: light-dark(var(--g1t-light-danger), var(--g1t-danger));
Secrets and variables kept from before stay with workflows61
62 --animate-fade-up: fade-up 0.6s ease-out both;
63 --animate-dash: dash 1.2s linear infinite;
Agents have faces, and are never mistaken for people. Every agent wears a little bot face drawn from a look it owns, shape, colour, eyes, mouth, antenna, accessory and pattern, chosen in its builder and on its Profile tab with a live preview, Shuffle and a way back to the face its seed gives it; the face blinks on its own time, breathes, narrows its eyes while the agent works, shuts them asleep and bounces when it finishes, all of it still for anyone who asked for less motion. Wherever an agent shows, in chat, in a list, on a mention, on a review or a commit, its avatar carries an agent marker, and the people reading it are told so. In Chat, direct messages are two lists: People, and Agents, which also holds the agents you haven't talked to yet; a conversation with both a person and an agent in it is marked in the list, named in the conversation's header, spelled out by the composer and explained once the first time it opens. Agents keep their look in the agents service, which every service passes along. The chat and agents guides say so, and CONTRIBUTING makes the shared avatar the only way to draw an agent.64 /* A template's creature, on hover: a small, quick wiggle (components/agent-avatar.tsx). */
Merge the workspace shell: navigation and phone shell, g1t as orchestrator, agents in roles with audience-checked reads, reactions and custom emoji, live notifications and browser push, the homepage tour (agents 0002, chat 0002)65 --animate-wiggle: wiggle 0.45s ease-in-out;
Workspace names and icons, and a component kit for every control66
67 /* Menus, popovers and dialogs (components/ui): in quickly, out quicker. */
68 --animate-pop-in: pop-in 0.16s cubic-bezier(0.16, 1, 0.3, 1);
69 --animate-pop-out: pop-out 0.1s ease-in forwards;
70 --animate-fade-in: fade-in 0.16s ease-out;
71 --animate-fade-out: fade-out 0.12s ease-in forwards;
72 --animate-dialog-in: dialog-in 0.2s cubic-bezier(0.16, 1, 0.3, 1);
73 --animate-dialog-out: dialog-out 0.12s ease-in forwards;
Inbox: a bell in the top bar opens it beside the page, and /inbox holds it all74 /* Sheets (components/ui/sheet.tsx) slide in from their edge. */
75 --animate-sheet-in-right: sheet-in-right 0.24s cubic-bezier(0.16, 1, 0.3, 1);
76 --animate-sheet-out-right: sheet-out-right 0.16s ease-in forwards;
77 --animate-sheet-in-left: sheet-in-left 0.24s cubic-bezier(0.16, 1, 0.3, 1);
78 --animate-sheet-out-left: sheet-out-left 0.16s ease-in forwards;
79}
80
Merge the workspace shell: navigation and phone shell, g1t as orchestrator, agents in roles with audience-checked reads, reactions and custom emoji, live notifications and browser push, the homepage tour (agents 0002, chat 0002)81@keyframes sheet-in-bottom {
82 from {
83 transform: translateY(100%);
84 }
85}
86
Inbox: a bell in the top bar opens it beside the page, and /inbox holds it all87@keyframes sheet-in-right {
88 from {
89 transform: translateX(100%);
90 }
91}
92
93@keyframes sheet-out-right {
94 to {
95 transform: translateX(100%);
96 }
97}
98
99@keyframes sheet-in-left {
100 from {
101 transform: translateX(-100%);
102 }
103}
104
105@keyframes sheet-out-left {
106 to {
107 transform: translateX(-100%);
108 }
Workspace names and icons, and a component kit for every control109}
110
111@keyframes pop-in {
112 from {
113 opacity: 0;
114 transform: scale(0.96) translateY(-2px);
115 }
116}
117
118@keyframes pop-out {
119 to {
120 opacity: 0;
121 transform: scale(0.96);
122 }
123}
124
125@keyframes fade-in {
126 from {
127 opacity: 0;
128 }
129}
130
131@keyframes fade-out {
132 to {
133 opacity: 0;
134 }
135}
136
137@keyframes dialog-in {
138 from {
139 opacity: 0;
140 transform: translateY(6px) scale(0.97);
141 }
142}
143
144@keyframes dialog-out {
145 to {
146 opacity: 0;
147 transform: translateY(6px) scale(0.97);
148 }
Secrets and variables kept from before stay with workflows149}
150
Invite-only launch: sign in with GitHub, repository access and lifecycle, many emails, a new look151/* Never from nothing: the first paint already shows the words. */
Secrets and variables kept from before stay with workflows152@keyframes fade-up {
153 from {
Invite-only launch: sign in with GitHub, repository access and lifecycle, many emails, a new look154 opacity: 0.4;
Secrets and variables kept from before stay with workflows155 transform: translateY(8px);
156 }
157}
158
Merge the workspace shell: navigation and phone shell, g1t as orchestrator, agents in roles with audience-checked reads, reactions and custom emoji, live notifications and browser push, the homepage tour (agents 0002, chat 0002)159@keyframes wiggle {
160 25% {
161 transform: rotate(-8deg);
162 }
163 60% {
164 transform: rotate(6deg);
165 }
166}
167
Secrets and variables kept from before stay with workflows168@keyframes dash {
169 to {
170 stroke-dashoffset: -16;
171 }
172}
173
You choose how g1t looks: Auto follows your system, Light and Dark stay put, set from the account menu, the phone's You and help sheet, Settings → Account or the command palette; the page is drawn in your choice from the first byte, every colour has a light value that reads at 4.5:1 or better, code and diffs are highlighted for both, diagrams and the document editor follow along, the product tour and the g1t mark's avatar stay dark, and Dark is what you see until you choose; the workspaces guide says how.174/*
Agents have faces, and are never mistaken for people. Every agent wears a little bot face drawn from a look it owns, shape, colour, eyes, mouth, antenna, accessory and pattern, chosen in its builder and on its Profile tab with a live preview, Shuffle and a way back to the face its seed gives it; the face blinks on its own time, breathes, narrows its eyes while the agent works, shuts them asleep and bounces when it finishes, all of it still for anyone who asked for less motion. Wherever an agent shows, in chat, in a list, on a mention, on a review or a commit, its avatar carries an agent marker, and the people reading it are told so. In Chat, direct messages are two lists: People, and Agents, which also holds the agents you haven't talked to yet; a conversation with both a person and an agent in it is marked in the list, named in the conversation's header, spelled out by the composer and explained once the first time it opens. Agents keep their look in the agents service, which every service passes along. The chat and agents guides say so, and CONTRIBUTING makes the shared avatar the only way to draw an agent.175 * An agent's face (components/agent-face.tsx). Its colours are the face's
176 * own body colour (set on the element, a light-dark() pair) and these: the
177 * ink of its eyes and mouth, a second ink for what sits outside the head,
178 * the rim around its head, a highlight, the glow of a visor or a working
179 * face, and two accents for a bow and a spark. It moves with transforms and opacity only: a blink and a breath
180 * on its own beat (the delays are set per face from its seed), a pulse
181 * while it works, a bounce when it is happy, a z when it sleeps. The
182 * reduced-motion rule below stops every one of them, and the state's
183 * still pose (narrowed or closed eyes) is a plain transform, so it holds.
184 */
185.agent-face {
186 --face-ink: #1b1b22;
187 /* What sits outside the head (antenna, hat, headphones, a z) reads on the page, not the body. */
188 --face-ink-out: light-dark(#1b1b22, #e9e9ee);
189 --face-rim: color-mix(in oklab, var(--face-body), #000 24%);
190 --face-light: #ffffff;
191 --face-glow: light-dark(#0d7a52, #86efc4);
192 --face-ribbon: light-dark(#6b52c8, #b6a8ff);
193 --face-spark: light-dark(#d4a90f, #f2dc72);
194 display: inline-block;
195 vertical-align: middle;
196}
197.agent-face .face-bob,
198.agent-face .face-eyes,
199.agent-face .face-pupils,
200.agent-face .face-glow,
201.agent-face .face-bulb,
202.agent-face .face-spark,
203.agent-face .face-z {
204 transform-box: fill-box;
205 transform-origin: center;
206}
207.agent-face .face-bob {
208 animation: face-bob 4.2s ease-in-out infinite;
209 animation-delay: var(--face-bob-delay, 0s);
210}
211.agent-face .face-eyes {
212 animation: face-blink var(--face-blink-period, 5s) ease-in-out infinite;
213 animation-delay: var(--face-blink-delay, 0s);
214}
215.agent-face .face-pupils {
216 transition: transform 0.25s ease-out;
217}
218/* A glance toward the pointer, on hover only. */
219.agent-face:hover .face-pupils,
220a:hover > .agent-face .face-pupils,
221button:hover > .agent-face .face-pupils {
222 transform: translateX(2.5px);
223}
224.agent-face .face-glow {
225 opacity: 0;
226}
227.agent-face .face-spark {
228 animation: face-twinkle 2.8s ease-in-out infinite;
229 animation-delay: var(--face-bob-delay, 0s);
230}
231/* Working: eyes narrowed, no blink, a soft pulse around the head and in the bulb. */
232.agent-face[data-state="working"] .face-eyes {
233 animation: none;
234 transform: scaleY(0.55);
235}
236.agent-face[data-state="working"] .face-glow {
237 animation: face-pulse 1.6s ease-in-out infinite;
238}
239.agent-face[data-state="working"] .face-bulb {
240 animation: face-bulb 1.6s ease-in-out infinite;
241}
242/* Asleep: eyes shut, a slower breath, a z drifting up. */
243.agent-face[data-state="asleep"] .face-eyes {
244 animation: none;
245 transform: scaleY(0.1);
246}
247.agent-face[data-state="asleep"] .face-bob {
248 animation-duration: 6s;
249}
250.agent-face[data-state="asleep"] .face-z {
251 animation: face-zz 2.6s ease-in-out infinite;
252}
253.agent-face[data-state="asleep"] .face-z-2 {
254 animation-delay: 1.3s;
255}
256/* Happy: a bounce, twice, then still. */
257.agent-face[data-state="happy"] .face-bob {
258 animation: face-happy 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) 2;
259}
260@keyframes face-blink {
261 0%,
262 91%,
263 100% {
264 transform: scaleY(1);
265 }
266 94%,
267 96% {
268 transform: scaleY(0.08);
269 }
270}
271@keyframes face-bob {
272 0%,
273 100% {
274 transform: translateY(0);
275 }
276 50% {
277 transform: translateY(-1.6px);
278 }
279}
280@keyframes face-pulse {
281 0%,
282 100% {
283 opacity: 0.15;
284 }
285 50% {
286 opacity: 0.55;
287 }
288}
289@keyframes face-bulb {
290 0%,
291 100% {
292 opacity: 0.6;
293 transform: scale(1);
294 }
295 50% {
296 opacity: 1;
297 transform: scale(1.15);
298 }
299}
300@keyframes face-twinkle {
301 0%,
302 100% {
303 opacity: 0.75;
304 transform: scale(0.9) rotate(0deg);
305 }
306 50% {
307 opacity: 1;
308 transform: scale(1.1) rotate(20deg);
309 }
310}
311@keyframes face-zz {
312 0% {
313 opacity: 0;
314 transform: translate(0, 4px);
315 }
316 30% {
317 opacity: 1;
318 }
319 100% {
320 opacity: 0;
321 transform: translate(5px, -9px);
322 }
323}
324@keyframes face-happy {
325 0%,
326 100% {
327 transform: translateY(0) scale(1);
328 }
329 40% {
330 transform: translateY(-6px) scale(1.06);
331 }
332}
333
334/*
You choose how g1t looks: Auto follows your system, Light and Dark stay put, set from the account menu, the phone's You and help sheet, Settings → Account or the command palette; the page is drawn in your choice from the first byte, every colour has a light value that reads at 4.5:1 or better, code and diffs are highlighted for both, diagrams and the document editor follow along, the product tour and the g1t mark's avatar stay dark, and Dark is what you see until you choose; the workspaces guide says how.335 * Appearance (lib/theme.ts): with no choice, or Auto, the page follows
336 * the system; a choice of Light or Dark is data-theme on <html>.
337 */
Secrets and variables kept from before stay with workflows338html {
You choose how g1t looks: Auto follows your system, Light and Dark stay put, set from the account menu, the phone's You and help sheet, Settings → Account or the command palette; the page is drawn in your choice from the first byte, every colour has a light value that reads at 4.5:1 or better, code and diffs are highlighted for both, diagrams and the document editor follow along, the product tour and the g1t mark's avatar stay dark, and Dark is what you see until you choose; the workspaces guide says how.339 color-scheme: light dark;
Secrets and variables kept from before stay with workflows340 scroll-behavior: smooth;
Merge the workspace shell: navigation and phone shell, g1t as orchestrator, agents in roles with audience-checked reads, reactions and custom emoji, live notifications and browser push, the homepage tour (agents 0002, chat 0002)341 /* A tap shows the control's own active state, not the browser's grey flash. */
342 -webkit-tap-highlight-color: transparent;
343 /* Phones: no text inflation on rotation. */
344 -webkit-text-size-adjust: 100%;
345 text-size-adjust: 100%;
Secrets and variables kept from before stay with workflows346}
You choose how g1t looks: Auto follows your system, Light and Dark stay put, set from the account menu, the phone's You and help sheet, Settings → Account or the command palette; the page is drawn in your choice from the first byte, every colour has a light value that reads at 4.5:1 or better, code and diffs are highlighted for both, diagrams and the document editor follow along, the product tour and the g1t mark's avatar stay dark, and Dark is what you see until you choose; the workspaces guide says how.347html[data-theme="light"] {
348 color-scheme: light;
349}
350html[data-theme="dark"] {
351 color-scheme: dark;
352}
Secrets and variables kept from before stay with workflows353
Merge the workspace shell: navigation and phone shell, g1t as orchestrator, agents in roles with audience-checked reads, reactions and custom emoji, live notifications and browser push, the homepage tour (agents 0002, chat 0002)354/*
g1t is described as the product it is in alpha, and its shell takes the new shape: the README, the docs home and docs/PLAN.md label every feature Live, Preview or Coming; a floating dock with the g1t mark, Today, Chat, Notifications, Agents, Code, Artifacts, your pinned apps and the Apps launcher, with People, Workspace and the account menu (now holding help) at its foot; the workspace's logo and switcher heading a flat sidebar that folds away with Ctrl B, or leading the header's breadcrumbs where there is none; the page in a rounded panel with a full-width header; Today as the front page, with first-time acceptance of agents' pull requests, what needs you and what's at stake, spend today and one item to start with, every number from a service; Notifications in place of the Inbox at /notifications; a bottom bar and More sheet on phones; and sign-in, sign-up, two-factor, reset, invites and choosing a workspace on standalone pages with no app around them.355 * The app's frame (components/shell.tsx), set on <body data-frame="app">:
The left-hand navigation takes less room and reads at a glance. The dock becomes a rail: a 56-pixel column of icons with the g1t mark on top, the current app marked by a filled square, hover hints naming each with its shortcut, the apps you pinned in a scrolling band, and Apps, People, Workspace and your account at the foot. Each mode's sidebar sits flush against it, 240 pixels wide, opening on Search or jump to and listing its groups under small labels in 36-pixel rows; Ctrl B hides it and the page grows into the room. Every mode's list is built on the shadcn Sidebar now in the kit, so Workspace, Code, People, Notifications, account settings, Chat, Artifacts and Agents all share one frame; the phone keeps its bottom bar and drawer. The workspaces guide describes the rail, the sidebar and the page.356 * the page is a rounded panel inset from the window, with the rail and the
357 * sidebar beside it and, on a phone, the bottom bar under it. What sticks to the top or
g1t is described as the product it is in alpha, and its shell takes the new shape: the README, the docs home and docs/PLAN.md label every feature Live, Preview or Coming; a floating dock with the g1t mark, Today, Chat, Notifications, Agents, Code, Artifacts, your pinned apps and the Apps launcher, with People, Workspace and the account menu (now holding help) at its foot; the workspace's logo and switcher heading a flat sidebar that folds away with Ctrl B, or leading the header's breadcrumbs where there is none; the page in a rounded panel with a full-width header; Today as the front page, with first-time acceptance of agents' pull requests, what needs you and what's at stake, spend today and one item to start with, every number from a service; Notifications in place of the Inbox at /notifications; a bottom bar and More sheet on phones; and sign-in, sign-up, two-factor, reset, invites and choosing a workspace on standalone pages with no app around them.358 * the bottom of a page reads these:
359 * --frame-top the gap above the panel
360 * --topbar-h the panel's top edge plus its header: where sticky things sit
361 * --tabbar-h what the bottom takes: the gap under the panel, and the phone's bar
362 * --page-h the height left for a page that fills the panel (Chat)
363 * The public frame keeps a plain header 3.5rem tall and nothing at the bottom.
Merge the workspace shell: navigation and phone shell, g1t as orchestrator, agents in roles with audience-checked reads, reactions and custom emoji, live notifications and browser push, the homepage tour (agents 0002, chat 0002)364 */
365:root {
g1t is described as the product it is in alpha, and its shell takes the new shape: the README, the docs home and docs/PLAN.md label every feature Live, Preview or Coming; a floating dock with the g1t mark, Today, Chat, Notifications, Agents, Code, Artifacts, your pinned apps and the Apps launcher, with People, Workspace and the account menu (now holding help) at its foot; the workspace's logo and switcher heading a flat sidebar that folds away with Ctrl B, or leading the header's breadcrumbs where there is none; the page in a rounded panel with a full-width header; Today as the front page, with first-time acceptance of agents' pull requests, what needs you and what's at stake, spend today and one item to start with, every number from a service; Notifications in place of the Inbox at /notifications; a bottom bar and More sheet on phones; and sign-in, sign-up, two-factor, reset, invites and choosing a workspace on standalone pages with no app around them.366 --frame-top: 0px;
Merge the workspace shell: navigation and phone shell, g1t as orchestrator, agents in roles with audience-checked reads, reactions and custom emoji, live notifications and browser push, the homepage tour (agents 0002, chat 0002)367 --tabbar-h: 0px;
Phones reach every page: each mode's menu from the top bar or by tapping the tab you're on, Docs first in the avatar sheet, a project's pages as a swipeable strip; dialogs as bottom sheets above the keyboard, safe areas, menus kept on screen, 40px targets, touch-visible controls, save bars above the tab bar368 --topbar-h: 3.5rem;
g1t is described as the product it is in alpha, and its shell takes the new shape: the README, the docs home and docs/PLAN.md label every feature Live, Preview or Coming; a floating dock with the g1t mark, Today, Chat, Notifications, Agents, Code, Artifacts, your pinned apps and the Apps launcher, with People, Workspace and the account menu (now holding help) at its foot; the workspace's logo and switcher heading a flat sidebar that folds away with Ctrl B, or leading the header's breadcrumbs where there is none; the page in a rounded panel with a full-width header; Today as the front page, with first-time acceptance of agents' pull requests, what needs you and what's at stake, spend today and one item to start with, every number from a service; Notifications in place of the Inbox at /notifications; a bottom bar and More sheet on phones; and sign-in, sign-up, two-factor, reset, invites and choosing a workspace on standalone pages with no app around them.369 --page-h: calc(100dvh - var(--topbar-h) - var(--tabbar-h));
370}
371body[data-frame="app"] {
372 --frame-top: 0.5rem;
373 --topbar-h: calc(var(--frame-top) + 3.5rem);
374 --tabbar-h: 0.5rem;
375 --page-h: calc(100dvh - var(--topbar-h) - var(--tabbar-h));
Merge the workspace shell: navigation and phone shell, g1t as orchestrator, agents in roles with audience-checked reads, reactions and custom emoji, live notifications and browser push, the homepage tour (agents 0002, chat 0002)376}
377@media (max-width: 767px) {
g1t is described as the product it is in alpha, and its shell takes the new shape: the README, the docs home and docs/PLAN.md label every feature Live, Preview or Coming; a floating dock with the g1t mark, Today, Chat, Notifications, Agents, Code, Artifacts, your pinned apps and the Apps launcher, with People, Workspace and the account menu (now holding help) at its foot; the workspace's logo and switcher heading a flat sidebar that folds away with Ctrl B, or leading the header's breadcrumbs where there is none; the page in a rounded panel with a full-width header; Today as the front page, with first-time acceptance of agents' pull requests, what needs you and what's at stake, spend today and one item to start with, every number from a service; Notifications in place of the Inbox at /notifications; a bottom bar and More sheet on phones; and sign-in, sign-up, two-factor, reset, invites and choosing a workspace on standalone pages with no app around them.378 body[data-frame="app"] {
379 --frame-top: max(0.375rem, env(safe-area-inset-top));
380 /* The bottom bar: 64px tall, 8px off the edge, 6px under the panel. */
381 --tabbar-h: calc(4.875rem + env(safe-area-inset-bottom));
Merge the workspace shell: navigation and phone shell, g1t as orchestrator, agents in roles with audience-checked reads, reactions and custom emoji, live notifications and browser push, the homepage tour (agents 0002, chat 0002)382 }
383}
384
g1t is described as the product it is in alpha, and its shell takes the new shape: the README, the docs home and docs/PLAN.md label every feature Live, Preview or Coming; a floating dock with the g1t mark, Today, Chat, Notifications, Agents, Code, Artifacts, your pinned apps and the Apps launcher, with People, Workspace and the account menu (now holding help) at its foot; the workspace's logo and switcher heading a flat sidebar that folds away with Ctrl B, or leading the header's breadcrumbs where there is none; the page in a rounded panel with a full-width header; Today as the front page, with first-time acceptance of agents' pull requests, what needs you and what's at stake, spend today and one item to start with, every number from a service; Notifications in place of the Inbox at /notifications; a bottom bar and More sheet on phones; and sign-in, sign-up, two-factor, reset, invites and choosing a workspace on standalone pages with no app around them.385/*
386 * Phones: a field under 16px makes iOS zoom the page when it is focused, so
387 * every field is at least that; and nothing scrolls the page sideways.
388 */
Merge the workspace shell: navigation and phone shell, g1t as orchestrator, agents in roles with audience-checked reads, reactions and custom emoji, live notifications and browser push, the homepage tour (agents 0002, chat 0002)389@media (max-width: 767px) {
390 input:not([type="checkbox"]):not([type="radio"]):not([type="range"]),
391 textarea,
392 select {
393 font-size: max(16px, 1em) !important;
394 }
395 body {
396 overflow-x: clip;
397 }
398}
399
Secrets and variables kept from before stay with workflows400body {
401 @apply bg-bg font-sans text-fg antialiased;
402}
g1t is described as the product it is in alpha, and its shell takes the new shape: the README, the docs home and docs/PLAN.md label every feature Live, Preview or Coming; a floating dock with the g1t mark, Today, Chat, Notifications, Agents, Code, Artifacts, your pinned apps and the Apps launcher, with People, Workspace and the account menu (now holding help) at its foot; the workspace's logo and switcher heading a flat sidebar that folds away with Ctrl B, or leading the header's breadcrumbs where there is none; the page in a rounded panel with a full-width header; Today as the front page, with first-time acceptance of agents' pull requests, what needs you and what's at stake, spend today and one item to start with, every number from a service; Notifications in place of the Inbox at /notifications; a bottom bar and More sheet on phones; and sign-in, sign-up, two-factor, reset, invites and choosing a workspace on standalone pages with no app around them.403body[data-frame="app"] {
404 @apply bg-shell;
405}
Secrets and variables kept from before stay with workflows406
407::selection {
408 background: color-mix(in srgb, var(--color-accent) 35%, transparent);
409}
410
411/* In the base layer, so a component can opt out with a utility. */
412@layer base {
413 :focus-visible {
414 outline: 2px solid var(--color-accent);
415 outline-offset: 2px;
416 }
417
418 /*
419 * A grid's items may shrink below their content. Without this, one long
420 * line that does not wrap (a command, a commit hash, an address) widens
421 * the whole column, and on a phone the page scrolls sideways.
422 */
423 .grid > * {
424 min-width: 0;
425 }
426
Invite-only launch: sign in with GitHub, repository access and lifecycle, many emails, a new look427 /*
428 * Headlines are set in Bricolage Grotesque, its optical size following
429 * the font size; small section labels that happen to be headings stay in
430 * the text face. A utility on the element still wins.
431 */
432 :where(h1, h2),
433 :where(h3):is(.text-xl, .text-2xl, .text-3xl, .text-4xl) {
434 font-family: var(--font-display);
435 font-optical-sizing: auto;
436 }
437 :where(h2):is(.text-xs, .text-sm, .text-base) {
438 font-family: var(--font-sans);
439 }
440
Secrets and variables kept from before stay with workflows441 /* Checkboxes, radios and ranges in g1t's own colour, not the browser's. */
442 :root {
443 accent-color: var(--color-accent);
444 }
The top of every page is one surface: the breadcrumb, search, spend, Ask g1t, bell and + share one height, corners and spacing, Ask g1t is a plain tinted button with the g1t mark drawn on whole pixels, a page's own header sits directly under the bar at the same left edge, and every section, conversations and open artifacts included, draws the same rounded panel. Tables written in chat render as tables, and the site's file, checkbox, radio, number and date controls are the design system's. Button, Separator, Breadcrumb, Table and FileDrop join the shared components; the chat guide says how tables work.445
446 /*
447 * Number fields have no spin buttons: the arrow keys still step them, and
448 * their digits line up in columns.
449 */
450 input[type="number"] {
451 -moz-appearance: textfield;
452 appearance: textfield;
453 font-variant-numeric: tabular-nums;
454 }
455 input[type="number"]::-webkit-inner-spin-button,
456 input[type="number"]::-webkit-outer-spin-button {
457 -webkit-appearance: none;
458 appearance: none;
459 margin: 0;
460 }
461
462 /*
463 * Date and time fields: the picker's icon is drawn by the browser in the
464 * page's color-scheme (set on <html> above), so it is right in both
465 * themes; it sits quiet until hovered. The part being edited is marked
466 * in the accent, not the system's blue.
467 */
468 input:is([type="date"], [type="time"], [type="datetime-local"], [type="month"], [type="week"]) {
469 font-variant-numeric: tabular-nums;
470 }
471 ::-webkit-calendar-picker-indicator {
472 cursor: pointer;
473 border-radius: 0.25rem;
474 opacity: 0.55;
475 transition: opacity 150ms;
476 }
477 ::-webkit-calendar-picker-indicator:hover,
478 ::-webkit-calendar-picker-indicator:focus-visible {
479 opacity: 1;
480 }
481 ::-webkit-datetime-edit-fields-wrapper {
482 padding: 0;
483 }
484 ::-webkit-datetime-edit-text {
485 color: var(--color-faint);
486 }
487 ::-webkit-datetime-edit-year-field:focus,
488 ::-webkit-datetime-edit-month-field:focus,
489 ::-webkit-datetime-edit-day-field:focus,
490 ::-webkit-datetime-edit-hour-field:focus,
491 ::-webkit-datetime-edit-minute-field:focus,
492 ::-webkit-datetime-edit-second-field:focus,
493 ::-webkit-datetime-edit-millisecond-field:focus,
494 ::-webkit-datetime-edit-meridiem-field:focus {
495 border-radius: 0.1875rem;
496 background-color: color-mix(in srgb, var(--color-accent) 25%, transparent);
497 color: var(--color-fg);
498 }
499
500 /* A colour field is a rounded swatch with a hairline, not a grey button. */
501 input[type="color"] {
502 -webkit-appearance: none;
503 appearance: none;
504 cursor: pointer;
505 padding: 0.1875rem;
506 border: 1px solid var(--color-line);
507 border-radius: 0.375rem;
508 background-color: var(--color-bg);
509 }
510 input[type="color"]:hover {
511 border-color: var(--color-line-strong);
512 }
513 input[type="color"]::-webkit-color-swatch-wrapper {
514 padding: 0;
515 }
516 input[type="color"]::-webkit-color-swatch {
517 border: none;
518 border-radius: 0.25rem;
519 }
520 input[type="color"]::-moz-color-swatch {
521 border: none;
522 border-radius: 0.25rem;
523 }
524
525 /* A search field's clear button is the browser's own: g1t's fields don't show it. */
526 input[type="search"]::-webkit-search-cancel-button,
527 input[type="search"]::-webkit-search-decoration {
528 -webkit-appearance: none;
529 appearance: none;
530 }
531
532 /*
533 * A <summary> that keeps the browser's disclosure triangle has it quiet,
534 * in the faint text colour; one that draws its own hides it with list-none.
535 */
536 summary {
537 cursor: pointer;
538 }
539 summary::marker {
540 color: var(--color-faint);
541 }
542 summary::-webkit-details-marker {
543 color: var(--color-faint);
544 }
Secrets and variables kept from before stay with workflows545}
546
547@media (prefers-reduced-motion: reduce) {
548 *,
549 *::before,
550 *::after {
551 animation: none !important;
552 scroll-behavior: auto !important;
553 }
554}
555
556/* Rendered markdown: READMEs, briefs and docs. */
557.prose > :first-child {
558 margin-top: 0;
559 padding-top: 0;
560}
561.prose {
562 @apply leading-7 text-fg;
563}
564.prose > * + * {
565 @apply mt-4;
566}
567.prose h1 {
568 @apply mt-0 text-3xl font-semibold tracking-tight;
569}
570.prose h2 {
571 @apply mt-10 border-b border-line pb-2 text-xl font-semibold tracking-tight;
572}
573.prose h3 {
574 @apply mt-8 text-base font-semibold;
575}
576.prose p,
577.prose li {
578 @apply text-[0.9375rem] text-fg/90;
579}
580.prose a {
581 @apply text-accent underline decoration-accent/40 underline-offset-4 hover:decoration-accent;
582}
583.prose ul {
584 @apply list-disc space-y-1.5 pl-6;
585}
586.prose ol {
587 @apply list-decimal space-y-1.5 pl-6;
588}
589.prose code {
590 @apply rounded bg-raised px-1.5 py-0.5 font-mono text-[0.85em];
591}
592.prose pre {
593 @apply overflow-x-auto rounded-lg border border-line bg-surface p-4 font-mono text-sm leading-6;
594}
595.prose pre code {
596 @apply bg-transparent p-0;
597}
598.prose blockquote {
599 @apply border-l-2 border-line-strong pl-4 text-muted;
600}
601.prose table {
602 @apply w-full border-collapse text-sm;
603}
604.prose th {
605 @apply border-b border-line-strong px-3 py-2 text-left font-medium text-muted;
606}
607.prose td {
608 @apply border-b border-line px-3 py-2 align-top;
609}
610.prose hr {
611 @apply border-line;
612}
613.prose h4 {
614 @apply mt-6 text-sm font-semibold;
615}
616.prose li.task-list-item {
617 @apply list-none;
618}
619.prose ul.contains-task-list {
620 @apply pl-1;
621}
622.prose kbd {
623 @apply rounded border border-line-strong bg-raised px-1.5 py-px font-mono text-[0.8em] shadow-[inset_0_-1px_0_var(--color-line-strong)];
624}
625.prose del {
626 @apply text-muted;
627}
628.prose details {
629 @apply rounded-lg border border-line px-4 py-2;
630}
631.prose summary {
632 @apply cursor-pointer font-medium;
633}
634.prose img {
635 @apply inline max-w-full;
636}
637.prose section[data-footnotes] {
638 @apply mt-10 border-t border-line pt-4 text-sm text-muted;
639}
640.prose a[data-footnote-ref] {
641 @apply no-underline;
642}
643
644/* Syntax-highlighted code from Shiki. */
645.shiki {
646 @apply bg-transparent! font-mono text-sm leading-6;
647}
648.shiki code {
649 counter-reset: line;
650 display: block;
651}
652.shiki .line::before {
653 counter-increment: line;
654 content: counter(line);
655 @apply mr-5 inline-block w-10 text-right text-faint select-none;
656}
657
Invite-only launch: sign in with GitHub, repository access and lifecycle, many emails, a new look658/*
659 * Artwork (components/art.tsx). Every piece loops on its drawing's
660 * `--dur` and starts at its own `--delay`, so the parts of one drawing
661 * stay in step. Only transforms, opacity and stroke offsets move. The
662 * resting style of each class is the finished picture: that is what
663 * prefers-reduced-motion shows, since the rule above stops every
664 * animation.
665 */
Secrets and variables kept from before stay with workflows666.art-flow {
667 animation: dash 1.6s linear infinite;
668}
Invite-only launch: sign in with GitHub, repository access and lifecycle, many emails, a new look669
670/* Something travelling along a track (pathLength 100). Unseen at rest. */
671.art-packet {
672 opacity: 0;
673 stroke-dasharray: 4 200;
674 stroke-dashoffset: 4;
675 animation: art-travel var(--dur, 3s) cubic-bezier(0.45, 0, 0.35, 1) infinite;
676 animation-delay: var(--delay, 0s);
677}
678@keyframes art-travel {
679 0% {
680 stroke-dashoffset: 4;
681 opacity: 0;
682 }
683 3% {
684 opacity: 1;
685 }
686 32% {
687 opacity: 1;
688 }
689 36%,
690 100% {
691 stroke-dashoffset: -100;
692 opacity: 0;
693 }
694}
695
696/* A face that lights up for most of the loop. Lit at rest. */
697.art-lit {
698 opacity: 0.85;
699 animation: art-lit var(--dur, 8s) ease-in-out infinite both;
700 animation-delay: var(--delay, 0s);
701}
702@keyframes art-lit {
703 0%,
704 4% {
705 opacity: 0;
706 }
707 12%,
708 70% {
709 opacity: 0.9;
710 }
711 88%,
712 100% {
713 opacity: 0;
714 }
715}
716
717/* A short flash, as a check runs over a layer. Unseen at rest. */
718.art-scan {
719 opacity: 0;
720 animation: art-scan var(--dur, 8s) ease-out infinite both;
721 animation-delay: var(--delay, 0s);
722}
723@keyframes art-scan {
724 0% {
725 opacity: 0;
726 }
727 4% {
728 opacity: 1;
729 }
730 16%,
731 100% {
732 opacity: 0;
733 }
734}
735
736/* A line that draws itself, then fades. Drawn at rest. */
737.art-draw {
738 stroke-dasharray: 100;
739 stroke-dashoffset: 0;
740 animation: art-draw var(--dur, 8s) ease-in-out infinite both;
741 animation-delay: var(--delay, 0s);
742}
743@keyframes art-draw {
744 0% {
745 stroke-dashoffset: 100;
746 opacity: 1;
747 }
748 14%,
749 70% {
750 stroke-dashoffset: 0;
751 opacity: 1;
752 }
753 88%,
754 100% {
755 stroke-dashoffset: 0;
756 opacity: 0;
757 }
758}
759
760/* Something that appears, stays, and goes. Shown at rest. */
761.art-pop {
762 animation: art-pop var(--dur, 8s) ease-out infinite both;
763 animation-delay: var(--delay, 0s);
764}
765@keyframes art-pop {
766 0% {
767 opacity: 0;
768 transform: translateY(4px);
769 }
770 6%,
771 72% {
772 opacity: 1;
773 transform: none;
774 }
775 86%,
776 100% {
777 opacity: 0;
778 transform: none;
779 }
780}
781
782/* A layer dropping onto a stack. In place at rest. */
783.art-drop {
784 animation: art-drop var(--dur, 7s) cubic-bezier(0.2, 0.9, 0.3, 1.2) infinite both;
785 animation-delay: var(--delay, 0s);
786}
787@keyframes art-drop {
788 0% {
789 opacity: 0;
790 transform: translateY(-26px);
791 }
792 8%,
793 74% {
794 opacity: 1;
795 transform: none;
796 }
797 88%,
798 100% {
799 opacity: 0;
800 transform: none;
801 }
802}
803
804/* The layer that fails: drops, shakes, and is sent back. */
805.art-eject {
806 animation: art-eject var(--dur, 7s) ease-in-out infinite both;
807 animation-delay: var(--delay, 0s);
808}
809@keyframes art-eject {
810 0% {
811 opacity: 0;
812 transform: translateY(-26px);
813 }
814 8%,
815 30% {
816 opacity: 1;
817 transform: none;
818 }
819 33% {
820 transform: translateX(-3px);
821 }
822 36% {
823 transform: translateX(3px);
824 }
825 39% {
826 transform: translateX(-2px);
827 }
828 42% {
829 opacity: 1;
830 transform: none;
831 }
832 56%,
833 100% {
834 opacity: 0;
835 transform: translate(-40px, -22px);
836 }
837}
838
839/* A layer rising out of the one below it. In place at rest. */
840.art-rise {
841 animation: art-rise var(--dur, 7s) cubic-bezier(0.2, 0.8, 0.3, 1) infinite both;
842 animation-delay: var(--delay, 0s);
843}
844@keyframes art-rise {
845 0% {
846 opacity: 0;
847 transform: translateY(14px);
848 }
849 10%,
850 70% {
851 opacity: 1;
852 transform: none;
853 }
854 86%,
855 100% {
856 opacity: 0;
857 transform: none;
858 }
859}
860
861/* A soft glow breathing around a point. */
862.art-pulse {
863 transform-box: fill-box;
864 transform-origin: center;
865 animation: art-pulse var(--dur, 4s) ease-in-out infinite;
866 animation-delay: var(--delay, 0s);
867}
868@keyframes art-pulse {
869 0%,
870 100% {
871 transform: scale(0.8);
872 opacity: 1;
873 }
874 50% {
875 transform: scale(1.5);
876 opacity: 0.35;
877 }
878}
879
880/* Drawings off-screen hold still (components/art.tsx, Live). */
881[data-paused] * {
882 animation-play-state: paused !important;
883}
884/*
885 * Each drawing on its own layer, so a frame of its motion repaints only the
886 * drawing, not the page around it or the blurred header passing over it.
887 */
888[data-live] {
889 will-change: transform;
890}
891
892/* The landing page's steps, lit in turn along their line. */
893/* The ring is drawn once and only fades and grows, so the compositor runs it. */
894.flow-step::after {
895 content: "";
896 position: absolute;
897 inset: 0;
898 border-radius: inherit;
Merge branch 'worktree-agent-ad7c6d88d93adc817'899 box-shadow: 0 0 0 6px color-mix(in srgb, var(--color-accent) 18%, transparent);
Invite-only launch: sign in with GitHub, repository access and lifecycle, many emails, a new look900 opacity: 0;
901 pointer-events: none;
902 animation: flow-step 10s ease-in-out infinite both;
903 animation-delay: var(--delay, 0s);
904}
905@keyframes flow-step {
906 0%,
907 100% {
908 opacity: 0;
909 transform: scale(0.82);
910 }
911 6% {
912 opacity: 1;
913 transform: none;
914 }
915 16% {
916 opacity: 0;
917 transform: none;
918 }
919}
920.flow-runner {
921 animation: flow-runner 10s cubic-bezier(0.45, 0, 0.35, 1) infinite both;
922}
923@keyframes flow-runner {
924 0% {
925 transform: translateX(0);
926 opacity: 0;
927 }
928 4%,
929 76% {
930 opacity: 1;
931 }
932 80%,
933 100% {
934 transform: translateX(100%);
935 opacity: 0;
936 }
937}
Secrets and variables kept from before stay with workflows938@media (prefers-reduced-motion: reduce) {
Invite-only launch: sign in with GitHub, repository access and lifecycle, many emails, a new look939 .flow-runner {
940 display: none;
Secrets and variables kept from before stay with workflows941 }
942}
943
Invite-only launch: sign in with GitHub, repository access and lifecycle, many emails, a new look944/* The sidebar trading one far-side menu for another, in place. */
945@keyframes g1t-swap {
946 from {
947 opacity: 0;
948 transform: translateX(10px);
949 }
950 to {
951 opacity: 1;
952 transform: none;
953 }
954}
955
Secrets and variables kept from before stay with workflows956/*
957 * Behind the landing page's opening: the same dark gray, with a faint
958 * lavender and peach glow low on the horizon and a few stars.
959 */
960.dusk {
961 background:
962 radial-gradient(1px 1px at 12% 18%, rgb(255 255 255 / 0.35), transparent),
963 radial-gradient(1px 1px at 27% 8%, rgb(255 255 255 / 0.25), transparent),
964 radial-gradient(1px 1px at 63% 12%, rgb(255 255 255 / 0.3), transparent),
965 radial-gradient(1.5px 1.5px at 90% 9%, rgb(255 255 255 / 0.35), transparent),
966 radial-gradient(60% 35% at 50% 100%, rgb(255 189 140 / 0.08), transparent 70%),
967 radial-gradient(80% 45% at 50% 100%, rgb(182 168 255 / 0.1), transparent 75%),
968 var(--color-bg);
969}
970/* A planet rising behind the horizon, its lit edge catching the glow. */
971.dusk-planet {
972 background: radial-gradient(circle at 70% 30%, rgb(182 168 255 / 0.12), rgb(255 189 140 / 0.04) 45%, transparent 70%);
973 box-shadow: inset 14px -8px 50px rgb(255 214 186 / 0.07);
974}
Merge the workspace shell: navigation and phone shell, g1t as orchestrator, agents in roles with audience-checked reads, reactions and custom emoji, live notifications and browser push, the homepage tour (agents 0002, chat 0002)975
976/*
977 * On a phone, every field's text is at least 16px: iOS zooms the page into
978 * a field set smaller as soon as it is focused. Unlayered, so it wins over
979 * a field's text-sm utility.
980 */
981@media (max-width: 639px) {
982 input:not([type="checkbox"], [type="radio"], [type="range"], [type="color"], [type="file"]),
983 textarea,
984 select {
985 font-size: max(16px, 1em);
986 }
987}
Cards you act on in chat; agents comment and review as themselves; names shown cleanly; commits on the calendar988
989/* A card's Markdown preview in chat (components/chat/card.tsx): the same Markdown, smaller and tighter. */
990.card-md .prose {
991 @apply text-[0.8125rem] leading-relaxed;
992}
993.card-md .prose > * + * {
994 @apply mt-2;
995}
996.card-md .prose p,
997.card-md .prose li {
998 @apply text-[0.8125rem] text-fg/85;
999}
1000.card-md .prose h1,
1001.card-md .prose h2,
1002.card-md .prose h3,
1003.card-md .prose h4 {
1004 @apply mt-3 border-0 pb-0 text-sm font-semibold;
1005}
1006.card-md .prose ul,
1007.card-md .prose ol {
1008 @apply space-y-0.5 pl-5;
1009}
1010.card-md .prose pre {
1011 @apply p-2.5 text-xs leading-5;
1012}
Docs: a workspace knowledge base people and agents write together1013
1014/*
1015 * The Docs page editor (components/docs/editor.tsx) is BlockNote with its
1016 * shadcn components. Their classes are generated from the package, and
1017 * shadcn's token names map onto g1t's. `accent` and `muted` mean
1018 * something else in shadcn (a hover fill, a quiet fill), so inside the
1019 * editor they are redefined; g1t's own blocks there use the g1t tokens
1020 * directly.
1021 */
1022@source "../../../node_modules/@blocknote/shadcn/dist";
1023
1024@theme {
You choose how g1t looks: Auto follows your system, Light and Dark stay put, set from the account menu, the phone's You and help sheet, Settings → Account or the command palette; the page is drawn in your choice from the first byte, every colour has a light value that reads at 4.5:1 or better, code and diffs are highlighted for both, diagrams and the document editor follow along, the product tour and the g1t mark's avatar stay dark, and Dark is what you see until you choose; the workspaces guide says how.1025 --color-background: var(--color-bg);
1026 --color-foreground: var(--color-fg);
1027 --color-popover: var(--color-surface);
1028 --color-popover-foreground: var(--color-fg);
1029 --color-card: var(--color-surface);
1030 --color-card-foreground: var(--color-fg);
1031 --color-primary: var(--color-accent);
1032 --color-primary-foreground: var(--color-bg);
1033 --color-secondary: var(--color-raised);
1034 --color-secondary-foreground: var(--color-fg);
1035 --color-muted-foreground: var(--color-muted);
1036 --color-accent-foreground: var(--color-fg);
1037 --color-destructive: var(--color-danger);
1038 --color-destructive-foreground: var(--color-bg);
1039 --color-border: var(--color-line);
1040 --color-input: var(--color-line);
1041 --color-ring: var(--color-accent);
Docs: a workspace knowledge base people and agents write together1042}
1043
1044.bn-shadcn {
You choose how g1t looks: Auto follows your system, Light and Dark stay put, set from the account menu, the phone's You and help sheet, Settings → Account or the command palette; the page is drawn in your choice from the first byte, every colour has a light value that reads at 4.5:1 or better, code and diffs are highlighted for both, diagrams and the document editor follow along, the product tour and the g1t mark's avatar stay dark, and Dark is what you see until you choose; the workspaces guide says how.1045 --color-accent: var(--color-raised);
1046 --color-muted: var(--color-raised);
Docs: a workspace knowledge base people and agents write together1047 --bn-colors-editor-background: transparent;
You choose how g1t looks: Auto follows your system, Light and Dark stay put, set from the account menu, the phone's You and help sheet, Settings → Account or the command palette; the page is drawn in your choice from the first byte, every colour has a light value that reads at 4.5:1 or better, code and diffs are highlighted for both, diagrams and the document editor follow along, the product tour and the g1t mark's avatar stay dark, and Dark is what you see until you choose; the workspaces guide says how.1048 --bn-colors-editor-text: var(--color-fg);
1049 --bn-colors-menu-background: var(--color-surface);
1050 --bn-colors-menu-text: var(--color-fg);
1051 --bn-colors-hovered-background: var(--color-raised);
1052 --bn-colors-side-menu: var(--color-faint);
1053 --bn-colors-border: var(--color-line);
Docs: a workspace knowledge base people and agents write together1054 --bn-border-radius: 8px;
1055}
1056
1057.g1t-editor .bn-editor {
1058 font-family: var(--g1t-font-sans);
1059 font-size: 1rem;
1060 line-height: 1.65;
1061 background: transparent;
You choose how g1t looks: Auto follows your system, Light and Dark stay put, set from the account menu, the phone's You and help sheet, Settings → Account or the command palette; the page is drawn in your choice from the first byte, every colour has a light value that reads at 4.5:1 or better, code and diffs are highlighted for both, diagrams and the document editor follow along, the product tour and the g1t mark's avatar stay dark, and Dark is what you see until you choose; the workspaces guide says how.1062 color: var(--color-fg);
Docs: a workspace knowledge base people and agents write together1063}
1064
1065/* The drag handle and + sit in the margin, so the text lines up with the title. */
1066@media (min-width: 768px) {
1067 .g1t-editor .bn-container {
1068 margin-inline: -54px;
1069 }
1070}
1071
1072.g1t-editor .bn-block-content[data-content-type="heading"] h1,
1073.g1t-editor .bn-block-content[data-content-type="heading"] h2,
1074.g1t-editor .bn-block-content[data-content-type="heading"] h3 {
1075 font-family: var(--g1t-font-display);
1076 letter-spacing: -0.012em;
1077}
1078
1079.g1t-editor .bn-inline-content code {
1080 font-family: var(--g1t-font-mono);
1081 font-size: 0.875em;
1082 padding: 0.1em 0.35em;
1083 border-radius: 4px;
You choose how g1t looks: Auto follows your system, Light and Dark stay put, set from the account menu, the phone's You and help sheet, Settings → Account or the command palette; the page is drawn in your choice from the first byte, every colour has a light value that reads at 4.5:1 or better, code and diffs are highlighted for both, diagrams and the document editor follow along, the product tour and the g1t mark's avatar stay dark, and Dark is what you see until you choose; the workspaces guide says how.1084 background: var(--color-raised);
Docs: a workspace knowledge base people and agents write together1085}
1086
1087.g1t-editor .bn-block-content[data-content-type="codeBlock"] {
1088 border-radius: 10px;
You choose how g1t looks: Auto follows your system, Light and Dark stay put, set from the account menu, the phone's You and help sheet, Settings → Account or the command palette; the page is drawn in your choice from the first byte, every colour has a light value that reads at 4.5:1 or better, code and diffs are highlighted for both, diagrams and the document editor follow along, the product tour and the g1t mark's avatar stay dark, and Dark is what you see until you choose; the workspaces guide says how.1089 background: var(--color-surface);
1090 border: 1px solid var(--color-line);
Docs: a workspace knowledge base people and agents write together1091}
1092
1093.g1t-editor .bn-thread-mark {
You choose how g1t looks: Auto follows your system, Light and Dark stay put, set from the account menu, the phone's You and help sheet, Settings → Account or the command palette; the page is drawn in your choice from the first byte, every colour has a light value that reads at 4.5:1 or better, code and diffs are highlighted for both, diagrams and the document editor follow along, the product tour and the g1t mark's avatar stay dark, and Dark is what you see until you choose; the workspaces guide says how.1094 background: color-mix(in srgb, var(--color-warn) 22%, transparent);
1095 border-bottom: 2px solid color-mix(in srgb, var(--color-warn) 60%, transparent);
Docs: a workspace knowledge base people and agents write together1096}
1097
1098.g1t-editor a {
You choose how g1t looks: Auto follows your system, Light and Dark stay put, set from the account menu, the phone's You and help sheet, Settings → Account or the command palette; the page is drawn in your choice from the first byte, every colour has a light value that reads at 4.5:1 or better, code and diffs are highlighted for both, diagrams and the document editor follow along, the product tour and the g1t mark's avatar stay dark, and Dark is what you see until you choose; the workspaces guide says how.1099 color: var(--color-accent);
Docs: a workspace knowledge base people and agents write together1100}
1101
1102/* A page read before the editor loads: the same measure as the editor. */
1103.docs-read .prose {
1104 font-size: 1rem;
1105 line-height: 1.65;
1106}
1107
Merge main into Artifacts Phase 21108/* The chat composer (components/chat/editor.tsx): formatting as messages show it. */
1109.chat-editor {
1110 white-space: pre-wrap;
1111 word-break: break-word;
1112 min-height: 1.5rem;
1113}
1114.chat-editor p.is-editor-empty:first-child::before {
1115 content: attr(data-placeholder);
1116 float: left;
1117 height: 0;
1118 pointer-events: none;
1119 color: var(--color-faint);
1120}
1121.chat-editor strong {
1122 @apply font-semibold text-fg;
1123}
1124.chat-editor s {
1125 @apply text-muted;
1126}
1127.chat-editor a {
1128 @apply text-accent underline underline-offset-2;
1129}
1130.chat-editor code {
1131 @apply rounded-[4px] border border-line bg-raised px-1 py-px font-mono text-[0.84em] text-fg-soft;
1132}
1133.chat-editor pre {
1134 @apply my-1 rounded-md border border-line bg-bg px-3 py-2 font-mono text-[0.8125rem] leading-relaxed text-fg-soft;
1135}
1136.chat-editor pre code {
1137 @apply border-0 bg-transparent p-0 text-[1em];
1138}
1139.chat-editor ul {
1140 @apply list-disc pl-5 marker:text-faint;
1141}
1142.chat-editor ol {
1143 @apply list-decimal pl-5 marker:text-faint;
1144}
1145.chat-editor li > p {
1146 @apply pl-0.5;
1147}
1148.chat-editor blockquote {
1149 @apply my-0.5 border-l-2 border-line-strong pl-3 text-muted;
1150}
1151

This file's history is long; its oldest lines are credited to the oldest commit read.