summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--colors/mycolortheme.lua1
-rw-r--r--lua/mycolortheme/init.lua18
2 files changed, 19 insertions, 0 deletions
diff --git a/colors/mycolortheme.lua b/colors/mycolortheme.lua
new file mode 100644
index 0000000..c298b0d
--- /dev/null
+++ b/colors/mycolortheme.lua
@@ -0,0 +1 @@
+require("mycolortheme").setup()
diff --git a/lua/mycolortheme/init.lua b/lua/mycolortheme/init.lua
new file mode 100644
index 0000000..fb8fb25
--- /dev/null
+++ b/lua/mycolortheme/init.lua
@@ -0,0 +1,18 @@
+local M = {}
+
+function M.setup()
+ local colors = {
+ bg = "#000000",
+ fg = "#ffffff"
+ }
+
+ local highlights = {
+ Normal = { fg = colors.fg, bg = colors.bg }
+ }
+
+ for group, opts in pairs(highlights) do
+ vim.api.nvim_set_hl(0, group, opts)
+ end
+end
+
+return M