{"id":16880096,"url":"https://github.com/huahuai23/nvim-quietlight","last_synced_at":"2025-04-11T20:11:33.504Z","repository":{"id":73764734,"uuid":"597366069","full_name":"HUAHUAI23/nvim-quietlight","owner":"HUAHUAI23","description":"A theme for Neovim with support for LSP, Treesitter,  and more.","archived":false,"fork":false,"pushed_at":"2023-03-18T14:23:41.000Z","size":4894,"stargazers_count":8,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-25T16:09:44.486Z","etag":null,"topics":["neovim","nvim","nvim-theme","theme","themes","vim"],"latest_commit_sha":null,"homepage":"","language":"Vim Script","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/HUAHUAI23.png","metadata":{"files":{"readme":"README-zh.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-02-04T10:22:10.000Z","updated_at":"2025-03-21T13:04:55.000Z","dependencies_parsed_at":null,"dependency_job_id":"52bb43b9-377c-4743-a3d8-1c3785851f9e","html_url":"https://github.com/HUAHUAI23/nvim-quietlight","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HUAHUAI23%2Fnvim-quietlight","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HUAHUAI23%2Fnvim-quietlight/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HUAHUAI23%2Fnvim-quietlight/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HUAHUAI23%2Fnvim-quietlight/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/HUAHUAI23","download_url":"https://codeload.github.com/HUAHUAI23/nvim-quietlight/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248473127,"owners_count":21109628,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["neovim","nvim","nvim-theme","theme","themes","vim"],"created_at":"2024-10-13T15:57:16.069Z","updated_at":"2025-04-11T20:11:33.497Z","avatar_url":"https://github.com/HUAHUAI23.png","language":"Vim Script","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003csection align=\"center\"\u003e\n  \u003cimg  src=\"./stuff/giphy.gif\" width=\"100\"/\u003e\n  \u003cbr\u003e\n  \u003cp\u003equietlight 主题源自 \u003ca href=\"https://github.com/microsoft/vscode/blob/main/extensions/theme-quietlight/themes/quietlight-color-theme.json\"\u003evscode quietlight theme\u003c/a\u003e 和 \u003ca href=\"https://github.com/aonemd/quietlight.vim\"\u003equietlight.vim\u003c/a\u003e\n  \u003c/p\u003e\n  \u003chr\u003e\n\u003c/section\u003e\n\n\u003ctable align=\"center\"\u003e\n  \u003ctr\u003e\n    \u003ctd\u003e\n      \u003cimg width=\"767\" alt=\"Lua\" src=\"./stuff/1.png\"\u003e\n    \u003c/td\u003e\n    \u003ctd\u003e\n      \u003cimg width=\"767\" alt=\"Python\" src=\"./stuff/2.png\"\u003e\n    \u003c/td\u003e\n  \u003c/tr\u003e\n  \u003ctr\u003e\n    \u003ctd\u003e\n      \u003cimg width=\"767\" alt=\"nvim-tree\" src=\"./stuff/3.png\"\u003e\n    \u003c/td\u003e\n    \u003ctd\u003e\n      \u003cimg width=\"767\" alt=\"telescope.nvim\" src=\"./stuff/4.png\"\u003e\n    \u003c/td\u003e\n  \u003c/tr\u003e\n\u003c/table\u003e\n\u003cbr\u003e\n\n状态栏插件：[**lualine.nvim**](https://github.com/nvim-lualine/lualine.nvim)， Tab插件：[**bufferline.nvim**](https://github.com/akinsho/bufferline.nvim)，winbar插件：[**winbar.nvim**](https://github.com/fgheng/winbar.nvim)\n\n## 准备\n\n1. Neovim v0.7.0 或更高的版本，不支持VIM，要VIM支持的quietlight可以看这个[quietlight.nvim](https://github.com/aonemd/quietlight.vim)\n2. 终端最好支持真彩 （`vim.opt.termguicolors = true`），不支持真彩就只能用 ANSI-256色了\n\n## 安装与使用\n\n通过nvim插件管理器packer安装，方法如下：\n\n```lua\nuse(\"HUAHUAI23/nvim-quietlight\") -- packer.nvim\n```\n\n设置nvim主题，下面将使用quietlight的默认配置\n\n```lua\nvim.opt.background = 'light'\nvim.cmd('colorscheme quietlight')\n-- add this for disable colorcolumn\nvim.cmd(\"highlight clear ColorColumn\")\n```\n\n## 配置\n\n下面是quietlight的默认设置，这些设置可以被用户自定义。\n\n```lua\nrequire(\"nvim-quietlight\").setup({\n ansi_terminal_colors = \"\",  -- \"colors1\", \"colors2\" or \"colors3\"\n transparent_background = false,\n dim_inactive_windows = {\n  enabled = false,\n  color = nil,\n },\n syntax = {\n  booleans = {}, --{ bold = true, italic = true } or { fg = \"#xxxxxx\", bg=\"#xxxxxx\" }\n  comments = {}, -- see nvim.api.nvim_set_hl  https://neovim.io/doc/user/api.html\n  identifiers = {},\n  statements = {},\n  conditionals = {},\n  constants = {},\n  fields = {},\n  functions = {},\n  keywords = {},\n  loops = {},\n  numbers = {},\n  operators = {},\n  punctuation = {},\n  strings = {},\n  types = {},\n  preproc = {},\n },\n plugins = {\n  gitsigns = true,\n  lsp = true,\n  bufferline = true,\n  treesitter = true,\n  notify = true,\n  nvimtree = true,\n  indentline = true,\n },\n})\n```\n\n必须在 `:colorscheme quietlight` 设置nvim主题前调用 `setup` 函数来对quietlight进行配置，否则用户配置不会生效，将会使用默认配置\n\n\u003e 配置项如果是空表 (`table`)，例如 `statements = {}` 将会使用默认配置\n\n你可以制作自己的插件高亮组，然后放在[这里](https://github.com/HUAHUAI23/nvim-quietlight/tree/main/lua/nvim-quietlight/hl_group/plugins)  \nwindow terminal [主题](./extras/terminal/theme.json)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhuahuai23%2Fnvim-quietlight","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhuahuai23%2Fnvim-quietlight","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhuahuai23%2Fnvim-quietlight/lists"}