diff options
| author | Ken Zhou <kendotzhou@gmail.com> | 2022-09-16 23:22:18 -0400 |
|---|---|---|
| committer | Ken Zhou <kendotzhou@gmail.com> | 2022-09-16 23:22:18 -0400 |
| commit | 9449bcf7ef5890610c03a432745076891fa77a43 (patch) | |
| tree | 2a67ed981526cd8dbf11197e2f0803ff79d6e081 /lua/yoru | |
initial commit
Diffstat (limited to 'lua/yoru')
| -rw-r--r-- | lua/yoru/init.lua | 18 | ||||
| -rw-r--r-- | lua/yoru/palette.lua | 50 |
2 files changed, 68 insertions, 0 deletions
diff --git a/lua/yoru/init.lua b/lua/yoru/init.lua new file mode 100644 index 0000000..b5f4ed5 --- /dev/null +++ b/lua/yoru/init.lua @@ -0,0 +1,18 @@ +local M = {} +local theme = require('yoru.theme') + +M.setup = function() + vim.cmd('hi clear') + + vim.o.background = 'dark' + if vim.fn.exists('syntax_on') then + vim.cmd('syntax reset') + end + + vim.o.termguicolors = true + vim.g.colors_name = 'yoru' + + theme.set_highlights() +end + +return M
\ No newline at end of file diff --git a/lua/yoru/palette.lua b/lua/yoru/palette.lua new file mode 100644 index 0000000..69ae8f7 --- /dev/null +++ b/lua/yoru/palette.lua @@ -0,0 +1,50 @@ +local colors = { + white = "#edeff0", + darker_black = "#060809", + black = "#0c0e0f", + lighter_black = "#121415", + one_bg = "#161819", + one_bg2 = "#1f2122", + one_bg3 = "#27292a", + grey = "#343637", + grey_fg = "#3e4041", + grey_fg2 = "#484a4b", + light_grey = "#505253", + red = "#DF5B61", + baby_pink = "#EE6A70", + pink = "#e8646a", + line = "#1b1d1e", + green = "#78B892", + vibrant_green = "#81c19b", + nord_blue = "#5A84BC", + blue = "#6791C9", + yellow = "#ecd28b", + sun = "#f6dc95", + purple = "#c58cec", + dark_purple = "#BC83E3", + teal = "#70b8ca", + orange = "#E89982", + cyan = "#67AFC1", + statusline_bg = "#101213", + lightbg = "#1d1f20", + pmenu_bg = "#78B892", + folder_bg = "#6791C9", + base00 = "#0c0e0f", + base01 = "#121415", + base02 = "#161819", + base03 = "#1f2122", + base04 = "#27292a", + base05 = "#edeff0", + base06 = "#e4e6e7", + base07 = "#f2f4f5", + base08 = "#f26e74", + base09 = "#ecd28b", + base0A = "#e79881", + base0B = "#82c29c", + base0C = "#6791C9", + base0D = "#709ad2", + base0E = "#c58cec", + base0F = "#e8646a", +} + +return colors
\ No newline at end of file |