File tree Expand file tree Collapse file tree 4 files changed +25
-1
lines changed Expand file tree Collapse file tree 4 files changed +25
-1
lines changed Original file line number Diff line number Diff line change 18
18
--- @class CyberdreamColors
19
19
--- @field default CyberdreamPalette
20
20
--- @field light CyberdreamPalette
21
+ --- @field muted CyberdreamPalette
21
22
local M = {}
22
23
23
24
M .default = {
@@ -54,4 +55,21 @@ M.light = {
54
55
purple = " #a018ff" ,
55
56
}
56
57
58
+ M .sunset = {
59
+ bg = " #1e2124" ,
60
+ bgAlt = " #2d3139" ,
61
+ bgHighlight = " #3c4048" ,
62
+ fg = " #ffffff" ,
63
+ grey = " #7b8496" ,
64
+ blue = " #81b0d5" ,
65
+ green = " #58b099" ,
66
+ cyan = " #8df0ef" ,
67
+ red = " #f86487" ,
68
+ yellow = " #fde2cd" ,
69
+ magenta = " #e395a3" ,
70
+ pink = " #eca8e1" ,
71
+ orange = " #f5bfcc" ,
72
+ purple = " #9563b1" ,
73
+ }
74
+
57
75
return M
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ local M = {}
14
14
--- @alias CyberdreamOverrideFn fun ( palette : CyberdreamPalette ): CyberdreamHighlight
15
15
16
16
--- @class ThemeConfig
17
- --- @field variant ? " default" | " light" | " auto"
17
+ --- @field variant ? " default" | " light" | " sunset " | " auto"
18
18
--- @field saturation ? number
19
19
--- @field colors ? CyberdreamPalette
20
20
--- @field highlights ? table<string , CyberdreamHighlight>
Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ local M = {}
3
3
M .variants = {
4
4
default = " default" ,
5
5
light = " light" ,
6
+ sunset = " sunset" ,
6
7
}
7
8
8
9
M .extras = {
Original file line number Diff line number Diff line change @@ -14,6 +14,11 @@ function M.setup()
14
14
t = colors .light
15
15
end
16
16
17
+ if opts .theme .variant == " sunset" then
18
+ --- @type CyberdreamPalette
19
+ t = colors .sunset
20
+ end
21
+
17
22
if opts .theme .variant == " auto" then
18
23
if vim .o .background == " light" then
19
24
--- @type CyberdreamPalette
You can’t perform that action at this time.
0 commit comments