Skip to content

v5.0.0

Choose a tag to compare

@uhs-robert uhs-robert released this 23 Mar 23:16
· 191 commits to main since this release

🚨 Breaking Change: Major Visual Overhaul

This release marks a substantial redesign of the Oasis palette across all themes. All 13 themes have been reworked with a new unified syntax color language, new background ramps, and refined semantic color relationships. In additin, 2 new themes have been added.

If you prefer the old style and do not wish to use the new design, then please pin the version to v4.2.0 (see below).

📎 Pin to v4.2.0 to Revert This Release

{
  'uhs-robert/oasis.nvim',
  version = '4.2.0',
  config = function()
    require('oasis').setup({})
    vim.cmd.colorscheme('oasis')
  end,
}

Warning

Pinning to an older version will opt you out of all future updates.

When NeoVim and Treesitter updates, you will be responsible for managing your own fixes and may even need to fork.


🥳 What's New

🥇 2 New Themes

  • Scorpion — Scorched red/orange, hot and earthy tones with a venomous green sting
  • Luna — Deep saturated indigo, starry night sky lit up by golden rays of moonlight

🏗️ Major Existing Theme Redesigns

  • ⭐ Night — My new favorite. Redesigned to capture the moody blues of the desert night's sky and pale blue moonlight.
  • Twilight — Redesigned to capture the purple/pink desert sky at twilight with complex red/orange/yellow overtones.

Night Comparison

Old Night (dark)
Old Night
Night
Night (dark)
New Night
Desert Night

Twilight Comparison

Old Twilight (dark)
Old Twilight
Purple
Twilight (dark)
New Twilight
Sunset

🚥 Syntax Color Changes

The next most noticeable change are the syntax colors. Some new colors have been added and many rearranged. The goal of this restructure was to make Oasis feel more like the Desert while also reducing visual noise and color complexity. The bg/fg colors were also darkened globally across all themes for higher contrast.

Refer to screenshots below to see how the default Lagoon has been transformed by the new syntax highlights:

Lagoon Comparison

Old Lagoon (dark)
Old Lagoon
Blue (Default)
Lagoon (dark)
New Lagoon
Blue (Default)
  • Operators: Swapped from red to the primary color of the theme chosen; reduces visual noise and shifts operators to background context
  • Strings/RegEx: Swapped from green to red; adds desert heat to the most long winded data type
  • Parameters: Swapped from purple to green; symbolizes the cactus (uncommon, high visibility)
  • Built in const/var: Swapped from khaki to purple/indigo; desert orchids (rare, highest visibility)
  • PreProc: Swapped from tan to red orange; like heatwaves rising up (preproc is usually at the top)
  • Functions: Swapped from orange to sand; adds an offwhite white sand to functions (making Constant more distinct)
  • Exceptions/Error Handlers: Consistently red; previously only sometimes, now always and will break AAA contrast if needed to be distinct
  • URL's: Use info color blue; sparse bits of water in the desert
    • Statements: Many themes now use khaki as their statement color, like a golden sand

🎨 Palette Redesign

  • Unified syntax color language across all themes: consistent string, regex, operator, punctuation, and bracket values
  • New secondary_strong / secondary_light theme keys for finer accent control
  • Refined background ramps for nearly all palettes for an overall darker vibe. See Lagoon/Twilight screenshots above for example (old appeared muted and light, new is darker and stronger)
  • Updated terminal greens, whites, and diag.info fg across base palette to better reflect the desert vibe
  • Updated matchParen per each theme to add bg
  • Updated search for, in general, active match to be green and inactive matches to be grey

⚙️ New Config Option

  • match_paren_bg: Ability to toggle background on the MatchParen highlight (default: true)

🖌️ New Highlight Groups

  • @type.jsdoc mapped to Typedef
  • Lualine replace/terminal modes updated along with MiniStatusline to now use exception/typedef instead of operator/type

🐛 Bug Fixes

  • Search highlight now uses ui.search.fg instead of fg.strong
  • @string.special.url now uses diagnostic info color instead of statement
  • is_desert flag correctly propagated to light mode palettes

⭐ New Extras

  • Qutebrowser theme generator and generated themes for a Vim inspired web browser
  • Tridactyl theme generator and CSS themes for the very best Vim firefox extension
  • Luna and Scorpion themes added to all extras

Full Changelog: v4.2.0...v5.0.0