craftzdog.solarized-osaka.nvim/extras/lua/solarized_osaka_dark.lua
Takuya Matsuyama 0df74ef0ed refactor(colors): Source every color from the palette and drop darken
Point the last computed colors at real tokens so nothing is derived by
blending anymore:

- barbar inactive labels take the new 600 tier, which reads dimmer than
  the 500 accent and, unlike 700, still brightens under the vivid style
- notify borders take the 900 tier, and the debug border takes base02
- black was a blend of the background toward pure black, a value that
  appeared nowhere in the palette; it is base04, so replace it outright
- border was aliased to black, leaving it invisible against the
  background in the dark style; it is now base02, matching WinSeparator

With no callers left, darken and blend go, and with them the mutable
util.bg they relied on -- a shared global whose value depended on which
style had been resolved last.

Every highlight group is unchanged by the black removal. The barbar and
notify groups do shift slightly, since a token can never reproduce a
blend toward the background exactly; they were chosen to read correctly
rather than to match the old values.

Light gains from this: black resolved to a muddy #cac4b5 that measured
1.85:1 on statusline mode chips, and base04 lifts that to 3.21:1. The
same change makes terminal color0 white in the light style, completing
an inversion that already had color7 resolving to a dark value.
2026-08-11 15:38:54 +09:00

126 lines
2.8 KiB
Lua

local colors = {
base0 = "#9eabac",
base00 = "#637981",
base01 = "#576d74",
base02 = "#063540",
base03 = "#002c38",
base04 = "#001419",
base1 = "#adb7b7",
base2 = "#ede7d3",
base3 = "#fdf5e2",
base4 = "#ffffff",
bg = "#001419",
bg_float = "#001419",
bg_highlight = "#002c38",
bg_popup = "#001419",
bg_sidebar = "#001419",
bg_statusline = "#002c38",
blue = "#268bd3",
blue100 = "#a8daff",
blue200 = "#78c5fb",
blue300 = "#46acf5",
blue400 = "#309be8",
blue50 = "#d7edff",
blue500 = "#268bd3",
blue600 = "#2077b6",
blue700 = "#1a6397",
blue800 = "#154f79",
blue900 = "#0f3856",
blue950 = "#062339",
border = "#063540",
cyan = "#29a298",
cyan100 = "#b7fefa",
cyan200 = "#6cf8ed",
cyan300 = "#2aeddd",
cyan400 = "#22d2c3",
cyan50 = "#e1fffd",
cyan500 = "#29a298",
cyan600 = "#228582",
cyan700 = "#1a6265",
cyan800 = "#154e50",
cyan900 = "#103a3c",
cyan950 = "#042122",
error = "#db302d",
fg = "#839395",
fg_float = "#839395",
green = "#849900",
green100 = "#d6fead",
green200 = "#bcff51",
green300 = "#b7f900",
green400 = "#a3cc00",
green50 = "#ebffd7",
green500 = "#849900",
green600 = "#6e7f00",
green700 = "#586600",
green800 = "#424c00",
green900 = "#2c3300",
green950 = "#191d00",
hint = "#29a298",
info = "#268bd3",
magenta = "#d23681",
magenta100 = "#ff75b7",
magenta200 = "#f961aa",
magenta300 = "#f254a0",
magenta400 = "#e44391",
magenta50 = "#ffb9da",
magenta500 = "#d23681",
magenta600 = "#c42b75",
magenta700 = "#af2668",
magenta800 = "#811c4d",
magenta900 = "#541131",
magenta950 = "#38071d",
none = "NONE",
orange = "#c94c16",
orange100 = "#ff9165",
orange200 = "#fc713b",
orange300 = "#f74f0c",
orange400 = "#e44f0f",
orange50 = "#feccb7",
orange500 = "#c94c16",
orange600 = "#b74514",
orange700 = "#a13c10",
orange800 = "#80300e",
orange900 = "#5b220a",
orange950 = "#3c1403",
red = "#db302d",
red100 = "#ff9a99",
red200 = "#fb7673",
red300 = "#f55350",
red400 = "#e9413e",
red50 = "#ffd2d1",
red500 = "#db302d",
red600 = "#cc2522",
red700 = "#b7211f",
red800 = "#871816",
red900 = "#570f0e",
red950 = "#380605",
todo = "#6d71c4",
violet = "#6d71c4",
violet100 = "#cccffe",
violet200 = "#b3b6f8",
violet300 = "#9b9fec",
violet400 = "#7f84db",
violet50 = "#eaebff",
violet500 = "#6d71c4",
violet600 = "#5a5fbd",
violet700 = "#484eb6",
violet800 = "#353986",
violet900 = "#24275a",
violet950 = "#0d1039",
warning = "#b28500",
yellow = "#b28500",
yellow100 = "#ffe899",
yellow200 = "#fed54c",
yellow300 = "#ffbf00",
yellow400 = "#dba400",
yellow50 = "#fff5d1",
yellow500 = "#b28500",
yellow600 = "#8e6b00",
yellow700 = "#664c00",
yellow800 = "#4c3900",
yellow900 = "#332700",
yellow950 = "#1d1600"
}
local highlights = nil