Developer documentation
Every color
A .sgtheme file is this, in JSON, with camelCase names. The color names follow the Gruvbox palette's, so a palette built that way maps straight on; the few SpriteGrid doesn't paint with yet say so.
Name
idstringrequiredThe theme's id, different from every other theme's. Settings remember the chosen theme by it, and SpriteGrid names the file after it when it writes one (
my-theme.sgtheme).displayNamestringThe name Edit ▸ Theme lists it by.
Backgrounds
bgHardcolorThe deepest background: sunken areas. The canvas's surround is this at half brightness. Dark themes dim the window behind a dialog with it; light themes use it for the shadow under text.
bgMediumcolorThe window's background, behind the panels. It also makes a theme light or dark: light when it's brighter than
fg1, and Edit ▸ Theme lists it under Light when it's brighter than mid-gray.bgSoftcolorThe panels' bodies: the UI art is gray, and its lightest gray (the skin's tint level) becomes this color, with darker grays shading toward black (dark themes) or
bg2(light themes).bg1colorRaised areas and alternating rows.
bg2colorLight themes only: what the UI art's black becomes, so sunken fields stay light enough for dark text. Dark themes use black.
bg3colorThe outline around docked panels, and the text on disabled buttons and menu items.
bg4colorNot used by the app yet.
Text
fg0colorNot used by the app yet.
fg1colorText and glyphs. Light themes also dim the window behind a dialog with it.
fg2colorNot used by the app yet.
fg3colorNot used by the app yet.
fg4colorDim text: hints, captions, the status bar.
graycolorA neutral color for things colored by kind: the 3D camera's size curve in the graph editor.
Accent
accentcolorHover and selection highlights, the active tool, slider fills, focus, the active canvas's frame, the playhead.
accentDarkcolorNot used by the app yet.
Colors
redcolorErrors and things that delete, the playhead while Auto-Key is on, and X position curves.
greencolorSuccess, effect-setting tracks and markers in the timeline, and Y position curves.
yellowcolorVisibility tracks, the keyframe button while there's a key on the current frame, and X rotation and scale curves.
bluecolorSprite (drawing) tracks, and Z position and 2D rotation curves.
purplecolorOpacity tracks, and Y rotation and scale curves.
aquacolor3D animation and linked-document tracks, linked layers in the Layers panel, and Z rotation and scale curves.
orangecolorWarnings, transform tracks, and number curves in the graph editor (opacity, effect settings).
Dark colors
redDarkcolorNot used by the app yet.
greenDarkcolorNot used by the app yet.
yellowDarkcolorNot used by the app yet.
blueDarkcolorNot used by the app yet.
purpleDarkcolorNot used by the app yet.
aquaDarkcolorNot used by the app yet.
orangeDarkcolorNot used by the app yet.
The built-in themes#
Each downloads as a .sgtheme file, ready to rename and change.