-
Notifications
You must be signed in to change notification settings - Fork 14
/
theme.fnl
37 lines (37 loc) · 2.64 KB
/
theme.fnl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
[{1 :folke/tokyonight.nvim
:lazy false
:priority 1000
:dependencies [:nvim-tree/nvim-web-devicons]
:config (fn []
(let [theme (require :tokyonight)
theme-util (require :tokyonight.util)]
(theme.setup {:style :night
:styles {:comments {:italic true}
:floats :dark
:functions {}
:keywords {:italic true}
:sidebars :dark
:variables {}}
:on_colors (fn [colors]
(set colors.bg_statusline (theme-util.darken colors.bg_dark 0.5)))
:on_highlights (fn [highlight colors]
(set highlight.String {:fg colors.green2})
(set highlight.TelescopeNormal {:bg colors.bg_statusline
:fg colors.fg_dark})
(set highlight.TelescopeBorder {:bg colors.bg_statusline
:fg colors.fg_dark})
(set highlight.NvimTreeNormal {:bg colors.bg_statusline
:fg colors.fg_dark})
(set highlight.NvimTreeNormalNC {:bg colors.bg_statusline
:fg colors.fg_dark})
(set highlight.NvimTreeWinSeparator {:bg colors.bg_statusline
:fg colors.bg_dark})
(set highlight.FloatBorder {:bg colors.bg_statusline
:fg colors.fg_dark})
(set highlight.ColorColumn {:bg colors.bg_statusline
:fg colors.fg_dark})
(set highlight.Pmenu {:bg colors.bg_statusline
:fg colors.fg_dark})
(set highlight.NonText {:fg (theme-util.lighten colors.bg 0.9)}))
:terminal_colors true})
(vim.cmd "colorscheme tokyonight")))}]