Skip to content

Theme Token Reference

Every design token in the Polytoken theme system, with the resolved dark and light default styles. When you write a theme file, you set values for these tokens. Tokens marked required must appear in every theme file; tokens that omit a color fall back to the body foreground or app_background background. See Themes for how to author and apply themes.

TokenDescriptionRequiredDark FGDark BGLight FGLight BGModifiers
errorError messages and error-state indicators.No#ff6464(inherit)#b40000(inherit)
warningWarning messages and caution indicators.No#ffb432(inherit)#b45a00(inherit)
successSuccess confirmations and positive status indicators.No#50dc50(inherit)#008200(inherit)
infoInformational messages and neutral status indicators.No#64b4ff(inherit)#005ac8(inherit)
TokenDescriptionRequiredDark FGDark BGLight FGLight BGModifiers
dimDimmed secondary text with reduced contrast.No#969696(inherit)#787878(inherit)
accentAccent color for emphasized text and highlights.No#78c8ff(inherit)#0064dc(inherit)bold
bodyDefault body text foreground for all content.Yes#dcdcdc(inherit)#1e1e1e(inherit)
mutedMuted secondary text with lower emphasis than body text.No#969696(inherit)#787878(inherit)
app_backgroundBase application background behind all content.Yes#dcdcdc#000000#1e1e1e#ffffff
muted_emphasisDimmed italic text for secondary annotations such as command aliases and theme source labels.No#969696(inherit)#787878(inherit)italic
TokenDescriptionRequiredDark FGDark BGLight FGLight BGModifiers
borderBorder lines and separators between UI regions.No#505050(inherit)#b4b4b4(inherit)
floating_window_backgroundBackground for floating windows, dialogs, and popups.No#dcdcdc#121212#1e1e1e#ffffff
expansion_indicatorIndicator glyph for expandable or collapsible cards.No#ffffff(inherit)#ffffff(inherit)bold
tool_detail_barTool detail progress bar and secondary indicators.No#828282(inherit)#969696(inherit)
facet_chromeFacet name indicator in the prompt rule and status bar.No#ebbe78(inherit)#5f411e(inherit)bold
ask_user_question_chromeChrome for ask-user-question interrogative takeovers.No#ff82e6(inherit)#961478(inherit)bold
subagent_chromeChrome for subagent lifecycle and progress indicators.No#a0e6f5(inherit)#145a6e(inherit)bold
goal_accentAccent color for goal status card headers.No#c8a0ff(inherit)#8246c8(inherit)bold
TokenDescriptionRequiredDark FGDark BGLight FGLight BGModifiers
focus_ringBackground highlight for focused UI elements.No#dcdcdc#142d5a#1e1e1e#e1eeff
selectedBackground for selected cells in mouse drag selection and navigation.No#dcdcdc#465a82#1e1e1e#ffe696
prompt_selectionBackground for selected text inside the prompt input area.No#dcdcdc#465a82#1e1e1e#ffe696
TokenDescriptionRequiredDark FGDark BGLight FGLight BGModifiers
user_message_backgroundBackground for user prompt message cards.No#dcdcdc#1b1b1b#1e1e1e#eeeeee
system_reminder_backgroundBackground and foreground for system reminder cards.No#969696#000000#787878#f5f5f5
assistant_message_backgroundBackground for assistant and tool-call message cards.No#dcdcdc#1b1b1b#1e1e1e#eeeeee
TokenDescriptionRequiredDark FGDark BGLight FGLight BGModifiers
prompt_reference_resolvedForeground for resolved file and reference completions.No#9bebaa(inherit)#005f28(inherit)
prompt_reference_unresolvedForeground for unresolved or invalid file references.No#ff9696(inherit)#a00000(inherit)
TokenDescriptionRequiredDark FGDark BGLight FGLight BGModifiers
family_claudeAccent color for Claude-family models.No#ff8c3c(inherit)#c85000(inherit)
family_openaiAccent color for OpenAI and GPT-family models.No#28c8a0(inherit)#10a37f(inherit)
family_geminiAccent color for Gemini-family models.No#64aaff(inherit)#4285f4(inherit)
family_ollamaAccent color for Ollama and Llama-family models.No#a078ff(inherit)#643cb4(inherit)
family_glmAccent color for GLM-family models.No#ff648c(inherit)#dc3c64(inherit)
family_deepseekAccent color for DeepSeek-family models.No#64aae6(inherit)#508cc8(inherit)
family_mimoAccent color for MiMo-family models.No#ff8c3c(inherit)#e6641e(inherit)
family_minimaxAccent color for MiniMax-family models.No#e6be3c(inherit)#c8a01e(inherit)
family_nvidiaAccent color for NVIDIA and Nemotron-family models.No#76b900(inherit)#76b900(inherit)
family_unknownAccent color for unrecognized or generic models.No#a0a0a0(inherit)#787878(inherit)
TokenDescriptionRequiredDark FGDark BGLight FGLight BGModifiers
diff_addedAdded lines in diff previews.No#50dc50(inherit)#007800(inherit)
diff_removedRemoved lines in diff previews.No#ff6464(inherit)#b40000(inherit)
diff_contextUnchanged context lines in diff previews.No#b4b4b4(inherit)#505050(inherit)
diff_hunk_headerHunk header lines in diff previews.No#64b4ff(inherit)#0050b4(inherit)bold
TokenDescriptionRequiredDark FGDark BGLight FGLight BGModifiers
code_keywordSyntax highlighting for keywords in code blocks.No#78a0ff(inherit)#0000b4(inherit)
code_stringSyntax highlighting for string literals in code blocks.No#64dc64(inherit)#008200(inherit)
code_commentSyntax highlighting for comments in code blocks.No#8c8c8c(inherit)#828282(inherit)italic
code_literalSyntax highlighting for numeric and constant literals in code blocks.No#ffa550(inherit)#c86400(inherit)
code_typeSyntax highlighting for type names in code blocks.No#50c8dc(inherit)#0082b4(inherit)
code_functionSyntax highlighting for function names in code blocks.No#dcc850(inherit)#825a00(inherit)
code_operatorSyntax highlighting for operators in code blocks.No#c8c8c8(inherit)#323232(inherit)
code_numberSyntax highlighting for numeric values in code blocks.No#dc78dc(inherit)#960096(inherit)
code_punctuationSyntax highlighting for punctuation in code blocks.No#bebebe(inherit)#3c3c3c(inherit)
TokenDescriptionRequiredDark FGDark BGLight FGLight BGModifiers
status_bar_modelModel name label in the status bar.No#dcdcdc(inherit)#1e1e1e(inherit)bold
status_bar_facetFacet name label in the status bar.No#64b4ff(inherit)#0050b4(inherit)bold
status_bar_monitorPermission monitor indicator in the status bar.No#50c878(inherit)#00783c(inherit)
status_bar_monitor_bypass_plusBypass-plus monitor indicator in the status bar.No#50c8dc(inherit)#0096aa(inherit)
status_bar_labelStatic label text in the status bar.No#ffffff(inherit)#1e1e1e(inherit)bold
status_bar_dirtyDirty/uncommitted-change indicator in the status bar.No#ffc83c(inherit)#aa6e00(inherit)
status_bar_blockBackground fill for status bar regions.No#dcdcdc#2d2d2d#1e1e1e#e1e1e1
TokenDescriptionRequiredDark FGDark BGLight FGLight BGModifiers
sidebar_pane_state_indicatorState indicator dot for sidebar panes.No#ffffff(inherit)#1e1e1e(inherit)bold
TokenDescriptionRequiredDark FGDark BGLight FGLight BGModifiers
linkClickable hyperlink text in rendered markdown.No#64b4ff(inherit)#0050c8(inherit)underlined
code_inlineInline code spans in rendered markdown.No#ff8cb4(inherit)#820050(inherit)
TokenDescriptionRequiredDark FGDark BGLight FGLight BGModifiers
completion_flashBrief background flash when a turn completes.No#dcdcdc#14502d#1e1e1e#d2f5d7
error_pulseBackground pulse animation for error states.No#dcdcdc#5f1e28#1e1e1e#ffd7d7