Skip to content

Commit

Permalink
Finish initial setup, fix bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
scottmckendry committed Dec 21, 2023
1 parent 540aa0b commit ff4d587
Show file tree
Hide file tree
Showing 6 changed files with 440 additions and 3 deletions.
1 change: 1 addition & 0 deletions colors/cyberdream.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
require("cyberdream").load()
3 changes: 2 additions & 1 deletion lua/cyberdream/colours.lua
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
local M = {}

M.default = {
bg = "#16181a",
none = "NONE",
bg = "NONE",
bgHighlight = "#3c4048",
fg = "#ffffff",
grey = "#5c6370",
Expand Down
6 changes: 5 additions & 1 deletion lua/cyberdream/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ local util = require("cyberdream.util")

local M = {}

M.colorscheme = util.load(theme.setup())
function M.load()
util.load(theme.setup())
end

M.colorscheme = M.load

return M
6 changes: 5 additions & 1 deletion lua/cyberdream/theme.lua
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ local M = {}
---@field fg string|nil
---@field bg string|nil
---@field sp string|nil
---@field style string|nil
---@field style string|nil|Highlight
---@field link string|nil

---@alias Highlights table<string, Highlight>
Expand Down Expand Up @@ -139,6 +139,10 @@ function M.setup()
mkdCodeStart = { fg = t.grey },
mkdCodeEnd = { fg = t.grey },
}

---@type table<string, table>
theme.defer = {}

return theme
end

Expand Down
Loading

0 comments on commit ff4d587

Please sign in to comment.