feat: update K9s Theme for codex usse

This commit is contained in:
2026-11-11 02:27:35 +00:00
parent 953ad22dce
commit cd568660b8

24
K9S.md
View File

@@ -30,6 +30,12 @@ k9s:
labelFgColor: default labelFgColor: default
fieldFgColor: default fieldFgColor: default
frame: frame:
border:
fgColor: "#2f8cea"
focusColor: "#2f8cea"
status:
newColor: "#2f8cea"
highlightColor: "#003d66"
crumbs: crumbs:
bgColor: default bgColor: default
title: title:
@@ -42,6 +48,8 @@ k9s:
bgColor: default bgColor: default
table: table:
bgColor: default bgColor: default
cursorBgColor: "#2f8cea"
cursorFgColor: "#ffffff"
header: header:
fgColor: default fgColor: default
bgColor: default bgColor: default
@@ -58,6 +66,22 @@ k9s:
valueColor: default valueColor: default
``` ```
## Màu của skin `light4`
- Nền bảng dùng màu nền terminal.
- Viền bảng và dòng thường dùng xanh `#2F8CEA`. Dòng thường khi được chọn có nền xanh và chữ trắng `#FFFFFF`.
- Namespace đang hoạt động, có dấu `(*)`, dùng chữ xanh đậm `#003D66`.
Trên terminal hỗ trợ true color, chạy `COLORTERM=truecolor k9s` để K9s xuất màu RGB trực tiếp. Nếu dùng K9s thường xuyên, có thể tạo file `~/.local/bin/k9s` với nội dung sau, khi `~/.local/bin` đứng trước `/usr/bin` trong `PATH`:
```sh
#!/bin/sh
export COLORTERM=truecolor
exec /usr/bin/k9s "$@"
```
Chạy `chmod +x ~/.local/bin/k9s` và `hash -r` trong Bash, rồi mở lại K9s.
## Fix trên máy jovyan / coder workspace ## Fix trên máy jovyan / coder workspace
Máy này đang chạy bằng user `jovyan`, nên cấu hình k9s nằm ở: Máy này đang chạy bằng user `jovyan`, nên cấu hình k9s nằm ở: