dotfiles/private_dot_config/kitty/themes/GrokNight.conf
Anton Volnuhin 1c4e3774cf kitty: put the grok themes in the picker, move the mode store aside
`kitten themes` treats every .conf in <config-dir>/themes as a user
theme, which the mode system's canonical store was sitting in -- so the
picker was offering three bogus entries named light, dark and
no-preference, and had been since that store was introduced.

Move the store to ./theme-modes so ./themes means only what the kitten
means by it, and repoint apply-theme-mode.sh, the kitten shim, the
run_after hook and the test at the new path.

GrokNight and GrokDay move into ./themes with the ## name/author/
license/upstream/blurb header the kitten reads, so they now show up in
`kitten themes` and `--dump-theme` resolves them.

theme-modes/dark.conf carries the #202020 theme that was already on
disk: the file had to be re-added at its new path, so that drift comes
along with it.
2026-08-06 03:24:48 +03:00

60 lines
2.1 KiB
Plaintext

## name: GrokNight
## 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/groknight.rs
## blurb: The GrokNight theme from grok build's TUI: neutral gray base with TokyoNight accents.
# 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