A dark and earthy colorscheme for Neovim. (mirror) github.com/ptdewey/darkearth-nvim
neovim neovim-colorscheme fennel
at main 235 lines 11 kB view raw
1--[[ "This file was generated by Fennel. Do not modify." ]] 2local theme = {} 3do 4 theme["Normal"] = {bg = "#F0EBE1", fg = "#252F1E"} 5 theme["Identifier"] = {link = "Normal"} 6 theme["Variable"] = {link = "Identifier"} 7 theme["@variable"] = {link = "Variable"} 8 theme["@lsp.type.parameter"] = {link = "Identifier"} 9 theme["@lsp.type.property"] = {link = "Identifier"} 10 theme["@lsp.type.variable"] = {link = "Identifier"} 11 theme["@namespace"] = {link = "Identifier"} 12 theme["@parameter"] = {link = "Identifier"} 13 theme["@text.reference"] = {link = "Identifier"} 14 theme["DelimiterLight"] = {link = "Normal"} 15 theme["@punctuation.bracket"] = {link = "DelimiterLight"} 16 theme["Statement"] = {fg = "#5F865F"} 17 theme["Keyword"] = {fg = "#5F865F"} 18 theme["@keyword"] = {link = "Keyword"} 19 theme["Conditional"] = {link = "Statement"} 20 theme["Repeat"] = {link = "Statement"} 21 theme["Label"] = {link = "Statement"} 22 theme["Exception"] = {link = "Statement"} 23 theme["PreProc"] = {link = "Statement"} 24 theme["Include"] = {link = "Statement"} 25 theme["Define"] = {link = "Statement"} 26 theme["Macro"] = {link = "Statement"} 27 theme["PreCondit"] = {link = "Statement"} 28 theme["@preproc"] = {link = "Preproc"} 29 theme["Function"] = {fg = "#77824A"} 30 theme["@function"] = {link = "Function"} 31 theme["@method"] = {link = "Function"} 32 theme["@function.builtin"] = {link = "Function"} 33 theme["@lsp.type.decorator"] = {link = "Function"} 34 theme["@lsp.type.function"] = {link = "Function"} 35 theme["@lsp.type.method"] = {link = "Function"} 36 theme["Type"] = {fg = "#77824A"} 37 theme["Structure"] = {link = "Type"} 38 theme["StorageClass"] = {link = "Type"} 39 theme["Typedef"] = {link = "Type"} 40 theme["@type"] = {link = "Type"} 41 theme["@lsp.type.type"] = {link = "Type"} 42 theme["String"] = {fg = "#B3854D"} 43 theme["@string"] = {link = "String"} 44 theme["Number"] = {fg = "#B3664D"} 45 theme["@number"] = {link = "Number"} 46 theme["Float"] = {link = "Number"} 47 theme["Boolean"] = {link = "Number"} 48 theme["@boolean"] = {link = "Boolean"} 49 theme["Field"] = {fg = "#BB7844"} 50 theme["@field"] = {link = "Field"} 51 theme["@property"] = {link = "Field"} 52 theme["Constant"] = {fg = "#BB7844"} 53 theme["Character"] = {link = "Constant"} 54 theme["@lsp.type.enumMember"] = {link = "Constant"} 55 theme["vimHiAttrib"] = {link = "Constant"} 56 theme["Comment"] = {fg = "#A09890"} 57 theme["@comment"] = {link = "Comment"} 58 theme["@html.comment"] = {link = "Comment"} 59 theme["@lsp.type.comment"] = {link = "Comment"} 60 theme["@text.literal"] = {link = "Comment"} 61 theme["CtrlPLinePre"] = {link = "Comment"} 62 theme["LspCodeLens"] = {link = "Comment"} 63 theme["Operator"] = {fg = "#669977"} 64 theme["Delimiter"] = {fg = "#80744D"} 65 theme["NvimParenthesis"] = {link = "Delimiter"} 66 theme["@punctuation"] = {link = "Delimiter"} 67 theme["Special"] = {fg = "#BB7844"} 68 theme["Debug"] = {link = "Special"} 69 theme["SpecialChar"] = {link = "Special"} 70 theme["SpecialComment"] = {link = "Special"} 71 theme["Tag"] = {link = "Special"} 72 theme["@constant.builtin"] = {link = "Special"} 73 theme["@constructor"] = {link = "Special"} 74 theme["@punctuation.special"] = {link = "Special"} 75 theme["NonText"] = {fg = "#C2BAA8"} 76 theme["EndOfBuffer"] = {link = "NonText"} 77 theme["Whitespace"] = {link = "NonText"} 78 theme["Visual"] = {bg = "#DCD4C6"} 79 theme["Cursor"] = {bg = "#252F1E", fg = "#F5F0E6"} 80 theme["CursorColumn"] = {bg = "#F0EBE1"} 81 theme["CursorLine"] = {link = "CursorColumn"} 82 theme["LineNr"] = {fg = "#77824A"} 83 theme["LineNrAbove"] = {fg = "#736659"} 84 theme["LineNrBelow"] = {link = "LineNrAbove"} 85 theme["CursorLineNr"] = {link = "LineNr"} 86 theme["TermCursor"] = {reverse = true} 87 theme["Search"] = {bg = "#5F865F", fg = "#F5F0E6"} 88 theme["CurSearch"] = {link = "Search"} 89 theme["QuickFixLine"] = {link = "Search"} 90 theme["Substitute"] = {link = "Search"} 91 theme["IncSearch"] = {bg = "#BB7844", fg = "#F5F0E6"} 92 theme["ErrorMsg"] = {fg = "#B36B42"} 93 theme["WarningMsg"] = {fg = "#B36B42"} 94 theme["MoreMsg"] = {bold = true, fg = "#5F865F"} 95 theme["ModeMsg"] = {bold = true, fg = "#77824A"} 96 theme["Question"] = {fg = "#5F865F"} 97 theme["Bold"] = {bold = true} 98 theme["Italic"] = {italic = true} 99 theme["Underlined"] = {fg = "#77824A", underline = true} 100 theme["@text.underline"] = {link = "Underlined"} 101 theme["@text.uri"] = {link = "Underlined"} 102 theme["Title"] = {bold = true, fg = "#B36B42"} 103 theme["@text.title"] = {link = "Title"} 104 theme["ColorColumn"] = {bg = "#F0EBE1"} 105 theme["MatchParen"] = {bg = "#D4CAB8", fg = "#252F1E"} 106 theme["Folded"] = {fg = "#B36B42"} 107 theme["Ignore"] = {fg = "#C8C0B6"} 108 theme["Conceal"] = {link = "Ignore"} 109 theme["SpecialKey"] = {link = "Normal"} 110 theme["NvimSpacing"] = {link = "Normal"} 111 theme["DiffText"] = {link = "Visual"} 112 theme["@text.diff.add"] = {link = "DiffAdd"} 113 theme["Added"] = {fg = "#5F865F"} 114 theme["DiffAdded"] = {link = "Added"} 115 theme["@diff.plus"] = {link = "Added"} 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["@text.diff.delete"] = {link = "DiffDelete"} 121 theme["Removed"] = {fg = "#B36B42"} 122 theme["DiffRemoved"] = {link = "Removed"} 123 theme["@diff.minus"] = {link = "Removed"} 124 theme["NormalFloat"] = {link = "Normal"} 125 theme["FloatBorder"] = {fg = "#77824A"} 126 theme["FloatTitle"] = {bold = true, fg = "#5F865F"} 127 theme["Pmenu"] = {link = "Normal"} 128 theme["PmenuExtra"] = {link = "Pmenu"} 129 theme["PmenuKind"] = {link = "Pmenu"} 130 theme["PmenuSbar"] = {fg = "#6B6461"} 131 theme["PmenuThumb"] = {bg = "#252F1E", fg = "#252F1E"} 132 theme["PmenuSel"] = {bg = "#77824A", fg = "#F5F0E6"} 133 theme["PmenuExtraSel"] = {link = "PmenuSel"} 134 theme["PmenuKindSel"] = {link = "PmenuSel"} 135 theme["StatusLine"] = {bg = "#F0EBE1", bold = true, fg = "#252F1E"} 136 theme["MsgSeparator"] = {link = "StatusLine"} 137 theme["StatusLineNC"] = {bg = "#F0EBE1", bold = true, fg = "#736659"} 138 theme["TabLine"] = {bg = "#E6E0D6", fg = "#6B6461"} 139 theme["TabLineFill"] = {bg = "#F0EBE1", fg = "#B3854D"} 140 theme["TabLineSel"] = {bg = "#77824A", bold = true, fg = "#E6E0D6"} 141 theme["TabLineSelSep"] = {bg = "#F0EBE1", bold = true, fg = "#77824A"} 142 theme["TabLineSep"] = {bg = "#F0EBE1", fg = "#E6E0D6"} 143 theme["Directory"] = {link = "Type"} 144 theme["netrwExe"] = {link = "Changed"} 145 theme["netrwClassify"] = {link = "Comment"} 146 theme["SpellBad"] = {fg = "#675642", sp = "#252F1E"} 147 theme["SpellCap"] = {fg = "#5F865F", sp = "#252F1E"} 148 theme["SpellLocal"] = {fg = "#BB7844", sp = "#252F1E"} 149 theme["SpellRare"] = {fg = "#B36B42", sp = "#252F1E"} 150 theme["helpSectionDelim"] = {link = "Comment"} 151 theme["helpHyperTextEntry"] = {link = "Statement"} 152 theme["helpExample"] = {link = "String"} 153 theme["helpHeadline"] = {link = "Title"} 154 theme["helpHyperTextJump"] = {link = "Underlined"} 155 theme["helpURL"] = {link = "Underlined"} 156 theme["DiagnosticDeprecated"] = {sp = "#675642", strikethrough = true} 157 theme["DiagnosticError"] = {fg = "#B3664D"} 158 theme["DiagnosticErrorFloating"] = {link = "DiagnosticError"} 159 theme["DiagnosticSignError"] = {link = "DiagnosticError"} 160 theme["DiagnosticVirtualTextError"] = {link = "DiagnosticError"} 161 theme["DiagnosticUnderlineError"] = {underline = true} 162 theme["DiagnosticWarn"] = {fg = "#BB7844"} 163 theme["DiagnosticFloatingWarn"] = {link = "DiagnosticWarn"} 164 theme["DiagnosticSignWarn"] = {link = "DiagnosticWarn"} 165 theme["DiagnosticVirtualTextWarn"] = {link = "DiagnosticWarn"} 166 theme["DiagnosticUnderlineWarn"] = {underline = true} 167 theme["DiagnosticHint"] = {fg = "#A09890"} 168 theme["DiagnosticFloatingHint"] = {link = "DiagnosticHint"} 169 theme["DiagnosticSignHint"] = {link = "DiagnosticHint"} 170 theme["DiagnosticVirtualTextHint"] = {link = "DiagnosticHint"} 171 theme["DiagnosticUnderlineHint"] = {underline = true} 172 theme["DiagnosticInfo"] = {fg = "#9A8030"} 173 theme["DiagnosticFloatingInfo"] = {link = "DiagnosticInfo"} 174 theme["DiagnosticSignInfo"] = {link = "DiagnosticInfo"} 175 theme["DiagnosticVirtualTextInfo"] = {link = "DiagnosticInfo"} 176 theme["DiagnosticUnderlineInfo"] = {underline = true} 177 theme["DiagnosticOk"] = {fg = "#77824A"} 178 theme["DiagnosticFloatingOk"] = {link = "DiagnosticOk"} 179 theme["DiagnosticSignOk"] = {link = "DiagnosticOk"} 180 theme["DiagnosticVirtualTextOk"] = {link = "DiagnosticOk"} 181 theme["Todo"] = {bg = "#252F1E", fg = "#F0EBE1"} 182 theme["@text.todo"] = {link = "Todo"} 183 theme["htmlLink"] = {link = "Underlined"} 184 theme["markdownBold"] = {link = "Bold"} 185 theme["markdownItalic"] = {link = "Italic"} 186 theme["@markup.heading"] = {link = "Special"} 187 theme["@markup.raw.block.markdown"] = {link = "Special"} 188 theme["@markup.list"] = {link = "Operator"} 189 theme["@markup.link"] = {fg = "#77824A", underline = true} 190 theme["@punctuation.special.markdown"] = {link = "Comment"} 191 theme["@property.lua"] = {link = "Normal"} 192 theme["LazyNormal"] = {link = "Normal"} 193 theme["LazyButtonActive"] = {bg = "#77824A", fg = "#F5F0E6"} 194 theme["LazyH1"] = {fg = "#77824A"} 195 theme["LazyH2"] = {fg = "#77824A"} 196 theme["LazySpecial"] = {fg = "#9A8030"} 197 theme["MasonHeaderSecondary"] = {link = "LazyButtonActive"} 198 theme["MasonHighlightBlock"] = {link = "LazyButtonActive"} 199 theme["FzfLuaNormal"] = {link = "Normal"} 200 theme["FzfLuaTitle"] = {link = "FloatTitle"} 201 theme["FzfLuaBorder"] = {link = "FloatBorder"} 202 theme["FzfLuaCursorLine"] = {link = "CursorLine"} 203 theme["FzfLuaCursorLineNr"] = {link = "CursorLineNr"} 204 theme["FzfLuaSearch"] = {link = "IncSearch"} 205 theme["FzfLuaScrollFloatEmpty"] = {link = "PmenuSbar"} 206 theme["FzfLuaScrollFloatFull"] = {link = "PmenuThumb"} 207 theme["MiniTablineCurrent"] = {link = "TabLineSel"} 208 theme["MiniTablineHidden"] = {link = "Normal"} 209 theme["MiniTablineVisible"] = {link = "MiniTablineHidden"} 210 theme["MiniTablineModifiedCurrent"] = {bg = "#5F865F", bold = true, fg = "#F0EBE1"} 211 theme["MiniTablineModifiedHidden"] = {link = "TabLineFill"} 212 theme["MiniTablineModifiedVisible"] = {link = "MiniTablineModifiedHidden"} 213 theme["MiniTablineTabpageSection"] = {link = "IncSearch"} 214 theme["MiniJump2dSpot"] = {link = "TabLineSel"} 215 theme["IblIndent"] = {fg = "#E2E6D8"} 216 theme["GitSignsAdd"] = {link = "Added"} 217 theme["GitSignsChange"] = {link = "Changed"} 218 theme["GitSignsDelete"] = {link = "Removed"} 219end 220theme["Error"] = {bg = "#B3664D", fg = "#F5F0E6"} 221theme["DiffAdd"] = {bg = "#CCD8C4", fg = "#252F1E"} 222theme["DiffChange"] = {bg = "#D8CEBA", fg = "#252F1E"} 223theme["DiffDelete"] = {bg = "#D8C6BE", fg = "#252F1E"} 224theme["FzfLuaBackdrop"] = {fg = "#C2BAA8"} 225theme["FzfLuaCursor"] = {bg = "#77824A", fg = "#F5F0E6"} 226theme["TodoBgTODO"] = {bg = "#B8BE96", bold = true, fg = "#252F1E"} 227theme["TodoFgTODO"] = {fg = "#77824A"} 228vim.cmd("highlight clear") 229vim.cmd("set t_Co=256") 230vim.g.colors_name = "lightearth" 231vim.o.background = "light" 232for group, attr in pairs(theme) do 233 vim.api.nvim_set_hl(0, group, attr) 234end 235return nil