fix: use correct file name
authorhylo <hylo@posteo.de>
Sun, 19 Mar 2023 19:35:08 +0000 (20:35 +0100)
committerhylo <hylo@posteo.de>
Sun, 19 Mar 2023 19:35:08 +0000 (20:35 +0100)
lua/lualine/themes/flatwhite.lua [new file with mode: 0644]
lua/lualine/themes/flatwhite.nvim [deleted file]

diff --git a/lua/lualine/themes/flatwhite.lua b/lua/lualine/themes/flatwhite.lua
new file mode 100644 (file)
index 0000000..ef200d9
--- /dev/null
@@ -0,0 +1,47 @@
+local flatwhite = require("flatwhite")
+local configs = flatwhite.configs()
+local colors = flatwhite.colors()
+
+local bg = configs.lualine_bg_color or colors.base4
+
+local normal = {
+       a = { fg = colors.base5, bg = colors.base2, gui = "bold" },
+       b = { fg = colors.base2, bg = bg },
+       c = { fg = colors.fg, bg = bg },
+}
+
+local command = {
+       a = { fg = colors.teal_text, bg = colors.teal_bg, gui = "bold" },
+       b = { fg = colors.teal_text_sec, bg = bg },
+}
+
+local visual = {
+       a = { fg = colors.purple_text, bg = colors.purple_bg, gui = "bold" },
+       b = { fg = colors.purple_text_sec, bg = bg },
+}
+
+local inactive = {
+       a = { fg = colors.white, bg = colors.visual, gui = "bold" },
+       b = { fg = colors.black, bg = colors.white },
+}
+
+local replace = {
+       a = { fg = colors.black, bg = colors.yellow, gui = "bold" },
+       b = { fg = colors.yellow, bg = bg },
+       c = { fg = colors.white, bg = bg },
+}
+
+local insert = {
+       a = { fg = colors.green_text, bg = colors.green_bg, gui = "bold" },
+       b = { fg = colors.green_text_sec, bg = bg },
+       c = { fg = colors.fg, bg = bg },
+}
+
+return {
+       normal = normal,
+       command = command,
+       visual = visual,
+       inactive = inactive,
+       replace = replace,
+       insert = insert,
+}
diff --git a/lua/lualine/themes/flatwhite.nvim b/lua/lualine/themes/flatwhite.nvim
deleted file mode 100644 (file)
index ef200d9..0000000
+++ /dev/null
@@ -1,47 +0,0 @@
-local flatwhite = require("flatwhite")
-local configs = flatwhite.configs()
-local colors = flatwhite.colors()
-
-local bg = configs.lualine_bg_color or colors.base4
-
-local normal = {
-       a = { fg = colors.base5, bg = colors.base2, gui = "bold" },
-       b = { fg = colors.base2, bg = bg },
-       c = { fg = colors.fg, bg = bg },
-}
-
-local command = {
-       a = { fg = colors.teal_text, bg = colors.teal_bg, gui = "bold" },
-       b = { fg = colors.teal_text_sec, bg = bg },
-}
-
-local visual = {
-       a = { fg = colors.purple_text, bg = colors.purple_bg, gui = "bold" },
-       b = { fg = colors.purple_text_sec, bg = bg },
-}
-
-local inactive = {
-       a = { fg = colors.white, bg = colors.visual, gui = "bold" },
-       b = { fg = colors.black, bg = colors.white },
-}
-
-local replace = {
-       a = { fg = colors.black, bg = colors.yellow, gui = "bold" },
-       b = { fg = colors.yellow, bg = bg },
-       c = { fg = colors.white, bg = bg },
-}
-
-local insert = {
-       a = { fg = colors.green_text, bg = colors.green_bg, gui = "bold" },
-       b = { fg = colors.green_text_sec, bg = bg },
-       c = { fg = colors.fg, bg = bg },
-}
-
-return {
-       normal = normal,
-       command = command,
-       visual = visual,
-       inactive = inactive,
-       replace = replace,
-       insert = insert,
-}