g1t follows your system's light or dark setting until you choose otherwise, on this browser; the workspaces guide says so, and the privacy policy lists the theme, dock and sidebar cookies.
3 files+8−40/3 viewed
| 562 | 562 | ||
| 563 | 563 | ### Appearance | |
| 564 | 564 | ||
| 565 | − | g1t comes in a dark theme and a light one. Until you choose, it is dark. | |
| 565 | + | g1t comes in a dark theme and a light one. Until you choose, it follows | |
| 566 | + | your system's setting. | |
| 566 | 567 | ||
| 567 | 568 | | Choice | What you see | | |
| 568 | 569 | | --- | --- | | |
| ⋯ | |||
| 584 | 585 | the same commands are in ⌘K, and the phone's menu has the switch. | |
| 585 | 586 | ||
| 586 | 587 | Your choice is kept in this browser, in a `g1t_theme` cookie, so every page | |
| 587 | − | is drawn in it from the start; another browser or device starts dark. | |
| 588 | + | is drawn in it from the start; another browser or device starts on Auto. | |
| 588 | 589 | Product screenshots on g1t.sh's home page, and the g1t mark on agents' | |
| 589 | 590 | avatars, stay dark in either theme. | |
| 590 | 591 | ||
| 70 | 70 | | `g1t_ws` | Remembers which workspace you last chose, so the sidebar opens on it. | 1 year | | |
| 71 | 71 | | `g1t_seen` | Remembers when you last looked at mission control, so it can show what's new since. | 1 year | | |
| 72 | 72 | | `g1t_tz` | Your browser's time zone, so mission control's greeting and days fit your day. | 1 year | | |
| 73 | + | | `g1t_theme` | Whether this browser shows g1t light, dark or as your system is set, if you chose. | 1 year | | |
| 74 | + | | `g1t_dock` | This browser's copy of the apps you pinned to your dock, used when your account's copy can't be read. | 1 year | | |
| 75 | + | | `g1t_sidebar` | Whether you folded the sidebar away. | 1 year | | |
| 73 | 76 | | `ph_…_posthog` | Set by HeyCatch's analytics on g1t.sh: a random id for your browser, so its visits count as one visitor ([above](#how-the-site-is-used)). In the EU, the EEA, the UK and Switzerland, only after you allow it. | 1 year | | |
| 74 | 77 | ||
| 75 | 78 | Cloudflare may set its own security cookies (such as `__cf_bm`) to tell people from bots when g1t is under attack. |
| 16 | 16 | /** The cookie that keeps the choice. */ | |
| 17 | 17 | export const THEME_COOKIE = "g1t_theme"; | |
| 18 | 18 | ||
| 19 | − | /** What a page is drawn in before anyone chooses: g1t's own dark. */ | |
| 20 | − | export const DEFAULT_THEME: ThemeChoice = "dark"; | |
| 19 | + | /** What a page is drawn in before anyone chooses: whatever their system is set to. */ | |
| 20 | + | export const DEFAULT_THEME: ThemeChoice = "auto"; | |
| 21 | 21 | ||
| 22 | 22 | /** The browser bar's colour in each theme: the page's background. */ | |
| 23 | 23 | export const THEME_COLOR = { light: "#fbfbfa", dark: "#0f0f11" } as const; |