Skip to content

About

A color scheme based on Solarized Dark, leaning towards a dimmed look

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

16 Commits

Folders and files

Repository files navigation

dim-solarized.nvim

A softer, more muted take on Solarized Dark.

Palette

dim-solarized color palette

Syntax colors

The v0.1.1 palette is retained. Solarized's blue functions, yellow types, green keywords, and a shared cyan family for strings, numbers, constants, and booleans anchor the syntax. Routine identifiers stay neutral to keep the emphasis on functions, types, and control flow.

Role Color
Variables, parameters, properties Normal foreground
Functions, methods Blue
Types, classes, namespaces Yellow
Keywords, control flow Green
Strings, characters Cyan
Numbers, floats Cyan
Named constants, enum members Cyan
Booleans Cyan
Comments, punctuation Muted foregrounds

Related roles share a family: imports, macros, and escapes use orange. Tree-sitter and LSP use matching colors. A readonly local retains its syntax role, including blue callable names. Generic semantic variables preserve the underlying syntax; without a syntax capture they inherit the normal foreground.

Requirements

  • Neovim (tested on 0.9.5, 0.10.4, 0.11.5, and 0.12.5)
  • True color support (vim.o.termguicolors = true)

Installation

lazy.nvim

{
  "pitahashi/dim-solarized.nvim",
  lazy = false,
  priority = 1000,
  opts = {},
  config = function(_, opts)
    require("dim-solarized").setup(opts)
    vim.cmd.colorscheme("dim-solarized")
  end,
}

Documentation

:help dim-solarized

Default Configuration

require("dim-solarized").setup({
	transparent = false,
	italic_comments = true,
	on_colors = function(c) end,
	on_highlights = function(c, groups)
		return {}
	end,
})

Configuration Example

require("dim-solarized").setup({
	on_colors = function(c)
		c.bg = "#001f27"
	end,
	on_highlights = function(c)
		return {
			CursorLine = { bg = c.bg_sel },
			["@comment.todo"] = { fg = c.orange, bold = true },
		}
	end,
})

AI Assistance

This project was developed with assistance from Claude Code and Codex.

Acknowledgements

The color design is based on Solarized by Ethan Schoonover (MIT License). This is an independent project and is not affiliated with the original. Solarized's license notice is included in LICENSE.

About

A color scheme based on Solarized Dark, leaning towards a dimmed look

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages