Skip to content

Dark theme with relaxing and no-saturated colors

License

Notifications You must be signed in to change notification settings

gmsandro/oldworld.nvim

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

65 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OldWorld.nvim

After a long time using themes with bright and saturated colors, I've decided to give my eyes a more relaxing view. OldWorld is a theme heavily based on mellow.nvim but adding new colors and new integrations with different plugins.

Why not simply fork it? I've thought about it carefully, but my idea with the theme is to add new colors, changing some of the existing ones, which would eventually result in a different theme.

📷 Preview

image

🎨 Pallete

oldworld (1)

📦 Installation

With lazy.nvim:

{
    "dgox16/oldworld.nvim",
    lazy = false,
    priority = 1000,
}

🚀 Usage

Using lua:

vim.cmd.colorscheme("oldworld")

⚙️ Configuration

The theme will use the default values unless you change the default configuration shown below:

local default_config = {
    terminal_colors = true, -- enable terminal colors
    styles = { -- You can pass the style using the format: style = true
        comments = {}, -- style for comments
        keywords = {}, -- style for keywords
        identifiers = {}, -- style for identifiers
        functions = {}, -- style for functions
        variables = {}, -- style for variables
        booleans = {}, -- style for booleans
    },
    integrations = { -- You can disable/enable integrations
        alpha = true,
        cmp = true,
        flash = true,
        gitsigns = true,
        hop = false,
        indent_blankline = true,
        lazy = true,
        lsp = true,
        markdown = true,
        mason = true,
        navic = false,
        neo_tree = false,
        neorg = false,
        noice = true,
        notify = true,
        rainbow_delimiters = true,
        telescope = true,
        treesitter = true,
    },
    highlight_overrides = {}
}

To configure a setting, you should pass that setting with the changed value following the structure of the default configuration.

require("oldworld").setup({
    styles = {
        booleans = { italic = true, bold = true },
    },
    integrations = {
        hop = true,
        telescope = false,
    },
    highlight_overrides = {
        Comment = { bg = "#ff0000" }
    }
})

🔥 Contributing

It's my first theme and my first Neovim plugin. I know in advance that there will be several things to improve. If you like the theme and find an improvement, you can make a PR, and I'll review it. The intention is to create a more comprehensive theme.

🎙️ Acknowledgements

  • mellow.nvim used its amazing color palette and styles as a base.

About

Dark theme with relaxing and no-saturated colors

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Lua 92.0%
  • Shell 8.0%