Skip to content

Commit ebe7479

Browse files
committed
feat: add ghostty support:
1 parent 81a70ef commit ebe7479

File tree

3 files changed

+126
-2
lines changed

3 files changed

+126
-2
lines changed

README.md

Lines changed: 30 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ mkdir -p ~/.config/kitty/themes
104104

105105
2. Copy the theme files:
106106
```bash
107-
cp kitty/oscura.conf ~/.config/kitty/themes/
107+
cp kitty/oscura ~/.config/kitty/themes/
108108
cp kitty/oscura-dusk.conf ~/.config/kitty/themes/
109109
```
110110

@@ -113,7 +113,7 @@ cp kitty/oscura-dusk.conf ~/.config/kitty/themes/
113113
**Option 1**: Add to your `~/.config/kitty/kitty.conf`:
114114
```bash
115115
# For Oscura theme
116-
include themes/oscura.conf
116+
include themes/oscura
117117

118118
# OR for Oscura Dusk theme
119119
include themes/oscura-dusk.conf
@@ -146,6 +146,34 @@ kitty +kitten themes --reload-in=all "Oscura Dusk"
146146

147147
The themes will be available in the Kitty Theme Kitten browser, where you can preview and apply them interactively.
148148

149+
## Ghostty Terminal Installation
150+
151+
### Manual Installation
152+
1. Create the themes directory:
153+
```bash
154+
mkdir -p ~/.config/ghostty/themes
155+
```
156+
157+
2. Copy the theme files:
158+
```bash
159+
cp ghostty/oscura ~/.config/ghostty/themes/
160+
cp ghostty/oscura-dusk ~/.config/ghostty/themes/
161+
```
162+
163+
3. To use the theme, add one of these lines to your Ghostty config file:
164+
```bash
165+
# For Oscura theme
166+
theme = oscura
167+
168+
# OR for Oscura Dusk theme
169+
theme = oscura-dusk
170+
```
171+
172+
### Theme Files Location
173+
The theme files can be located in:
174+
- `~/.config/ghostty/themes` (recommended)
175+
- You can also use absolute paths in your config file
176+
149177
## License
150178

151179
MIT License - see LICENSE file for details

ghostty/oscura

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
# Oscura theme for Ghostty
2+
# Author: Vinit Kumar
3+
# License: MIT
4+
5+
# Basic colors
6+
background = #0B0B0F
7+
foreground = #E6E6E6
8+
9+
# Cursor colors
10+
cursor-color = #FFCC00
11+
cursor-text = #0B0B0F
12+
13+
# Selection colors
14+
selection-background = #5A5B63
15+
selection-foreground = #E6E6E6
16+
17+
# Standard terminal colors (0-15)
18+
# Black
19+
palette = 0=#0B0B0F
20+
palette = 8=#46474F
21+
22+
# Red
23+
palette = 1=#FF5C5C
24+
palette = 9=#FF5C5C
25+
26+
# Green
27+
palette = 2=#4EBE96
28+
palette = 10=#4EBE96
29+
30+
# Yellow
31+
palette = 3=#F9B98C
32+
palette = 11=#F9B98C
33+
34+
# Blue
35+
palette = 4=#479FFA
36+
palette = 12=#479FFA
37+
38+
# Magenta
39+
palette = 5=#9592A4
40+
palette = 13=#9592A4
41+
42+
# Cyan
43+
palette = 6=#54C0A3
44+
palette = 14=#54C0A3
45+
46+
# White
47+
palette = 7=#E6E6E6
48+
palette = 15=#FFFFFF

ghostty/oscura-dusk

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
# Oscura Dusk theme for Ghostty
2+
# Author: Vinit Kumar
3+
# License: MIT
4+
5+
# Basic colors
6+
background = #131419
7+
foreground = #E6E6E6
8+
9+
# Cursor colors
10+
cursor-color = #FFCC00
11+
cursor-text = #131419
12+
13+
# Selection colors
14+
selection-background = #5A5B63
15+
selection-foreground = #E6E6E6
16+
17+
# Standard terminal colors (0-15)
18+
# Black
19+
palette = 0=#131419
20+
palette = 8=#46474F
21+
22+
# Red
23+
palette = 1=#FF5C5C
24+
palette = 9=#FF5C5C
25+
26+
# Green
27+
palette = 2=#4EBE96
28+
palette = 10=#4EBE96
29+
30+
# Yellow
31+
palette = 3=#F9B98C
32+
palette = 11=#F9B98C
33+
34+
# Blue
35+
palette = 4=#479FFA
36+
palette = 12=#479FFA
37+
38+
# Magenta
39+
palette = 5=#9592A4
40+
palette = 13=#9592A4
41+
42+
# Cyan
43+
palette = 6=#54C0A3
44+
palette = 14=#54C0A3
45+
46+
# White
47+
palette = 7=#E6E6E6
48+
palette = 15=#FFFFFF

0 commit comments

Comments
 (0)