Mercurial > ec-dotfiles
comparison vendor/vim-packs/srcery-vim/lua/lualine/themes/srcery.lua @ 726:78469331407e
Update syntaxes
author | nanaya <me@nanaya.net> |
---|---|
date | Mon, 19 Aug 2024 17:04:13 +0900 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
725:0a896ffe3029 | 726:78469331407e |
---|---|
1 -- Port of Srcery's airline theme to lualine | |
2 local colors = { | |
3 black = vim.api.nvim_eval('g:srcery_black'), | |
4 red = vim.api.nvim_eval('g:srcery_red'), | |
5 green = vim.api.nvim_eval('g:srcery_green'), | |
6 yellow = vim.api.nvim_eval('g:srcery_yellow'), | |
7 blue = vim.api.nvim_eval('g:srcery_blue'), | |
8 magenta = vim.api.nvim_eval('g:srcery_magenta'), | |
9 cyan = vim.api.nvim_eval('g:srcery_cyan'), | |
10 white = vim.api.nvim_eval('g:srcery_white'), | |
11 brightblack = vim.api.nvim_eval('g:srcery_bright_black'), | |
12 brightred = vim.api.nvim_eval('g:srcery_bright_red'), | |
13 brightgreen = vim.api.nvim_eval('g:srcery_bright_green'), | |
14 brightyellow = vim.api.nvim_eval('g:srcery_bright_yellow'), | |
15 brightblue = vim.api.nvim_eval('g:srcery_bright_blue'), | |
16 brightmagenta = vim.api.nvim_eval('g:srcery_bright_magenta'), | |
17 brightcyan = vim.api.nvim_eval('g:srcery_bright_cyan'), | |
18 brightwhite = vim.api.nvim_eval('g:srcery_bright_white'), | |
19 -- Srcery's xterm 256 colors | |
20 orange = vim.api.nvim_eval('g:srcery_red'), | |
21 brightorange = vim.api.nvim_eval('g:srcery_red'), | |
22 hardblack = vim.api.nvim_eval('g:srcery_red'), | |
23 xgray1 = vim.api.nvim_eval('g:srcery_xgray1'), | |
24 xgray2 = vim.api.nvim_eval('g:srcery_xgray2'), | |
25 xgray3 = vim.api.nvim_eval('g:srcery_xgray3'), | |
26 xgray4 = vim.api.nvim_eval('g:srcery_xgray4'), | |
27 xgray5 = vim.api.nvim_eval('g:srcery_xgray5'), | |
28 xgray6 = vim.api.nvim_eval('g:srcery_xgray6'), | |
29 } | |
30 | |
31 return { | |
32 normal = { | |
33 a = {bg = colors.xgray4, fg = colors.brightwhite, gui = 'bold'}, | |
34 b = {bg = colors.xgray3, fg = colors.brightwhite}, | |
35 c = {bg = colors.xgray1, fg = colors.brightwhite} | |
36 }, | |
37 insert = { | |
38 a = {bg = colors.brightwhite, fg = colors.black, gui = 'bold'}, | |
39 b = {bg = colors.brightblack, fg = colors.black}, | |
40 c = {bg = colors.xgray1, fg = colors.brightwhite} | |
41 }, | |
42 visual = { | |
43 a = {bg = colors.cyan, fg = colors.black, gui = 'bold'}, | |
44 b = {bg = colors.xgray5, fg = colors.brightwhite}, | |
45 c = {bg = colors.xgray1, fg = colors.brightwhite} | |
46 }, | |
47 replace = { | |
48 a = {bg = colors.brightred, fg = colors.brightwhite, gui = 'bold'}, | |
49 b = {bg = colors.brightblack, fg = colors.black}, | |
50 c = {bg = colors.xgray1, fg = colors.brightwhite} | |
51 }, | |
52 command = { | |
53 a = {bg = colors.yellow, fg = colors.black, gui = 'bold'}, | |
54 b = {bg = colors.xgray3, fg = colors.brightwhite}, | |
55 c = {bg = colors.xgray1, fg = colors.brightwhite} | |
56 }, | |
57 terminal = { | |
58 a = {bg = colors.green, fg = colors.black, gui = 'bold'}, | |
59 b = {bg = colors.xgray3, fg = colors.brightwhite}, | |
60 c = {bg = colors.xgray1, fg = colors.brightwhite} | |
61 }, | |
62 inactive = { | |
63 a = {bg = colors.xgray4, fg = colors.xgray6, gui = 'bold'}, | |
64 b = {bg = colors.xgray3, fg = colors.xgray6}, | |
65 c = {bg = colors.xgray2, fg = colors.xgray6} | |
66 } | |
67 } |