Theo-brainUnofficial. Not affiliated with Theo or t3.gg.
Sign inYou

T3 Code guide

Environment themes from the server

Appearance and shortcuts

Environment themes and defaults come from the server serving your web app or the desktop app's main local environment. app.t3.codes and other connections do not use them.

T3 Code docs: appearance

What it’s for

Set a shared default theme for connected clients, or follow a published palette that updates as the server changes it.

T3 Code docs: appearance

When to use it

Use this when you run your own server and want every web and desktop client to start on the same theme.

T3 Code docs: appearance

How to use it

  1. Save an exported theme into ~/.t3/userdata/themes/ on the server; the filename, such as nightfall.json, is the theme ID. Avoid system, light, dark, or built-in IDs.

    T3 Code docs: appearance

  2. Run t3 theme set nightfall. Offline clients apply it when they reconnect. Each client applies the setting once, and choosing another theme afterward sticks until the next t3 theme set. Run the command again to reapply it, even if the name is unchanged.

    T3 Code docs: appearance

  3. Run t3 theme show to list themes, or t3 theme clear to remove the default without changing current themes.

    T3 Code docs: appearance

  4. In Settings → Appearance, choose Duplicate on a published theme to get an independent editable copy.

    T3 Code docs: appearance

What’s changed

  • An environment can now publish themes as a file.Added Aug 29

Unofficial notes. Not affiliated with Theo or t3.gg.