{"id":25936688,"url":"https://github.com/alexxgmz/e-ink.nvim","last_synced_at":"2025-04-06T20:09:01.363Z","repository":{"id":279209091,"uuid":"937619813","full_name":"alexxGmZ/e-ink.nvim","owner":"alexxGmZ","description":"A grayscale colorscheme for NeoVim","archived":false,"fork":false,"pushed_at":"2025-04-05T10:35:57.000Z","size":44,"stargazers_count":130,"open_issues_count":0,"forks_count":6,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-04-06T20:08:50.414Z","etag":null,"topics":["colorscheme","grayscale","light-mode","neovim","nvim","theme"],"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/alexxGmZ.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":"2025-02-23T14:10:10.000Z","updated_at":"2025-04-06T17:31:07.000Z","dependencies_parsed_at":"2025-02-24T11:44:22.342Z","dependency_job_id":"72813204-f797-40ec-9386-b2453f161816","html_url":"https://github.com/alexxGmZ/e-ink.nvim","commit_stats":null,"previous_names":["alexxgmz/e-ink.nvim"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexxGmZ%2Fe-ink.nvim","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexxGmZ%2Fe-ink.nvim/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexxGmZ%2Fe-ink.nvim/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexxGmZ%2Fe-ink.nvim/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/alexxGmZ","download_url":"https://codeload.github.com/alexxGmZ/e-ink.nvim/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247543589,"owners_count":20955865,"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":["colorscheme","grayscale","light-mode","neovim","nvim","theme"],"created_at":"2025-03-04T02:45:17.821Z","updated_at":"2025-04-06T20:09:01.319Z","avatar_url":"https://github.com/alexxGmZ.png","language":"Lua","funding_links":[],"categories":[],"sub_categories":[],"readme":"# e-ink.nvim\n\nA grayscale colorscheme with a hint of [Everforest](https://github.com/sainnhe/everforest)\nfor NeoVim.\n\n![palette](https://github.com/user-attachments/assets/38009bf4-b9b0-418b-b855-c9e640e4e03a)\n\n![Screenshot_2025-02-24_19-14-41](https://github.com/user-attachments/assets/2e0de592-ec84-4cd6-9a03-ff03a360ab08)\n\nGood for Note-taking.\n![Screenshot_2025-02-24_19-22-16](https://github.com/user-attachments/assets/1e2fa144-949c-4bb2-82e1-4e5825f9a87c)\n\nLua, Go, \u0026 JavaScript.\n![Screenshot_2025-02-25_10-11-05](https://github.com/user-attachments/assets/b666239d-8d29-4331-b806-b4d25661ddd9)\n\nDark Mode\n![dark-mode-3](https://github.com/user-attachments/assets/32cde8dc-772f-41d6-99f8-c4e431a40bf0)\n\n![dark-mode-2](https://github.com/user-attachments/assets/86c2abcf-de44-4749-8e2c-da5d9a87a54b)\n\n\u0026nbsp;\n\n## Installation\n\n**Lazy:**\n\n```lua\nreturn {\n   \"alexxGmZ/e-ink.nvim\",\n   priority = 1000,\n   config = function ()\n      require(\"e-ink\").setup()\n      vim.cmd.colorscheme \"e-ink\"\n\n      -- choose light mode or dark mode\n      -- vim.opt.background = \"dark\"\n      -- vim.opt.background = \"light\"\n      --\n      -- or do\n      -- :set background=dark\n      -- :set background=light\n   end\n}\n```\n\n\u0026nbsp;\n\n## Highlight Override\n\nFor overriding highlight groups, just call the `palette` API and use\n`vim.api.nvim_set_hl` after the colorscheme declaration.\n\n```lua\nlocal set_hl = vim.api.nvim_set_hl\nlocal mono = require(\"e-ink.palette\").mono()\n\n--[[\n-- light mode\n{\n   \"#CCCCCC\", \"#C2C2C2\", \"#B8B8B8\", \"#AEAEAE\", \"#A4A4A4\", \"#9A9A9A\", \"#909090\", \"#868686\",\n   \"#7C7C7C\", \"#727272\", \"#686868\", \"#5E5E5E\", \"#545454\", \"#4A4A4A\", \"#474747\", \"#333333\"\n}\n\n-- dark mode\n{\n   \"#333333\", \"#474747\", \"#4A4A4A\", \"#545454\", \"#5E5E5E\", \"#686868\", \"#727272\", \"#7C7C7C\",\n   \"#868686\", \"#909090\", \"#9A9A9A\", \"#A4A4A4\", \"#AEAEAE\", \"#B8B8B8\", \"#C2C2C2\", \"#CCCCCC\"\n}\n]]\n\nlocal everforest = require(\"e-ink.palette\").everforest()\n--[[\n-- light mode\n{\n   red = \"#F85552\",\n   statusline3 = \"#E66868\",\n   bg_red = \"#FFE7DE\",\n   yellow = \"#DFA000\",\n   green = \"#8DA101\",\n   statusline1 = \"#93B259\",\n   bg_green = \"#f3f5d9\",\n   blue = \"#3A94C5\",\n   bg_blue = \"#ECF5ED\",\n   aqua = \"#35A77C\",\n   purple = \"#DF69BA\",\n   orange = \"#F57D26\"\n}\n\n-- dark mode\n{\n   red = \"#E67E80\",\n   statusline3 = \"#E67E80\",\n   bg_red = \"#4C3743\",\n   yellow = \"#DBBC7F\",\n   green = \"#A7C080\",\n   statusline1 = \"#A7C080\",\n   bg_green = \"#3C4841\",\n   blue = \"#7FBBB3\",\n   bg_blue = \"#384B55\",\n   aqua = \"#83C092\",\n   purple = \"#D699B6\",\n   orange = \"#E69875\"\n}\n]]\n\nset_hl(0, \"Group\", { fg = mono[15] })\nset_hl(0, \"Group\", { fg = everforest.green })\n```\n\n### Transparent Background\n\n```lua\nlocal set_hl = vim.api.nvim_set_hl\nlocal mono = require(\"e-ink.palette\").mono()\n\nset_hl(0, \"Normal\", { fg = mono[12], bg = \"NONE\" })\n```\n\nor depending on the value of `vim.o.background`.\n\n```lua\nlocal set_hl = vim.api.nvim_set_hl\nlocal mono = require(\"e-ink.palette\").mono()\n\n-- transparent only when `:set background=dark`\nif vim.o.background == \"dark\" then\n   set_hl(0, \"Normal\", { fg = mono[12], bg = \"NONE\" })\nend\n```\n\n\u0026nbsp;\n\n## Application Ports\n\n* [Kitty](https://github.com/alexxGmZ/e-ink.kitty)\n* [cmus](https://github.com/alexxGmZ/e-ink.cmus)\n* [termux](https://github.com/alexxGmZ/e-ink.termux)\n* [ghostty](https://github.com/alexxGmZ/e-ink.ghostty)\n\n\u0026nbsp;\n\n## Special Thanks\n\nThe inspiration for this colorscheme is from this [r/unixporn post](https://www.reddit.com/r/unixporn/comments/1ivfd53/rectangle_i_really_really_like_eink/)\nof [u/TheDangleberry](https://www.reddit.com/user/TheDangleberry/submitted/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falexxgmz%2Fe-ink.nvim","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falexxgmz%2Fe-ink.nvim","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falexxgmz%2Fe-ink.nvim/lists"}