88 lines
3.5 KiB
Lua
88 lines
3.5 KiB
Lua
return {
|
|
{
|
|
"bjarneo/aether.nvim",
|
|
branch = "v3",
|
|
name = "aether",
|
|
priority = 1000,
|
|
opts = {
|
|
colors = {
|
|
bg = "#f0ead9",
|
|
dark_bg = "#f0ead9",
|
|
darker_bg = "#e6dfd0", -- slightly darker for statusline, etc.
|
|
lighter_bg = "#f5f0e3",
|
|
|
|
fg = "#1e2a4a",
|
|
dark_fg = "#0f1628",
|
|
light_fg = "#8a8694",
|
|
bright_fg = "#a5a0b0",
|
|
muted = "#5e5a6a",
|
|
|
|
-- === Stronger syntax colors for light bg ===
|
|
red = "#6a2520", -- deeper red (errors, vars)
|
|
orange = "#6a4a2c", -- better orange (numbers, constants)
|
|
yellow = "#6a4a2c", -- warm class/type yellow
|
|
green = "#4a5a3a", -- deeper forest green (strings)
|
|
cyan = "#3a5a6a", -- stronger cyan
|
|
blue = "#3a5a6a", -- richer function/keyword blue
|
|
purple = "#5a4a72", -- deeper purple
|
|
brown = "#6a4a72", -- warm deprecated
|
|
|
|
bright_red = "#8a3028",
|
|
bright_yellow = "#6a4a2c",
|
|
bright_green = "#4a5a3a",
|
|
bright_cyan = "#3a5a6a",
|
|
bright_blue = "#3a5a6a",
|
|
bright_purple = "#5a4a72",
|
|
|
|
accent = "#3a5a6a",
|
|
cursor = "#1e2a4a",
|
|
foreground = "#1e2a4a",
|
|
background = "#f0ead9",
|
|
selection = "#e6dfd0", -- soft selection bg
|
|
selection_foreground = "#1e2a4a",
|
|
selection_background = "#2a3f6f",
|
|
},
|
|
on_highlights = function(hl, c)
|
|
-- If it's "too dark", use a lighter grey like #1e2a4a
|
|
hl.CursorLine = { bg = "#f5f0e3" }
|
|
hl.CursorLineNr = { fg = c.orange, bold = true }
|
|
-- clean, solid word-occurrence + selection highlights (no muddy computed bg)
|
|
hl.Visual = { bg = "#e6dfd0" }
|
|
hl.LspReferenceText = { bg = "#e6dfd0" }
|
|
hl.LspReferenceRead = { bg = "#e6dfd0" }
|
|
hl.LspReferenceWrite = { bg = "#e6dfd0" }
|
|
hl.IlluminatedWordText = { bg = "#e6dfd0" }
|
|
hl.IlluminatedWordRead = { bg = "#e6dfd0" }
|
|
hl.IlluminatedWordWrite = { bg = "#e6dfd0" }
|
|
hl.MatchParen = { bg = "#e6dfd0", bold = true }
|
|
-- brackets/parens/braces: lift from aether's muted tone to a saturated warm tone
|
|
hl["@punctuation.bracket"] = { fg = "#6a4a2c" }
|
|
hl["@punctuation.special"] = { fg = "#6a4a2c" }
|
|
-- keywords: aether renders these lilac internally -> force to palette.
|
|
-- general keywords -> blue; exceptions (try/except/raise) -> purple slot
|
|
local kw_blue = { fg = "#3a5a6a" }
|
|
for _, g in ipairs({
|
|
"Keyword", "Conditional", "Repeat", "Statement", "Include", "StorageClass",
|
|
"@keyword", "@keyword.function", "@keyword.operator", "@keyword.return",
|
|
"@keyword.conditional", "@keyword.repeat", "@keyword.import",
|
|
"@keyword.coroutine", "@conditional", "@repeat", "@include",
|
|
}) do
|
|
hl[g] = kw_blue
|
|
end
|
|
local kw_exc = { fg = "#5a4a72" }
|
|
for _, g in ipairs({ "Exception", "@keyword.exception", "@exception" }) do
|
|
hl[g] = kw_exc
|
|
end
|
|
end,
|
|
},
|
|
config = function(_, opts)
|
|
require("aether").setup(opts)
|
|
vim.cmd.colorscheme("aether")
|
|
require("aether.hotreload").setup()
|
|
end,
|
|
},
|
|
{
|
|
"LazyVim/LazyVim",
|
|
opts = { colorscheme = "aether" },
|
|
},
|
|
} |