https://github.com/protesilaos/tempus-themes-vim
[Mirror] Tempus is a collection of themes for Vim, text editors, and terminal emulators that are compliant at the very least with the WCAG AA accessibility standard for colour contrast. This repo contains only the Vim files.
https://github.com/protesilaos/tempus-themes-vim
tempus-themes vim wcag-aa wcag-aaa
Last synced: 11 days ago
JSON representation
[Mirror] Tempus is a collection of themes for Vim, text editors, and terminal emulators that are compliant at the very least with the WCAG AA accessibility standard for colour contrast. This repo contains only the Vim files.
- Host: GitHub
- URL: https://github.com/protesilaos/tempus-themes-vim
- Owner: protesilaos
- License: gpl-3.0
- Created: 2017-11-19T13:04:33.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2021-05-14T12:08:27.000Z (about 5 years ago)
- Last Synced: 2025-10-28T18:45:30.920Z (9 months ago)
- Topics: tempus-themes, vim, wcag-aa, wcag-aaa
- Language: Vim script
- Homepage: https://protesilaos.com/tempus-themes
- Size: 127 KB
- Stars: 5
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# Tempus Themes for Vim
The theme files can be copied manually or installed as a bundle with a
plugin.
## 1 Manual method: we use the command line
Start by cloning the `tempus-themes-vim` repo and entering it (unless
you prefer copy-pasting, in which case adapt accordingly):
```sh
git clone https://gitlab.com/protesilaos/tempus-themes-vim.git --depth 1 && cd tempus-themes-vim
```
### 1.1 Create destination directory
The manual method requires you to copy the file to `~/.vim/colors/`.
Run the following command, while ignoring line that start with `#`
(those are just comments):
```sh
# Create path to colors directory if it does not already exist
mkdir -p ~/.vim/colors/
```
### 1.2 Copying to destination directory
Now run the following command for the theme of your choice. The example
uses `tempus_winter.vim`:
```sh
cp colors/tempus_winter.vim ~/.vim/colors/
```
Done.
**Pro tip.** To copy all the themes at once, run the following:
```sh
cp colors/*.vim ~/.vim/colors/
```
## 2 Plugin method
Use your favourite plugin manager method.
With [vim-plug](https://github.com/junegunn/vim-plug) add the following
line to your `.vimrc`:
```vim
Plug "https://gitlab.com/protesilaos/tempus-themes-vim.git"
```
Then execute the plugin manager's command to update the plugin files.
## 3 Applying the theme
Once available, the theme is declared with the following options inside
the `.vimrc`:
```vim
" Theme
syntax enable
colorscheme tempus_winter
```
Enjoy!
Note that by default, the theme does not set the background color when
used in a terminal to play well with transparent terminals. The
background color can be set by adding the following option in the
`.vimrc`:
```vim
let g:tempus_enforce_background_color=1
```
## 4 GNU/Linux Package
If you use Arch Linux or derivatives, you can get these themes from the
[AUR](https://aur.archlinux.org/packages/tempus-themes-vim-git/).
## Additional resources
For more information about this project, screenshots, and all available
ports, refer to the main [Tempus themes
repo](https://gitlab.com/protesilaos/tempus-themes).
## License
GNU General Public License Version 3.
## Meta
All theme files are created through scripts with the [Tempus themes
generator](https://gitlab.com/protesilaos/tempus-themes-generator). See
the generator's CONTRIBUTING.md.
## Donations
If you appreciate this work, consider [donating via
PayPal](https://www.paypal.me/protesilaos).