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,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: monokai
|
|
6
|
+
primary: '#AE81FF'
|
|
7
|
+
secondary: '#F92672'
|
|
8
|
+
warning: '#FD971F'
|
|
9
|
+
error: '#F92672'
|
|
10
|
+
success: '#A6E22E'
|
|
11
|
+
accent: '#66D9EF'
|
|
12
|
+
foreground: '#d6d6d6'
|
|
13
|
+
background: '#272822'
|
|
14
|
+
surface: '#2e2e2e'
|
|
15
|
+
panel: '#3E3D32'
|
|
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
|
+
foreground-muted: '#797979'
|
|
30
|
+
button-color-foreground: '#272822'
|
|
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: '#575b6190'
|
|
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
|
gitnc/themes/nord.yaml
ADDED
|
@@ -0,0 +1,106 @@
|
|
|
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: nord
|
|
6
|
+
primary: '#88C0D0'
|
|
7
|
+
secondary: '#81A1C1'
|
|
8
|
+
warning: '#EBCB8B'
|
|
9
|
+
error: '#BF616A'
|
|
10
|
+
success: '#A3BE8C'
|
|
11
|
+
accent: '#B48EAD'
|
|
12
|
+
foreground: '#D8DEE9'
|
|
13
|
+
background: '#2E3440'
|
|
14
|
+
surface: '#3B4252'
|
|
15
|
+
panel: '#434C5E'
|
|
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-background: '#88C0D0'
|
|
30
|
+
block-cursor-foreground: '#2E3440'
|
|
31
|
+
block-cursor-text-style: none
|
|
32
|
+
footer-key-foreground: '#88C0D0'
|
|
33
|
+
button-color-foreground: '#2E3440'
|
|
34
|
+
button-focus-text-style: reverse
|
|
35
|
+
ansi: false
|
|
36
|
+
|
|
37
|
+
# Status-code colors painted in the Status column of the file list.
|
|
38
|
+
# Values are Rich style strings (e.g. "bold yellow", "#ff8800").
|
|
39
|
+
status_modified: bold yellow
|
|
40
|
+
status_type_changed: 'bold #ff8800'
|
|
41
|
+
status_added: bold green
|
|
42
|
+
status_deleted: bold red
|
|
43
|
+
status_renamed: bold cyan
|
|
44
|
+
status_copied: bold blue
|
|
45
|
+
status_unmerged: 'bold #ff5555'
|
|
46
|
+
status_untracked: bold white
|
|
47
|
+
status_ignored: '#888888'
|
|
48
|
+
status_submodule: bold magenta
|
|
49
|
+
|
|
50
|
+
# Diff line rendering inside FileDiff.
|
|
51
|
+
# Added/removed lines get a foreground color and a dimmer matching line-number gutter.
|
|
52
|
+
diff_added_line: green
|
|
53
|
+
diff_added_line_number: green dim
|
|
54
|
+
diff_removed_line: red
|
|
55
|
+
diff_removed_line_number: red dim
|
|
56
|
+
diff_context_line_number: dim
|
|
57
|
+
|
|
58
|
+
# Commit detail rendering inside CommitDetail (git show output).
|
|
59
|
+
# The commit/Author/Date header block, and the @@ hunk markers of a patch.
|
|
60
|
+
commit_header_line: bold
|
|
61
|
+
diff_hunk_header: cyan
|
|
62
|
+
|
|
63
|
+
# Y/N hint shown at the bottom of the confirm dialog.
|
|
64
|
+
confirm_yes_key: b green
|
|
65
|
+
confirm_no_key: b red
|
|
66
|
+
|
|
67
|
+
# Warning text shown above the file list (e.g. submodule branch mismatches).
|
|
68
|
+
warning_text: bold red
|
|
69
|
+
|
|
70
|
+
# Faint hint text at the bottom of dialogs (e.g. "(Esc cancels)").
|
|
71
|
+
dialog_hint: dim
|
|
72
|
+
|
|
73
|
+
# Accelerator letter highlighted in the menu bar and in dropdown entries.
|
|
74
|
+
# Must stay readable on the menu bar ($menu-bar-background) and dropdown ($panel)
|
|
75
|
+
# backgrounds.
|
|
76
|
+
menu_mnemonic: bold underline
|
|
77
|
+
|
|
78
|
+
# Settings dialog checkbox mark color.
|
|
79
|
+
checkbox_mark: green
|
|
80
|
+
|
|
81
|
+
# Settings dialog text caret. It is drawn on the cell it sits on, so it
|
|
82
|
+
# swaps that cell's colors instead of painting one of its own.
|
|
83
|
+
text_caret: reverse
|
|
84
|
+
|
|
85
|
+
# Selected text in the commit message box (Shift+arrows). Empty keeps
|
|
86
|
+
# Textual's default: $primary lightened at 40% opacity over the background.
|
|
87
|
+
text_selection_background: '#81a1c1 35%'
|
|
88
|
+
text_selection_foreground: ''
|
|
89
|
+
|
|
90
|
+
# Chrome colors for the menu bar and the footer. The defaults are Textual's
|
|
91
|
+
# own Header/Footer palette, so the bars match every other Textual app.
|
|
92
|
+
# Values may reference this theme's palette fields with `$name`.
|
|
93
|
+
menu_bar_background: $panel
|
|
94
|
+
menu_bar_foreground: $foreground
|
|
95
|
+
footer_background: $panel
|
|
96
|
+
footer_foreground: $foreground
|
|
97
|
+
|
|
98
|
+
# CSS variables emitted for the file-list cursor and multi-selection.
|
|
99
|
+
# Values may reference Textual palette variables with `$name` (e.g. `$primary`).
|
|
100
|
+
# References are resolved against this theme's own fields when the CSS is generated.
|
|
101
|
+
cursor_row_background: $primary
|
|
102
|
+
cursor_row_foreground: $foreground
|
|
103
|
+
selected_file_background: $warning 30%
|
|
104
|
+
selected_file_foreground: $success
|
|
105
|
+
selected_cursor_row_background: $primary
|
|
106
|
+
selected_cursor_row_foreground: $success
|
|
@@ -0,0 +1,107 @@
|
|
|
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: rose-pine-dawn
|
|
6
|
+
primary: '#907aa9'
|
|
7
|
+
secondary: '#286983'
|
|
8
|
+
warning: '#ea9d34'
|
|
9
|
+
error: '#b4637a'
|
|
10
|
+
success: '#56949f'
|
|
11
|
+
accent: '#d7827e'
|
|
12
|
+
foreground: '#575279'
|
|
13
|
+
background: '#faf4ed'
|
|
14
|
+
surface: '#fffaf3'
|
|
15
|
+
panel: '#f2e9e1'
|
|
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: false
|
|
26
|
+
luminosity_spread: 0.15
|
|
27
|
+
text_alpha: 0.95
|
|
28
|
+
variables:
|
|
29
|
+
input-cursor-background: '#575279'
|
|
30
|
+
border: '#cecacd'
|
|
31
|
+
border-blurred: '#9893a5'
|
|
32
|
+
footer-background: '#f2e9e1'
|
|
33
|
+
block-cursor-foreground: '#faf4ed'
|
|
34
|
+
block-cursor-text-style: none
|
|
35
|
+
block-cursor-background: '#575279'
|
|
36
|
+
ansi: false
|
|
37
|
+
|
|
38
|
+
# Status-code colors painted in the Status column of the file list.
|
|
39
|
+
# Values are Rich style strings (e.g. "bold yellow", "#ff8800").
|
|
40
|
+
status_modified: bold yellow
|
|
41
|
+
status_type_changed: 'bold #ff8800'
|
|
42
|
+
status_added: bold green
|
|
43
|
+
status_deleted: bold red
|
|
44
|
+
status_renamed: bold cyan
|
|
45
|
+
status_copied: bold blue
|
|
46
|
+
status_unmerged: 'bold #ff5555'
|
|
47
|
+
status_untracked: bold white
|
|
48
|
+
status_ignored: '#888888'
|
|
49
|
+
status_submodule: bold magenta
|
|
50
|
+
|
|
51
|
+
# Diff line rendering inside FileDiff.
|
|
52
|
+
# Added/removed lines get a foreground color and a dimmer matching line-number gutter.
|
|
53
|
+
diff_added_line: green
|
|
54
|
+
diff_added_line_number: green dim
|
|
55
|
+
diff_removed_line: red
|
|
56
|
+
diff_removed_line_number: red dim
|
|
57
|
+
diff_context_line_number: dim
|
|
58
|
+
|
|
59
|
+
# Commit detail rendering inside CommitDetail (git show output).
|
|
60
|
+
# The commit/Author/Date header block, and the @@ hunk markers of a patch.
|
|
61
|
+
commit_header_line: bold
|
|
62
|
+
diff_hunk_header: cyan
|
|
63
|
+
|
|
64
|
+
# Y/N hint shown at the bottom of the confirm dialog.
|
|
65
|
+
confirm_yes_key: b green
|
|
66
|
+
confirm_no_key: b red
|
|
67
|
+
|
|
68
|
+
# Warning text shown above the file list (e.g. submodule branch mismatches).
|
|
69
|
+
warning_text: bold red
|
|
70
|
+
|
|
71
|
+
# Faint hint text at the bottom of dialogs (e.g. "(Esc cancels)").
|
|
72
|
+
dialog_hint: dim
|
|
73
|
+
|
|
74
|
+
# Accelerator letter highlighted in the menu bar and in dropdown entries.
|
|
75
|
+
# Must stay readable on the menu bar ($menu-bar-background) and dropdown ($panel)
|
|
76
|
+
# backgrounds.
|
|
77
|
+
menu_mnemonic: bold underline
|
|
78
|
+
|
|
79
|
+
# Settings dialog checkbox mark color.
|
|
80
|
+
checkbox_mark: green
|
|
81
|
+
|
|
82
|
+
# Settings dialog text caret. It is drawn on the cell it sits on, so it
|
|
83
|
+
# swaps that cell's colors instead of painting one of its own.
|
|
84
|
+
text_caret: reverse
|
|
85
|
+
|
|
86
|
+
# Selected text in the commit message box (Shift+arrows). Empty keeps
|
|
87
|
+
# Textual's default: $primary lightened at 40% opacity over the background.
|
|
88
|
+
text_selection_background: '#dfdad9'
|
|
89
|
+
text_selection_foreground: ''
|
|
90
|
+
|
|
91
|
+
# Chrome colors for the menu bar and the footer. The defaults are Textual's
|
|
92
|
+
# own Header/Footer palette, so the bars match every other Textual app.
|
|
93
|
+
# Values may reference this theme's palette fields with `$name`.
|
|
94
|
+
menu_bar_background: $panel
|
|
95
|
+
menu_bar_foreground: $foreground
|
|
96
|
+
footer_background: $panel
|
|
97
|
+
footer_foreground: $foreground
|
|
98
|
+
|
|
99
|
+
# CSS variables emitted for the file-list cursor and multi-selection.
|
|
100
|
+
# Values may reference Textual palette variables with `$name` (e.g. `$primary`).
|
|
101
|
+
# References are resolved against this theme's own fields when the CSS is generated.
|
|
102
|
+
cursor_row_background: $primary
|
|
103
|
+
cursor_row_foreground: $foreground
|
|
104
|
+
selected_file_background: $warning 30%
|
|
105
|
+
selected_file_foreground: $success
|
|
106
|
+
selected_cursor_row_background: $primary
|
|
107
|
+
selected_cursor_row_foreground: $success
|
|
@@ -0,0 +1,107 @@
|
|
|
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: rose-pine-moon
|
|
6
|
+
primary: '#c4a7e7'
|
|
7
|
+
secondary: '#3e8fb0'
|
|
8
|
+
warning: '#f6c177'
|
|
9
|
+
error: '#eb6f92'
|
|
10
|
+
success: '#9ccfd8'
|
|
11
|
+
accent: '#ea9a97'
|
|
12
|
+
foreground: '#e0def4'
|
|
13
|
+
background: '#232136'
|
|
14
|
+
surface: '#2a273f'
|
|
15
|
+
panel: '#393552'
|
|
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-background: '#f4ede8'
|
|
30
|
+
border: '#56526e'
|
|
31
|
+
border-blurred: '#6e6a86'
|
|
32
|
+
footer-background: '#393552'
|
|
33
|
+
block-cursor-foreground: '#232136'
|
|
34
|
+
block-cursor-text-style: none
|
|
35
|
+
block-cursor-background: '#c4a7e7'
|
|
36
|
+
ansi: false
|
|
37
|
+
|
|
38
|
+
# Status-code colors painted in the Status column of the file list.
|
|
39
|
+
# Values are Rich style strings (e.g. "bold yellow", "#ff8800").
|
|
40
|
+
status_modified: bold yellow
|
|
41
|
+
status_type_changed: 'bold #ff8800'
|
|
42
|
+
status_added: bold green
|
|
43
|
+
status_deleted: bold red
|
|
44
|
+
status_renamed: bold cyan
|
|
45
|
+
status_copied: bold blue
|
|
46
|
+
status_unmerged: 'bold #ff5555'
|
|
47
|
+
status_untracked: bold white
|
|
48
|
+
status_ignored: '#888888'
|
|
49
|
+
status_submodule: bold magenta
|
|
50
|
+
|
|
51
|
+
# Diff line rendering inside FileDiff.
|
|
52
|
+
# Added/removed lines get a foreground color and a dimmer matching line-number gutter.
|
|
53
|
+
diff_added_line: green
|
|
54
|
+
diff_added_line_number: green dim
|
|
55
|
+
diff_removed_line: red
|
|
56
|
+
diff_removed_line_number: red dim
|
|
57
|
+
diff_context_line_number: dim
|
|
58
|
+
|
|
59
|
+
# Commit detail rendering inside CommitDetail (git show output).
|
|
60
|
+
# The commit/Author/Date header block, and the @@ hunk markers of a patch.
|
|
61
|
+
commit_header_line: bold
|
|
62
|
+
diff_hunk_header: cyan
|
|
63
|
+
|
|
64
|
+
# Y/N hint shown at the bottom of the confirm dialog.
|
|
65
|
+
confirm_yes_key: b green
|
|
66
|
+
confirm_no_key: b red
|
|
67
|
+
|
|
68
|
+
# Warning text shown above the file list (e.g. submodule branch mismatches).
|
|
69
|
+
warning_text: bold red
|
|
70
|
+
|
|
71
|
+
# Faint hint text at the bottom of dialogs (e.g. "(Esc cancels)").
|
|
72
|
+
dialog_hint: dim
|
|
73
|
+
|
|
74
|
+
# Accelerator letter highlighted in the menu bar and in dropdown entries.
|
|
75
|
+
# Must stay readable on the menu bar ($menu-bar-background) and dropdown ($panel)
|
|
76
|
+
# backgrounds.
|
|
77
|
+
menu_mnemonic: bold underline
|
|
78
|
+
|
|
79
|
+
# Settings dialog checkbox mark color.
|
|
80
|
+
checkbox_mark: green
|
|
81
|
+
|
|
82
|
+
# Settings dialog text caret. It is drawn on the cell it sits on, so it
|
|
83
|
+
# swaps that cell's colors instead of painting one of its own.
|
|
84
|
+
text_caret: reverse
|
|
85
|
+
|
|
86
|
+
# Selected text in the commit message box (Shift+arrows). Empty keeps
|
|
87
|
+
# Textual's default: $primary lightened at 40% opacity over the background.
|
|
88
|
+
text_selection_background: '#44415a'
|
|
89
|
+
text_selection_foreground: ''
|
|
90
|
+
|
|
91
|
+
# Chrome colors for the menu bar and the footer. The defaults are Textual's
|
|
92
|
+
# own Header/Footer palette, so the bars match every other Textual app.
|
|
93
|
+
# Values may reference this theme's palette fields with `$name`.
|
|
94
|
+
menu_bar_background: $panel
|
|
95
|
+
menu_bar_foreground: $foreground
|
|
96
|
+
footer_background: $panel
|
|
97
|
+
footer_foreground: $foreground
|
|
98
|
+
|
|
99
|
+
# CSS variables emitted for the file-list cursor and multi-selection.
|
|
100
|
+
# Values may reference Textual palette variables with `$name` (e.g. `$primary`).
|
|
101
|
+
# References are resolved against this theme's own fields when the CSS is generated.
|
|
102
|
+
cursor_row_background: $primary
|
|
103
|
+
cursor_row_foreground: $foreground
|
|
104
|
+
selected_file_background: $warning 30%
|
|
105
|
+
selected_file_foreground: $success
|
|
106
|
+
selected_cursor_row_background: $primary
|
|
107
|
+
selected_cursor_row_foreground: $success
|
|
@@ -0,0 +1,107 @@
|
|
|
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: rose-pine
|
|
6
|
+
primary: '#c4a7e7'
|
|
7
|
+
secondary: '#31748f'
|
|
8
|
+
warning: '#f6c177'
|
|
9
|
+
error: '#eb6f92'
|
|
10
|
+
success: '#9ccfd8'
|
|
11
|
+
accent: '#ebbcba'
|
|
12
|
+
foreground: '#e0def4'
|
|
13
|
+
background: '#191724'
|
|
14
|
+
surface: '#1f1d2e'
|
|
15
|
+
panel: '#26233a'
|
|
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-background: '#f4ede8'
|
|
30
|
+
border: '#524f67'
|
|
31
|
+
border-blurred: '#6e6a86'
|
|
32
|
+
footer-background: '#26233a'
|
|
33
|
+
block-cursor-foreground: '#191724'
|
|
34
|
+
block-cursor-text-style: none
|
|
35
|
+
block-cursor-background: '#c4a7e7'
|
|
36
|
+
ansi: false
|
|
37
|
+
|
|
38
|
+
# Status-code colors painted in the Status column of the file list.
|
|
39
|
+
# Values are Rich style strings (e.g. "bold yellow", "#ff8800").
|
|
40
|
+
status_modified: bold yellow
|
|
41
|
+
status_type_changed: 'bold #ff8800'
|
|
42
|
+
status_added: bold green
|
|
43
|
+
status_deleted: bold red
|
|
44
|
+
status_renamed: bold cyan
|
|
45
|
+
status_copied: bold blue
|
|
46
|
+
status_unmerged: 'bold #ff5555'
|
|
47
|
+
status_untracked: bold white
|
|
48
|
+
status_ignored: '#888888'
|
|
49
|
+
status_submodule: bold magenta
|
|
50
|
+
|
|
51
|
+
# Diff line rendering inside FileDiff.
|
|
52
|
+
# Added/removed lines get a foreground color and a dimmer matching line-number gutter.
|
|
53
|
+
diff_added_line: green
|
|
54
|
+
diff_added_line_number: green dim
|
|
55
|
+
diff_removed_line: red
|
|
56
|
+
diff_removed_line_number: red dim
|
|
57
|
+
diff_context_line_number: dim
|
|
58
|
+
|
|
59
|
+
# Commit detail rendering inside CommitDetail (git show output).
|
|
60
|
+
# The commit/Author/Date header block, and the @@ hunk markers of a patch.
|
|
61
|
+
commit_header_line: bold
|
|
62
|
+
diff_hunk_header: cyan
|
|
63
|
+
|
|
64
|
+
# Y/N hint shown at the bottom of the confirm dialog.
|
|
65
|
+
confirm_yes_key: b green
|
|
66
|
+
confirm_no_key: b red
|
|
67
|
+
|
|
68
|
+
# Warning text shown above the file list (e.g. submodule branch mismatches).
|
|
69
|
+
warning_text: bold red
|
|
70
|
+
|
|
71
|
+
# Faint hint text at the bottom of dialogs (e.g. "(Esc cancels)").
|
|
72
|
+
dialog_hint: dim
|
|
73
|
+
|
|
74
|
+
# Accelerator letter highlighted in the menu bar and in dropdown entries.
|
|
75
|
+
# Must stay readable on the menu bar ($menu-bar-background) and dropdown ($panel)
|
|
76
|
+
# backgrounds.
|
|
77
|
+
menu_mnemonic: bold underline
|
|
78
|
+
|
|
79
|
+
# Settings dialog checkbox mark color.
|
|
80
|
+
checkbox_mark: green
|
|
81
|
+
|
|
82
|
+
# Settings dialog text caret. It is drawn on the cell it sits on, so it
|
|
83
|
+
# swaps that cell's colors instead of painting one of its own.
|
|
84
|
+
text_caret: reverse
|
|
85
|
+
|
|
86
|
+
# Selected text in the commit message box (Shift+arrows). Empty keeps
|
|
87
|
+
# Textual's default: $primary lightened at 40% opacity over the background.
|
|
88
|
+
text_selection_background: '#403d52'
|
|
89
|
+
text_selection_foreground: ''
|
|
90
|
+
|
|
91
|
+
# Chrome colors for the menu bar and the footer. The defaults are Textual's
|
|
92
|
+
# own Header/Footer palette, so the bars match every other Textual app.
|
|
93
|
+
# Values may reference this theme's palette fields with `$name`.
|
|
94
|
+
menu_bar_background: $panel
|
|
95
|
+
menu_bar_foreground: $foreground
|
|
96
|
+
footer_background: $panel
|
|
97
|
+
footer_foreground: $foreground
|
|
98
|
+
|
|
99
|
+
# CSS variables emitted for the file-list cursor and multi-selection.
|
|
100
|
+
# Values may reference Textual palette variables with `$name` (e.g. `$primary`).
|
|
101
|
+
# References are resolved against this theme's own fields when the CSS is generated.
|
|
102
|
+
cursor_row_background: $primary
|
|
103
|
+
cursor_row_foreground: $foreground
|
|
104
|
+
selected_file_background: $warning 30%
|
|
105
|
+
selected_file_foreground: $success
|
|
106
|
+
selected_cursor_row_background: $primary
|
|
107
|
+
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: solarized-dark
|
|
6
|
+
primary: '#268bd2'
|
|
7
|
+
secondary: '#2aa198'
|
|
8
|
+
warning: '#cb4b16'
|
|
9
|
+
error: '#dc322f'
|
|
10
|
+
success: '#859900'
|
|
11
|
+
accent: '#6c71c4'
|
|
12
|
+
foreground: '#839496'
|
|
13
|
+
background: '#002b36'
|
|
14
|
+
surface: '#073642'
|
|
15
|
+
panel: '#073642'
|
|
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: '#fdf6e3'
|
|
30
|
+
footer-background: '#268bd2'
|
|
31
|
+
footer-key-foreground: '#fdf6e3'
|
|
32
|
+
footer-description-foreground: '#fdf6e3'
|
|
33
|
+
ansi: false
|
|
34
|
+
|
|
35
|
+
# Status-code colors painted in the Status column of the file list.
|
|
36
|
+
# Values are Rich style strings (e.g. "bold yellow", "#ff8800").
|
|
37
|
+
status_modified: bold yellow
|
|
38
|
+
status_type_changed: 'bold #ff8800'
|
|
39
|
+
status_added: bold green
|
|
40
|
+
status_deleted: bold red
|
|
41
|
+
status_renamed: bold cyan
|
|
42
|
+
status_copied: bold blue
|
|
43
|
+
status_unmerged: 'bold #ff5555'
|
|
44
|
+
status_untracked: bold white
|
|
45
|
+
status_ignored: '#888888'
|
|
46
|
+
status_submodule: bold magenta
|
|
47
|
+
|
|
48
|
+
# Diff line rendering inside FileDiff.
|
|
49
|
+
# Added/removed lines get a foreground color and a dimmer matching line-number gutter.
|
|
50
|
+
diff_added_line: green
|
|
51
|
+
diff_added_line_number: green dim
|
|
52
|
+
diff_removed_line: red
|
|
53
|
+
diff_removed_line_number: red dim
|
|
54
|
+
diff_context_line_number: dim
|
|
55
|
+
|
|
56
|
+
# Commit detail rendering inside CommitDetail (git show output).
|
|
57
|
+
# The commit/Author/Date header block, and the @@ hunk markers of a patch.
|
|
58
|
+
commit_header_line: bold
|
|
59
|
+
diff_hunk_header: cyan
|
|
60
|
+
|
|
61
|
+
# Y/N hint shown at the bottom of the confirm dialog.
|
|
62
|
+
confirm_yes_key: b green
|
|
63
|
+
confirm_no_key: b red
|
|
64
|
+
|
|
65
|
+
# Warning text shown above the file list (e.g. submodule branch mismatches).
|
|
66
|
+
warning_text: bold red
|
|
67
|
+
|
|
68
|
+
# Faint hint text at the bottom of dialogs (e.g. "(Esc cancels)").
|
|
69
|
+
dialog_hint: dim
|
|
70
|
+
|
|
71
|
+
# Accelerator letter highlighted in the menu bar and in dropdown entries.
|
|
72
|
+
# Must stay readable on the menu bar ($menu-bar-background) and dropdown ($panel)
|
|
73
|
+
# backgrounds.
|
|
74
|
+
menu_mnemonic: bold underline
|
|
75
|
+
|
|
76
|
+
# Settings dialog checkbox mark color.
|
|
77
|
+
checkbox_mark: green
|
|
78
|
+
|
|
79
|
+
# Settings dialog text caret. It is drawn on the cell it sits on, so it
|
|
80
|
+
# swaps that cell's colors instead of painting one of its own.
|
|
81
|
+
text_caret: reverse
|
|
82
|
+
|
|
83
|
+
# Selected text in the commit message box (Shift+arrows). Empty keeps
|
|
84
|
+
# Textual's default: $primary lightened at 40% opacity over the background.
|
|
85
|
+
text_selection_background: '#073642'
|
|
86
|
+
text_selection_foreground: ''
|
|
87
|
+
|
|
88
|
+
# Chrome colors for the menu bar and the footer. The defaults are Textual's
|
|
89
|
+
# own Header/Footer palette, so the bars match every other Textual app.
|
|
90
|
+
# Values may reference this theme's palette fields with `$name`.
|
|
91
|
+
menu_bar_background: $panel
|
|
92
|
+
menu_bar_foreground: $foreground
|
|
93
|
+
footer_background: $panel
|
|
94
|
+
footer_foreground: $foreground
|
|
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
|