Skip to content
Themes

Themes

A theme sets the web UI’s colors. Each user picks one for light mode and one for dark mode.

Choose a theme

Each user picks a theme on My account:

SettingOptions
ModeSystem, Light, or Dark. System follows the device’s light or dark setting.
Light themeAny light theme on the site
Dark themeAny dark theme on the site

Until a user picks a theme, the site’s default themes apply. Admins set them under Settings › Themes.

Bundled themes

gpsu ships with gpsu Light, gpsu Dark, and 25 popular themes. These include:

  • GitHub
  • Dracula
  • Catppuccin
  • Solarized
  • Nord
  • Gruvbox
  • Tokyo Night
  • VS Code’s Dark Modern and Light Modern

Each bundled theme’s Credit and license tip names its author and license. The third-party notices hold each license in full.

Colors and contrast

A theme is a palette of 15 colors. gpsu derives the rest of the UI’s colors from that palette. It then adjusts any color that falls short of WCAG 2.2 contrast:

ElementMinimum contrast
Text4.5:1
Borders and chart lines3:1

Add a theme

Admins add a theme by duplicating one under Settings › Themes. They then edit the copy.

  • The theme editor changes the 15 palette colors.
  • You can also set any of the 38 derived colors directly. gpsu checks the contrast of a color you set but never changes it.

Backups include the themes admins add.

Import and export

Admins can import and export themes under Settings › Themes.

ActionFormats
Exportgpsu theme files
Import themegpsu themes, VS Code color themes, Windows Terminal schemes, iTerm2 presets, and Ghostty themes

Before it saves an imported theme, gpsu shows the colors it read. It also marks each color it adjusted for contrast.