aboutsummaryrefslogtreecommitdiff
path: root/lua/startup/themes
diff options
context:
space:
mode:
authormax397574 <[email protected]>2021-10-24 18:19:25 +0200
committermax397574 <[email protected]>2021-10-24 18:19:25 +0200
commit54256c169dc5d2204408379c588684f653640e7f (patch)
tree750eb7ded89c1e0a20bf6fa84c78c594952361fb /lua/startup/themes
parentf33f55a9c27733fcce24bceca3c489789583a054 (diff)
feat(theme): ✨added quote as separate section
Diffstat (limited to 'lua/startup/themes')
-rw-r--r--lua/startup/themes/evil_startup.lua31
1 files changed, 20 insertions, 11 deletions
diff --git a/lua/startup/themes/evil_startup.lua b/lua/startup/themes/evil_startup.lua
index 517e0da..92b7936 100644
--- a/lua/startup/themes/evil_startup.lua
+++ b/lua/startup/themes/evil_startup.lua
@@ -1,22 +1,23 @@
-local header_content = {}
-for _, line in ipairs(require("startup.buildingblocks.headers").hydra()) do
- table.insert(header_content, line)
-end
-
-for _, line in ipairs(require("startup.buildingblocks.functions").quote()) do
- table.insert(header_content, line)
-end
local settings = {
-- every line should be same width without escaped \
header = {
type = "text",
align = "center",
margin = 5,
- content = header_content,
+ content = require("startup.buildingblocks.headers").hydra(),
highlight = "markdownH1",
default_color = "#FFFFFF",
command = "",
},
+ header_2 = {
+ type = "text",
+ align = "center",
+ margin = 5,
+ content = require("startup.buildingblocks.functions").quote(),
+ highlight = "Constant",
+ default_color = "",
+ command = "",
+ },
-- name which will be displayed and command
body = {
type = "mapping",
@@ -98,11 +99,19 @@ local settings = {
options = {
mapping_keys = true,
empty_lines_between_mappings = true,
- paddings = { 1, 1, 1, 1, 1, 1 },
+ paddings = { 0, 1, 1, 1, 1, 1, 1 },
},
colors = {
background = "#1f2227",
},
- parts = { "header", "body", "body_2", "footer", "clock", "footer_2" },
+ parts = {
+ "header",
+ "header_2",
+ "body",
+ "body_2",
+ "footer",
+ "clock",
+ "footer_2",
+ },
}
return settings