aboutsummaryrefslogtreecommitdiff
path: root/.config/nvim/lua/dash.lua
diff options
context:
space:
mode:
Diffstat (limited to '.config/nvim/lua/dash.lua')
-rw-r--r--.config/nvim/lua/dash.lua147
1 files changed, 147 insertions, 0 deletions
diff --git a/.config/nvim/lua/dash.lua b/.config/nvim/lua/dash.lua
new file mode 100644
index 0000000..fd9f03c
--- /dev/null
+++ b/.config/nvim/lua/dash.lua
@@ -0,0 +1,147 @@
+local lazy = require "lazy"
+local alpha = require "alpha"
+
+vim.api.nvim_create_autocmd("ColorScheme", {
+ callback = function()
+ local groups = {
+ Red = "#ff928a",
+ Orange = "#ff9f6f",
+ Yellow = "#ecb256",
+ Green = "#8bd294",
+ Cyan = "#6dd3c2",
+ Blue = "#8bc3fc",
+ Purple = "#c4b1f6",
+ Pink = "#e5acb4",
+ }
+ for group, color in pairs(groups) do
+ vim.api.nvim_set_hl(0, "Dash" .. group, { fg = color, bold = true })
+ end
+ local comment = vim.api.nvim_get_hl(0, { name = "Comment" })
+ vim.api.nvim_set_hl(0, "DashEmphasis", vim.tbl_deep_extend("keep", comment, { bold = true }))
+ end,
+})
+
+
+return {
+ layout = {
+ {
+ type = "padding",
+ val = 4,
+ },
+ {
+ type = "text",
+ val = {
+ [[ ___ ___ ___ ___ ___ ___ ___ ___ ]],
+ [[ /\ \ /\ \ /\ \ /\ \ /\__\ /\ \ /\ \ /\ \ ]],
+ [[ /::\ \ /::\ \ _\:\ \ /::\ \ /::L_L_ _\:\ \ \:\ \ /::\ \ ]],
+ [[ /::\:\__\ /::\:\__\ /\/::\__\ /\:\:\__\ /:/L:\__\ /\/::\__\ /::\__\ /::\:\__\ ]],
+ [[ \/\::/ / \;:::/ / \::/\/__/ \:\:\/__/ \/_/:/ / \::/\/__/ /:/\/__/ \:\:\/ / ]],
+ [[ \/__/ |:\/__/ \:\__\ \::/ / /:/ / \:\__\ \/__/ \:\/ / ]],
+ [[ \|__| \/__/ \/__/ \/__/ \/__/ \/__/ ]],
+ [[ ]],
+ },
+ opts = {
+ position = "center",
+ hl = {
+ {
+ { "DashRed", 1, 10 },
+ { "DashOrange", 10, 20 },
+ { "DashYellow", 20, 30 },
+ { "DashGreen", 30, 40 },
+ { "DashCyan", 40, 50 },
+ { "DashBlue", 50, 60 },
+ { "DashPurple", 60, 70 },
+ { "DashPink", 70, 80 },
+ },
+ {
+ { "DashRed", 1, 10 },
+ { "DashOrange", 10, 20 },
+ { "DashYellow", 20, 30 },
+ { "DashGreen", 30, 40 },
+ { "DashCyan", 40, 50 },
+ { "DashBlue", 50, 60 },
+ { "DashPurple", 60, 70 },
+ { "DashPink", 70, 80 },
+ },
+ {
+ { "DashRed", 1, 10 },
+ { "DashOrange", 10, 20 },
+ { "DashYellow", 20, 30 },
+ { "DashGreen", 30, 40 },
+ { "DashCyan", 40, 50 },
+ { "DashBlue", 50, 60 },
+ { "DashPurple", 60, 70 },
+ { "DashPink", 70, 80 },
+ },
+ {
+ { "DashRed", 1, 10 },
+ { "DashOrange", 10, 20 },
+ { "DashYellow", 20, 30 },
+ { "DashGreen", 30, 40 },
+ { "DashCyan", 40, 50 },
+ { "DashBlue", 50, 60 },
+ { "DashPurple", 60, 70 },
+ { "DashPink", 70, 80 },
+ },
+ {
+ { "DashRed", 1, 10 },
+ { "DashOrange", 10, 20 },
+ { "DashYellow", 20, 30 },
+ { "DashGreen", 30, 40 },
+ { "DashCyan", 40, 50 },
+ { "DashBlue", 50, 60 },
+ { "DashPurple", 60, 70 },
+ { "DashPink", 70, 80 },
+ },
+ {
+ { "DashRed", 1, 10 },
+ { "DashOrange", 10, 20 },
+ { "DashYellow", 20, 30 },
+ { "DashGreen", 30, 40 },
+ { "DashCyan", 40, 50 },
+ { "DashBlue", 50, 60 },
+ { "DashPurple", 60, 70 },
+ { "DashPink", 70, 80 },
+ },
+ {
+ { "DashRed", 1, 10 },
+ { "DashOrange", 10, 20 },
+ { "DashYellow", 20, 30 },
+ { "DashGreen", 30, 40 },
+ { "DashCyan", 40, 50 },
+ { "DashBlue", 50, 60 },
+ { "DashPurple", 60, 70 },
+ { "DashPink", 70, 80 },
+ },
+ },
+ },
+ },
+ {
+ type = "padding",
+ val = 2,
+ },
+ {
+ type = "group",
+ val = {
+ {
+ type = "text",
+ val = function() return lazy.stats().loaded .. " plugin" .. (lazy.stats().loaded == 1 and "" or "s") .. " loaded" end,
+ opts = {
+ position = "center",
+ }
+ },
+ {
+ type = "text",
+ val = "prismite | a theme made by delta___",
+ opts = {
+ position = "center",
+ hl = {
+ { "Comment", 0, 27 },
+ { "DashEmphasis", 27, 35 }
+ }
+ }
+ }
+ },
+ },
+ },
+}