|
| 1 | +(local my _G.my) |
| 2 | +(local onedarkpro (require :onedarkpro)) |
| 3 | + |
| 4 | +(local odp-utils (require :onedarkpro.utils)) |
| 5 | + |
| 6 | +(onedarkpro.setup {:colors {:bg my.color.my.dark |
| 7 | + :black my.color.my.dark |
| 8 | + :blue my.color.my.blue |
| 9 | + :color_column ((. odp-utils |
| 10 | + (or (and (= (vim.opt.background:get) |
| 11 | + :dark) |
| 12 | + :lighten) |
| 13 | + :darken)) my.color.my.dark |
| 14 | + 0.98) |
| 15 | + :comment ((. odp-utils |
| 16 | + (or (and (= (vim.opt.background:get) |
| 17 | + :dark) |
| 18 | + :lighten) |
| 19 | + :darken)) my.color.my.dark |
| 20 | + 0.8) |
| 21 | + :cursorline ((. odp-utils |
| 22 | + (or (and (= (vim.opt.background:get) |
| 23 | + :dark) |
| 24 | + :lighten) |
| 25 | + :darken)) my.color.my.dark |
| 26 | + 0.97) |
| 27 | + :cyan my.color.my.aqua |
| 28 | + :fg my.color.my.light |
| 29 | + :gray (odp-utils.lighten my.color.my.dark 0.5) |
| 30 | + :green my.color.my.green |
| 31 | + :highlight my.color.my.yellow |
| 32 | + :indentline ((. odp-utils |
| 33 | + (or (and (= (vim.opt.background:get) |
| 34 | + :dark) |
| 35 | + :lighten) |
| 36 | + :darken)) my.color.my.dark |
| 37 | + 0.93) |
| 38 | + :menu ((. odp-utils |
| 39 | + (or (and (= (vim.opt.background:get) |
| 40 | + :dark) |
| 41 | + :lighten) |
| 42 | + :darken)) my.color.my.dark |
| 43 | + 0.95) |
| 44 | + :menu_scroll ((. odp-utils |
| 45 | + (or (and (= (vim.opt.background:get) |
| 46 | + :dark) |
| 47 | + :lighten) |
| 48 | + :darken)) my.color.my.dark |
| 49 | + 0.9) |
| 50 | + :menu_scroll_thumb ((. odp-utils |
| 51 | + (or (and (= (vim.opt.background:get) |
| 52 | + :dark) |
| 53 | + :lighten) |
| 54 | + :darken)) my.color.my.blue |
| 55 | + 0.8) |
| 56 | + :orange my.color.my.orange |
| 57 | + :purple my.color.my.purple |
| 58 | + :red my.color.my.red |
| 59 | + :selection ((. odp-utils |
| 60 | + (or (and (= (vim.opt.background:get) |
| 61 | + :dark) |
| 62 | + :lighten) |
| 63 | + :darken)) my.color.my.dark |
| 64 | + 0.9) |
| 65 | + :white my.color.my.light |
| 66 | + :yellow my.color.my.yellow} |
| 67 | + :options {:bold true |
| 68 | + :cursorline true |
| 69 | + :italic true |
| 70 | + :terminal_colors true |
| 71 | + :transparency false |
| 72 | + :undercurl true |
| 73 | + :underline true |
| 74 | + :window_unfocused_color true} |
| 75 | + :styles {:comments :italic |
| 76 | + :functions "italic,bold" |
| 77 | + :keywords :bold |
| 78 | + :strings :NONE |
| 79 | + :variables :italic}}) |
| 80 | + |
0 commit comments