{"id":14981770,"url":"https://github.com/lunarvim/colorgen-nvim","last_synced_at":"2025-10-28T22:35:27.604Z","repository":{"id":45807618,"uuid":"514107101","full_name":"LunarVim/colorgen-nvim","owner":"LunarVim","description":":rocket: Blazingly fast colorscheme generator for Neovim written in Rust :crab:","archived":false,"fork":false,"pushed_at":"2024-05-19T18:35:24.000Z","size":149,"stargazers_count":245,"open_issues_count":5,"forks_count":11,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-08-12T15:31:55.769Z","etag":null,"topics":["colorscheme","colorscheme-generator","lua","neovim","nvim","rust"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/LunarVim.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","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},"funding":{"github":"christianchiarulli","patreon":"chrisatmachine"}},"created_at":"2022-07-15T02:21:40.000Z","updated_at":"2025-08-09T00:28:07.000Z","dependencies_parsed_at":"2024-01-16T07:39:56.336Z","dependency_job_id":"3e6a2814-e171-4dfa-a09f-e93f7f400710","html_url":"https://github.com/LunarVim/colorgen-nvim","commit_stats":null,"previous_names":["christianchiarulli/colorgen-nvim"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/LunarVim/colorgen-nvim","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LunarVim%2Fcolorgen-nvim","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LunarVim%2Fcolorgen-nvim/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LunarVim%2Fcolorgen-nvim/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LunarVim%2Fcolorgen-nvim/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/LunarVim","download_url":"https://codeload.github.com/LunarVim/colorgen-nvim/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LunarVim%2Fcolorgen-nvim/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273122122,"owners_count":25049539,"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","status":"online","status_checked_at":"2025-09-01T02:00:09.058Z","response_time":120,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["colorscheme","colorscheme-generator","lua","neovim","nvim","rust"],"created_at":"2024-09-24T14:04:13.807Z","updated_at":"2025-10-28T22:35:22.565Z","avatar_url":"https://github.com/LunarVim.png","language":"Rust","readme":"![banner](./assets/colorgen.png?raw=true 'banner')\n\n# colorgen-nvim\n\n🚀 A colorscheme generator for Neovim written in Rust 🦀\n\n## Installing\n\nFrom `crates.io`:\n\n```sh\ncargo install colorgen-nvim\n```\n\nFor development version\n\n```sh\ncargo install --git https://github.com/ChristianChiarulli/colorgen-nvim\n```\n\n## Usage\n\nCreate a toml file containing your highlight groups, there is an example in this repo called `user_template.toml`\n\n**_NOTE_**: You can call this file whatever you want\n\n```sh\ncolorgen-nvim user_template.toml\n```\n\n## Template\n\nThe template must contain a `information` section and a `palette` section\n\nExample:\n\n```toml\n[information]\n name = \"onedarker\"\n background = \"dark\"\n author = 'Christian Chiarulli \u003cchrisatmachine@gmail.com\u003e'\n\n[palette]\n fg = '#abb2bf'\n bg = '#1e222a'\n\n white = '#abb2bf'\n gray = '#545862'\n blue = '#519fdf'\n green = '#88b369'\n cyan = '#46a6b2'\n red = '#d05c65'\n orange = '#c18a56'\n yellow = '#d5b06b'\n purple = '#b668cd'\n magenta = '#D16D9E'\n```\n\nYou can define color options in the palette section and use them later to set colors for different highlight groups\n\nExample:\n\n```toml\n[highlights]\n Normal = 'fg bg'\n SignColumn = '- bg'\n MsgArea = 'fg bg'\n ModeMsg = 'fg bg'\n MsgSeparator = 'fg bg'\n SpellBad = 'red - u'\n SpellCap = 'yellow - u'\n SpellLocal = 'green - u'\n SpellRare = 'purple - u'\n NormalNC = 'fg bg'\n Pmenu = 'red bg - - 50'\n PmenuSel = '- blue'\n WildMenu = 'fg blue'\n CursorLineNr = 'light_gray - b'\n Comment = 'gray - i'\n\n[Treesitter]\n TSComment = 'link:Comment'\n TSAnnotation = 'blue'\n TSAttribute = 'cyan'\n TSConstructor = 'cyan'\n TSType = 'cyan'\n```\n\nThe format is `foreground background style special blend`\n\nYou can also choose to link a highlight group to another by passing `link:\u003cname of hl group\u003e`\n\nThe `-` is used to skip a particular section and replace it with `NONE`\n\nStyle Options:\n\n- `o`: standout\n- `u`: underline\n- `c`: undercurl\n- `d`: underdouble\n- `t`: underdotted\n- `h`: underdashed\n- `s`: strikethrough\n- `i`: italic\n- `b`: bold\n- `r`: reverse\n- `n`: nocombine\n\nYou can also generate global variables for the colorscheme, which might be needed for some plugins.\n\n```toml\n[global]\nvariable = \"\u003ccontent\u003e\"\n```\n\nWhere `\"\u003ccontent\u003e\"` accepts any string.\n\nTODO:\n\n- support transparent background (this could get tricky with other plugins, considering bg:optional, if you put that then setting the transparent flag will set it to none) \n\n- italic comments\n\n## Inspiration and Credits\n\n- [vim-felipec](https://github.com/felipec/vim-felipec)\n- [ez.nvim](https://github.com/murtaza-u/ez.nvim)\n","funding_links":["https://github.com/sponsors/christianchiarulli","https://patreon.com/chrisatmachine"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flunarvim%2Fcolorgen-nvim","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flunarvim%2Fcolorgen-nvim","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flunarvim%2Fcolorgen-nvim/lists"}