{"id":23916668,"url":"https://github.com/grecodavide/custom16","last_synced_at":"2025-10-09T18:37:13.887Z","repository":{"id":270886854,"uuid":"911753064","full_name":"grecodavide/custom16","owner":"grecodavide","description":"My custom colorscheme, based on given palette, that supports hot reloading","archived":false,"fork":false,"pushed_at":"2025-01-03T19:08:51.000Z","size":10,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-03T20:21:43.494Z","etag":null,"topics":["lua","neovim","neovim-colorscheme","neovim-theme","nvim"],"latest_commit_sha":null,"homepage":"","language":"Lua","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/grecodavide.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2025-01-03T19:05:22.000Z","updated_at":"2025-01-03T19:08:55.000Z","dependencies_parsed_at":"2025-01-03T20:31:44.406Z","dependency_job_id":null,"html_url":"https://github.com/grecodavide/custom16","commit_stats":null,"previous_names":["grecodavide/custom16"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/grecodavide%2Fcustom16","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/grecodavide%2Fcustom16/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/grecodavide%2Fcustom16/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/grecodavide%2Fcustom16/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/grecodavide","download_url":"https://codeload.github.com/grecodavide/custom16/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240371762,"owners_count":19790888,"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":["lua","neovim","neovim-colorscheme","neovim-theme","nvim"],"created_at":"2025-01-05T12:13:14.706Z","updated_at":"2025-10-09T18:37:08.868Z","avatar_url":"https://github.com/grecodavide.png","language":"Lua","readme":"# My custom colorscheme.\n## Rationale\nI have a script that manages all my tools' palette. For this reason, I wanted a colorscheme\nthat changed accordingly too. This accomplishes just that, while also never changing\nthe actual colorscheme: the color \"green\" will change, but what is displayed as \"green\" will not.\n\n## How to use\nTo use this, you have to call setup with a lua path to you palette: if your palette\nis in `$XDG_CONFIG_HOME/nvim/lua/config/palette.lua`, then (using lazy.nvim) you would call\n```lua\nreturn {\n    \"https://codeberg.org/davidegreco/custom16\",\n    lazy = false,\n    priority = 1000,\n    opts = {\n        palette_path = \"config.palette\",\n    },\n},\n```\n\nHere is an example of a palette:\n```lua\n-- must return the palette\nreturn {\n    -- base 16 colors\n    main = {\n        \"#141410\",\n        \"#cc241d\",\n        \"#98971a\",\n        \"#d79921\",\n        \"#458588\",\n        \"#b16286\",\n        \"#24837b\",\n        \"#d5c18e\",\n\n        \"#282828\",\n        \"#792329\",\n        \"#98971a\",\n        \"#d65d0e\",\n        \"#7daea3\",\n        \"#8f3f71\",\n        \"#689d6a\",\n        \"#ebdbb2\",\n    },\n    extras = {\n        accent         = \"#24837b\", -- used to display some things like current line nr, LSP server..\n        inactivelinenr = \"#877b5b\", -- color for numbers other than current line\n        comment = \"#746a4f\",        -- comments color\n        split = \"#9b8d67\",          -- color for split separator\n        cursorline = \"#15221c\",     -- color for cursorline. I like to set it same as accent, but dimmed\n    }\n}\n```\n\nNote that this supports hot reloading, so if you change the palette and then set again the colorscheme (e.g. `:colorscheme custom16\u003cCR\u003e`), it will update the colors immediately.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgrecodavide%2Fcustom16","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgrecodavide%2Fcustom16","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgrecodavide%2Fcustom16/lists"}