@@ -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