A dark and earthy colorscheme for Neovim. (mirror) github.com/ptdewey/darkearth-nvim
neovim neovim-colorscheme fennel
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

feat!: v2 rewrite with fennel (#2)

authored by

Patrick Dewey and committed by
GitHub
6558b7a1 ab889946

+594 -931
+1
.gitattributes
··· 1 + colors/darkearth.lua linguist-generated
+11
.hotpot.lua
··· 1 + return { 2 + build = { 3 + { atomic = false }, 4 + { 5 + "fnl/darkearth/init.fnl", 6 + function() 7 + return "colors/darkearth.lua" 8 + end, 9 + }, 10 + }, 11 + }
-10
.stylua.toml
··· 1 - column_width = 80 2 - line_endings = "Unix" 3 - indent_type = "Spaces" 4 - indent_width = 4 5 - quote_style = "AutoPreferDouble" 6 - call_parentheses = "Always" 7 - collapse_simple_statement = "Never" 8 - 9 - [sort_requires] 10 - enabled = false
+1 -1
LICENSE
··· 1 1 MIT License 2 2 3 - Copyright (c) 2024 Patrick Dewey 3 + Copyright (c) 2024 - 2025 Patrick Dewey 4 4 5 5 Permission is hereby granted, free of charge, to any person obtaining a copy 6 6 of this software and associated documentation files (the "Software"), to deal
+9 -11
README.md
··· 12 12 <img src="assets/screenshot-0.png" alt="DarkEarth theme in neovim"/> 13 13 </p> 14 14 15 - Based on [miasma.nvim](https://github.com/xero/miasma.nvim), but reimagined with earthier tones and more colorful syntax elements. 16 - 17 - Built with [lush](https://github.com/rktjmp/lush.nvim). 18 - 15 + Based on [miasma.nvim](https://github.com/xero/miasma.nvim), reimagined with earthier tones and more colorful syntax elements. 19 16 20 17 ## Installation 21 18 ··· 27 24 }, 28 25 ``` 29 26 30 - Packer: 27 + `vim.pack`: 31 28 ```lua 32 - use { 33 - "ptdewey/darkearth-nvim", 34 - } 29 + vim.pack.add({ "https://github.com/ptdewey/darkearth-nvim" }) 35 30 ``` 36 31 37 32 ## Usage ··· 42 37 43 38 ## Build or Modify 44 39 45 - 1. Ensure [lush.nvim](https://github.com/rktjmp/lush.nvim) and [shipwright.nvim](https://github.com/rktjmp/shipwright.nvim) are installed 46 - 2. Modify [lush_theme/darkearth.lua](lush_theme/darkearth.lua) 47 - 3. Rebuild the colorscheme using `./build.sh` 40 + 1. [fennel](https://github.com/bakpakin/Fennel) or [hotpot.nvim](https://github.com/rktjmp/hotpot.nvim/tree/main) is installed 41 + 2. Modify [fnl/darkearth/init.fnl](fnl/darkearth/init.fnl) as desired 42 + 3. Rebuild the colorscheme 43 + - With `fennel`: Use `./build.sh` or `just build` () 44 + - With `hotpot.nvim`: Builds are automatic upon saving `fnl/darkearth/init.fnl` 48 45 46 + Note: The version of darkearth made with [lush](https://github.com/rktjmp/lush.nvim) can be found on the [v1 branch](https://github.com/ptdewey/darkearth-nvim/tree/v2) 49 47 50 48 ## Extras 51 49
+1 -5
build.sh
··· 1 1 #!/usr/bin/env bash 2 2 3 - export LUA_PATH=./lush_theme/darkearth.lua 4 - 5 - nvim --headless +Shipwright +qa 6 - 7 - echo "DarkEarth build complete" 3 + fennel --compile fnl/darkearth/init.fnl &> colors/darkearth.lua
+220 -427
colors/darkearth.lua
··· 1 - -- colors/colorscheme.lua 2 - 3 - local colors = { 4 - -- content here will not be touched 5 - -- PATCH_OPEN 6 - Normal = {fg = "#D7C484", bg = "#24211E"}, 7 - CmpItemKindText = {link = "Normal"}, 8 - CmpItemKindVariable = {link = "Normal"}, 9 - FzfLuaBorder = {link = "Normal"}, 10 - FzfLuaNormal = {link = "Normal"}, 11 - MiniTablineHidden = {link = "Normal"}, 12 - NvimSpacing = {link = "Normal"}, 13 - javaScript = {link = "Normal"}, 14 - lessVariableValue = {link = "Normal"}, 15 - ["@boolean"] = {link = "Boolean"}, 16 - ColorColumn = {bg = "#24211E"}, 17 - Comment = {fg = "#6E665E", italic = true}, 18 - CtrlPLinePre = {link = "Comment"}, 19 - LspCodeLens = {link = "Comment"}, 20 - NERDTreeHelp = {link = "Comment"}, 21 - helpSectionDelim = {link = "Comment"}, 22 - ["@comment"] = {link = "Comment"}, 23 - ["@html.comment"] = {link = "Comment"}, 24 - ["@lsp.type.comment"] = {link = "Comment"}, 25 - ["@text.literal"] = {link = "Comment"}, 26 - Constant = {fg = "#BB7844"}, 27 - Character = {link = "Constant"}, 28 - rubyConstant = {link = "Constant"}, 29 - vimHiAttrib = {link = "Constant"}, 30 - ["@constant"] = {link = "Constant"}, 31 - ["@lsp.type.enumMember"] = {link = "Constant"}, 32 - Cursor = {fg = "#212121", bg = "#675642"}, 33 - FzfLuaCursor = {link = "Cursor"}, 34 - CursorColumn = {bg = "#221F1C"}, 35 - CursorLine = {bg = "#221F1C"}, 36 - FzfLuaCursorLine = {link = "CursorLine"}, 37 - CursorLineNr = {fg = "#77824A", bg = "#221F1C", bold = true}, 38 - FzfLuaCursorLineNr = {link = "CursorLineNr"}, 39 - DefLineNr = {fg = "#736659", bg = "#221F1C"}, 40 - LineNrAbove = {link = "DefLineNr"}, 41 - LineNrBelow = {link = "DefLineNr"}, 42 - Delimiter = {fg = "#80744D"}, 43 - MyParentheses = {link = "Delimiter"}, 44 - NvimArrow = {link = "Delimiter"}, 45 - NvimColon = {link = "Delimiter"}, 46 - NvimComma = {link = "Delimiter"}, 47 - NvimParenthesis = {link = "Delimiter"}, 48 - javaScriptBraces = {link = "Delimiter"}, 49 - markdownLinkDelimiter = {link = "Delimiter"}, 50 - markdownURLDelimiter = {link = "Delimiter"}, 51 - vimContinue = {link = "Delimiter"}, 52 - vimSetSep = {link = "Delimiter"}, 53 - ["@punctuation"] = {link = "Delimiter"}, 54 - DelimiterLight = {fg = "#D7C484"}, 55 - ["@punctuation.bracket"] = {link = "DelimiterLight"}, 56 - DiagnosticDeprecated = {sp = "#675642", strikethrough = true}, 57 - DiagnosticError = {fg = "#B3664D"}, 58 - DiagnosticErrorFloating = {link = "DiagnosticError"}, 59 - DiagnosticFloatingError = {link = "DiagnosticError"}, 60 - DiagnosticHint = {fg = "#6E665E"}, 61 - DiagnosticFloatingHint = {link = "DiagnosticHint"}, 62 - DiagnosticHintFloating = {fg = "#77824A"}, 63 - DiagnosticInfo = {fg = "#C9A654"}, 64 - DiagnosticFloatingInfo = {link = "DiagnosticInfo"}, 65 - DiagnosticOk = {fg = "#77824A"}, 66 - DiagnosticFloatingOk = {link = "DiagnosticOk"}, 67 - DiagnosticSignOk = {link = "DiagnosticOk"}, 68 - DiagnosticVirtualTextOk = {link = "DiagnosticOk"}, 69 - DiagnosticSignError = {fg = "#B3664D", bg = "#221F1C"}, 70 - DiagnosticSignHint = {fg = "#6E665E", bg = "#221F1C"}, 71 - DiagnosticSignInfo = {fg = "#C9A654", bg = "#221F1C"}, 72 - DiagnosticSignWarn = {fg = "#BB7844", bg = "#221F1C"}, 73 - DiagnosticUnderlineError = {underline = true}, 74 - DiagnosticUnderlineHint = {underline = true}, 75 - DiagnosticUnderlineInfo = {underline = true}, 76 - DiagnosticUnderlineOk = {underline = true}, 77 - DiagnosticUnderlineWarn = {underline = true}, 78 - DiagnosticUnnecessary = {fg = "#6B6461"}, 79 - DiagnosticVirtualTextError = {fg = "#B3664D", bg = "#2A2622"}, 80 - DiagnosticVirtualTextHint = {fg = "#6E665E", bg = "#2A2622"}, 81 - DiagnosticVirtualTextInfo = {fg = "#C9A654", bg = "#2A2622"}, 82 - DiagnosticVirtualTextWarn = {fg = "#BB7844", bg = "#2A2622"}, 83 - DiagnosticVirtualTextWarning = {fg = "#D7C484"}, 84 - DiagnosticWarn = {fg = "#BB7844"}, 85 - CmpItemAbbrDeprecated = {link = "DiagnosticWarn"}, 86 - DiagnosticFloatingWarn = {link = "DiagnosticWarn"}, 87 - DiagnosticWarning = {fg = "#B36B42"}, 88 - DiagnosticFloatingWarning = {link = "DiagnosticWarning"}, 89 - DiagnosticWarningFloating = {fg = "#D7C484"}, 90 - DiffAdd = {fg = "#212121", bg = "#5F865F"}, 91 - ["@text.diff.add"] = {link = "DiffAdd"}, 92 - DiffAdded = {fg = "#5F865F", bg = "#221F1C"}, 93 - DiffChange = {fg = "#212121", bg = "#675642"}, 94 - DiffDelete = {fg = "#212121", bg = "#B36B42", bold = true}, 95 - ["@text.diff.delete"] = {link = "DiffDelete"}, 96 - DiffRemoved = {fg = "#B36B42", bg = "#221F1C"}, 97 - DiffText = {fg = "#212121", bg = "#C9A654", bold = true}, 98 - Directory = {fg = "#77824A", bg = "#221F1C"}, 99 - gitCommitFile = {link = "Directory"}, 100 - Error = {fg = "#C3C3B1", bg = "#BB7844"}, 101 - NvimInvalid = {link = "Error"}, 102 - ErrorMsg = {fg = "#B36B42", bg = "#24211E"}, 103 - NvimInvalidSpacing = {link = "ErrorMsg"}, 104 - Field = {fg = "#BB7844"}, 105 - CmpItemKindProperty = {link = "Field"}, 106 - ["@field"] = {link = "Field"}, 107 - ["@property"] = {link = "Field"}, 108 - FloatShadow = {bg = "#0F0F0F"}, 109 - FloatShadowThrough = {bg = "#141414"}, 110 - FoldColumn = {fg = "#666666", bg = "#221F1C"}, 111 - CursorLineFold = {link = "FoldColumn"}, 112 - Folded = {fg = "#B36B42", bg = "#221F1C"}, 113 - Function = {fg = "#77824A"}, 114 - CmpItemKindFunction = {link = "Function"}, 115 - CmpItemKindMethod = {link = "Function"}, 116 - ["@function"] = {link = "Function"}, 117 - ["@function.builtin"] = {link = "Function"}, 118 - ["@lsp.type.decorator"] = {link = "Function"}, 119 - ["@lsp.type.function"] = {link = "Function"}, 120 - ["@lsp.type.method"] = {link = "Function"}, 121 - ["@method"] = {link = "Function"}, 122 - GitSignsAdd = {fg = "#5F865F", bg = "#221F1C"}, 123 - GitSignsChange = {fg = "#675642", bg = "#221F1C"}, 124 - GitSignsDelete = {fg = "#B3664D", bg = "#221F1C"}, 125 - IblIndent = {fg = "#252F1E", nocombine = true}, 126 - IblScope = {fg = "#444A2B", nocombine = true}, 127 - IblWhitespace = {fg = "#252F1E", nocombine = true}, 128 - Identifier = {fg = "#D7C484"}, 129 - NvimIdentifier = {link = "Identifier"}, 130 - rubyLocalVariableOrMethod = {link = "Identifier"}, 131 - ["@lsp.type.parameter"] = {link = "Identifier"}, 132 - ["@lsp.type.property"] = {link = "Identifier"}, 133 - ["@lsp.type.variable"] = {link = "Identifier"}, 134 - ["@namespace"] = {link = "Identifier"}, 135 - ["@parameter"] = {link = "Identifier"}, 136 - ["@text.reference"] = {link = "Identifier"}, 137 - ["@variable"] = {link = "Identifier"}, 138 - Ignore = {fg = "#484441"}, 139 - Conceal = {link = "Ignore"}, 140 - IncSearch = {fg = "#212121", bg = "#BB7844"}, 141 - FzfLuaSearch = {link = "IncSearch"}, 142 - Keyword = {fg = "#5F865F"}, 143 - CmpItemKindKeyword = {link = "Keyword"}, 144 - CmpItemKindUnit = {link = "Keyword"}, 145 - PreProc = {link = "Keyword"}, 146 - ["@keyword"] = {link = "Keyword"}, 147 - LazyButton = {bg = "#24211E"}, 148 - LazyButtonActive = {fg = "#212121", bg = "#77824A"}, 149 - MasonHeaderSecondary = {link = "LazyButtonActive"}, 150 - MasonHighlightBlock = {link = "LazyButtonActive"}, 151 - MasonHighlightBlockBold = {link = "LazyButtonActive"}, 152 - LazyComment = {}, 153 - LazyCommit = {}, 154 - LazyCommitIssue = {}, 155 - LazyCommitScope = {}, 156 - LazyCommitType = {}, 157 - LazyDimmed = {}, 158 - LazyDir = {}, 159 - LazyH1 = {fg = "#77824A", bg = "#24211E"}, 160 - LazyH2 = {fg = "#77824A", bg = "#24211E"}, 161 - LazyLocal = {}, 162 - LazyNoCond = {}, 163 - LazyNormal = {bg = "#221F1C"}, 164 - LazyProgressDone = {}, 165 - LazyProgressTodo = {}, 166 - LazyProp = {}, 167 - LazyReasonCmd = {}, 168 - LazyReasonEvent = {}, 169 - LazyReasonFt = {}, 170 - LazyReasonImport = {}, 171 - LazyReasonKeys = {}, 172 - LazyReasonPlugin = {}, 173 - LazyReasonRuntime = {}, 174 - LazyReasonSource = {}, 175 - LazyReasonStart = {}, 176 - LazySpecial = {fg = "#C9A654"}, 177 - LazyTaskError = {}, 178 - LazyTaskOutput = {}, 179 - LazyUrl = {}, 180 - LazyValue = {}, 181 - LineNr = {fg = "#77824A", bg = "#221F1C"}, 182 - LspBorderBG = {fg = "#675642", bg = "#24211E"}, 183 - LspFloatWinNormal = {fg = "#D7C484", bg = "#444A2B"}, 184 - LspReferenceRead = {fg = "#5F865F", sp = "#FD9621", underline = true}, 185 - LspReferenceText = {fg = "#D7C484", bg = "#444A2B", sp = "#FD9621", underline = true}, 186 - LspReferenceWrite = {fg = "#5F865F", sp = "#FD9621", underline = true}, 187 - LspSignatureActiveParameter = {sp = "#FBEB9D", italic = true, underline = true}, 188 - MasonError = {}, 189 - MasonHeader = {fg = "#D7C484", bg = "#221F1C"}, 190 - MasonHeading = {}, 191 - MasonHighlight = {fg = "#77824A", bg = "#24211E"}, 192 - MasonMutedBlockBold = {link = "MasonHighlight"}, 193 - MasonHighlightBlockBoldSecondary = {}, 194 - MasonHighlightBlockSecondary = {}, 195 - MasonHighlightSecondary = {}, 196 - MasonMuted = {fg = "#C9A654", bg = "#221F1C"}, 197 - MasonMutedBlock = {link = "MasonMuted"}, 198 - MasonWarning = {}, 199 - MatchParen = {fg = "#D7C484", bg = "#463939"}, 200 - MiniTablineVisible = {link = "MiniTablineHidden"}, 201 - MiniTablineModifiedCurrent = {fg = "#24211E", bg = "#5F865F", bold = true}, 202 - MiniTablineModifiedVisible = {link = "MiniTablineModifiedHidden"}, 203 - ModeMsg = {bold = true}, 204 - MoreMsg = {fg = "#5F865F", bold = true}, 205 - NonText = {fg = "#7A6D52"}, 206 - EndOfBuffer = {link = "NonText"}, 207 - Whitespace = {link = "NonText"}, 208 - markdownCodeDelimiter = {link = "NonText"}, 209 - markdownHeadingRule = {link = "NonText"}, 210 - Number = {fg = "#B3664D"}, 211 - Boolean = {link = "Number"}, 212 - Float = {link = "Number"}, 213 - NvimNumber = {link = "Number"}, 214 - rubyInstanceVariable = {link = "Number"}, 215 - ["@number"] = {link = "Number"}, 216 - NvimInternalError = {fg = "#221F1C", bg = "#B36B42"}, 217 - NvimFigureBrace = {link = "NvimInternalError"}, 218 - NvimInvalidSingleQuotedUnknownEscape = {link = "NvimInternalError"}, 219 - NvimSingleQuotedUnknownEscape = {link = "NvimInternalError"}, 220 - Operator = {fg = "#669977"}, 221 - ["@markup.list"] = {link = "Operator"}, 222 - Pmenu = {fg = "#D7C484", bg = "#221F1C"}, 223 - NormalFloat = {link = "Pmenu"}, 224 - PmenuExtra = {link = "Pmenu"}, 225 - PmenuKind = {link = "Pmenu"}, 226 - PmenuSbar = {bg = "#6B6461"}, 227 - FzfLuaScrollFloatEmpty = {link = "PmenuSbar"}, 228 - PmenuSel = {fg = "#212121", bg = "#77824A"}, 229 - PmenuExtraSel = {link = "PmenuSel"}, 230 - PmenuKindSel = {link = "PmenuSel"}, 231 - PmenuThumb = {fg = "#D7C484", bg = "#D7C484"}, 232 - FzfLuaScrollFloatFull = {link = "PmenuThumb"}, 233 - Define = {link = "PreProc"}, 234 - Include = {link = "PreProc"}, 235 - Macro = {link = "PreProc"}, 236 - PreCondit = {link = "PreProc"}, 237 - ["@preproc"] = {link = "PreProc"}, 238 - Question = {fg = "#5F865F", bold = true}, 239 - RedrawDebugClear = {fg = "#212121", bg = "#C9A654"}, 240 - RedrawDebugComposed = {fg = "#212121", bg = "#77824A"}, 241 - RedrawDebugNormal = {reverse = true}, 242 - RedrawDebugRecompose = {fg = "#212121", bg = "#BB7844"}, 243 - ScrollbarCursor = {fg = "#212121"}, 244 - ScrollbarCursorHandle = {fg = "#212121", bg = "#221F1C", blend = 0}, 245 - ScrollbarError = {fg = "#675642"}, 246 - ScrollbarErrorHandle = {fg = "#675642", bg = "#221F1C", blend = 0}, 247 - ScrollbarGitAdd = {fg = "#5F865F"}, 248 - ScrollbarGitAddHandle = {fg = "#5F865F", bg = "#221F1C", blend = 0}, 249 - ScrollbarGitChange = {fg = "#675642"}, 250 - ScrollbarGitChangeHandle = {fg = "#675642", bg = "#221F1C", blend = 0}, 251 - ScrollbarGitDelete = {fg = "#B36B42"}, 252 - ScrollbarGitDeleteHandle = {fg = "#B36B42", bg = "#221F1C", blend = 0}, 253 - ScrollbarHandle = {bg = "#221F1C", blend = 0}, 254 - ScrollbarHint = {fg = "#5F865F"}, 255 - ScrollbarHintHandle = {fg = "#5F865F", bg = "#221F1C", blend = 0}, 256 - ScrollbarInfo = {fg = "#5F865F"}, 257 - ScrollbarInfoHandle = {fg = "#5F865F", bg = "#221F1C", blend = 0}, 258 - ScrollbarMisc = {fg = "#BB7844"}, 259 - ScrollbarMiscHandle = {fg = "#BB7844", bg = "#221F1C", blend = 0}, 260 - ScrollbarSearch = {fg = "#C9A654"}, 261 - ScrollbarSearchHandle = {fg = "#C9A654", bg = "#221F1C", blend = 0}, 262 - ScrollbarWarn = {fg = "#B36B42"}, 263 - ScrollbarWarnHandle = {fg = "#B36B42", bg = "#221F1C", blend = 0}, 264 - Search = {fg = "#212121", bg = "#5F865F"}, 265 - CurSearch = {link = "Search"}, 266 - QuickFixLine = {link = "Search"}, 267 - Substitute = {link = "Search"}, 268 - SignColumn = {fg = "#6B6461", bg = "#221F1C"}, 269 - CursorLineSign = {link = "SignColumn"}, 270 - Special = {fg = "#BB7844"}, 271 - Debug = {link = "Special"}, 272 - SpecialChar = {link = "Special"}, 273 - SpecialComment = {link = "Special"}, 274 - Tag = {link = "Special"}, 275 - TelescopeMatching = {link = "Special"}, 276 - TelescopeResultsFileIcon = {link = "Special"}, 277 - ["@constant.builtin"] = {link = "Special"}, 278 - ["@constructor"] = {link = "Special"}, 279 - ["@markup.heading"] = {link = "Special"}, 280 - ["@marup.raw.block.markdown"] = {link = "Special"}, 281 - SpecialKey = {fg = "#D7C484"}, 282 - SpellBad = {fg = "#675642", sp = "#D7C484"}, 283 - SpellCap = {fg = "#5F865F", sp = "#D7C484"}, 284 - SpellLocal = {fg = "#BB7844", sp = "#D7C484"}, 285 - SpellRare = {fg = "#B36B42", sp = "#D7C484"}, 286 - Statement = {fg = "#5F865F", bold = true}, 287 - Conditional = {link = "Statement"}, 288 - Exception = {link = "Statement"}, 289 - Label = {link = "Statement"}, 290 - Repeat = {link = "Statement"}, 291 - helpHyperTextEntry = {link = "Statement"}, 292 - phpDefine = {link = "Statement"}, 293 - rubyDefine = {link = "Statement"}, 294 - StatusLine = {fg = "#D7C484", bg = "#24211E", bold = true}, 295 - MsgSeparator = {link = "StatusLine"}, 296 - StatusLineNC = {fg = "#736659", bg = "#24211E", bold = true}, 297 - String = {fg = "#B3854D"}, 298 - CmpItemAbbrMatch = {link = "String"}, 299 - CmpItemAbbrMatchFuzzy = {link = "String"}, 300 - CtrlPMatch = {link = "String"}, 301 - NERDTreeExecFile = {link = "String"}, 302 - NvimString = {link = "String"}, 303 - helpExample = {link = "String"}, 304 - markdownCodeBlock = {link = "String"}, 305 - phpHereDoc = {link = "String"}, 306 - ["@string"] = {link = "String"}, 307 - SyntasticErrorSign = {fg = "#B36B42"}, 308 - SyntasticWarningSign = {fg = "#675642"}, 309 - TabLine = {fg = "#6B6461", bg = "#121212"}, 310 - TabLineFill = {fg = "#C9A654", bg = "#24211E"}, 311 - MiniTablineModifiedHidden = {link = "TabLineFill"}, 312 - TabLineSel = {fg = "#121212", bg = "#77824A", bold = true}, 313 - MiniJump2dSpot = {link = "TabLineSel"}, 314 - MiniTablineCurrent = {link = "TabLineSel"}, 315 - TabLineSelSep = {fg = "#77824A", bg = "#221F1C", bold = true}, 316 - TabLineSep = {fg = "#121212", bg = "#24211E"}, 317 - TelescopeBorder = {fg = "#675642", bg = "#221F1C"}, 318 - TelescopePreviewBorder = {link = "TelescopeBorder"}, 319 - TelescopePromptCounter = {link = "TelescopeBorder"}, 320 - TelescopeResultsBorder = {link = "TelescopeBorder"}, 321 - TelescopePromptBorder = {fg = "#B36B42", bg = "#221F1C"}, 322 - TelescopePreviewLine = {link = "TelescopeSelection"}, 323 - TelescopeSelectionCaret = {fg = "#D7C484", bg = "#77824A"}, 324 - TelescopeTitle = {fg = "#5F865F", bg = "#221F1C"}, 325 - TelescopePreviewTitle = {link = "TelescopeTitle"}, 326 - TelescopePromptPrefix = {link = "TelescopeTitle"}, 327 - TelescopePromptTitle = {link = "TelescopeTitle"}, 328 - TelescopeResultsTitle = {link = "TelescopeTitle"}, 329 - TermCursor = {reverse = true}, 330 - Title = {fg = "#B36B42", bold = true}, 331 - FloatTitle = {link = "Title"}, 332 - helpHeadline = {link = "Title"}, 333 - ["@text.title"] = {link = "Title"}, 334 - Todo = {fg = "#D7C484", bold = true}, 335 - ["@text.todo"] = {link = "Todo"}, 336 - Type = {fg = "#77824A"}, 337 - CmpItemKindInterface = {link = "Type"}, 338 - NvimNumberPrefix = {link = "Type"}, 339 - NvimOptionSigil = {link = "Type"}, 340 - StorageClass = {link = "Type"}, 341 - Structure = {link = "Type"}, 342 - Typedef = {link = "Type"}, 343 - ["@lsp.type.type"] = {link = "Type"}, 344 - ["@type"] = {link = "Type"}, 345 - Underlined = {fg = "#77824A", underline = true}, 346 - helpHyperTextJump = {link = "Underlined"}, 347 - helpURL = {link = "Underlined"}, 348 - htmlLink = {link = "Underlined"}, 349 - ["@text.underline"] = {link = "Underlined"}, 350 - ["@text.uri"] = {link = "Underlined"}, 351 - User1 = {fg = "#D7C484", bg = "#BB7844"}, 352 - User2 = {fg = "#D7C484", bg = "#666666"}, 353 - User3 = {fg = "#D7C484", bg = "#B36B42"}, 354 - User4 = {fg = "#D7C484", bg = "#24211E"}, 355 - User5 = {fg = "#D7C484", bg = "#BB7844"}, 356 - User6 = {fg = "#D7C484", bg = "#C9A654"}, 357 - User7 = {fg = "#D7C484", bg = "#77824A"}, 358 - User8 = {fg = "#D7C484", bg = "#B36B42"}, 359 - User9 = {fg = "#D7C484", bg = "#666666"}, 360 - VertSplit = {fg = "#221F1C", bg = "#24211E"}, 361 - WinSeparator = {link = "VertSplit"}, 362 - Visual = {bg = "#3B3330"}, 363 - TelescopeSelection = {link = "Visual"}, 364 - WarningMsg = {fg = "#B36B42"}, 365 - WhichKey = {fg = "#D7C484", bg = "#221F1C"}, 366 - WhichKeyBorder = {bg = "#221F1C"}, 367 - WhichKeyDesc = {fg = "#5F865F", bg = "#221F1C"}, 368 - WhichKeyFloat = {bg = "#221F1C"}, 369 - WhichKeyGroup = {bg = "#221F1C"}, 370 - WhichKeySeparator = {fg = "#C9A654", bg = "#221F1C"}, 371 - WhichKeyValue = {fg = "#C9A654"}, 372 - WildMenu = {fg = "black", bg = "#C9A654"}, 373 - WinBar = {bold = true}, 374 - WinBarNC = {link = "WinBar"}, 375 - gitCommitBranch = {fg = "#B36B42"}, 376 - gitCommitSelectedFile = {fg = "#5F865F"}, 377 - gitCommitSelectedType = {fg = "#5F865F"}, 378 - gitCommitUnmergedFile = {fg = "#675642"}, 379 - gitCommitDiscardedFile = {link = "gitCommitUnmergedFile"}, 380 - gitCommitUntrackedFile = {link = "gitCommitUnmergedFile"}, 381 - gitCommitUnmergedType = {fg = "#675642"}, 382 - gitCommitDiscardedType = {link = "gitCommitUnmergedType"}, 383 - htmlArg = {fg = "#5F865F"}, 384 - htmlBold = {bold = true}, 385 - htmlBoldItalic = {bold = true, underline = true}, 386 - htmlBoldUnderline = {bold = true, underline = true}, 387 - htmlBoldUnderlineItalic = {bold = true, underline = true}, 388 - htmlH1 = {bold = true}, 389 - htmlItalic = {underline = true}, 390 - htmlTag = {fg = "#5F865F"}, 391 - htmlEndTag = {link = "htmlTag"}, 392 - htmlTagName = {fg = "#5F865F"}, 393 - htmlUnderline = {underline = true}, 394 - htmlUnderlineItalic = {underline = true}, 395 - lCursor = {fg = "bg", bg = "fg"}, 396 - lessVariable = {fg = "#B36B42"}, 397 - markdownBold = {bold = true}, 398 - markdownItalic = {italic = true}, 399 - mustacheMarker = {fg = "#BB7844"}, 400 - mustachePartial = {fg = "#BB7844"}, 401 - mustacheSection = {bold = true}, 402 - mustacheVariable = {fg = "#C9A654"}, 403 - mustacheVariableUnescape = {fg = "#675642"}, 404 - netrwClassify = {fg = "#666666", bold = true}, 405 - netrwExe = {fg = "#675642"}, 406 - phpIdentifier = {fg = "#B36B42"}, 407 - phpVarSelector = {link = "phpIdentifier"}, 408 - phpSpecialFunction = {fg = "#BB7844"}, 409 - shDerefSimple = {fg = "#B36B42"}, 410 - shDerefVar = {link = "shDerefSimple"}, 411 - xmlTag = {fg = "#77824A"}, 412 - xmlAttrib = {link = "xmlTag"}, 413 - xmlEndTag = {link = "xmlTag"}, 414 - xmlEqual = {link = "xmlTag"}, 415 - xmlTagName = {fg = "#77824A"}, 416 - xmlString = {link = "xmlTagName"}, 417 - ["@markup.link"] = {fg = "#77824A"}, 418 - ["@punctuation.special"] = {fg = "#77824A"}, 419 - -- PATCH_CLOSE 420 - -- content here will not be touched 421 - } 422 - 423 - -- colorschemes generally want to do this 1 + local theme = {} 2 + theme["Normal"] = {bg = "#24211E", fg = "#D7C484"} 3 + theme["Identifier"] = {link = "Normal"} 4 + theme["Variable"] = {link = "Identifier"} 5 + theme["@variable"] = {link = "Variable"} 6 + theme["@lsp.type.parameter"] = {link = "Identifier"} 7 + theme["@lsp.type.property"] = {link = "Identifier"} 8 + theme["@lsp.type.variable"] = {link = "Identifier"} 9 + theme["@namespace"] = {link = "Identifier"} 10 + theme["@parameter"] = {link = "Identifier"} 11 + theme["@text.reference"] = {link = "Identifier"} 12 + theme["DelimiterLight"] = {link = "Normal"} 13 + theme["@punctuation.bracket"] = {link = "DelimiterLight"} 14 + theme["Statement"] = {fg = "#5F865F"} 15 + theme["Keyword"] = {fg = "#5F865F"} 16 + theme["@keyword"] = {link = "Keyword"} 17 + theme["Conditional"] = {link = "Statement"} 18 + theme["Repeat"] = {link = "Statement"} 19 + theme["Label"] = {link = "Statement"} 20 + theme["Exception"] = {link = "Statement"} 21 + theme["PreProc"] = {link = "Statement"} 22 + theme["Include"] = {link = "Statement"} 23 + theme["Define"] = {link = "Statement"} 24 + theme["Macro"] = {link = "Statement"} 25 + theme["PreCondit"] = {link = "Statement"} 26 + theme["@preproc"] = {link = "Preproc"} 27 + theme["Function"] = {fg = "#77824A"} 28 + theme["@function"] = {link = "Function"} 29 + theme["@method"] = {link = "Function"} 30 + theme["@function.builtin"] = {link = "Function"} 31 + theme["@lsp.type.decorator"] = {link = "Function"} 32 + theme["@lsp.type.function"] = {link = "Function"} 33 + theme["@lsp.type.method"] = {link = "Function"} 34 + theme["Type"] = {fg = "#77824A"} 35 + theme["Structure"] = {link = "Type"} 36 + theme["StorageClass"] = {link = "Type"} 37 + theme["Typedef"] = {link = "Type"} 38 + theme["@type"] = {link = "Type"} 39 + theme["@lsp.type.type"] = {link = "Type"} 40 + theme["String"] = {fg = "#B3854D"} 41 + theme["@string"] = {link = "String"} 42 + theme["Number"] = {fg = "#B3664D"} 43 + theme["@number"] = {link = "Number"} 44 + theme["Float"] = {link = "Number"} 45 + theme["Boolean"] = {link = "Number"} 46 + theme["@boolean"] = {link = "Boolean"} 47 + theme["Field"] = {fg = "#BB7844"} 48 + theme["@field"] = {link = "Field"} 49 + theme["@property"] = {link = "Field"} 50 + theme["Constant"] = {fg = "#BB7844"} 51 + theme["Character"] = {link = "Constant"} 52 + theme["@lsp.type.enumMember"] = {link = "Constant"} 53 + theme["vimHiAttrib"] = {link = "Constant"} 54 + theme["Comment"] = {fg = "#6E665E"} 55 + theme["@comment"] = {link = "Comment"} 56 + theme["@html.comment"] = {link = "Comment"} 57 + theme["@lsp.type.comment"] = {link = "Comment"} 58 + theme["@text.literal"] = {link = "Comment"} 59 + theme["CtrlPLinePre"] = {link = "Comment"} 60 + theme["LspCodeLens"] = {link = "Comment"} 61 + theme["Operator"] = {fg = "#669977"} 62 + theme["Delimiter"] = {fg = "#80744D"} 63 + theme["NvimParenthesis"] = {link = "Delimiter"} 64 + theme["@punctuation"] = {link = "Delimiter"} 65 + theme["Special"] = {fg = "#BB7844"} 66 + theme["Debug"] = {link = "Special"} 67 + theme["SpecialChar"] = {link = "Special"} 68 + theme["SpecialComment"] = {link = "Special"} 69 + theme["Tag"] = {link = "Special"} 70 + theme["@constant.builtin"] = {link = "Special"} 71 + theme["@constructor"] = {link = "Special"} 72 + theme["@punctuation.special"] = {link = "Special"} 73 + theme["NonText"] = {fg = "#7A6D52"} 74 + theme["EndOfBuffer"] = {link = "NonText"} 75 + theme["Whitespace"] = {link = "NonText"} 76 + theme["Visual"] = {bg = "#3B3330"} 77 + theme["Cursor"] = {bg = "#D7C484", fg = "#212121"} 78 + theme["CursorColumn"] = {bg = "#24211E"} 79 + theme["CursorLine"] = {link = "CursorColumn"} 80 + theme["LineNr"] = {fg = "#77824A"} 81 + theme["LineNrAbove"] = {fg = "#736659"} 82 + theme["LineNrBelow"] = {link = "LineNrAbove"} 83 + theme["CursorLineNr"] = {link = "LineNr"} 84 + theme["TermCursor"] = {reverse = true} 85 + theme["Search"] = {bg = "#5F865F", fg = "#212121"} 86 + theme["CurSearch"] = {link = "Search"} 87 + theme["QuickFixLine"] = {link = "Search"} 88 + theme["Substitute"] = {link = "Search"} 89 + theme["IncSearch"] = {bg = "#BB7844", fg = "#212121"} 90 + theme["Error"] = {bg = "#B3664D", fg = "#D7C484"} 91 + theme["ErrorMsg"] = {fg = "#B36B42"} 92 + theme["WarningMsg"] = {fg = "#B36B42"} 93 + theme["MoreMsg"] = {bold = true, fg = "#5F865F"} 94 + theme["Bold"] = {bold = true} 95 + theme["Italic"] = {italic = true} 96 + theme["Underlined"] = {fg = "#77824A", underline = true} 97 + theme["@text.underline"] = {link = "Underlined"} 98 + theme["@text.uri"] = {link = "Underlined"} 99 + theme["Title"] = {bold = true, fg = "#B36B42"} 100 + theme["@text.title"] = {link = "Title"} 101 + theme["FloatTitle"] = {link = "Title"} 102 + theme["ColorColumn"] = {bg = "#24211E"} 103 + theme["MatchParen"] = {bg = "#463939", fg = "#D7C484"} 104 + theme["Folded"] = {fg = "#B36B42"} 105 + theme["Ignore"] = {fg = "#484441"} 106 + theme["Conceal"] = {link = "Ignore"} 107 + theme["SpecialKey"] = {link = "Normal"} 108 + theme["NvimSpacing"] = {link = "Normal"} 109 + theme["DiffText"] = {link = "Visual"} 110 + theme["DiffAdd"] = {bg = "#5F865F", fg = "#212121"} 111 + theme["@text.diff.add"] = {link = "DiffAdd"} 112 + theme["Added"] = {fg = "#5F865F"} 113 + theme["DiffAdded"] = {link = "Added"} 114 + theme["@diff.plus"] = {} 115 + theme["DiffChange"] = {bg = "#675642", fg = "#212121"} 116 + theme["@text.diff.change"] = {link = "DiffChange"} 117 + theme["Changed"] = {fg = "#675642"} 118 + theme["DiffChanged"] = {link = "Changed"} 119 + theme["@diff.delta"] = {link = "Changed"} 120 + theme["DiffDelete"] = {bg = "#B36B42", fg = "#212121"} 121 + theme["@text.diff.delete"] = {link = "DiffDelete"} 122 + theme["Removed"] = {fg = "#B36B42"} 123 + theme["DiffRemoved"] = {link = "Removed"} 124 + theme["@diff.minus"] = {link = "Removed"} 125 + theme["Pmenu"] = {link = "Normal"} 126 + theme["NormalFloat"] = {link = "Pmenu"} 127 + theme["PmenuExtra"] = {link = "Pmenu"} 128 + theme["PmenuKind"] = {link = "Pmenu"} 129 + theme["PmenuSbar"] = {fg = "#6B6461"} 130 + theme["PmenuThumb"] = {bg = "#D7C484", fg = "#D7C484"} 131 + theme["PmenuSel"] = {bg = "#77824A", fg = "#212121"} 132 + theme["PmenuExtraSel"] = {link = "PmenuSel"} 133 + theme["PmenuKindSel"] = {link = "PmenuSel"} 134 + theme["StatusLine"] = {bg = "#24211E", bold = true, fg = "#D7C484"} 135 + theme["MsgSeparator"] = {link = "StatusLine"} 136 + theme["StatusLineNC"] = {bg = "#24211E", bold = true, fg = "#736659"} 137 + theme["TabLine"] = {bg = "#121212", fg = "#6B6461"} 138 + theme["TabLineFill"] = {bg = "#24211E", fg = "#B3854D"} 139 + theme["TabLineSel"] = {bg = "#77824A", bold = true, fg = "#121212"} 140 + theme["TabLineSelSep"] = {bg = "#24211E", bold = true, fg = "#77824A"} 141 + theme["TabLineSep"] = {bg = "#24211E", fg = "#121212"} 142 + theme["Directory"] = {link = "Type"} 143 + theme["netrwExe"] = {link = "Changed"} 144 + theme["netrwClassify"] = {link = "Comment"} 145 + theme["SpellBad"] = {fg = "#675642", sp = "#D7C484"} 146 + theme["SpellCap"] = {fg = "#5F865F", sp = "#D7C484"} 147 + theme["SpellLocal"] = {fg = "#BB7844", sp = "#D7C484"} 148 + theme["SpellRare"] = {fg = "#B36B42", sp = "#D7C484"} 149 + theme["helpSectionDelim"] = {link = "Comment"} 150 + theme["helpHyperTextEntry"] = {link = "Statement"} 151 + theme["helpExample"] = {link = "String"} 152 + theme["helpHeadline"] = {link = "Title"} 153 + theme["helpHyperTextJump"] = {link = "Underlined"} 154 + theme["helpURL"] = {link = "Underlined"} 155 + theme["DiagnosticDeprecated"] = {sp = "#675642", strikethrough = true} 156 + theme["DiagnosticError"] = {fg = "#B3664D"} 157 + theme["DiagnosticErrorFloating"] = {link = "DiagnosticError"} 158 + theme["DiagnosticSignError"] = {link = "DiagnosticError"} 159 + theme["DiagnosticVirtualTextError"] = {link = "DiagnosticError"} 160 + theme["DiagnosticUnderlineError"] = {underline = true} 161 + theme["DiagnosticWarn"] = {fg = "#BB7844"} 162 + theme["DiagnosticFloatingWarn"] = {link = "DiagnosticWarn"} 163 + theme["DiagnosticSignWarn"] = {link = "DiagnosticWarn"} 164 + theme["DiagnosticVirtualTextWarn"] = {link = "DiagnosticWarn"} 165 + theme["DiagnosticUnderlineWarn"] = {underline = true} 166 + theme["DiagnosticHint"] = {fg = "#6E665E"} 167 + theme["DiagnosticFloatingHint"] = {link = "DiagnosticHint"} 168 + theme["DiagnosticSignHint"] = {link = "DiagnosticHint"} 169 + theme["DiagnosticVirtualTextHint"] = {link = "DiagnosticHint"} 170 + theme["DiagnosticUnderlineHint"] = {underline = true} 171 + theme["DiagnosticInfo"] = {fg = "#C9A654"} 172 + theme["DiagnosticFloatingInfo"] = {link = "DiagnosticInfo"} 173 + theme["DiagnosticSignInfo"] = {link = "DiagnosticInfo"} 174 + theme["DiagnosticVirtualTextInfo"] = {link = "DiagnosticInfo"} 175 + theme["DiagnosticUnderlineInfo"] = {underline = true} 176 + theme["DiagnosticOk"] = {fg = "#77824A"} 177 + theme["DiagnosticFloatingOk"] = {link = "DiagnosticOk"} 178 + theme["DiagnosticSignOk"] = {link = "DiagnosticOk"} 179 + theme["DiagnosticVirtualTextOk"] = {link = "DiagnosticOk"} 180 + theme["Todo"] = {bg = "#D7C484", fg = "#24211E"} 181 + theme["@text.todo"] = {link = "Todo"} 182 + theme["htmlLink"] = {link = "Underlined"} 183 + theme["markdownBold"] = {link = "Bold"} 184 + theme["markdownItalic"] = {link = "Italic"} 185 + theme["@markup.heading"] = {link = "Special"} 186 + theme["@markup.raw.block.markdown"] = {link = "Special"} 187 + theme["@markup.list"] = {link = "Operator"} 188 + theme["@markup.link"] = {fg = "#77824A", underline = true} 189 + theme["@punctuation.special.markdown"] = {link = "Comment"} 190 + theme["LazyNormal"] = {link = "Normal"} 191 + theme["LazyButtonActive"] = {bg = "#77824A", fg = "#212121"} 192 + theme["LazyH1"] = {fg = "#77824A"} 193 + theme["LazyH2"] = {fg = "#77824A"} 194 + theme["LazySpecial"] = {fg = "#C9A654"} 195 + theme["MasonHeaderSecondary"] = {link = "LazyButtonActive"} 196 + theme["MasonHighlightBlock"] = {link = "LazyButtonActive"} 197 + theme["FzfLuaNormal"] = {link = "Normal"} 198 + theme["FzfLuaTitle"] = {link = "Keyword"} 199 + theme["FzfLuaBorder"] = {link = "Type"} 200 + theme["FzfLuaCursor"] = {link = "Cursor"} 201 + theme["FzfLuaCursorLine"] = {link = "CursorLine"} 202 + theme["FzfLuaCursorLineNr"] = {link = "CursorLineNr"} 203 + theme["FzfLuaSearch"] = {link = "IncSearch"} 204 + theme["FzfLuaScrollFloatEmpty"] = {link = "PmenuSbar"} 205 + theme["FzfLuaScrollFloatFull"] = {link = "PmenuThumb"} 206 + theme["MiniTablineCurrent"] = {link = "TabLineSel"} 207 + theme["MiniTablineHidden"] = {link = "Normal"} 208 + theme["MiniTablineVisible"] = {link = "MiniTablineHidden"} 209 + theme["MiniTablineModifiedCurrent"] = {bg = "#5F865F", bold = true, fg = "#24211E"} 210 + theme["MiniTablineModifiedHidden"] = {link = "TabLineFill"} 211 + theme["MiniTablineModifiedVisible"] = {link = "MiniTablineModifiedHidden"} 212 + theme["MiniTablineTabpageSection"] = {link = "IncSearch"} 213 + theme["MiniJump2dSpot"] = {link = "TabLineSel"} 214 + theme["IblIndent"] = {fg = "#252F1E"} 215 + theme["GitSignsAdd"] = {link = "Added"} 216 + theme["GitSignsChange"] = {link = "Changed"} 217 + theme["GitSignsDelete"] = {link = "Removed"} 424 218 vim.cmd("highlight clear") 425 219 vim.cmd("set t_Co=256") 426 220 vim.cmd("let g:colors_name='darkearth'") 427 - 428 - -- apply highlight groups 429 - for group, attrs in pairs(colors) do 430 - vim.api.nvim_set_hl(0, group, attrs) 221 + for group, attr in pairs(theme) do 222 + vim.api.nvim_set_hl(0, group, attr) 431 223 end 224 + return nil
+1
flsproject.fnl
··· 1 + {:libraries {:nvim true}}
+344
fnl/darkearth/init.fnl
··· 1 + (local theme {}) 2 + 3 + (macro defcolor [name hex] 4 + `(macro ,name [] ,hex)) 5 + 6 + (defcolor fg "#D7C484") 7 + (defcolor bg "#24211E") 8 + (defcolor green "#77824A") 9 + (defcolor teal "#5F865F") 10 + (defcolor orange "#BB7844") 11 + (defcolor red "#B3664D") 12 + (defcolor op "#669977") 13 + (defcolor str "#B3854D") 14 + (defcolor cmt "#6E665E") 15 + (defcolor delim "#80744D") 16 + (defcolor altBg "#212121") 17 + (defcolor darkOrange "#B36B42") 18 + 19 + (defcolor darkGreen "#252F1E") 20 + (defcolor darkGreenAlt "#444A2B") 21 + (defcolor lightBrown "#463939") 22 + (defcolor diffChange "#675642") 23 + (defcolor nonText "#7A6D52") 24 + (defcolor indent "#252F1E") 25 + (defcolor tablineBg "#121212") 26 + (defcolor altLineNr "#736659") 27 + (defcolor ignore "#484441") 28 + (defcolor scroll "#6B6461") 29 + (defcolor visual "#3B3330") 30 + 31 + (defcolor diagnosticOk "#77824A") 32 + (defcolor diagnosticHint "#6E665E") 33 + (defcolor diagnosticInfo "#C9A654") 34 + (defcolor diagnosticWarn "#BB7844") 35 + (defcolor diagnosticError "#B3664D") 36 + 37 + (macro hl [name & attrs] 38 + (let [attr-table {}] 39 + (for [i 1 (length attrs) 2] 40 + (tset attr-table (. attrs i) (. attrs (+ i 1)))) 41 + `(tset theme ,(tostring name) ,attr-table))) 42 + 43 + (macro ln [name target] 44 + `(tset theme ,(tostring name) {:link ,(tostring target)})) 45 + 46 + ;; 47 + ;; Core groups 48 + ;; 49 + 50 + ;; Normal/Identifiers/Variables 51 + (hl Normal :fg (fg) :bg (bg)) 52 + (ln Identifier Normal) 53 + (ln Variable Identifier) 54 + (ln "@variable" Variable) 55 + (ln "@lsp.type.parameter" Identifier) 56 + (ln "@lsp.type.property" Identifier) 57 + (ln "@lsp.type.variable" Identifier) 58 + (ln "@namespace" Identifier) 59 + (ln "@parameter" Identifier) 60 + (ln "@text.reference" Identifier) 61 + (ln DelimiterLight Normal) 62 + (ln "@punctuation.bracket" DelimiterLight) 63 + 64 + ;; Statements/Keywords 65 + (hl Statement :fg (teal)) 66 + (hl Keyword :fg (teal)) 67 + (ln "@keyword" Keyword) 68 + (ln Conditional Statement) 69 + (ln Repeat Statement) 70 + (ln Label Statement) 71 + (ln Exception Statement) 72 + (ln PreProc Statement) 73 + (ln Include Statement) 74 + (ln Define Statement) 75 + (ln Macro Statement) 76 + (ln PreCondit Statement) 77 + (ln "@preproc" Preproc) 78 + 79 + ;; Functions 80 + (hl Function :fg (green)) 81 + (ln "@function" Function) 82 + (ln "@method" Function) 83 + (ln "@function.builtin" Function) 84 + (ln "@lsp.type.decorator" Function) 85 + (ln "@lsp.type.function" Function) 86 + (ln "@lsp.type.method" Function) 87 + 88 + ;; Types 89 + (hl Type :fg (green)) 90 + (ln Structure Type) 91 + (ln StorageClass Type) 92 + (ln Typedef Type) 93 + (ln "@type" Type) 94 + (ln "@lsp.type.type" Type) 95 + 96 + ;; String 97 + (hl String :fg (str)) 98 + (ln "@string" String) 99 + 100 + ;; Numbers 101 + (hl Number :fg (red)) 102 + (ln "@number" Number) 103 + (ln Float Number) 104 + (ln Boolean Number) 105 + (ln "@boolean" Boolean) 106 + 107 + ;; Fields 108 + (hl Field :fg (orange)) 109 + (ln "@field" Field) 110 + (ln "@property" Field) 111 + 112 + ;; Constants 113 + (hl Constant :fg (orange)) 114 + (ln Character Constant) 115 + (ln "@lsp.type.enumMember" Constant) 116 + (ln vimHiAttrib Constant) 117 + 118 + ;; Comments 119 + (hl Comment :fg (cmt)) 120 + (ln "@comment" Comment) 121 + (ln "@html.comment" Comment) 122 + (ln "@lsp.type.comment" Comment) 123 + (ln "@text.literal" Comment) 124 + (ln CtrlPLinePre Comment) 125 + (ln LspCodeLens Comment) 126 + 127 + ;; Operators 128 + (hl Operator :fg (op)) 129 + 130 + ;; Delimiters 131 + (hl Delimiter :fg (delim)) 132 + (ln NvimParenthesis Delimiter) 133 + (ln "@punctuation" Delimiter) 134 + 135 + ;; Special 136 + (hl Special :fg (orange)) 137 + (ln Debug Special) 138 + (ln SpecialChar Special) 139 + (ln SpecialComment Special) 140 + (ln Tag Special) 141 + (ln "@constant.builtin" Special) 142 + (ln "@constructor" Special) 143 + (ln "@punctuation.special" Special) 144 + 145 + ;; Nontext 146 + (hl NonText :fg (nonText)) 147 + (ln EndOfBuffer NonText) 148 + (ln Whitespace NonText) 149 + 150 + ;; Cursor/Line Numbering 151 + (hl Visual :bg (visual)) 152 + (hl Cursor :fg (altBg) :bg (fg)) 153 + (hl CursorColumn :bg (bg)) 154 + (ln CursorLine CursorColumn) 155 + (hl LineNr :fg (green)) 156 + (hl LineNrAbove :fg (altLineNr)) 157 + (ln LineNrBelow LineNrAbove) 158 + (ln CursorLineNr LineNr) 159 + (hl TermCursor :reverse true) 160 + 161 + ;; Searching 162 + (hl Search :fg (altBg) :bg (teal)) 163 + (ln CurSearch Search) 164 + (ln QuickFixLine Search) 165 + (ln Substitute Search) 166 + (hl IncSearch :fg (altBg) :bg (orange)) 167 + 168 + ;; Error messaging 169 + (hl Error :fg (fg) :bg (red)) 170 + (hl ErrorMsg :fg (darkOrange)) 171 + (hl WarningMsg :fg (darkOrange)) 172 + (hl MoreMsg :fg (teal) :bold true) 173 + 174 + ;; Text styling 175 + (hl Bold :bold true) 176 + (hl Italic :italic true) 177 + (hl Underlined :fg (green) :underline true) 178 + (ln "@text.underline" Underlined) 179 + (ln "@text.uri" Underlined) 180 + 181 + (hl Title :fg (darkOrange) :bold true) 182 + (ln "@text.title" Title) 183 + (ln FloatTitle Title) 184 + 185 + (hl ColorColumn :bg (bg)) 186 + (hl MatchParen :fg (fg) :bg (lightBrown)) 187 + 188 + (hl Folded :fg (darkOrange)) 189 + (hl Ignore :fg (ignore)) 190 + (ln Conceal Ignore) 191 + 192 + (ln SpecialKey Normal) 193 + (ln NvimSpacing Normal) 194 + 195 + ;; Diffs 196 + (ln DiffText Visual) 197 + (hl DiffAdd :fg (altBg) :bg (teal)) 198 + (ln "@text.diff.add" DiffAdd) 199 + (hl Added :fg (teal)) 200 + (ln DiffAdded Added) 201 + (hl "@diff.plus" Added) 202 + (hl DiffChange :fg (altBg) :bg (diffChange)) 203 + (ln "@text.diff.change" DiffChange) 204 + (hl Changed :fg (diffChange)) 205 + (ln DiffChanged Changed) 206 + (ln "@diff.delta" Changed) 207 + (hl DiffDelete :fg (altBg) :bg (darkOrange)) 208 + (ln "@text.diff.delete" DiffDelete) 209 + (hl Removed :fg (darkOrange)) 210 + (ln DiffRemoved Removed) 211 + (ln "@diff.minus" Removed) 212 + 213 + ; Pmenu 214 + (ln Pmenu Normal) 215 + (ln NormalFloat Pmenu) 216 + (ln PmenuExtra Pmenu) 217 + (ln PmenuKind Pmenu) 218 + (hl PmenuSbar :fg (scroll)) 219 + (hl PmenuThumb :fg (fg) :bg (fg)) 220 + (hl PmenuSel :fg (altBg) :bg (green)) 221 + (ln PmenuExtraSel PmenuSel) 222 + (ln PmenuKindSel PmenuSel) 223 + 224 + ; Statusline 225 + (hl StatusLine :fg (fg) :bg (bg) :bold true) 226 + (ln MsgSeparator StatusLine) 227 + (hl StatusLineNC :fg (altLineNr) :bg (bg) :bold true) 228 + 229 + ;; Tabline 230 + (hl TabLine :fg (scroll) :bg (tablineBg)) 231 + (hl TabLineFill :fg (str) :bg (bg)) 232 + (hl TabLineSel :fg (tablineBg) :bg (green) :bold true) 233 + (hl TabLineSelSep :fg (green) :bg (bg) :bold true) 234 + (hl TabLineSep :fg (tablineBg) :bg (bg)) 235 + 236 + ;; File browsers 237 + (ln Directory Type) 238 + (ln netrwExe Changed) 239 + (ln netrwClassify Comment) 240 + 241 + ;; Spellcheck 242 + (hl SpellBad :fg (diffChange) :sp (fg)) 243 + (hl SpellCap :fg (teal) :sp (fg)) 244 + (hl SpellLocal :fg (orange) :sp (fg)) 245 + (hl SpellRare :fg (darkOrange) :sp (fg)) 246 + 247 + ;; Help files 248 + (ln helpSectionDelim Comment) 249 + (ln helpHyperTextEntry Statement) 250 + (ln helpExample String) 251 + (ln helpHeadline Title) 252 + (ln helpHyperTextJump Underlined) 253 + (ln helpURL Underlined) 254 + 255 + ;; Diagnostics 256 + (hl DiagnosticDeprecated :sp (diffChange) :strikethrough true) 257 + (hl DiagnosticError :fg (diagnosticError)) 258 + (ln DiagnosticErrorFloating DiagnosticError) 259 + (ln DiagnosticSignError DiagnosticError) 260 + (ln DiagnosticVirtualTextError DiagnosticError) 261 + (hl DiagnosticUnderlineError :underline true) 262 + (hl DiagnosticWarn :fg (diagnosticWarn)) 263 + (ln DiagnosticFloatingWarn DiagnosticWarn) 264 + (ln DiagnosticSignWarn DiagnosticWarn) 265 + (ln DiagnosticVirtualTextWarn DiagnosticWarn) 266 + (hl DiagnosticUnderlineWarn :underline true) 267 + (hl DiagnosticHint :fg (diagnosticHint)) 268 + (ln DiagnosticFloatingHint DiagnosticHint) 269 + (ln DiagnosticSignHint DiagnosticHint) 270 + (ln DiagnosticVirtualTextHint DiagnosticHint) 271 + (hl DiagnosticUnderlineHint :underline true) 272 + (hl DiagnosticInfo :fg (diagnosticInfo)) 273 + (ln DiagnosticFloatingInfo DiagnosticInfo) 274 + (ln DiagnosticSignInfo DiagnosticInfo) 275 + (ln DiagnosticVirtualTextInfo DiagnosticInfo) 276 + (hl DiagnosticUnderlineInfo :underline true) 277 + (hl DiagnosticOk :fg (diagnosticOk)) 278 + (ln DiagnosticFloatingOk DiagnosticOk) 279 + (ln DiagnosticSignOk DiagnosticOk) 280 + (ln DiagnosticVirtualTextOk DiagnosticOk) 281 + 282 + ;; Todo comments 283 + (hl Todo :fg (bg) :bg (fg)) 284 + (ln "@text.todo" Todo) 285 + 286 + ;; Language overrides 287 + (ln htmlLink Underlined) 288 + (ln markdownBold Bold) 289 + (ln markdownItalic Italic) 290 + (ln "@markup.heading" Special) 291 + (ln "@markup.raw.block.markdown" Special) 292 + (ln "@markup.list" Operator) 293 + (hl "@markup.link" :fg (green) :underline true) 294 + (ln "@punctuation.special.markdown" Comment) 295 + 296 + ;; 297 + ;; Plugin groups 298 + ;; 299 + 300 + ;; Lazy 301 + (ln LazyNormal Normal) 302 + (hl LazyButtonActive :fg (altBg) :bg (green)) 303 + (hl LazyH1 :fg (green)) 304 + (hl LazyH2 :fg (green)) 305 + (hl LazySpecial :fg (diagnosticInfo)) 306 + 307 + ;; Mason 308 + (ln MasonHeaderSecondary LazyButtonActive) 309 + (ln MasonHighlightBlock LazyButtonActive) 310 + 311 + ;; Fzf-Lua 312 + (ln FzfLuaNormal Normal) 313 + (ln FzfLuaTitle Keyword) 314 + (ln FzfLuaBorder Type) 315 + (ln FzfLuaCursor Cursor) 316 + (ln FzfLuaCursorLine CursorLine) 317 + (ln FzfLuaCursorLineNr CursorLineNr) 318 + (ln FzfLuaSearch IncSearch) 319 + (ln FzfLuaScrollFloatEmpty PmenuSbar) 320 + (ln FzfLuaScrollFloatFull PmenuThumb) 321 + 322 + ;; Mini.nvim 323 + (ln MiniTablineCurrent TabLineSel) 324 + (ln MiniTablineHidden Normal) 325 + (ln MiniTablineVisible MiniTablineHidden) 326 + (hl MiniTablineModifiedCurrent :fg (bg) :bg (teal) :bold true) 327 + (ln MiniTablineModifiedHidden TabLineFill) 328 + (ln MiniTablineModifiedVisible MiniTablineModifiedHidden) 329 + (ln MiniTablineTabpageSection IncSearch) 330 + (ln MiniJump2dSpot TabLineSel) 331 + 332 + ;; Indent Blankline 333 + (hl IblIndent :fg (darkGreen)) 334 + 335 + ;; GitSigns (used by Lualine) 336 + (ln GitSignsAdd Added) 337 + (ln GitSignsChange Changed) 338 + (ln GitSignsDelete Removed) 339 + 340 + ;; Convert to table 341 + (vim.cmd "highlight clear") 342 + (vim.cmd "set t_Co=256") 343 + (vim.cmd "let g:colors_name='darkearth'") 344 + (each [group attr (pairs theme)] (vim.api.nvim_set_hl 0 group attr))
+6
justfile
··· 1 + [private] 2 + default: 3 + just --list 4 + 5 + build: 6 + @sh ./build.sh
-461
lush_theme/darkearth.lua
··· 1 - -- call :Lushify 2 - local lush = require("lush") 3 - ---@diagnostic disable 4 - local hsl = lush.hsl 5 - local hsluv = lush.hsluv 6 - 7 - local bgc = hsl(30, 10, 13) 8 - local lnbg = hsl(30, 10, 12) 9 - local lnfg = hsl(30, 13, 40) 10 - -- local dbg = hsl(30, 10, 13) 11 - local dbg = hsl(30, 10, 15) 12 - 13 - local theme = lush(function(injected_functions) 14 - local sym = injected_functions.sym 15 - return { 16 - Normal({ fg = hsl(46, 51, 68), bg = bgc }), 17 - SpecialKey({ fg = hsl(46, 51, 68) }), 18 - TermCursor({ gui = "reverse" }), 19 - -- NonText({ fg = hsl(40, 20, 40), gui = "bold" }), 20 - NonText({ fg = hsl(40, 20, 40) }), 21 - EndOfBuffer({ NonText }), 22 - Whitespace({ NonText }), 23 - markdownHeadingRule({ NonText }), 24 - markdownCodeDelimiter({ NonText }), 25 - Directory({ fg = hsl(71, 27, 40), bg = lnbg }), 26 - gitCommitFile({ Directory }), 27 - ErrorMsg({ fg = hsl(22, 46, 48), bg = bgc }), 28 - NvimInvalidSpacing({ ErrorMsg }), 29 - IncSearch({ fg = hsl(0, 0, 13), bg = hsl(26, 47, 50) }), 30 - FzfLuaSearch({ IncSearch }), 31 - Search({ fg = hsl(0, 0, 13), bg = hsl(120, 17, 45) }), 32 - QuickFixLine({ Search }), 33 - Substitute({ Search }), 34 - MoreMsg({ fg = hsl(120, 17, 45), gui = "bold" }), 35 - ModeMsg({ gui = "bold" }), 36 - LineNr({ fg = hsl(71, 27, 40), bg = lnbg }), 37 - DefLineNr({ fg = lnfg, bg = lnbg }), 38 - LineNrAbove({ DefLineNr }), 39 - LineNrBelow({ DefLineNr }), 40 - CursorLineNr({ fg = hsl(71, 27, 40), gui = "bold", bg = lnbg }), 41 - FzfLuaCursorLineNr({ CursorLineNr }), 42 - Question({ fg = hsl(120, 17, 45), gui = "bold" }), 43 - StatusLine({ fg = hsl(46, 51, 68), gui = "bold", bg = bgc }), 44 - MsgSeparator({ StatusLine }), 45 - StatusLineNC({ fg = lnfg, gui = "bold", bg = bgc }), 46 - Ignore({ fg = hsl(20, 5, 27) }), 47 - VertSplit({ fg = lnbg, bg = bgc }), 48 - WinSeparator({ VertSplit }), 49 - Title({ fg = hsl(22, 46, 48), gui = "bold" }), 50 - FloatTitle({ Title }), 51 - sym("@text.title")({ Title }), 52 - helpHeadline({ Title }), 53 - Visual({ bg = hsl(18, 10, 21) }), 54 - -- Visual({ fg = hsl(0, 0, 13), bg = hsl(71, 27, 40) }), 55 - TelescopeSelection({ Visual }), 56 - WarningMsg({ fg = hsl(22, 46, 48) }), 57 - WildMenu({ fg = "black", bg = hsl(42, 52, 56) }), 58 - Folded({ fg = hsl(22, 46, 48), bg = lnbg }), 59 - FoldColumn({ fg = hsl(0, 0, 40), bg = lnbg }), 60 - CursorLineFold({ FoldColumn }), 61 - DiffAdded({ bg = lnbg, fg = hsl(120, 17, 45) }), 62 - DiffRemoved({ bg = lnbg, fg = hsl(22, 46, 48) }), 63 - DiffAdd({ fg = hsl(0, 0, 13), bg = hsl(120, 17, 45) }), 64 - sym("@text.diff.add")({ DiffAdd }), 65 - DiffChange({ fg = hsl(0, 0, 13), bg = hsl(33, 22, 33) }), 66 - DiffDelete({ fg = hsl(0, 0, 13), gui = "bold", bg = hsl(22, 46, 48) }), 67 - sym("@text.diff.delete")({ DiffDelete }), 68 - DiffText({ fg = hsl(0, 0, 13), gui = "bold", bg = hsl(42, 52, 56) }), 69 - SignColumn({ fg = hsl(20, 5, 40), bg = lnbg }), 70 - CursorLineSign({ SignColumn }), 71 - Conceal({ Ignore }), 72 - SpellBad({ fg = hsl(33, 22, 33), sp = hsl(46, 51, 68) }), 73 - SpellCap({ fg = hsl(120, 17, 45), sp = hsl(46, 51, 68) }), 74 - SpellRare({ fg = hsl(22, 46, 48), sp = hsl(46, 51, 68) }), 75 - SpellLocal({ fg = hsl(26, 47, 50), sp = hsl(46, 51, 68) }), 76 - Pmenu({ fg = hsl(46, 51, 68), bg = lnbg }), 77 - PmenuKind({ Pmenu }), 78 - PmenuExtra({ Pmenu }), 79 - NormalFloat({ Pmenu }), 80 - PmenuSel({ fg = hsl(0, 0, 13), bg = hsl(72, 27, 40) }), 81 - PmenuKindSel({ PmenuSel }), 82 - PmenuExtraSel({ PmenuSel }), 83 - PmenuSbar({ bg = hsl(20, 5, 40) }), 84 - FzfLuaScrollFloatEmpty({ PmenuSbar }), 85 - PmenuThumb({ fg = hsl(46, 51, 68), bg = hsl(46, 51, 68) }), 86 - FzfLuaScrollFloatFull({ PmenuThumb }), 87 - TabLine({ fg = hsl(20, 5, 40), bg = hsl(0, 0, 7) }), 88 - TabLineSep({ fg = hsl(0, 0, 7), bg = bgc }), 89 - TabLineSelSep({ fg = hsl(72, 27, 40), gui = "bold", bg = lnbg }), 90 - TabLineSel({ bg = hsl(72, 27, 40), gui = "bold", fg = hsl(0, 0, 7) }), 91 - TabLineFill({ fg = hsl(42, 52, 56), bg = bgc }), 92 - CursorColumn({ bg = lnbg }), 93 - CursorLine({ bg = lnbg }), 94 - FzfLuaCursorLine({ CursorLine }), 95 - ColorColumn({ bg = bgc }), 96 - WinBar({ gui = "bold" }), 97 - WinBarNC({ WinBar }), 98 - Cursor({ fg = hsl(0, 0, 13), bg = hsl(33, 22, 33) }), 99 - FzfLuaCursor({ Cursor }), 100 - lCursor({ fg = "bg", bg = "fg" }), 101 - NvimSpacing({ Normal }), 102 - FzfLuaNormal({ Normal }), 103 - FzfLuaBorder({ Normal }), 104 - javaScript({ Normal }), 105 - lessVariableValue({ Normal }), 106 - FloatShadow({ bg = hsl(0, 0, 6) }), 107 - FloatShadowThrough({ bg = hsl(0, 0, 8) }), 108 - RedrawDebugNormal({ gui = "reverse" }), 109 - RedrawDebugClear({ bg = hsl(42, 52, 56), fg = hsl(0, 0, 13) }), 110 - RedrawDebugComposed({ bg = hsl(72, 27, 40), fg = hsl(0, 0, 13) }), 111 - RedrawDebugRecompose({ bg = hsl(26, 47, 50), fg = hsl(0, 0, 13) }), 112 - Error({ fg = hsl(60, 13, 73), bg = hsl(26, 47, 50) }), 113 - NvimInvalid({ Error }), 114 - Todo({ fg = hsl(46, 51, 68), gui = "bold" }), 115 - sym("@text.todo")({ Todo }), 116 - String({ fg = hsl(33, 40, 50) }), 117 - sym("@string")({ String }), 118 - NvimString({ String }), 119 - phpHereDoc({ String }), 120 - markdownCodeBlock({ String }), 121 - NERDTreeExecFile({ String }), 122 - helpExample({ String }), 123 - CtrlPMatch({ String }), 124 - Constant({ fg = hsl(26, 47, 50) }), 125 - Character({ Constant }), 126 - sym("@constant")({ Constant }), 127 - sym("@lsp.type.enumMember")({ Constant }), 128 - rubyConstant({ Constant }), 129 - vimHiAttrib({ Constant }), 130 - Number({ fg = hsl(15, 40, 50) }), 131 - Float({ Number }), 132 - sym("@number")({ Number }), 133 - NvimNumber({ Number }), 134 - rubyInstanceVariable({ Number }), 135 - Boolean({ Number }), 136 - sym("@boolean")({ Boolean }), 137 - Function({ fg = hsl(72, 27, 40) }), 138 - sym("@function")({ Function }), 139 - sym("@method")({ Function }), 140 - sym("@lsp.type.decorator")({ Function }), 141 - sym("@lsp.type.function")({ Function }), 142 - sym("@lsp.type.method")({ Function }), 143 - Identifier({ fg = hsl(46, 51, 68) }), 144 - sym("@text.reference")({ Identifier }), 145 - sym("@parameter")({ Identifier }), 146 - Field({ fg = hsl(26, 47, 50) }), 147 - sym("@field")({ Field }), 148 - sym("@property")({ Field }), 149 - -- sym("@property")({ fg = "#af875e" }), -- light brown (maybe move this to string?) 150 - sym("@variable")({ Identifier }), 151 - sym("@namespace")({ Identifier }), 152 - sym("@lsp.type.parameter")({ Identifier }), 153 - sym("@lsp.type.property")({ Identifier }), 154 - sym("@lsp.type.variable")({ Identifier }), 155 - NvimIdentifier({ Identifier }), 156 - rubyLocalVariableOrMethod({ Identifier }), 157 - Statement({ fg = hsl(120, 17, 45), gui = "bold" }), 158 - Conditional({ Statement }), 159 - Repeat({ Statement }), 160 - Label({ Statement }), 161 - Exception({ Statement }), 162 - rubyDefine({ Statement }), 163 - phpDefine({ Statement }), 164 - helpHyperTextEntry({ Statement }), 165 - Keyword({ fg = hsl(120, 17, 45) }), 166 - sym("@keyword")({ Keyword }), 167 - PreProc({ Keyword }), 168 - Include({ PreProc }), 169 - Define({ PreProc }), 170 - Macro({ PreProc }), 171 - PreCondit({ PreProc }), 172 - sym("@preproc")({ PreProc }), 173 - -- Type({ fg = "#87875f" }), 174 - Type({ fg = hsl(72, 27, 40) }), 175 - StorageClass({ Type }), 176 - Structure({ Type }), 177 - Typedef({ Type }), 178 - sym("@type")({ Type }), 179 - sym("@lsp.type.type")({ Type }), 180 - NvimNumberPrefix({ Type }), 181 - NvimOptionSigil({ Type }), 182 - Special({ fg = hsl(26, 47, 50) }), 183 - Tag({ Special }), 184 - SpecialChar({ Special }), 185 - SpecialComment({ Special }), 186 - Comment({ fg = hsl(30, 8, 40), gui = "italic" }), 187 - Debug({ Special }), 188 - sym("@constant.builtin")({ Special }), 189 - sym("@function.builtin")({ Function }), 190 - sym("@constructor")({ Special }), 191 - TelescopeMatching({ Special }), 192 - TelescopeResultsFileIcon({ Special }), 193 - Delimiter({ fg = hsl(46, 25, 40) }), 194 - DelimiterLight({ fg = hsl(46, 51, 68) }), 195 - Operator({ fg = hsl(140, 20, 50) }), 196 - sym("@punctuation")({ Delimiter }), 197 - sym("@punctuation.bracket")({ DelimiterLight }), 198 - MyParentheses({ Delimiter }), 199 - NvimParenthesis({ Delimiter }), 200 - NvimColon({ Delimiter }), 201 - NvimComma({ Delimiter }), 202 - NvimArrow({ Delimiter }), 203 - javaScriptBraces({ Delimiter }), 204 - markdownLinkDelimiter({ Delimiter }), 205 - markdownURLDelimiter({ Delimiter }), 206 - vimSetSep({ Delimiter }), 207 - vimContinue({ Delimiter }), 208 - DiagnosticError({ fg = hsl(15, 40, 50) }), 209 - DiagnosticFloatingError({ DiagnosticError }), 210 - DiagnosticErrorFloating({ DiagnosticError }), 211 - DiagnosticWarn({ fg = hsl(26, 47, 50) }), 212 - -- DiagnosticWarn({ fg = hsl(30, 47, 50) }), 213 - -- DiagnosticWarn({ fg = hsl(42, 52, 56) }), 214 - DiagnosticFloatingWarn({ DiagnosticWarn }), 215 - DiagnosticInfo({ fg = hsl(42, 52, 56) }), 216 - -- DiagnosticInfo({ fg = hsl(33, 22, 33) }), 217 - DiagnosticFloatingInfo({ DiagnosticInfo }), 218 - DiagnosticHint({ fg = hsl(30, 8, 40) }), 219 - DiagnosticFloatingHint({ DiagnosticHint }), 220 - DiagnosticOk({ fg = hsl(71, 27, 40) }), 221 - DiagnosticVirtualTextOk({ DiagnosticOk }), 222 - DiagnosticFloatingOk({ DiagnosticOk }), 223 - DiagnosticSignOk({ DiagnosticOk }), 224 - DiagnosticUnderlineError({ gui = "underline" }), 225 - DiagnosticUnderlineWarn({ gui = "underline" }), 226 - DiagnosticUnderlineInfo({ gui = "underline" }), 227 - DiagnosticUnderlineHint({ gui = "underline" }), 228 - DiagnosticUnderlineOk({ gui = "underline" }), 229 - DiagnosticVirtualTextError({ DiagnosticError, bg = dbg }), 230 - DiagnosticVirtualTextWarn({ DiagnosticWarn, bg = dbg }), 231 - DiagnosticVirtualTextInfo({ DiagnosticInfo, bg = dbg }), 232 - DiagnosticVirtualTextHint({ DiagnosticHint, bg = dbg }), 233 - DiagnosticSignError({ DiagnosticError, bg = lnbg }), 234 - DiagnosticSignWarn({ DiagnosticWarn, bg = lnbg }), 235 - DiagnosticSignInfo({ DiagnosticInfo, bg = lnbg }), 236 - DiagnosticSignHint({ DiagnosticHint, bg = lnbg }), 237 - DiagnosticDeprecated({ gui = "strikethrough", sp = hsl(33, 22, 33) }), 238 - DiagnosticUnnecessary({ fg = hsl(20, 5, 40) }), 239 - sym("@text.literal")({ Comment }), 240 - sym("@comment")({ Comment }), 241 - sym("@lsp.type.comment")({ Comment }), 242 - NERDTreeHelp({ Comment }), 243 - helpSectionDelim({ Comment }), 244 - CtrlPLinePre({ Comment }), 245 - LspCodeLens({ Comment }), 246 - Underlined({ fg = hsl(72, 27, 40), gui = "underline" }), 247 - sym("@text.uri")({ Underlined }), 248 - sym("@text.underline")({ Underlined }), 249 - sym("@markup.link")({ fg = hsl(72, 27, 40) }), 250 - sym("@markup.list")({ Operator }), 251 - sym("@markup.heading")({ Special }), 252 - sym("@marup.raw.block.markdown")({ Special }), 253 - sym("@punctuation.special")({ fg = hsl(72, 27, 40) }), 254 - sym("@html.comment")({ Comment }), 255 - htmlLink({ Underlined }), 256 - helpHyperTextJump({ Underlined }), 257 - helpURL({ Underlined }), 258 - MatchParen({ fg = hsl(46, 51, 68), bg = hsl(0, 10, 25) }), 259 - NvimInternalError({ fg = lnbg, bg = hsl(22, 46, 48) }), 260 - NvimFigureBrace({ NvimInternalError }), 261 - NvimSingleQuotedUnknownEscape({ NvimInternalError }), 262 - NvimInvalidSingleQuotedUnknownEscape({ NvimInternalError }), 263 - LazyReasonRuntime({}), 264 - LazyButtonActive({ bg = hsl(72, 27, 40), fg = hsl(0, 0, 13) }), 265 - LazyDimmed({}), 266 - LazyTaskOutput({}), 267 - LazyTaskError({}), 268 - LazyCommitScope({}), 269 - LazyCommitType({}), 270 - LazyCommitIssue({}), 271 - LazyReasonFt({}), 272 - LazyProp({}), 273 - LazyCommit({}), 274 - LazyUrl({}), 275 - LazyReasonCmd({}), 276 - LazyValue({}), 277 - LazyNormal({ bg = lnbg }), 278 - LazyNoCond({}), 279 - LazyComment({}), 280 - LazyH2({ fg = hsl(72, 27, 40), bg = bgc }), 281 - LazyReasonSource({}), 282 - LazyH1({ fg = hsl(72, 27, 40), bg = bgc }), 283 - LazyReasonStart({}), 284 - LazyLocal({}), 285 - LazyReasonImport({}), 286 - LazyDir({}), 287 - LazyReasonKeys({}), 288 - LazyProgressDone({}), 289 - LazyReasonEvent({}), 290 - LazyProgressTodo({}), 291 - LazyReasonPlugin({}), 292 - LazySpecial({ fg = hsl(42, 52, 56) }), 293 - LazyButton({ bg = bgc }), 294 - MasonHeader({ bg = lnbg, fg = hsl(46, 51, 68) }), 295 - MasonHeaderSecondary({ LazyButtonActive }), 296 - MasonMuted({ bg = lnbg, fg = hsl(42, 52, 56) }), 297 - MasonHighlight({ bg = bgc, fg = hsl(71, 27, 40) }), 298 - MasonMutedBlock({ MasonMuted }), 299 - MasonMutedBlockBold({ MasonHighlight }), 300 - MasonHighlightBlock({ LazyButtonActive }), 301 - MasonHighlightBlockBold({ LazyButtonActive }), 302 - MasonHighlightBlockSecondary({}), 303 - MasonHighlightBlockBoldSecondary({}), 304 - MasonHighlightSecondary({}), 305 - MasonError({}), 306 - MasonWarning({}), 307 - MasonHeading({}), 308 - User1({ fg = hsl(46, 51, 68), bg = hsl(26, 47, 50) }), 309 - User2({ fg = hsl(46, 51, 68), bg = hsl(0, 0, 40) }), 310 - User3({ fg = hsl(46, 51, 68), bg = hsl(22, 46, 48) }), 311 - User4({ fg = hsl(46, 51, 68), bg = bgc }), 312 - User5({ fg = hsl(46, 51, 68), bg = hsl(26, 47, 50) }), 313 - User6({ fg = hsl(46, 51, 68), bg = hsl(42, 52, 56) }), 314 - User7({ fg = hsl(46, 51, 68), bg = hsl(71, 27, 40) }), 315 - User8({ fg = hsl(46, 51, 68), bg = hsl(22, 46, 48) }), 316 - User9({ fg = hsl(46, 51, 68), bg = hsl(0, 0, 40) }), 317 - htmlTagName({ fg = hsl(120, 17, 45) }), 318 - htmlTag({ fg = hsl(120, 17, 45) }), 319 - htmlEndTag({ htmlTag }), 320 - htmlArg({ fg = hsl(120, 17, 45) }), 321 - htmlH1({ gui = "bold" }), 322 - htmlBold({ gui = "bold" }), 323 - htmlItalic({ gui = "underline" }), 324 - htmlUnderline({ gui = "underline" }), 325 - htmlUnderlineItalic({ gui = "underline" }), 326 - htmlBoldItalic({ gui = "bold,underline" }), 327 - htmlBoldUnderline({ gui = "bold,underline" }), 328 - htmlBoldUnderlineItalic({ gui = "bold,underline" }), 329 - xmlTagName({ fg = hsl(72, 27, 40) }), 330 - xmlString({ xmlTagName }), 331 - xmlTag({ fg = hsl(71, 27, 40) }), 332 - xmlAttrib({ xmlTag }), 333 - xmlEndTag({ xmlTag }), 334 - xmlEqual({ xmlTag }), 335 - phpSpecialFunction({ fg = hsl(26, 47, 50) }), 336 - phpIdentifier({ fg = hsl(22, 46, 48) }), 337 - phpVarSelector({ phpIdentifier }), 338 - markdownBold({ gui = "bold" }), 339 - markdownItalic({ gui = "italic" }), 340 - gitCommitBranch({ fg = hsl(22, 46, 48) }), 341 - gitCommitSelectedType({ fg = hsl(120, 17, 45) }), 342 - gitCommitSelectedFile({ fg = hsl(120, 17, 45) }), 343 - gitCommitUnmergedType({ fg = hsl(33, 22, 33) }), 344 - gitCommitDiscardedType({ gitCommitUnmergedType }), 345 - gitCommitUnmergedFile({ fg = hsl(33, 22, 33) }), 346 - gitCommitUntrackedFile({ gitCommitUnmergedFile }), 347 - gitCommitDiscardedFile({ gitCommitUnmergedFile }), 348 - -- GitSignsAdd({ fg = hsl(71, 27, 40), bg = lnbg }), 349 - GitSignsAdd({ fg = hsl(120, 17, 45), bg = lnbg }), 350 - GitSignsChange({ fg = hsl(33, 22, 33), bg = lnbg }), 351 - GitSignsDelete({ fg = hsl(15, 40, 50), bg = lnbg }), 352 - lessVariable({ fg = hsl(22, 46, 48) }), 353 - shDerefSimple({ fg = hsl(22, 46, 48) }), 354 - shDerefVar({ shDerefSimple }), 355 - mustacheSection({ gui = "bold" }), 356 - mustacheMarker({ fg = hsl(26, 47, 50) }), 357 - mustacheVariable({ fg = hsl(42, 52, 56) }), 358 - mustacheVariableUnescape({ fg = hsl(33, 22, 33) }), 359 - mustachePartial({ fg = hsl(26, 47, 50) }), 360 - SyntasticErrorSign({ fg = hsl(22, 46, 48) }), 361 - SyntasticWarningSign({ fg = hsl(33, 22, 33) }), 362 - netrwExe({ fg = hsl(33, 22, 33) }), 363 - netrwClassify({ fg = hsl(0, 0, 40), gui = "bold" }), 364 - LspBorderBG({ fg = hsl(33, 22, 33), bg = bgc }), 365 - DiagnosticHintFloating({ fg = hsl(71, 27, 40) }), 366 - DiagnosticVirtualTextWarning({ fg = hsl(46, 51, 68) }), 367 - DiagnosticWarning({ fg = hsl(22, 46, 48) }), 368 - DiagnosticFloatingWarning({ DiagnosticWarning }), 369 - DiagnosticWarningFloating({ fg = hsl(46, 51, 68) }), 370 - LspFloatWinNormal({ fg = hsl(46, 51, 68), bg = hsl(72, 27, 23) }), 371 - LspReferenceRead({ 372 - fg = hsl(120, 17, 45), 373 - gui = "underline", 374 - sp = hsl(32, 98, 56), 375 - }), 376 - LspReferenceText({ 377 - fg = hsl(46, 51, 68), 378 - gui = "underline", 379 - bg = hsl(72, 27, 23), 380 - sp = hsl(32, 98, 56), 381 - }), 382 - LspReferenceWrite({ 383 - fg = hsl(120, 17, 45), 384 - gui = "underline", 385 - sp = hsl(32, 98, 56), 386 - }), 387 - LspSignatureActiveParameter({ 388 - sp = hsl(50, 92, 80), 389 - gui = "underline,italic", 390 - }), 391 - TelescopeSelectionCaret({ fg = hsl(46, 51, 68), bg = hsl(71, 27, 40) }), 392 - TelescopeBorder({ fg = hsl(33, 22, 33), bg = lnbg }), 393 - TelescopePromptCounter({ TelescopeBorder }), 394 - TelescopeResultsBorder({ TelescopeBorder }), 395 - TelescopePreviewBorder({ TelescopeBorder }), 396 - TelescopeTitle({ fg = hsl(120, 17, 45), bg = lnbg }), 397 - TelescopePromptTitle({ TelescopeTitle }), 398 - TelescopeResultsTitle({ TelescopeTitle }), 399 - TelescopePreviewTitle({ TelescopeTitle }), 400 - TelescopePromptPrefix({ TelescopeTitle }), 401 - TelescopePromptBorder({ fg = hsl(22, 46, 48), bg = lnbg }), 402 - TelescopePreviewLine({ TelescopeSelection }), 403 - CurSearch({ Search }), 404 - IblIndent({ fg = hsl(94, 22, 15), gui = "nocombine" }), 405 - IblWhitespace({ fg = hsl(94, 22, 15), gui = "nocombine" }), 406 - IblScope({ fg = hsl(72, 27, 23), gui = "nocombine" }), 407 - ScrollbarHandle({ blend = 0, bg = lnbg }), 408 - ScrollbarSearch({ fg = hsl(42, 52, 56) }), 409 - ScrollbarSearchHandle({ fg = hsl(42, 52, 56), blend = 0, bg = lnbg }), 410 - ScrollbarError({ fg = hsl(33, 22, 33) }), 411 - ScrollbarErrorHandle({ fg = hsl(33, 22, 33), blend = 0, bg = lnbg }), 412 - ScrollbarWarn({ fg = hsl(22, 46, 48) }), 413 - ScrollbarWarnHandle({ fg = hsl(22, 46, 48), blend = 0, bg = lnbg }), 414 - ScrollbarInfo({ fg = hsl(120, 17, 45) }), 415 - ScrollbarInfoHandle({ fg = hsl(120, 17, 45), blend = 0, bg = lnbg }), 416 - ScrollbarCursor({ fg = hsl(0, 0, 13) }), 417 - ScrollbarCursorHandle({ fg = hsl(0, 0, 13), blend = 0, bg = lnbg }), 418 - ScrollbarHint({ fg = hsl(120, 17, 45) }), 419 - ScrollbarHintHandle({ fg = hsl(120, 17, 45), blend = 0, bg = lnbg }), 420 - ScrollbarGitChange({ fg = hsl(33, 22, 33) }), 421 - ScrollbarGitChangeHandle({ fg = hsl(33, 22, 33), blend = 0, bg = lnbg }), 422 - ScrollbarGitDelete({ fg = hsl(22, 46, 48) }), 423 - ScrollbarGitDeleteHandle({ fg = hsl(22, 46, 48), blend = 0, bg = lnbg }), 424 - ScrollbarGitAdd({ fg = hsl(120, 17, 45) }), 425 - ScrollbarGitAddHandle({ fg = hsl(120, 17, 45), blend = 0, bg = lnbg }), 426 - ScrollbarMisc({ fg = hsl(26, 47, 50) }), 427 - ScrollbarMiscHandle({ fg = hsl(26, 47, 50), blend = 0, bg = lnbg }), 428 - WhichKey({ bg = lnbg, fg = hsl(46, 51, 68) }), 429 - WhichKeyBorder({ bg = lnbg }), 430 - WhichKeyDesc({ fg = hsl(120, 17, 45), bg = lnbg }), 431 - WhichKeyGroup({ bg = lnbg }), 432 - WhichKeySeparator({ bg = lnbg, fg = hsl(42, 52, 56) }), 433 - WhichKeyFloat({ bg = lnbg }), 434 - WhichKeyValue({ fg = hsl(42, 52, 56) }), 435 - CmpItemAbbrDeprecated({ DiagnosticWarn }), 436 - CmpItemAbbrMatch({ String }), 437 - CmpItemAbbrMatchFuzzy({ String }), 438 - CmpItemKindVariable({ Normal }), 439 - CmpItemKindInterface({ Type }), 440 - CmpItemKindText({ Normal }), 441 - CmpItemKindFunction({ Function }), 442 - CmpItemKindMethod({ Function }), 443 - CmpItemKindKeyword({ Keyword }), 444 - CmpItemKindProperty({ Field }), 445 - CmpItemKindUnit({ Keyword }), 446 - 447 - MiniTablineCurrent({ TabLineSel }), 448 - MiniTablineHidden({ Normal }), 449 - MiniTablineVisible({ MiniTablineHidden }), 450 - MiniTablineModifiedCurrent({ 451 - bg = hsl(120, 17, 45), 452 - fg = bgc, 453 - gui = "bold", 454 - }), 455 - MiniTablineModifiedHidden({ TabLineFill }), 456 - MiniTablineModifiedVisible({ MiniTablineModifiedHidden }), 457 - MiniJump2dSpot({ TabLineSel }), 458 - } 459 - end) 460 - ---@diagnostic disable 461 - return theme
-1
selene.toml
··· 1 - std = "vim"
-15
shipwright_build.lua
··· 1 - local colorscheme = require("lush_theme.darkearth") 2 - local lushwright = require("shipwright.transform.lush") 3 - 4 - -- export to lua 5 - run(colorscheme, 6 - lushwright.to_lua, 7 - { patchwrite, "colors/darkearth.lua", "-- PATCH_OPEN", "-- PATCH_CLOSE" } 8 - ) 9 - 10 - -- export to vimscript 11 - -- run( 12 - -- colorscheme, 13 - -- lushwright.to_vimscript, 14 - -- { overwrite, "colors/darkearth.tmp" } 15 - -- )