{"id":13683062,"url":"https://github.com/rhysd/vim-color-spring-night","last_synced_at":"2025-05-16T14:09:28.782Z","repository":{"id":14373009,"uuid":"76405406","full_name":"rhysd/vim-color-spring-night","owner":"rhysd","description":"Low-contrast calm color scheme for Vim","archived":false,"fork":false,"pushed_at":"2025-05-10T13:24:53.000Z","size":336,"stargazers_count":289,"open_issues_count":3,"forks_count":18,"subscribers_count":10,"default_branch":"master","last_synced_at":"2025-05-10T14:34:05.023Z","etag":null,"topics":["blue","colorscheme","dark-theme","vim","vim-plugin"],"latest_commit_sha":null,"homepage":"https://rhysd.github.io/vim-color-spring-night","language":"Rust","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/rhysd.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,"zenodo":null}},"created_at":"2016-12-13T22:57:23.000Z","updated_at":"2025-05-10T13:24:57.000Z","dependencies_parsed_at":"2024-01-14T16:09:45.166Z","dependency_job_id":"0fd8dacf-a7dc-443f-807f-0fbdbda36c3c","html_url":"https://github.com/rhysd/vim-color-spring-night","commit_stats":{"total_commits":249,"total_committers":7,"mean_commits":35.57142857142857,"dds":"0.028112449799196804","last_synced_commit":"6a0d4e2f3473527925590a5e4f05043240f6b358"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rhysd%2Fvim-color-spring-night","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rhysd%2Fvim-color-spring-night/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rhysd%2Fvim-color-spring-night/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rhysd%2Fvim-color-spring-night/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rhysd","download_url":"https://codeload.github.com/rhysd/vim-color-spring-night/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254544158,"owners_count":22088808,"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":["blue","colorscheme","dark-theme","vim","vim-plugin"],"created_at":"2024-08-02T13:01:59.028Z","updated_at":"2025-05-16T14:09:23.767Z","avatar_url":"https://github.com/rhysd.png","language":"Rust","funding_links":[],"categories":["Rust"],"sub_categories":[],"readme":"Spring Night: Calm Spring Color Scheme for Vim\n==============================================\n[![CI status][]][CI]\n\n[Spring Night color theme][repo] is a low contrast calm color scheme for Vim and Neovim.\nIt's colored with deep blue background, shiny yellow foreground and *sakura*:cherry_blossom:\ntext selection.\n\n- Both GUI/CUI 24bit colors and CUI 256 colors.\n- Aware of running Vim on translucent window.\n- Enable to tweak contrast.\n- Enable to opt out italic/bold decoration.\n- Optimized for loading time by generating optimized script.\n- Optimized for many filetypes.\n- Support [vim-gitgutter][] and other several plugins.\n- Support Neovim/Vim (8.0.1685 or later) terminal ANSI colors.\n- Support Neovim float window colors.\n\n\n## On gVim (MacVim)\n\n| Vim script                       | Go                       |\n|----------------------------------|--------------------------|\n| ![Vim script on gVim (MacVim)][] | ![Go on gVim (MacVim)][] |\n\n\n## On Translucent Terminal (24bit colors)\n\n| Vim script                           | Go                           |\n|--------------------------------------|------------------------------|\n| ![Vim script on Vim (24bit color)][] | ![Go on Vim (24bit color)][] |\n\n\n## On Translucent Terminal (8bit colors)\n\n| Vim script                          | Go                          |\n|-------------------------------------|-----------------------------|\n| ![Vim script on Vim (8bit color)][] | ![Go on Vim (8bit color)][] |\n\nIf you want to see more code, please visit the [demo page site][demo].\n\n\n## Installation\n\nCopy `colors` directory into your `~/.vim` (or `~/vimfiles` on Windows) or use `:packadd` (Vim8)\nor use your favorite plugin manager.\n\n\n## Usage\n\nWrite the below line in your `.vimrc`.\n\n```vim\ncolorscheme spring-night\n```\n\nIf you use [vim-airline][], this plugin provides a theme for it.\n\n```vim\nlet g:airline_theme = 'spring_night'\n```\n\nIf you use [lightline.vim](https://github.com/itchyny/lightline.vim), this plugin provides a theme\nfor it.\n\n```vim\nlet g:lightline.colorscheme = 'spring_night'\n```\n\nIf you want to enable 24bit colors on Vim in a terminal window, you would need to set `termguicolors`\noption. Please note that it requires an ISO-8613-3 compatible terminal.\n\n```vim\n\" For Vim 7.4.1799 or later\nif has('termguicolors')\n    let \u0026t_8f = \"\\\u003cEsc\u003e[38;2;%lu;%lu;%lum\"\n    let \u0026t_8b = \"\\\u003cEsc\u003e[48;2;%lu;%lu;%lum\"\n    set termguicolors\nendif\n\n\" For Neovim 0.1.5 or later\nset termguicolors\n```\n\n## Customization\n\nThis colorscheme provides some customization points. Please note that these variables must be\ndefined before running `:colorscheme` command.\n\n### `g:spring_night_kill_italic`\n\nType: boolean\n\nIf `1`, this colorscheme does not use italic attributes. The default value is `0`.\n\n### `g:spring_night_kill_bold`\n\nType: boolean\n\nIf `1`, this colorscheme does not use bold attribute. The default value is `0`.\n\n### `g:spring_night_high_contrast`\n\nType: boolean\n\nIf `1`, it uses a bit high contrast colors. The default value depends on `termguicolors` option and\nwhether on GUI or CUI Vim is running.\n\n### `g:spring_night_highlight_terminal`\n\nType: boolean\n\nIf `1`, a terminal window opened by `:terminal` command is also highlighted with this colorscheme.\nOtherwise the default ANSI colors are used. The default value is `1`.\n\n### `g:spring_night_cterm_italic`\n\nType: boolean\n\nIf `1`, italic font is enabled even in a terminal. This variable is useful when your terminal supports\nitalic fonts. The default value is `0`.\n\n\n## Optimized Filetypes and Plugins\n\nColor layouts are optimized for following filetypes/plugins:\n\n- `c`\n- `cpp`\n- `diff`\n- `gitcommit`\n- `go`\n- `help`\n- `html`\n- `javascript`\n- `markdown`\n- `ocaml`\n- `python`\n- `rst`\n- `ruby`\n- `rust`\n- `toml`\n- `tmux`\n- `typescript` ([yats.vim][])\n- `vim`\n- `wast`\n- `zig`\n- `zsh`\n- [ctrlp][]\n- [vim-gitgutter][]\n- [vim-easymotion][]\n- [clever-f.vim][]\n- [vimfiler.vim][]\n- [ale][]\n- [vim-highlightedyank][]\n- [vim-indent-guides][]\n- ... and more\n\n\n## Optimized Loading Time\n\nThe colorscheme file is generated by [the script](gen/src/main.rs) being optimized for loading time\nat Vim startup. In my environment, Vim loading time got 10x faster than before generating\ncolorscheme file.\n\n\n## iTerm2 theme\n\nThis repository provides [iTerm2](https://iterm2.com/) theme of this colorscheme.\n\n![iTerm2 theme](https://github.com/rhysd/ss/blob/master/vim-color-spring-night/iterm2.png?raw=true)\n\nHow to apply this theme:\n\n1. Download [spring-night.itermcolors](./iterm2/spring-night.itermcolors)\n2. Open iTerm2\n3. 'Preferences' → 'Profiles' → 'Colors'\n4. Click 'Colors Presets...' dropdown and select 'Import...'\n5. Select the downloaded file at 1.\n6. Click 'Colors Presets...' again\n7. Select 'spring-night'\n\n## Alacritty theme\n\nThis repository provides [Alacritty](https://alacritty.org/) theme of this colorscheme.\n\n![Alacritty theme](https://github.com/rhysd/ss/blob/master/vim-color-spring-night/alacritty.png?raw=true)\n\nHow to apply this theme:\n\n1. Download [spring_night.toml](./alacritty/spring_night.toml) to `~/.config/alacritty/theme/spring_night.toml`\n2. Add the following configuration to `~/.config/alacritty/alacritty.toml`\n\n```toml\n[general]\nimport = [\n    \"~/.config/alacritty/theme/spring_night.toml\"\n]\n```\n\n\n## Contributing to This Project\n\nIf you find some odd highlight, I'll be happy if you report it to\n[issues](https://github.com/rhysd/vim-color-spring-night/issues/new) with how to reproduce it.\nAnd pull requests are of course welcome :smile:.\n\nThe colorscheme file is generated by [the script](gen/src/main.rs). Please do not modify\n`spring_night.vim` directly. Modify the script instead. Please read [the README for the script](gen/README.md)\nfor more details.\n\nTo know the color palette, please read the `Palette::default` method in the script.\n\n\n## Bonus: Slack Theme\n\n```\n#132132,#3a4b5c,#fedf81,#132132,#8090a0,#fffeeb,#a9dd9d,#a9667a\n```\n\n\n## License\n\nLicensed under the [MIT license](https://opensource.org/license/mit).\n\n```\nMIT License\n\nCopyright (c) 2016 rhysd\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies\nof the Software, and to permit persons to whom the Software is furnished to do so,\nsubject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,\nINCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR\nPURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE\nLIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,\nTORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR\nTHE USE OR OTHER DEALINGS IN THE SOFTWARE.\n```\n\n[demo]: https://rhysd.github.io/vim-color-spring-night\n[repo]: https://github.com/rhysd/vim-color-spring-night\n[vim-airline]: https://github.com/vim-airline/vim-airline\n[vim-gitgutter]: https://github.com/airblade/vim-gitgutter\n[ctrlp]: https://github.com/ctrlpvim/ctrlp.vim\n[vim-easymotion]: https://github.com/easymotion/vim-easymotion\n[Vim script on gVim (MacVim)]: https://github.com/rhysd/ss/blob/master/vim-color-spring-night/gui-vim.jpg?raw=true\n[Go on gVim (MacVim)]: https://github.com/rhysd/ss/blob/master/vim-color-spring-night/gui-go.jpg?raw=true\n[Vim script on Vim (24bit color)]: https://github.com/rhysd/ss/blob/master/vim-color-spring-night/terminal-64bit-vim.jpg?raw=true\n[Go on Vim (24bit color)]: https://github.com/rhysd/ss/blob/master/vim-color-spring-night/terminal-64bit-go.jpg?raw=true\n[Vim script on Vim (8bit color)]: https://github.com/rhysd/ss/blob/master/vim-color-spring-night/terminal-8bit-vim.jpg?raw=true\n[Go on Vim (8bit color)]: https://github.com/rhysd/ss/blob/master/vim-color-spring-night/terminal-8bit-go.jpg?raw=true\n[clever-f.vim]: https://github.com/rhysd/clever-f.vim\n[vimfiler.vim]: https://github.com/Shougo/vimfiler.vim\n[ale]: https://github.com/w0rp/ale\n[vim-highlightedyank]: https://github.com/machakann/vim-highlightedyank\n[yats.vim]: https://github.com/HerringtonDarkholme/yats.vim\n[vim-indent-guides]: https://github.com/preservim/vim-indent-guides\n[CI status]: https://github.com/rhysd/vim-color-spring-night/actions/workflows/ci.yml/badge.svg\n[CI]: https://github.com/rhysd/vim-color-spring-night/actions/workflows/ci.yml\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frhysd%2Fvim-color-spring-night","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frhysd%2Fvim-color-spring-night","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frhysd%2Fvim-color-spring-night/lists"}