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
Open Custom CSS in the theme editor and use .dark or :root:not(.dark) to target one appearance.
T3 Code docs: appearance
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
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
- Your theme CSS can now hold up to 100,000 characters.Updated Nov 20
- Themes can use full-size background images.Updated Nov 16
- Theme CSS can hold 50,000 characters.Updated Nov 15
1 earlier change
- Theme palettes now use OKLCH.Updated Aug 11
Unofficial notes. Not affiliated with Theo or t3.gg.