{"id":22917091,"url":"https://github.com/loiccoyle/tinted-lua","last_synced_at":"2025-06-29T01:33:00.221Z","repository":{"id":266136859,"uuid":"897503284","full_name":"loiccoyle/tinted-lua","owner":"loiccoyle","description":"🎨 base24 and base16 color schemes for lua scripting","archived":false,"fork":false,"pushed_at":"2024-12-14T15:04:24.000Z","size":113,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-07T07:42:02.691Z","etag":null,"topics":["base16","base24","theming","tinted-theming"],"latest_commit_sha":null,"homepage":"","language":"Lua","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/loiccoyle.png","metadata":{"files":{"readme":"README.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":"2024-12-02T18:37:30.000Z","updated_at":"2024-12-14T15:04:27.000Z","dependencies_parsed_at":"2024-12-02T19:43:47.203Z","dependency_job_id":"c6fe4a33-4935-4811-bfb8-d07d2a9a1633","html_url":"https://github.com/loiccoyle/tinted-lua","commit_stats":null,"previous_names":["loiccoyle/tinted-lua"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/loiccoyle%2Ftinted-lua","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/loiccoyle%2Ftinted-lua/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/loiccoyle%2Ftinted-lua/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/loiccoyle%2Ftinted-lua/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/loiccoyle","download_url":"https://codeload.github.com/loiccoyle/tinted-lua/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246642292,"owners_count":20810568,"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":["base16","base24","theming","tinted-theming"],"created_at":"2024-12-14T06:16:05.709Z","updated_at":"2025-04-01T12:45:14.645Z","avatar_url":"https://github.com/loiccoyle.png","language":"Lua","funding_links":[],"categories":[],"sub_categories":[],"readme":"# tinted-lua\n\n\u003e See the [Tinted theming repository](https://github.com/tinted-theming/home) for more information.\n\u003e This theme was built with [Tinted Builder Rust](https://github.com/tinted-theming/tinted-builder-rust).\n\n[Base24](https://github.com/tinted-theming/base24) and [base16](https://github.com/tinted-theming/home/blob/main/styling.md) color schemes for use in lua scripting.\n\n## Example usage\n\n**Modifying the `neovim` [`cattpuccin`](https://github.com/catppuccin/nvim) color palette to be `base24` compatible.**\n\nThis assumes [`lazy.nvim`](https://github.com/folke/lazy.nvim) is used to manage plugin.\n\nCopy over a [`base24` color scheme file](schemes/base24) to `~/.config/nvim/lua/config/colors-base24.lua`\n\nIn `~/.config/nvim/lua/plugins/catppuccin.lua`:\n\n```lua\nreturn {\n  {\n    \"catppuccin/nvim\",\n    name = \"catppuccin\",\n    lazy = false,\n    opts = function(_, opts)\n      local base24 = require(\"config.colors-base24\")\n      local utils = require(\"catppuccin.utils.colors\")\n\n      local steps = 2\n      local interpolated = {}\n      for i = 1, steps do\n        local t = i / (steps + 1)\n        table.insert(interpolated, utils.blend(base24.base04, base24.base05, t))\n      end\n\n      opts.color_overrides = {\n        mocha = {\n          rosewater = base24.base14,\n          flamingo = base24.base0F,\n          pink = base24.base17,\n          mauve = base24.base0E,\n          red = base24.base08,\n          maroon = base24.base12,\n          peach = base24.base09,\n          yellow = base24.base0A,\n          green = base24.base0B,\n          teal = base24.base0C,\n          sky = base24.base15,\n          sapphire = base24.base16,\n          blue = base24.base0D,\n          lavender = base24.base13,\n          text = base24.base07,\n          subtext1 = base24.base06,\n          subtext0 = base24.base05,\n          overlay2 = interpolated[1],\n          overlay1 = interpolated[2],\n          overlay0 = base24.base04,\n          surface2 = base24.base03,\n          surface1 = base24.base02,\n          surface0 = base24.base01,\n          base = base24.base00,\n          mantle = base24.base10,\n          crust = base24.base11,\n        },\n      }\n    end,\n  },\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Floiccoyle%2Ftinted-lua","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Floiccoyle%2Ftinted-lua","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Floiccoyle%2Ftinted-lua/lists"}