Skip to content

Commit 9163c70

Browse files
committed
style: 💅 no clown fiesta theme
1 parent 6a6a22c commit 9163c70

3 files changed

Lines changed: 29 additions & 47 deletions

File tree

ghostty/config

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# Style
33
# -----------
44
font-family = "Berkeley Mono"
5-
theme = github
5+
theme = no-clown-fiesta
66
font-size = 17
77

88
# Custom background & opacity

ghostty/themes/no-clown-fiesta

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# No Clown Fiesta (Official) for Ghostty
2+
3+
palette = 0=#202020
4+
palette = 1=#ac4142
5+
palette = 2=#90a959
6+
palette = 3=#f4bf75
7+
palette = 4=#73c0ff
8+
palette = 5=#aa759f
9+
palette = 6=#5f9ea0
10+
palette = 7=#d0d0d0
11+
12+
palette = 8=#555555
13+
palette = 9=#cd5c5c
14+
palette = 10=#90a959
15+
palette = 11=#ffdead
16+
palette = 12=#a5d6ff
17+
palette = 13=#cf75bc
18+
palette = 14=#75b5aa
19+
palette = 15=#e1e1e1
20+
21+
foreground = #e1e1e1
22+
background = #151515
23+
cursor-color = #e1e1e1
24+
selection-background = #5e5e5e
25+
selection-foreground = #e1e1e1

nvim/lua/assafdori/plugins/ui.lua

Lines changed: 3 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -86,54 +86,11 @@ return {
8686
},
8787

8888
{
89-
"projekt0n/github-nvim-theme",
90-
name = "github-theme",
91-
lazy = false,
89+
"aktersnurra/no-clown-fiesta.nvim",
9290
priority = 1000,
91+
lazy = false,
9392
config = function()
94-
require("github-theme").setup({
95-
-- ...
96-
})
97-
98-
-- Theme toggle logic
99-
local current_bg = vim.o.background
100-
local function set_theme(mode)
101-
if mode == "dark" then
102-
vim.o.background = "dark"
103-
vim.cmd("colorscheme github_dark_high_contrast")
104-
-- Explicitly set cursor color for dark mode (white box, black text)
105-
vim.api.nvim_set_hl(0, "Cursor", { fg = "#0a0c10", bg = "#f0f3f6" })
106-
vim.o.guicursor = "n-v-c:block-Cursor/lCursor-blinkon0"
107-
.. ",i-ci-ve:ver25-Cursor/lCursor-blinkon1"
108-
.. ",r-cr:hor20-Cursor/lCursor-blinkon0"
109-
.. ",o:hor50-Cursor/lCursor-blinkon0"
110-
else
111-
vim.o.background = "light"
112-
vim.cmd("colorscheme github_light_high_contrast")
113-
-- Set cursor color to blue for visibility in light mode
114-
vim.api.nvim_set_hl(0, "Cursor", { fg = "#ffffff", bg = "#2563eb" })
115-
vim.api.nvim_set_hl(0, "CursorLine", { bg = "#a5b4fc" })
116-
vim.o.guicursor = "n-v-c:block-Cursor/lCursor-blinkon0"
117-
.. ",i-ci-ve:ver25-Cursor/lCursor-blinkon1"
118-
.. ",r-cr:hor20-Cursor/lCursor-blinkon0"
119-
.. ",o:hor50-Cursor/lCursor-blinkon0"
120-
end
121-
end
122-
123-
-- Set initial theme (default: dark)
124-
set_theme("dark")
125-
126-
-- Toggle function
127-
function ToggleTheme()
128-
if vim.o.background == "dark" then
129-
set_theme("light")
130-
else
131-
set_theme("dark")
132-
end
133-
end
134-
135-
-- User command
136-
vim.api.nvim_create_user_command("ToggleTheme", ToggleTheme, {})
93+
vim.cmd.colorscheme("no-clown-fiesta")
13794
end,
13895
},
13996
{

0 commit comments

Comments
 (0)