Commit 1835394
authored
TUI: add light/dark theme support (#393)
* tui: add light/dark theme support with --theme flag
Replace hardcoded dark-theme colors with a switchable palette via
styles.SetDarkTheme(). The light palette uses darker color variants
(dark gold, dark green, dark teal, black text) optimized for light
terminal backgrounds.
Add --theme CLI flag and KUBEFWD_THEME env var to override the default
dark theme. Priority: flag > env var > default (dark).
Usage:
sudo -E kubefwd svc -n ns --tui --theme light
KUBEFWD_THEME=light sudo -E kubefwd svc -n ns --tui
* Remove FOSSA license verification config
FOSSA's JS dependency scanning requires a paid account for exclusions
and consistently fails on documentation build dependencies.1 parent c08d613 commit 1835394
File tree
4 files changed
+349
-283
lines changed- cmd/kubefwd/services
- pkg/fwdtui/styles
4 files changed
+349
-283
lines changedThis file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
10 | 11 | | |
11 | 12 | | |
12 | 13 | | |
| |||
22 | 23 | | |
23 | 24 | | |
24 | 25 | | |
| 26 | + | |
25 | 27 | | |
26 | 28 | | |
27 | 29 | | |
| |||
54 | 56 | | |
55 | 57 | | |
56 | 58 | | |
| 59 | + | |
57 | 60 | | |
58 | 61 | | |
59 | 62 | | |
| |||
93 | 96 | | |
94 | 97 | | |
95 | 98 | | |
| 99 | + | |
96 | 100 | | |
97 | 101 | | |
98 | 102 | | |
| |||
615 | 619 | | |
616 | 620 | | |
617 | 621 | | |
| 622 | + | |
| 623 | + | |
| 624 | + | |
| 625 | + | |
| 626 | + | |
| 627 | + | |
| 628 | + | |
| 629 | + | |
| 630 | + | |
| 631 | + | |
| 632 | + | |
| 633 | + | |
| 634 | + | |
| 635 | + | |
| 636 | + | |
| 637 | + | |
| 638 | + | |
| 639 | + | |
| 640 | + | |
| 641 | + | |
| 642 | + | |
| 643 | + | |
| 644 | + | |
618 | 645 | | |
619 | 646 | | |
620 | 647 | | |
| |||
624 | 651 | | |
625 | 652 | | |
626 | 653 | | |
| 654 | + | |
| 655 | + | |
627 | 656 | | |
628 | 657 | | |
629 | 658 | | |
| |||
0 commit comments