From d322270ecd7e55ca587145509855332c0e794a5c Mon Sep 17 00:00:00 2001 From: Sparkenstein Date: Sun, 23 Jan 2022 11:59:56 +0530 Subject: [PATCH 1/4] add: stylua.toml from nvchad/nvchad --- .stylua.toml | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 .stylua.toml diff --git a/.stylua.toml b/.stylua.toml new file mode 100644 index 0000000..e9bf648 --- /dev/null +++ b/.stylua.toml @@ -0,0 +1,6 @@ +column_width = 120 +line_endings = "Unix" +indent_type = "Spaces" +indent_width = 3 +quote_style = "AutoPreferDouble" +no_call_parentheses = true From 57170c5c7cf6b61c71fd3398f5a0631989f8571a Mon Sep 17 00:00:00 2001 From: Sparkenstein Date: Sun, 23 Jan 2022 12:37:15 +0530 Subject: [PATCH 2/4] feat: night-owl-base16 theme --- lua/themes/night-owl-base16.lua | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 lua/themes/night-owl-base16.lua diff --git a/lua/themes/night-owl-base16.lua b/lua/themes/night-owl-base16.lua new file mode 100644 index 0000000..342e8ad --- /dev/null +++ b/lua/themes/night-owl-base16.lua @@ -0,0 +1,18 @@ +return { + base00 = "011627", -- bg + base01 = "293e4f", -- lightbg + base02 = "1d3b53", -- selection bg + base03 = "637777", -- comments, line highlighting + base04 = "aeb6c3", -- dark foreground + base05 = "d6deeb", -- Default Foreground, Caret, Delimiters, Operators + base06 = "feffff", -- Light Foreground (Not often used) + base07 = "293e4f", -- Light Background (Not often used) + base08 = "82aaff", -- Variables, XML Tags, Markup Link Text, Markup Lists, Diff Deleted + base09 = "f78c6c", -- Integers, Boolean, Constants, XML Attributes, Markup Link Url + base0A = "addb67", -- Classes, Markup Bold, Search Text Background + base0B = "22da6e", -- Strings, Inherited Class, Markup Code, Diff Inserted + base0C = "21c7a8", -- Support, Regular Expressions, Escape Characters, Markup Quotes + base0D = "c792ea", -- Functions, Methods, Attribute IDs, Headings + base0E = "addb67", -- Keywords, Storage, Selector, Markup Italic, Diff Changed + base0F = "d6deeb", -- Deprecated, Opening/Closing Embedded Language Tags, e.g. +} From c4fa784b9e4183bb0a253ea7da27f0b36fba5267 Mon Sep 17 00:00:00 2001 From: Sparkenstein Date: Sun, 23 Jan 2022 12:45:09 +0530 Subject: [PATCH 3/4] feat: night-owl hl_theme --- lua/hl_themes/night-owl.lua | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 lua/hl_themes/night-owl.lua diff --git a/lua/hl_themes/night-owl.lua b/lua/hl_themes/night-owl.lua new file mode 100644 index 0000000..053a971 --- /dev/null +++ b/lua/hl_themes/night-owl.lua @@ -0,0 +1,35 @@ +local colors = { + white = "#d6deeb", + darker_black = "#00121c", + black = "#011627", + black2 = "#021721", + one_bg = "#31322c", -- real bg of onedark + one_bg2 = "#3a3b35", + one_bg3 = "#42433d", + grey = "#637777", + grey_fg = "#222222", + grey_fg2 = "#333333", + light_grey = "#8b9f9f", + red = "#f78c6c", + baby_pink = "#ff6cca", + pink = "#fa58b6", + line = "#232323", + green = "#addb67", + vibrant_green = "#22da6e", + blue = "#82aaff", + nord_blue = "#81A1C1", + yellow = "#ffcb8b", + sun = "#ffe9a9", + purple = "#c792ea", + dark_purple = "#a974cc", + teal = "#96CEB4", + orange = "#FFAD60", + cyan = "#93FFD8", + statusline_bg = "#333945", + lightbg = "#011627", + lightbg2 = "#1f3445", + pmenu_bg = "#A3BE8C", + folder_bg = "#7797b7", +} + +return colors From 65494148f74338963528d1189a23f35764fa1258 Mon Sep 17 00:00:00 2001 From: Sparkenstein Date: Sun, 23 Jan 2022 12:47:34 +0530 Subject: [PATCH 4/4] tests: dummy color file for visualizing colors --- color-highlighter.lua | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 color-highlighter.lua diff --git a/color-highlighter.lua b/color-highlighter.lua new file mode 100644 index 0000000..661d0c9 --- /dev/null +++ b/color-highlighter.lua @@ -0,0 +1,28 @@ +-- This is test file only. the structure helps +-- visualizing colors while having # at the beginning +-- with tools like color-highlighter +-- copy this file, use it in your new theme, once +-- development is done. just return `colors` table from theme + +local colors = { + base00 = "#", -- bg + base01 = "#", -- lightbg + base02 = "#", -- selection bg + base03 = "#", -- comments, line highlighting + base04 = "#", -- dark foreground + base05 = "#", -- Default Foreground, Caret, Delimiters, Operators + base06 = "#", -- Light Foreground (Not often used) + base07 = "#", -- Light Background (Not often used) + base08 = "#", -- Variables, XML Tags, Markup Link Text, Markup Lists, Diff Deleted + base09 = "#", -- Integers, Boolean, Constants, XML Attributes, Markup Link Url + base0A = "#", -- Classes, Markup Bold, Search Text Background + base0B = "#", -- Strings, Inherited Class, Markup Code, Diff Inserted + base0C = "#", -- Support, Regular Expressions, Escape Characters, Markup Quotes + base0D = "#", -- Functions, Methods, Attribute IDs, Headings + base0E = "#", -- Keywords, Storage, Selector, Markup Italic, Diff Changed + base0F = "#", -- Deprecated, Opening/Closing Embedded Language Tags, e.g. +} + +-- return cols + +-- vim macro for removing hash: qawex+q15@a while being on first "b" in base00