gitnc 0.1.2__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- gitnc/__init__.py +3 -0
- gitnc/__main__.py +15 -0
- gitnc/app.py +4699 -0
- gitnc/git.py +1052 -0
- gitnc/terminal.py +230 -0
- gitnc/themes/__init__.py +25 -0
- gitnc/themes/atom-one-dark.yaml +100 -0
- gitnc/themes/atom-one-light.yaml +100 -0
- gitnc/themes/catppuccin-frappe.yaml +108 -0
- gitnc/themes/catppuccin-latte.yaml +101 -0
- gitnc/themes/catppuccin-macchiato.yaml +108 -0
- gitnc/themes/catppuccin-mocha.yaml +108 -0
- gitnc/themes/dracula.yaml +101 -0
- gitnc/themes/flexoki.yaml +103 -0
- gitnc/themes/gruvbox.yaml +102 -0
- gitnc/themes/midnight-commander.yaml +104 -0
- gitnc/themes/monokai.yaml +102 -0
- gitnc/themes/nord.yaml +106 -0
- gitnc/themes/rose-pine-dawn.yaml +107 -0
- gitnc/themes/rose-pine-moon.yaml +107 -0
- gitnc/themes/rose-pine.yaml +107 -0
- gitnc/themes/solarized-dark.yaml +104 -0
- gitnc/themes/solarized-light.yaml +104 -0
- gitnc/themes/textual-ansi.yaml +110 -0
- gitnc/themes/textual-dark.yaml +100 -0
- gitnc/themes/textual-light.yaml +101 -0
- gitnc/themes/tokyo-night.yaml +101 -0
- gitnc/ui_theme.py +268 -0
- gitnc-0.1.2.dist-info/METADATA +14 -0
- gitnc-0.1.2.dist-info/RECORD +33 -0
- gitnc-0.1.2.dist-info/WHEEL +4 -0
- gitnc-0.1.2.dist-info/entry_points.txt +2 -0
- gitnc-0.1.2.dist-info/licenses/LICENSE +232 -0
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
# Textual theme palette. These fields are forwarded to textual.theme.Theme,
|
|
2
|
+
# which colors the application chrome (borders, buttons, headers, scrollbars).
|
|
3
|
+
# `name` is the identifier shown in the Theme menu and persisted in settings.json.
|
|
4
|
+
# Color values accept any CSS-style color (hex, ansi_*, rgb()).
|
|
5
|
+
name: catppuccin-macchiato
|
|
6
|
+
primary: '#C6A0F6'
|
|
7
|
+
secondary: '#F5A97F'
|
|
8
|
+
warning: '#EED49F'
|
|
9
|
+
error: '#ED8796'
|
|
10
|
+
success: '#A6DA95'
|
|
11
|
+
accent: '#F5BDE6'
|
|
12
|
+
foreground: '#CAD3F5'
|
|
13
|
+
background: '#24273A'
|
|
14
|
+
surface: '#363A4F'
|
|
15
|
+
panel: '#494D64'
|
|
16
|
+
boost: null
|
|
17
|
+
|
|
18
|
+
# Theme behavior flags.
|
|
19
|
+
# `dark` selects dark-mode contrast defaults inside Textual.
|
|
20
|
+
# `luminosity_spread` / `text_alpha` tune Textual's automatic shade derivation.
|
|
21
|
+
# `variables` are passed through to Textual's CSS variable table
|
|
22
|
+
# (use kebab-case keys, e.g. `block-cursor-foreground`).
|
|
23
|
+
# `ansi: true` opts the theme into the terminal's own ANSI palette
|
|
24
|
+
# instead of fixed hex colors.
|
|
25
|
+
dark: true
|
|
26
|
+
luminosity_spread: 0.15
|
|
27
|
+
text_alpha: 0.95
|
|
28
|
+
variables:
|
|
29
|
+
input-cursor-foreground: '#181926'
|
|
30
|
+
input-cursor-background: '#F4DBD6'
|
|
31
|
+
border: '#B7BDF8'
|
|
32
|
+
border-blurred: '#737994'
|
|
33
|
+
footer-background: '#494D64'
|
|
34
|
+
block-cursor-foreground: '#1E2030'
|
|
35
|
+
block-cursor-text-style: none
|
|
36
|
+
button-color-foreground: '#24273A'
|
|
37
|
+
ansi: false
|
|
38
|
+
|
|
39
|
+
# Status-code colors painted in the Status column of the file list.
|
|
40
|
+
# Values are Rich style strings (e.g. "bold yellow", "#ff8800").
|
|
41
|
+
status_modified: bold yellow
|
|
42
|
+
status_type_changed: 'bold #ff8800'
|
|
43
|
+
status_added: bold green
|
|
44
|
+
status_deleted: bold red
|
|
45
|
+
status_renamed: bold cyan
|
|
46
|
+
status_copied: bold blue
|
|
47
|
+
status_unmerged: 'bold #ff5555'
|
|
48
|
+
status_untracked: bold white
|
|
49
|
+
status_ignored: '#888888'
|
|
50
|
+
status_submodule: bold magenta
|
|
51
|
+
|
|
52
|
+
# Diff line rendering inside FileDiff.
|
|
53
|
+
# Added/removed lines get a foreground color and a dimmer matching line-number gutter.
|
|
54
|
+
diff_added_line: green
|
|
55
|
+
diff_added_line_number: green dim
|
|
56
|
+
diff_removed_line: red
|
|
57
|
+
diff_removed_line_number: red dim
|
|
58
|
+
diff_context_line_number: dim
|
|
59
|
+
|
|
60
|
+
# Commit detail rendering inside CommitDetail (git show output).
|
|
61
|
+
# The commit/Author/Date header block, and the @@ hunk markers of a patch.
|
|
62
|
+
commit_header_line: bold
|
|
63
|
+
diff_hunk_header: cyan
|
|
64
|
+
|
|
65
|
+
# Y/N hint shown at the bottom of the confirm dialog.
|
|
66
|
+
confirm_yes_key: b green
|
|
67
|
+
confirm_no_key: b red
|
|
68
|
+
|
|
69
|
+
# Warning text shown above the file list (e.g. submodule branch mismatches).
|
|
70
|
+
warning_text: bold red
|
|
71
|
+
|
|
72
|
+
# Faint hint text at the bottom of dialogs (e.g. "(Esc cancels)").
|
|
73
|
+
dialog_hint: dim
|
|
74
|
+
|
|
75
|
+
# Accelerator letter highlighted in the menu bar and in dropdown entries.
|
|
76
|
+
# Must stay readable on the menu bar ($menu-bar-background) and dropdown ($panel)
|
|
77
|
+
# backgrounds.
|
|
78
|
+
menu_mnemonic: bold underline
|
|
79
|
+
|
|
80
|
+
# Settings dialog checkbox mark color.
|
|
81
|
+
checkbox_mark: green
|
|
82
|
+
|
|
83
|
+
# Settings dialog text caret. It is drawn on the cell it sits on, so it
|
|
84
|
+
# swaps that cell's colors instead of painting one of its own.
|
|
85
|
+
text_caret: reverse
|
|
86
|
+
|
|
87
|
+
# Selected text in the commit message box (Shift+arrows). Empty keeps
|
|
88
|
+
# Textual's default: $primary lightened at 40% opacity over the background.
|
|
89
|
+
text_selection_background: '#838BA7 30%'
|
|
90
|
+
text_selection_foreground: ''
|
|
91
|
+
|
|
92
|
+
# Chrome colors for the menu bar and the footer. The defaults are Textual's
|
|
93
|
+
# own Header/Footer palette, so the bars match every other Textual app.
|
|
94
|
+
# Values may reference this theme's palette fields with `$name`.
|
|
95
|
+
menu_bar_background: $panel
|
|
96
|
+
menu_bar_foreground: $foreground
|
|
97
|
+
footer_background: $panel
|
|
98
|
+
footer_foreground: $foreground
|
|
99
|
+
|
|
100
|
+
# CSS variables emitted for the file-list cursor and multi-selection.
|
|
101
|
+
# Values may reference Textual palette variables with `$name` (e.g. `$primary`).
|
|
102
|
+
# References are resolved against this theme's own fields when the CSS is generated.
|
|
103
|
+
cursor_row_background: $primary
|
|
104
|
+
cursor_row_foreground: $foreground
|
|
105
|
+
selected_file_background: $warning 30%
|
|
106
|
+
selected_file_foreground: $success
|
|
107
|
+
selected_cursor_row_background: $primary
|
|
108
|
+
selected_cursor_row_foreground: $success
|
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
# Textual theme palette. These fields are forwarded to textual.theme.Theme,
|
|
2
|
+
# which colors the application chrome (borders, buttons, headers, scrollbars).
|
|
3
|
+
# `name` is the identifier shown in the Theme menu and persisted in settings.json.
|
|
4
|
+
# Color values accept any CSS-style color (hex, ansi_*, rgb()).
|
|
5
|
+
name: catppuccin-mocha
|
|
6
|
+
primary: '#F5C2E7'
|
|
7
|
+
secondary: '#cba6f7'
|
|
8
|
+
warning: '#FAE3B0'
|
|
9
|
+
error: '#F28FAD'
|
|
10
|
+
success: '#ABE9B3'
|
|
11
|
+
accent: '#fab387'
|
|
12
|
+
foreground: '#cdd6f4'
|
|
13
|
+
background: '#181825'
|
|
14
|
+
surface: '#313244'
|
|
15
|
+
panel: '#45475a'
|
|
16
|
+
boost: null
|
|
17
|
+
|
|
18
|
+
# Theme behavior flags.
|
|
19
|
+
# `dark` selects dark-mode contrast defaults inside Textual.
|
|
20
|
+
# `luminosity_spread` / `text_alpha` tune Textual's automatic shade derivation.
|
|
21
|
+
# `variables` are passed through to Textual's CSS variable table
|
|
22
|
+
# (use kebab-case keys, e.g. `block-cursor-foreground`).
|
|
23
|
+
# `ansi: true` opts the theme into the terminal's own ANSI palette
|
|
24
|
+
# instead of fixed hex colors.
|
|
25
|
+
dark: true
|
|
26
|
+
luminosity_spread: 0.15
|
|
27
|
+
text_alpha: 0.95
|
|
28
|
+
variables:
|
|
29
|
+
input-cursor-foreground: '#11111b'
|
|
30
|
+
input-cursor-background: '#f5e0dc'
|
|
31
|
+
border: '#b4befe'
|
|
32
|
+
border-blurred: '#585b70'
|
|
33
|
+
footer-background: '#45475a'
|
|
34
|
+
block-cursor-foreground: '#1e1e2e'
|
|
35
|
+
block-cursor-text-style: none
|
|
36
|
+
button-color-foreground: '#181825'
|
|
37
|
+
ansi: false
|
|
38
|
+
|
|
39
|
+
# Status-code colors painted in the Status column of the file list.
|
|
40
|
+
# Values are Rich style strings (e.g. "bold yellow", "#ff8800").
|
|
41
|
+
status_modified: bold yellow
|
|
42
|
+
status_type_changed: 'bold #ff8800'
|
|
43
|
+
status_added: bold green
|
|
44
|
+
status_deleted: bold red
|
|
45
|
+
status_renamed: bold cyan
|
|
46
|
+
status_copied: bold blue
|
|
47
|
+
status_unmerged: 'bold #ff5555'
|
|
48
|
+
status_untracked: bold white
|
|
49
|
+
status_ignored: '#888888'
|
|
50
|
+
status_submodule: bold magenta
|
|
51
|
+
|
|
52
|
+
# Diff line rendering inside FileDiff.
|
|
53
|
+
# Added/removed lines get a foreground color and a dimmer matching line-number gutter.
|
|
54
|
+
diff_added_line: green
|
|
55
|
+
diff_added_line_number: green dim
|
|
56
|
+
diff_removed_line: red
|
|
57
|
+
diff_removed_line_number: red dim
|
|
58
|
+
diff_context_line_number: dim
|
|
59
|
+
|
|
60
|
+
# Commit detail rendering inside CommitDetail (git show output).
|
|
61
|
+
# The commit/Author/Date header block, and the @@ hunk markers of a patch.
|
|
62
|
+
commit_header_line: bold
|
|
63
|
+
diff_hunk_header: cyan
|
|
64
|
+
|
|
65
|
+
# Y/N hint shown at the bottom of the confirm dialog.
|
|
66
|
+
confirm_yes_key: b green
|
|
67
|
+
confirm_no_key: b red
|
|
68
|
+
|
|
69
|
+
# Warning text shown above the file list (e.g. submodule branch mismatches).
|
|
70
|
+
warning_text: bold red
|
|
71
|
+
|
|
72
|
+
# Faint hint text at the bottom of dialogs (e.g. "(Esc cancels)").
|
|
73
|
+
dialog_hint: dim
|
|
74
|
+
|
|
75
|
+
# Accelerator letter highlighted in the menu bar and in dropdown entries.
|
|
76
|
+
# Must stay readable on the menu bar ($menu-bar-background) and dropdown ($panel)
|
|
77
|
+
# backgrounds.
|
|
78
|
+
menu_mnemonic: bold underline
|
|
79
|
+
|
|
80
|
+
# Settings dialog checkbox mark color.
|
|
81
|
+
checkbox_mark: green
|
|
82
|
+
|
|
83
|
+
# Settings dialog text caret. It is drawn on the cell it sits on, so it
|
|
84
|
+
# swaps that cell's colors instead of painting one of its own.
|
|
85
|
+
text_caret: reverse
|
|
86
|
+
|
|
87
|
+
# Selected text in the commit message box (Shift+arrows). Empty keeps
|
|
88
|
+
# Textual's default: $primary lightened at 40% opacity over the background.
|
|
89
|
+
text_selection_background: '#9399b2 30%'
|
|
90
|
+
text_selection_foreground: ''
|
|
91
|
+
|
|
92
|
+
# Chrome colors for the menu bar and the footer. The defaults are Textual's
|
|
93
|
+
# own Header/Footer palette, so the bars match every other Textual app.
|
|
94
|
+
# Values may reference this theme's palette fields with `$name`.
|
|
95
|
+
menu_bar_background: $panel
|
|
96
|
+
menu_bar_foreground: $foreground
|
|
97
|
+
footer_background: $panel
|
|
98
|
+
footer_foreground: $foreground
|
|
99
|
+
|
|
100
|
+
# CSS variables emitted for the file-list cursor and multi-selection.
|
|
101
|
+
# Values may reference Textual palette variables with `$name` (e.g. `$primary`).
|
|
102
|
+
# References are resolved against this theme's own fields when the CSS is generated.
|
|
103
|
+
cursor_row_background: $primary
|
|
104
|
+
cursor_row_foreground: $foreground
|
|
105
|
+
selected_file_background: $warning 30%
|
|
106
|
+
selected_file_foreground: $success
|
|
107
|
+
selected_cursor_row_background: $primary
|
|
108
|
+
selected_cursor_row_foreground: $success
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
# Textual theme palette. These fields are forwarded to textual.theme.Theme,
|
|
2
|
+
# which colors the application chrome (borders, buttons, headers, scrollbars).
|
|
3
|
+
# `name` is the identifier shown in the Theme menu and persisted in settings.json.
|
|
4
|
+
# Color values accept any CSS-style color (hex, ansi_*, rgb()).
|
|
5
|
+
name: dracula
|
|
6
|
+
primary: '#BD93F9'
|
|
7
|
+
secondary: '#6272A4'
|
|
8
|
+
warning: '#FFB86C'
|
|
9
|
+
error: '#FF5555'
|
|
10
|
+
success: '#50FA7B'
|
|
11
|
+
accent: '#FF79C6'
|
|
12
|
+
foreground: '#F8F8F2'
|
|
13
|
+
background: '#282A36'
|
|
14
|
+
surface: '#2B2E3B'
|
|
15
|
+
panel: '#313442'
|
|
16
|
+
boost: null
|
|
17
|
+
|
|
18
|
+
# Theme behavior flags.
|
|
19
|
+
# `dark` selects dark-mode contrast defaults inside Textual.
|
|
20
|
+
# `luminosity_spread` / `text_alpha` tune Textual's automatic shade derivation.
|
|
21
|
+
# `variables` are passed through to Textual's CSS variable table
|
|
22
|
+
# (use kebab-case keys, e.g. `block-cursor-foreground`).
|
|
23
|
+
# `ansi: true` opts the theme into the terminal's own ANSI palette
|
|
24
|
+
# instead of fixed hex colors.
|
|
25
|
+
dark: true
|
|
26
|
+
luminosity_spread: 0.15
|
|
27
|
+
text_alpha: 0.95
|
|
28
|
+
variables:
|
|
29
|
+
button-color-foreground: '#282A36'
|
|
30
|
+
ansi: false
|
|
31
|
+
|
|
32
|
+
# Status-code colors painted in the Status column of the file list.
|
|
33
|
+
# Values are Rich style strings (e.g. "bold yellow", "#ff8800").
|
|
34
|
+
status_modified: bold yellow
|
|
35
|
+
status_type_changed: 'bold #ff8800'
|
|
36
|
+
status_added: bold green
|
|
37
|
+
status_deleted: bold red
|
|
38
|
+
status_renamed: bold cyan
|
|
39
|
+
status_copied: bold blue
|
|
40
|
+
status_unmerged: 'bold #ff5555'
|
|
41
|
+
status_untracked: bold white
|
|
42
|
+
status_ignored: '#888888'
|
|
43
|
+
status_submodule: bold magenta
|
|
44
|
+
|
|
45
|
+
# Diff line rendering inside FileDiff.
|
|
46
|
+
# Added/removed lines get a foreground color and a dimmer matching line-number gutter.
|
|
47
|
+
diff_added_line: green
|
|
48
|
+
diff_added_line_number: green dim
|
|
49
|
+
diff_removed_line: red
|
|
50
|
+
diff_removed_line_number: red dim
|
|
51
|
+
diff_context_line_number: dim
|
|
52
|
+
|
|
53
|
+
# Commit detail rendering inside CommitDetail (git show output).
|
|
54
|
+
# The commit/Author/Date header block, and the @@ hunk markers of a patch.
|
|
55
|
+
commit_header_line: bold
|
|
56
|
+
diff_hunk_header: cyan
|
|
57
|
+
|
|
58
|
+
# Y/N hint shown at the bottom of the confirm dialog.
|
|
59
|
+
confirm_yes_key: b green
|
|
60
|
+
confirm_no_key: b red
|
|
61
|
+
|
|
62
|
+
# Warning text shown above the file list (e.g. submodule branch mismatches).
|
|
63
|
+
warning_text: bold red
|
|
64
|
+
|
|
65
|
+
# Faint hint text at the bottom of dialogs (e.g. "(Esc cancels)").
|
|
66
|
+
dialog_hint: dim
|
|
67
|
+
|
|
68
|
+
# Accelerator letter highlighted in the menu bar and in dropdown entries.
|
|
69
|
+
# Must stay readable on the menu bar ($menu-bar-background) and dropdown ($panel)
|
|
70
|
+
# backgrounds.
|
|
71
|
+
menu_mnemonic: bold underline
|
|
72
|
+
|
|
73
|
+
# Settings dialog checkbox mark color.
|
|
74
|
+
checkbox_mark: green
|
|
75
|
+
|
|
76
|
+
# Settings dialog text caret. It is drawn on the cell it sits on, so it
|
|
77
|
+
# swaps that cell's colors instead of painting one of its own.
|
|
78
|
+
text_caret: reverse
|
|
79
|
+
|
|
80
|
+
# Selected text in the commit message box (Shift+arrows). Empty keeps
|
|
81
|
+
# Textual's default: $primary lightened at 40% opacity over the background.
|
|
82
|
+
text_selection_background: ''
|
|
83
|
+
text_selection_foreground: ''
|
|
84
|
+
|
|
85
|
+
# Chrome colors for the menu bar and the footer. The defaults are Textual's
|
|
86
|
+
# own Header/Footer palette, so the bars match every other Textual app.
|
|
87
|
+
# Values may reference this theme's palette fields with `$name`.
|
|
88
|
+
menu_bar_background: $panel
|
|
89
|
+
menu_bar_foreground: $foreground
|
|
90
|
+
footer_background: $panel
|
|
91
|
+
footer_foreground: $foreground
|
|
92
|
+
|
|
93
|
+
# CSS variables emitted for the file-list cursor and multi-selection.
|
|
94
|
+
# Values may reference Textual palette variables with `$name` (e.g. `$primary`).
|
|
95
|
+
# References are resolved against this theme's own fields when the CSS is generated.
|
|
96
|
+
cursor_row_background: $primary
|
|
97
|
+
cursor_row_foreground: $foreground
|
|
98
|
+
selected_file_background: $warning 30%
|
|
99
|
+
selected_file_foreground: $success
|
|
100
|
+
selected_cursor_row_background: $primary
|
|
101
|
+
selected_cursor_row_foreground: $success
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
# Textual theme palette. These fields are forwarded to textual.theme.Theme,
|
|
2
|
+
# which colors the application chrome (borders, buttons, headers, scrollbars).
|
|
3
|
+
# `name` is the identifier shown in the Theme menu and persisted in settings.json.
|
|
4
|
+
# Color values accept any CSS-style color (hex, ansi_*, rgb()).
|
|
5
|
+
name: flexoki
|
|
6
|
+
primary: '#205EA6'
|
|
7
|
+
secondary: '#24837B'
|
|
8
|
+
warning: '#AD8301'
|
|
9
|
+
error: '#AF3029'
|
|
10
|
+
success: '#66800B'
|
|
11
|
+
accent: '#9B76C8'
|
|
12
|
+
foreground: '#FFFCF0'
|
|
13
|
+
background: '#100F0F'
|
|
14
|
+
surface: '#1C1B1A'
|
|
15
|
+
panel: '#282726'
|
|
16
|
+
boost: null
|
|
17
|
+
|
|
18
|
+
# Theme behavior flags.
|
|
19
|
+
# `dark` selects dark-mode contrast defaults inside Textual.
|
|
20
|
+
# `luminosity_spread` / `text_alpha` tune Textual's automatic shade derivation.
|
|
21
|
+
# `variables` are passed through to Textual's CSS variable table
|
|
22
|
+
# (use kebab-case keys, e.g. `block-cursor-foreground`).
|
|
23
|
+
# `ansi: true` opts the theme into the terminal's own ANSI palette
|
|
24
|
+
# instead of fixed hex colors.
|
|
25
|
+
dark: true
|
|
26
|
+
luminosity_spread: 0.15
|
|
27
|
+
text_alpha: 0.95
|
|
28
|
+
variables:
|
|
29
|
+
input-cursor-foreground: '#5E409D'
|
|
30
|
+
input-cursor-background: '#FFFCF0'
|
|
31
|
+
button-color-foreground: '#FFFCF0'
|
|
32
|
+
ansi: false
|
|
33
|
+
|
|
34
|
+
# Status-code colors painted in the Status column of the file list.
|
|
35
|
+
# Values are Rich style strings (e.g. "bold yellow", "#ff8800").
|
|
36
|
+
status_modified: bold yellow
|
|
37
|
+
status_type_changed: 'bold #ff8800'
|
|
38
|
+
status_added: bold green
|
|
39
|
+
status_deleted: bold red
|
|
40
|
+
status_renamed: bold cyan
|
|
41
|
+
status_copied: bold blue
|
|
42
|
+
status_unmerged: 'bold #ff5555'
|
|
43
|
+
status_untracked: bold white
|
|
44
|
+
status_ignored: '#888888'
|
|
45
|
+
status_submodule: bold magenta
|
|
46
|
+
|
|
47
|
+
# Diff line rendering inside FileDiff.
|
|
48
|
+
# Added/removed lines get a foreground color and a dimmer matching line-number gutter.
|
|
49
|
+
diff_added_line: green
|
|
50
|
+
diff_added_line_number: green dim
|
|
51
|
+
diff_removed_line: red
|
|
52
|
+
diff_removed_line_number: red dim
|
|
53
|
+
diff_context_line_number: dim
|
|
54
|
+
|
|
55
|
+
# Commit detail rendering inside CommitDetail (git show output).
|
|
56
|
+
# The commit/Author/Date header block, and the @@ hunk markers of a patch.
|
|
57
|
+
commit_header_line: bold
|
|
58
|
+
diff_hunk_header: cyan
|
|
59
|
+
|
|
60
|
+
# Y/N hint shown at the bottom of the confirm dialog.
|
|
61
|
+
confirm_yes_key: b green
|
|
62
|
+
confirm_no_key: b red
|
|
63
|
+
|
|
64
|
+
# Warning text shown above the file list (e.g. submodule branch mismatches).
|
|
65
|
+
warning_text: bold red
|
|
66
|
+
|
|
67
|
+
# Faint hint text at the bottom of dialogs (e.g. "(Esc cancels)").
|
|
68
|
+
dialog_hint: dim
|
|
69
|
+
|
|
70
|
+
# Accelerator letter highlighted in the menu bar and in dropdown entries.
|
|
71
|
+
# Must stay readable on the menu bar ($menu-bar-background) and dropdown ($panel)
|
|
72
|
+
# backgrounds.
|
|
73
|
+
menu_mnemonic: bold underline
|
|
74
|
+
|
|
75
|
+
# Settings dialog checkbox mark color.
|
|
76
|
+
checkbox_mark: green
|
|
77
|
+
|
|
78
|
+
# Settings dialog text caret. It is drawn on the cell it sits on, so it
|
|
79
|
+
# swaps that cell's colors instead of painting one of its own.
|
|
80
|
+
text_caret: reverse
|
|
81
|
+
|
|
82
|
+
# Selected text in the commit message box (Shift+arrows). Empty keeps
|
|
83
|
+
# Textual's default: $primary lightened at 40% opacity over the background.
|
|
84
|
+
text_selection_background: '#6F6E69 35%'
|
|
85
|
+
text_selection_foreground: ''
|
|
86
|
+
|
|
87
|
+
# Chrome colors for the menu bar and the footer. The defaults are Textual's
|
|
88
|
+
# own Header/Footer palette, so the bars match every other Textual app.
|
|
89
|
+
# Values may reference this theme's palette fields with `$name`.
|
|
90
|
+
menu_bar_background: $panel
|
|
91
|
+
menu_bar_foreground: $foreground
|
|
92
|
+
footer_background: $panel
|
|
93
|
+
footer_foreground: $foreground
|
|
94
|
+
|
|
95
|
+
# CSS variables emitted for the file-list cursor and multi-selection.
|
|
96
|
+
# Values may reference Textual palette variables with `$name` (e.g. `$primary`).
|
|
97
|
+
# References are resolved against this theme's own fields when the CSS is generated.
|
|
98
|
+
cursor_row_background: $primary
|
|
99
|
+
cursor_row_foreground: $foreground
|
|
100
|
+
selected_file_background: $warning 30%
|
|
101
|
+
selected_file_foreground: $success
|
|
102
|
+
selected_cursor_row_background: $primary
|
|
103
|
+
selected_cursor_row_foreground: $success
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
# Textual theme palette. These fields are forwarded to textual.theme.Theme,
|
|
2
|
+
# which colors the application chrome (borders, buttons, headers, scrollbars).
|
|
3
|
+
# `name` is the identifier shown in the Theme menu and persisted in settings.json.
|
|
4
|
+
# Color values accept any CSS-style color (hex, ansi_*, rgb()).
|
|
5
|
+
name: gruvbox
|
|
6
|
+
primary: '#85A598'
|
|
7
|
+
secondary: '#A89A85'
|
|
8
|
+
warning: '#fe8019'
|
|
9
|
+
error: '#fb4934'
|
|
10
|
+
success: '#b8bb26'
|
|
11
|
+
accent: '#fabd2f'
|
|
12
|
+
foreground: '#fbf1c7'
|
|
13
|
+
background: '#282828'
|
|
14
|
+
surface: '#3c3836'
|
|
15
|
+
panel: '#504945'
|
|
16
|
+
boost: null
|
|
17
|
+
|
|
18
|
+
# Theme behavior flags.
|
|
19
|
+
# `dark` selects dark-mode contrast defaults inside Textual.
|
|
20
|
+
# `luminosity_spread` / `text_alpha` tune Textual's automatic shade derivation.
|
|
21
|
+
# `variables` are passed through to Textual's CSS variable table
|
|
22
|
+
# (use kebab-case keys, e.g. `block-cursor-foreground`).
|
|
23
|
+
# `ansi: true` opts the theme into the terminal's own ANSI palette
|
|
24
|
+
# instead of fixed hex colors.
|
|
25
|
+
dark: true
|
|
26
|
+
luminosity_spread: 0.15
|
|
27
|
+
text_alpha: 0.95
|
|
28
|
+
variables:
|
|
29
|
+
block-cursor-foreground: '#fbf1c7'
|
|
30
|
+
button-color-foreground: '#282828'
|
|
31
|
+
ansi: false
|
|
32
|
+
|
|
33
|
+
# Status-code colors painted in the Status column of the file list.
|
|
34
|
+
# Values are Rich style strings (e.g. "bold yellow", "#ff8800").
|
|
35
|
+
status_modified: bold yellow
|
|
36
|
+
status_type_changed: 'bold #ff8800'
|
|
37
|
+
status_added: bold green
|
|
38
|
+
status_deleted: bold red
|
|
39
|
+
status_renamed: bold cyan
|
|
40
|
+
status_copied: bold blue
|
|
41
|
+
status_unmerged: 'bold #ff5555'
|
|
42
|
+
status_untracked: bold white
|
|
43
|
+
status_ignored: '#888888'
|
|
44
|
+
status_submodule: bold magenta
|
|
45
|
+
|
|
46
|
+
# Diff line rendering inside FileDiff.
|
|
47
|
+
# Added/removed lines get a foreground color and a dimmer matching line-number gutter.
|
|
48
|
+
diff_added_line: green
|
|
49
|
+
diff_added_line_number: green dim
|
|
50
|
+
diff_removed_line: red
|
|
51
|
+
diff_removed_line_number: red dim
|
|
52
|
+
diff_context_line_number: dim
|
|
53
|
+
|
|
54
|
+
# Commit detail rendering inside CommitDetail (git show output).
|
|
55
|
+
# The commit/Author/Date header block, and the @@ hunk markers of a patch.
|
|
56
|
+
commit_header_line: bold
|
|
57
|
+
diff_hunk_header: cyan
|
|
58
|
+
|
|
59
|
+
# Y/N hint shown at the bottom of the confirm dialog.
|
|
60
|
+
confirm_yes_key: b green
|
|
61
|
+
confirm_no_key: b red
|
|
62
|
+
|
|
63
|
+
# Warning text shown above the file list (e.g. submodule branch mismatches).
|
|
64
|
+
warning_text: bold red
|
|
65
|
+
|
|
66
|
+
# Faint hint text at the bottom of dialogs (e.g. "(Esc cancels)").
|
|
67
|
+
dialog_hint: dim
|
|
68
|
+
|
|
69
|
+
# Accelerator letter highlighted in the menu bar and in dropdown entries.
|
|
70
|
+
# Must stay readable on the menu bar ($menu-bar-background) and dropdown ($panel)
|
|
71
|
+
# backgrounds.
|
|
72
|
+
menu_mnemonic: bold underline
|
|
73
|
+
|
|
74
|
+
# Settings dialog checkbox mark color.
|
|
75
|
+
checkbox_mark: green
|
|
76
|
+
|
|
77
|
+
# Settings dialog text caret. It is drawn on the cell it sits on, so it
|
|
78
|
+
# swaps that cell's colors instead of painting one of its own.
|
|
79
|
+
text_caret: reverse
|
|
80
|
+
|
|
81
|
+
# Selected text in the commit message box (Shift+arrows). Empty keeps
|
|
82
|
+
# Textual's default: $primary lightened at 40% opacity over the background.
|
|
83
|
+
text_selection_background: '#689d6a40'
|
|
84
|
+
text_selection_foreground: ''
|
|
85
|
+
|
|
86
|
+
# Chrome colors for the menu bar and the footer. The defaults are Textual's
|
|
87
|
+
# own Header/Footer palette, so the bars match every other Textual app.
|
|
88
|
+
# Values may reference this theme's palette fields with `$name`.
|
|
89
|
+
menu_bar_background: $panel
|
|
90
|
+
menu_bar_foreground: $foreground
|
|
91
|
+
footer_background: $panel
|
|
92
|
+
footer_foreground: $foreground
|
|
93
|
+
|
|
94
|
+
# CSS variables emitted for the file-list cursor and multi-selection.
|
|
95
|
+
# Values may reference Textual palette variables with `$name` (e.g. `$primary`).
|
|
96
|
+
# References are resolved against this theme's own fields when the CSS is generated.
|
|
97
|
+
cursor_row_background: $primary
|
|
98
|
+
cursor_row_foreground: $foreground
|
|
99
|
+
selected_file_background: $warning 30%
|
|
100
|
+
selected_file_foreground: $success
|
|
101
|
+
selected_cursor_row_background: $primary
|
|
102
|
+
selected_cursor_row_foreground: $success
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
# Textual theme palette. These fields are forwarded to textual.theme.Theme,
|
|
2
|
+
# which colors the application chrome (borders, buttons, headers, scrollbars).
|
|
3
|
+
# `name` is the identifier shown in the Theme menu and persisted in settings.json.
|
|
4
|
+
# Color values accept any CSS-style color (hex, ansi_*, rgb()).
|
|
5
|
+
name: midnight-commander
|
|
6
|
+
primary: '#1F4FBF'
|
|
7
|
+
secondary: '#163D94'
|
|
8
|
+
warning: '#5FD7FF'
|
|
9
|
+
error: '#FF6B6B'
|
|
10
|
+
success: '#7CFCB2'
|
|
11
|
+
accent: '#CFE6FF'
|
|
12
|
+
foreground: '#F5F7FF'
|
|
13
|
+
background: '#0A2A7A'
|
|
14
|
+
surface: '#113891'
|
|
15
|
+
panel: '#0E327F'
|
|
16
|
+
boost: '#1A49AA'
|
|
17
|
+
|
|
18
|
+
# Theme behavior flags.
|
|
19
|
+
# `dark` selects dark-mode contrast defaults inside Textual.
|
|
20
|
+
# `luminosity_spread` / `text_alpha` tune Textual's automatic shade derivation.
|
|
21
|
+
# `variables` are passed through to Textual's CSS variable table
|
|
22
|
+
# (use kebab-case keys, e.g. `block-cursor-foreground`).
|
|
23
|
+
# `ansi: true` opts the theme into the terminal's own ANSI palette
|
|
24
|
+
# instead of fixed hex colors.
|
|
25
|
+
dark: true
|
|
26
|
+
luminosity_spread: 0.08
|
|
27
|
+
text_alpha: 1.0
|
|
28
|
+
variables:
|
|
29
|
+
# The footer's key labels default to $accent, which is a pale blue this
|
|
30
|
+
# theme paints on a cyan bar; match the rest of the footer text instead.
|
|
31
|
+
footer-key-foreground: '#0A2A7A'
|
|
32
|
+
ansi: false
|
|
33
|
+
|
|
34
|
+
# Status-code colors painted in the Status column of the file list.
|
|
35
|
+
# Values are Rich style strings (e.g. "bold yellow", "#ff8800").
|
|
36
|
+
status_modified: bold yellow
|
|
37
|
+
status_type_changed: 'bold #ff8800'
|
|
38
|
+
status_added: bold green
|
|
39
|
+
status_deleted: bold red
|
|
40
|
+
status_renamed: bold cyan
|
|
41
|
+
status_copied: bold blue
|
|
42
|
+
status_unmerged: 'bold #ff5555'
|
|
43
|
+
status_untracked: bold white
|
|
44
|
+
status_ignored: '#888888'
|
|
45
|
+
status_submodule: bold magenta
|
|
46
|
+
|
|
47
|
+
# Diff line rendering inside FileDiff.
|
|
48
|
+
# Added/removed lines get a foreground color and a dimmer matching line-number gutter.
|
|
49
|
+
diff_added_line: green
|
|
50
|
+
diff_added_line_number: green dim
|
|
51
|
+
diff_removed_line: red
|
|
52
|
+
diff_removed_line_number: red dim
|
|
53
|
+
diff_context_line_number: dim
|
|
54
|
+
|
|
55
|
+
# Commit detail rendering inside CommitDetail (git show output).
|
|
56
|
+
# The commit/Author/Date header block, and the @@ hunk markers of a patch.
|
|
57
|
+
commit_header_line: bold
|
|
58
|
+
diff_hunk_header: cyan
|
|
59
|
+
|
|
60
|
+
# Y/N hint shown at the bottom of the confirm dialog.
|
|
61
|
+
confirm_yes_key: b green
|
|
62
|
+
confirm_no_key: b red
|
|
63
|
+
|
|
64
|
+
# Warning text shown above the file list (e.g. submodule branch mismatches).
|
|
65
|
+
warning_text: bold red
|
|
66
|
+
|
|
67
|
+
# Faint hint text at the bottom of dialogs (e.g. "(Esc cancels)").
|
|
68
|
+
dialog_hint: dim
|
|
69
|
+
|
|
70
|
+
# Accelerator letter highlighted in the menu bar and in dropdown entries.
|
|
71
|
+
# Must stay readable on the menu bar ($menu-bar-background) and dropdown ($panel)
|
|
72
|
+
# backgrounds.
|
|
73
|
+
menu_mnemonic: bold yellow
|
|
74
|
+
|
|
75
|
+
# Settings dialog checkbox mark color.
|
|
76
|
+
checkbox_mark: green
|
|
77
|
+
|
|
78
|
+
# Settings dialog text caret. It is drawn on the cell it sits on, so it
|
|
79
|
+
# swaps that cell's colors instead of painting one of its own.
|
|
80
|
+
text_caret: reverse
|
|
81
|
+
|
|
82
|
+
# Selected text in the commit message box (Shift+arrows). Textual's default,
|
|
83
|
+
# $primary at 40% over the background, is blue on blue here; this is
|
|
84
|
+
# mcedit's marked-block look instead: the theme's dark blue on its cyan.
|
|
85
|
+
text_selection_background: $warning
|
|
86
|
+
text_selection_foreground: $background
|
|
87
|
+
|
|
88
|
+
# Chrome colors for the menu bar and the footer. Midnight Commander paints
|
|
89
|
+
# both bars in the theme's cyan ($warning) with the background color as text,
|
|
90
|
+
# instead of the muted $panel bar Textual apps use by default.
|
|
91
|
+
menu_bar_background: $warning
|
|
92
|
+
menu_bar_foreground: $background
|
|
93
|
+
footer_background: $warning
|
|
94
|
+
footer_foreground: $background
|
|
95
|
+
|
|
96
|
+
# CSS variables emitted for the file-list cursor and multi-selection.
|
|
97
|
+
# Values may reference Textual palette variables with `$name` (e.g. `$primary`).
|
|
98
|
+
# References are resolved against this theme's own fields when the CSS is generated.
|
|
99
|
+
cursor_row_background: $primary
|
|
100
|
+
cursor_row_foreground: $foreground
|
|
101
|
+
selected_file_background: $warning 30%
|
|
102
|
+
selected_file_foreground: $success
|
|
103
|
+
selected_cursor_row_background: $primary
|
|
104
|
+
selected_cursor_row_foreground: $success
|