Commit graph

371 commits

Author SHA1 Message Date
Takuya Matsuyama a21176efde fix(mini_diff): Use explicit background colors for overlay highlights
Some checks failed
CI / extras (push) Has been cancelled
CI / tests (ubuntu-latest) (push) Has been cancelled
CI / docs (push) Has been cancelled
CI / release (push) Has been cancelled
2026-08-24 21:23:18 +09:00
Takuya Matsuyama 476f0e7725 fix(groups): change git diff colors 2026-08-24 15:32:41 +09:00
Fabian Winkelmann 7be007658c
fix(extra): migrate colorscheme options for foot terminal (#86)
* fix(extra): migrate colorscheme options for foot terminal

* fix(extra): fix build script after foot changes
2026-08-17 15:54:21 +09:00
Redoxahmii c9e2706567 fix(extras): fix fzf extra colors script 2026-08-15 09:32:50 +05:00
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
Takuya Matsuyama bb21538e81 feat(palette): Add the 200, 400, 600 and 800 tiers
Fill in the four stops each accent ramp was missing, transcribed from the
Solarized Osaka design tokens so every hue now carries the full 50-950
scale. The light palette mirrors them around 500 like the existing tiers,
and 800 joins 700/900/950 as a background tier so the vivid style leaves
it alone.

The 600 tier in particular gives group definitions a dimmed accent that
previously had to be computed, since it sits between the 500 accent and
the much darker 700.

All 88 accent stops now match the design tokens exactly. The generated
lua and helix extras pick up the new entries; no existing value changed.
2026-08-11 15:25:13 +09:00
Takuya Matsuyama 6f3bcf9cd9 refactor(util): Remove dead color and highlight helpers
The light style is a hand-written palette rather than an inversion of the
dark one, so the invert helpers lost their last caller. They only ever
called each other, and the same is true of syntax and highlight. lighten
had no callers at all.

Removing highlight orphans treesitter.lua, whose only consumer was the
ts.get call inside it, so the module goes too. day_brightness fed nothing
but invert_color and was already a no-op, so drop the option and its docs.

Also fix the vimdoc palette example, which called the now-removed
util.lighten with colors.bg_dark and colors.red1 -- tokyonight names that
have never existed in this fork.

All 2822 highlight groups across the dark, light and vivid styles are
byte-for-byte identical before and after, and the extras rebuild clean.
2026-08-11 14:49:45 +09:00
Takuya Matsuyama d4695e455d fix(extras): Dim the delta diff backgrounds and drop the stray filename dot
Delta now paints diff lines with the 900/950 background tiers and keeps
the 500 tier for line numbers, so added and removed lines read as tinted
backgrounds rather than saturated blocks of color.

Also stop appending a bare separator when an extra declares no extension.
Ghostty is the only one, so every build wrote solarized_osaka_dark. next
to the correct solarized_osaka_dark with identical content.
2026-08-11 14:41:32 +09:00
Takuya Matsuyama 308edfd998 fix(vivid): Keep colors from washing out when brightened
HSLuv preserves *relative* saturation, but the sRGB gamut narrows toward
white, so holding S constant while raising lightness silently drained real
chroma: red lost 29.8%, violet 26.6% and magenta 18.2%.

Work in LCh instead and never let chroma fall below where it started,
capped at what the gamut can hold at the new lightness. Colors already on
the boundary keep riding it up, so the hues that were not losing chroma
are untouched and near-gray tokens stay neutral.

red500     #f37574 -> #ff6c6a  (+19.7% chroma)
magenta500 #ef73a6 -> #fe67a8  (+22.1%)
violet500  #989ad7 -> #9498ea  (+35.6%)

Contrast is unchanged, with the lowest still at 6.21:1.
2026-08-11 14:03:20 +09:00
Takuya Matsuyama b08592c1bb feat(vivid): Add a high-contrast style for bright environments
Add `vivid`, a dark variant whose text colors are pushed toward white in
HSLuv space so hue and saturation stay put and only brightness moves.
Comments go from 3.45:1 to 6.21:1 against the background and syntax colors
land between 6.8:1 and 8.8:1, which keeps the theme readable outdoors
without switching every tool over to a light theme.

Background tokens are left alone since brightening those would reduce
contrast rather than add it. The boost is proportional to the remaining
headroom, so already bright colors barely move and the palette keeps its
internal ordering.

Also rename the day colorscheme to solarized-osaka-light to match the
style name it loads.
2026-08-11 11:30:58 +09:00
Takuya Matsuyama f675d9a5c5 fix(diff): do not change fg colors. use dimmed bg colors
Some checks failed
CI / extras (push) Has been cancelled
CI / release (push) Has been cancelled
CI / tests (ubuntu-latest) (push) Has been cancelled
CI / docs (push) Has been cancelled
2026-05-08 13:21:02 +09:00
Takuya Matsuyama 2526f000a5 feat(palette): add 50 and 950 colors 2026-05-08 13:07:22 +09:00
Redoxahmii a2b498fa31 fix(highlights): don't override default sp colors 2026-02-04 07:40:45 +05:00
Takuya Matsuyama 5dd1969a74 feat(light): add light color palette
fix #73
2026-01-09 16:53:43 +09:00
Takuya Matsuyama 250a331b4c feat(group): add incline 2026-01-09 13:04:03 +09:00
Redoxahmii 8cf1e51856 fix(bufferline): add nocombine for hl combine with Tab groups
On nvim 0.11 the highlight groups are merged with `TabLine` now instead of `Normal` and using
nocombine fixes this issue
2025-04-20 02:03:39 +05:00
Redoxahmii 37869a9f2a fix(term): correct opts to opts.option for term 2025-02-18 00:56:09 +05:00
Redoxahmii 2b66377678 feat(blink): change Kind default fallback group to match blink 2025-02-16 05:08:57 +05:00
Redoxahmii 2ac32f10ac style(name): change theme name to light 2025-02-07 13:48:48 +05:00
Redoxahmii c4c6b2e158 fix(fzf-lua): fzfLivePrompt set to Normal to avoid pinkish color when grepping
FzfLua sets pinkish color when usig FzfLua grep through files so resetting to use Normal
2025-02-06 20:06:58 +05:00
Redoxahmii 58ea6a9217 fix(neo-tree): add git-related colors
The colors were defaulting to use hl-groups of `gitsigns` and if you do not have that plugin
installed the colors for the git were all wrong so added those.

Did test it on `main` and that has the same result.
2025-02-05 21:25:16 +05:00
Redoxahmii 5369e9e50e fix(tmux): visibility for colors 2025-01-26 03:24:36 +05:00
Redoxahmii 786e46ce71 chore(defaults): revert back to defaults 2025-01-26 02:23:05 +05:00
Redoxahmii 98b3c46a71 fix(fzf): add groups and set bg 2025-01-25 02:42:26 +05:00
Redoxahmii 9838205909 fix(termux): termux extra working 2025-01-24 09:21:45 +05:00
Redoxahmii 482a9acb7f fix(helix): helix extra working 2025-01-24 09:21:19 +05:00
Redoxahmii a50d7d3128 fix(name): change config naming to solarized-osaka 2025-01-24 09:20:39 +05:00
Redoxahmii 68800c3d25 feat(reassign): assigned all extras to base color 2025-01-24 07:45:57 +05:00
Redoxahmii ded81c7523 chore(reassign): did 3 more 2025-01-24 02:38:00 +05:00
Redoxahmii 5f63fb3779 chore(reassign): assign a few more of the colors 2025-01-24 02:25:11 +05:00
Redoxahmii 1fac64a23c perf(reassign): slowly replace all reassign colors with theme colors 2025-01-24 01:55:24 +05:00
Redoxahmii d4dfdf3e38 feat(extras): add newer extras and assign missing colors 2025-01-24 01:41:46 +05:00
Redoxahmii da1b6f7649 Merge branch 'main' into gen-merge 2025-01-23 13:28:01 +05:00
Redoxahmii 94cfed239a feat(snacks): add snacks.picker hl to match other pickers 2025-01-15 11:44:38 +05:00
Redoxahmii 83958cd5cc feat(lightline): change lightline theme to osaka on setup 2025-01-08 06:48:08 +05:00
Redoxahmii 5791e490ee fix(which-key): misspell correction 2025-01-07 03:23:43 +05:00
Redoxahmii ab3d30c9aa fix(which-key): add WhichKeySeparator group 2025-01-07 03:15:31 +05:00
Redoxahmii 678ed69d08 fix(which-key): remove deprecated group 2025-01-07 03:06:15 +05:00
Redoxahmii 483d5f6494 chore(which-key): remove duplicate 2025-01-07 00:51:44 +05:00
Redoxahmii fbab1f6c00 feat(lightline): lightline colors close to lualine 2025-01-07 00:51:14 +05:00
Redoxahmii 2663501654 fix(term): assign missing term colors
Some checks failed
CI / extras (push) Has been cancelled
CI / tests (ubuntu-latest) (push) Has been cancelled
CI / docs (push) Has been cancelled
CI / release (push) Has been cancelled
2025-01-06 21:08:08 +05:00
Miroslav Lincovschi bed82a2c3a fix: misspell on the plugin name 2025-01-06 11:25:05 +03:00
Miroslav Lincovschi 4dbf58b2a0 fix: misspell on the filename 2025-01-06 11:23:39 +03:00
Miroslav Lincovschi 1dc4548835 feat: commit b2446aa 2025-01-04 00:46:13 +03:00
Miroslav Lincovschi a0e35462c1 fix: remove unnecessary link 2024-12-24 19:52:31 +03:00
Miroslav Lincovschi b25529899e fix: commit aee69e3 2024-12-24 18:54:46 +03:00
Miroslav Lincovschi d4bcea1287 fix: commit 2fa6c30 2024-12-24 18:52:30 +03:00
Miroslav Lincovschi b9772fe601 feat: add fzf-lua hl groups 2024-12-24 18:48:51 +03:00
Miroslav Lincovschi caf0ff3621 style: remove unused comment 2024-12-24 18:48:13 +03:00
Miroslav Lincovschi 97ad4060a1 feat: add blink.cmp hl groups 2024-12-24 18:37:27 +03:00