Themes
Customize the visual appearance of Tabnine CLI with themes.
Customize the visual appearance of Tabnine CLI with built-in themes.
Available Themes
Tabnine CLI includes the following built-in themes:
Dark themes:
ANSIAtom OneAyuDefaultDraculaGitHub
Light themes:
ANSI LightAyu LightDefault LightGitHub LightGoogle CodeXcode
Theme Persistence: Your theme selection is saved to .tabnine/agent/settings.json and persists across sessions.
Custom Themes
To define custom themes, add a customThemes section to your settings.json file, located under user, project, or system settings. Each theme is an object with a unique name and associated color keys. For example:
Required properties:
name(must be a string)type(must be the string"custom")BackgroundForegroundLightBlueAccentBlueAccentPurpleAccentCyanAccentGreenAccentYellowAccentRedCommentGray
Optional properties
DiffAddedDiffRemovedDiffModifiedGradientColors
Use hex codes (e.g., #FF0000) or CSS color names (e.g., coral, teal).
Changing Themes
You can switch between themes in two ways, either by using the /theme command or via /settings.
Command
Type the /theme command. This will open an interactive theme selector.
Navigate
Use arrow keys or J/K.
Preview
Preview theme in real-time.
Apply
Press Enter to apply.
Edit the file at .tabnine/agent/settings.json, adjusting the "theme" according to the available themes.
See Also
Last updated
Was this helpful?
