Skip to content

Commit 874fef4

Browse files
committed
wip
1 parent 5b42c2e commit 874fef4

File tree

4 files changed

+25
-1
lines changed

4 files changed

+25
-1
lines changed

lua/cyberdream/colors.lua

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
---@class CyberdreamColors
1919
---@field default CyberdreamPalette
2020
---@field light CyberdreamPalette
21+
---@field muted CyberdreamPalette
2122
local M = {}
2223

2324
M.default = {
@@ -54,4 +55,21 @@ M.light = {
5455
purple = "#a018ff",
5556
}
5657

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+
5775
return M

lua/cyberdream/config.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ local M = {}
1414
---@alias CyberdreamOverrideFn fun(palette: CyberdreamPalette): CyberdreamHighlight
1515

1616
---@class ThemeConfig
17-
---@field variant? "default" | "light" | "auto"
17+
---@field variant? "default" | "light" | "sunset" | "auto"
1818
---@field saturation? number
1919
---@field colors? CyberdreamPalette
2020
---@field highlights? table<string, CyberdreamHighlight>

lua/cyberdream/extra/init.lua

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ local M = {}
33
M.variants = {
44
default = "default",
55
light = "light",
6+
sunset = "sunset",
67
}
78

89
M.extras = {

lua/cyberdream/theme.lua

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,11 @@ function M.setup()
1414
t = colors.light
1515
end
1616

17+
if opts.theme.variant == "sunset" then
18+
---@type CyberdreamPalette
19+
t = colors.sunset
20+
end
21+
1722
if opts.theme.variant == "auto" then
1823
if vim.o.background == "light" then
1924
---@type CyberdreamPalette

0 commit comments

Comments
 (0)