Skip to content

the-mayankjha/fkthemes.nvim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

21 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

🎨 fkthemes.nvim

A simple yet powerful theme previewer and Selector plugin for Neovim, inspired by the FkVim ecosystem.

FkVim Ecosystem

fkthemes.nvim is a modern Neovim plugin for theme management.
Easily switch, preview, and configure multiple colorschemes with a sleek UI powered by nui.nvim and telescope.nvim.

image

FkThemes

✨ Features

  • πŸ”„ Quick Theme Switching – Move between themes effortlessly.
  • πŸ‘οΈ Live Preview – Preview themes instantly as you navigate.
  • βš™οΈ Highly Configurable – Customize transparency, themes, and keymaps.
  • πŸš€ Modern UI – Built with nui.nvim.
  • πŸ”­ Telescope Integration – Theme selection inside Telescope.

πŸ“‹ Requirements


πŸ“¦ Installation

Using lazy.nvim:

{
  "flashcodes-themayankjha/fkthemes.nvim",
  event = "VeryLazy",
  dependencies = {
    "MunifTanjim/nui.nvim",
    "nvim-telescope/telescope.nvim",
    -- Add your themes here
  },
  config = function()
    require("fkthemes").setup({
      themes = { "tokyonight", "catppuccin", "gruvbox" },
      default_theme = "tokyonight",
      transparent_background = true,
    })
  end,
}

βš™οΈ Configuration

Customize setup() with your options.

Default Settings
{
  transparent_background = false, -- Transparent UI
  themes = {
    "tokyonight",
    "catppuccin",
    "gruvbox",
    "rose-pine",
    "material",
    "moonlight",
  },
  default_theme = "tokyonight",
  keymaps = {
    enable = true, -- Disable to remove default keymaps
    open_picker = {
      lhs = "<leader>tp",
      rhs = "<cmd>FkThemePicker<cr>",
      mode = "n",
      desc = "Open Theme Picker",
    },
    next_theme = {
      lhs = "<leader>tn",
      rhs = "<cmd>FkThemeNext<cr>",
      mode = "n",
      desc = "Next Theme",
    },
  },
}

🎨 Example with Transparency Support

FkThemesTrans

Some themes allow native transparency. Configure them as dependencies:

dependencies = {
  "nvim-telescope/telescope.nvim",

  -- Material
  "marko-cerovac/material.nvim",

  -- Tokyonight
  {
    "folke/tokyonight.nvim",
    config = function()
      require("tokyonight").setup({
        transparent = true,
        styles = {
          sidebars = "transparent",
          floats = "transparent",
        },
      })
    end,
  },

  -- Rose Pine
  { "rose-pine/neovim", name = "rose-pine" },

  -- Catppuccin
  {
    "catppuccin/nvim",
    name = "catppuccin",
    priority = 1000,
    config = function()
      require("catppuccin").setup({
        flavour = "mocha",
        transparent_background = true,
      })
    end,
  },

  -- Others
  "shaunsingh/moonlight.nvim",
  "morhetz/gruvbox",
}

Note Transparency only works properly if your chosen theme supports it.
For the best transparency experience, use fkthemes.nvim with Fkvim.


πŸš€ Usage

  • Open Theme Picker β†’ :FkThemePicker or <leader>tp
  • Next Theme β†’ :FkThemeNext or <leader>tn
  • Preview Live β†’ Navigate themes inside the picker

πŸ’‘ Examples

Basic

require("fkthemes").setup({
  themes = { "catppuccin", "tokyonight", "dracula" },
})

Light/Dark Sets

require("fkthemes").setup({
  themes = {
    light = { "github_light", "solarized_light" },
    dark  = { "catppuccin", "tokyonight", "dracula" },
  },
})

-- Optional command
vim.api.nvim_create_user_command("FkThemesLight", function()
  require("fkthemes").load_theme_set("light")
end, { desc = "Load Light Themes" })

πŸ“¦ Alternatives


πŸ› οΈ Contributing

Contributions are welcome! Feel free to open issues or submit PRs for new features, theme presets, or improvements.


πŸ“œ License

This project is licensed under the MIT License.

About

fkthemes.nvim is a highly customizable and intuitive theme manager plugin designed to bring a seamless theming experience to Neovim users. With Fkthemes.nvim, you can effortlessly switch between multiple themes, enable transparency in various UI components, and even create custom keybindings to cycle through your favorite themes

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages