dotfiles/private_dot_config/kitty/groknight.conf
Anton Volnuhin c2d0485320 kitty: add GrokNight and GrokDay themes
Ported from grok build's TUI themes, whose palettes are defined in
crates/codegen/xai-grok-pager-render/src/theme/{groknight,grokday}.rs in
xai-org/grok-build -- they are compiled RGB constants, not extractable
from the shipped binary.

background uses grok's bg_terminal and cursor uses accent_user, which
grok sets over OSC 12 at startup, so a grok session sits flush against
the terminal. ANSI slots map onto the palette's own normal/bright pairs.

GrokNight's blue uses `blue` in both slots, as upstream TokyoNight does:
the palette's blue0 is a background blue and only reaches 2.96:1 on
#0a0a0a, which is too dim for ls output.
2026-08-06 03:04:36 +03:00

54 lines
1.8 KiB
Plaintext

# GrokNight — neutral gray base with TokyoNight accents.
#
# Ported from grok build's TUI theme:
# xai-org/grok-build
# crates/codegen/xai-grok-pager-render/src/theme/groknight.rs
#
# background is grok's bg_terminal (the color the TUI expects behind it) and
# cursor is accent_user, which grok itself sets over OSC 12 on startup, so a
# grok session blends into the terminal instead of sitting on a seam.
background #0a0a0a
foreground #e1e1e1
cursor #c8c8c8
cursor_text_color #0a0a0a
selection_background #363636
selection_foreground #e1e1e1
url_color #7aa6da
# black — fg_gutter / dark5
color0 #414141
color8 #787878
# red — red1 / red
color1 #db4b4b
color9 #f7768e
# green — green / green1
color2 #9ece6a
color10 #73daca
# yellow — yellow / orange
color3 #e0af68
color11 #ff9e64
# blue — blue for both, as upstream TokyoNight does; the palette's blue0
# (#3d59a1) is a background blue and only reaches 2.96:1 on this bg
color4 #7aa2f7
color12 #7aa2f7
# magenta — purple / magenta (grok's signature accent)
color5 #9d7cd8
color13 #bb9af7
# cyan — teal / cyan
color6 #1abc9c
color14 #7dcfff
# white — text_secondary / text_primary
color7 #c8c8c8
color15 #e1e1e1
# START_AUTOGENERATED_TAB_STYLE
# Feel free to update these colors manually and remove these comments.
active_tab_foreground #0a0a0a
active_tab_background #bb9af7
inactive_tab_foreground #bb9af7
inactive_tab_background #0a0a0a
# END_AUTOGENERATED_TAB_STYLE
macos_titlebar_color background