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

T3 Code guide

Custom themes and Custom CSS

Appearance and shortcuts

On web and desktop, Create theme lets you adjust a palette or import a T3 Code or VS Code theme. Custom CSS in the theme editor is saved with the theme and applies after T3 Code's own styles.

T3 Code docs: appearance

What it’s for

Build or share your own look. The editor's color picker lets you click an area of the app to find the color to change, and you can export the theme as JSON.

T3 Code docs: appearance

When to use it

Use Custom CSS for changes colors cannot make. Target data- attributes such as [data-chat-header] because class names change between releases.

T3 Code docs: appearance

How to use it

  1. Open Custom CSS in the theme editor and use .dark or :root:not(.dark) to target one appearance.

    T3 Code docs: appearance

  2. Do not rely on @import or external url(); only data: or #id urls work. Use a background image for a full-size image.

    T3 Code docs: appearance

  3. If a rule hides something you need, press Cmd+Option+A or Ctrl+Alt+A to pick another theme, or run t3 theme set t3-chat on the server.

    T3 Code docs: appearance

What’s changed

1 earlier change

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