Both themes used bg_terminal, on the assumption the name meant "the terminal's background". It does not -- the shared Theme struct documents it as "For terminal output blocks (currently unused, using bg_dark instead)". The surface grok actually paints is bg_base, so GrokDay was rendering brighter than grok itself (#f5f5f5 vs #eeeeee) and GrokNight darker (#0a0a0a vs #141414). GrokDay's color15 moves from bg_storm to bg (#f5f5f5): bg_storm is now the background, so bright white would have been invisible against it. Audited every slot in both files against the source palettes: each value maps to a named palette color, no text color is under 3:1 on its background, and cursor and selection overlays clear 4.5:1.
61 lines
2.1 KiB
Plaintext
61 lines
2.1 KiB
Plaintext
## name: GrokDay
|
|
## author: xAI (grok build), ported by Anton
|
|
## license: see https://github.com/xai-org/grok-build
|
|
## upstream: https://github.com/xai-org/grok-build/blob/main/crates/codegen/xai-grok-pager-render/src/theme/grokday.rs
|
|
## blurb: The GrokDay theme from grok build's TUI: light counterpart with deepened accents.
|
|
|
|
# GrokDay — neutral light gray base with deepened accents.
|
|
#
|
|
# Ported from grok build's TUI theme:
|
|
# xai-org/grok-build
|
|
# crates/codegen/xai-grok-pager-render/src/theme/grokday.rs
|
|
#
|
|
# Light counterpart to GrokNight: same hue family, darkened for contrast on a
|
|
# light background. background is grok's bg_base, the surface the TUI actually
|
|
# paints; bg_terminal (#f5f5f5) is for terminal-output blocks and is unused.
|
|
# cursor is accent_user, which grok itself sets over OSC 12 on startup.
|
|
|
|
background #eeeeee
|
|
foreground #262626
|
|
cursor #444444
|
|
cursor_text_color #eeeeee
|
|
selection_background #c6c6c6
|
|
selection_foreground #262626
|
|
url_color #2f64d2
|
|
|
|
# black — text_primary / dark5
|
|
color0 #262626
|
|
color8 #626262
|
|
# red — red1 / red
|
|
color1 #af2323
|
|
color9 #cd3048
|
|
# green — green / green1
|
|
color2 #378e23
|
|
color10 #0c947c
|
|
# yellow — yellow / orange
|
|
color3 #a27612
|
|
color11 #c3691e
|
|
# blue — blue0 / blue
|
|
color4 #28448a
|
|
color12 #2f64d2
|
|
# magenta — purple / magenta (grok's signature accent)
|
|
color5 #6c3eb2
|
|
color13 #7d4bc6
|
|
# cyan — teal / cyan
|
|
color6 #0a8e70
|
|
color14 #0082aa
|
|
# white — fg_gutter / bg (the palette's brightest; bg_storm is now the
|
|
# background itself, so it would be invisible here)
|
|
color7 #b2b2b2
|
|
color15 #f5f5f5
|
|
|
|
# START_AUTOGENERATED_TAB_STYLE
|
|
# Feel free to update these colors manually and remove these comments.
|
|
active_tab_foreground #f5f5f5
|
|
active_tab_background #7d4bc6
|
|
inactive_tab_foreground #7d4bc6
|
|
inactive_tab_background #f5f5f5
|
|
# END_AUTOGENERATED_TAB_STYLE
|
|
|
|
macos_titlebar_color background
|