|
| 1 | +local colors = require("palette") |
1 | 2 | local spaceduck = {} |
2 | 3 |
|
3 | 4 | spaceduck.normal = { |
4 | 5 | -- gui parameter is optional and behaves the same way as in vim's highlight command |
5 | | - a = { bg = colors.grey_purple, fg = colors.blackish, gui = "bold" }, |
6 | | - b = { bg = colors.dark_purple, fg = colors.greyer }, |
7 | | - c = { bg = colors.blackish, fg = colors.greyer }, |
| 6 | + a = { bg = colors.grey_purple.hex, fg = colors.blackish.hex, gui = "bold" }, |
| 7 | + b = { bg = colors.dark_purple.hex, fg = colors.greyer.hex }, |
| 8 | + c = { bg = colors.blackish.hex, fg = colors.greyer.hex }, |
8 | 9 | } |
9 | 10 |
|
10 | 11 | spaceduck.insert = { |
11 | | - a = { bg = colors.green, fg = colors.blackish, gui = "bold" }, |
12 | | - b = { bg = colors.dark_purple, fg = colors.greyer }, |
13 | | - c = { bg = colors.blackish, fg = colors.greyer }, |
| 12 | + a = { bg = colors.green.hex, fg = colors.blackish.hex, gui = "bold" }, |
| 13 | + b = { bg = colors.dark_purple.hex, fg = colors.greyer.hex }, |
| 14 | + c = { bg = colors.blackish.hex, fg = colors.greyer.hex }, |
14 | 15 | } |
15 | 16 |
|
16 | 17 | spaceduck.visual = { |
17 | | - a = { bg = colors.yellow, fg = colors.blackish, gui = "bold" }, |
18 | | - b = { bg = colors.dark_purple, fg = colors.greyer }, |
19 | | - c = { bg = colors.blackish, fg = colors.greyer }, |
| 18 | + a = { bg = colors.yellow.hex, fg = colors.blackish.hex, gui = "bold" }, |
| 19 | + b = { bg = colors.dark_purple.hex, fg = colors.greyer.hex }, |
| 20 | + c = { bg = colors.blackish.hex, fg = colors.greyer.hex }, |
20 | 21 | } |
21 | 22 |
|
22 | 23 | spaceduck.replace = { |
23 | | - a = { bg = colors.purple, fg = colors.blackish, gui = "bold" }, |
24 | | - b = { bg = colors.dark_purple, fg = colors.greyer }, |
25 | | - c = { bg = colors.blackish, fg = colors.greyer }, |
| 24 | + a = { bg = colors.purple.hex, fg = colors.blackish.hex, gui = "bold" }, |
| 25 | + b = { bg = colors.dark_purple.hex, fg = colors.greyer.hex }, |
| 26 | + c = { bg = colors.blackish.hex, fg = colors.greyer.hex }, |
26 | 27 | } |
27 | 28 |
|
28 | 29 | spaceduck.command = { |
29 | | - a = { bg = colors.cyan, fg = colors.blackish, gui = "bold" }, |
30 | | - b = { bg = colors.dark_purple, fg = colors.greyer }, |
31 | | - c = { bg = colors.blackish, fg = colors.greyer }, |
| 30 | + a = { bg = colors.cyan.hex, fg = colors.blackish.hex, gui = "bold" }, |
| 31 | + b = { bg = colors.dark_purple.hex, fg = colors.greyer.hex }, |
| 32 | + c = { bg = colors.blackish.hex, fg = colors.greyer.hex }, |
32 | 33 | } |
33 | 34 |
|
34 | 35 | -- you can assign one colorscheme to another, if a colorscheme is |
35 | 36 | -- undefined it falls back to normal |
36 | 37 | spaceduck.terminal = spaceduck.normal |
37 | 38 |
|
38 | 39 | spaceduck.inactive = { |
39 | | - a = { bg = colors.blackish, fg = colors.greyer, gui = "bold" }, |
40 | | - b = { bg = colors.blackish, fg = colors.greyer }, |
41 | | - c = { bg = colors.blackish, fg = colors.greyer }, |
| 40 | + a = { bg = colors.blackish.hex, fg = colors.greyer.hex, gui = "bold" }, |
| 41 | + b = { bg = colors.blackish.hex, fg = colors.greyer.hex }, |
| 42 | + c = { bg = colors.blackish.hex, fg = colors.greyer.hex }, |
42 | 43 | } |
43 | 44 |
|
44 | 45 | -- lualine.theme = spaceduck |
|
0 commit comments