Skip to content

Commit

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.

syntaqxcommitted Parentbc2ef2aBrowse files
3 files+8−40/3 viewed
+3−2
562562
563563 ### Appearance
564564
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.
566567
567568 | Choice | What you see |
568569 | --- | --- |
584585 the same commands are in ⌘K, and the phone's menu has the switch.
585586
586587 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.
588589 Product screenshots on g1t.sh's home page, and the g1t mark on agents'
589590 avatars, stay dark in either theme.
590591
+3−0
7070 | `g1t_ws` | Remembers which workspace you last chose, so the sidebar opens on it. | 1 year |
7171 | `g1t_seen` | Remembers when you last looked at mission control, so it can show what's new since. | 1 year |
7272 | `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 |
7376 | `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 |
7477
7578 Cloudflare may set its own security cookies (such as `__cf_bm`) to tell people from bots when g1t is under attack.
+2−2
1616 /** The cookie that keeps the choice. */
1717 export const THEME_COOKIE = "g1t_theme";
1818
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";
2121
2222 /** The browser bar's colour in each theme: the page's background. */
2323 export const THEME_COLOR = { light: "#fbfbfa", dark: "#0f0f11" } as const;