changes to files
Some checks failed
Build / deploy (push) Has been cancelled

This commit is contained in:
CJSatnarine
2026-01-06 05:02:23 -05:00
parent 502ec8201d
commit 244f91ef20
30 changed files with 43 additions and 50 deletions

View File

@@ -0,0 +1,39 @@
+++
title = "My Neovim Custom Theme"
date = "2025-10-17"
+++
I use Neovim as my main IDE and text editor. Since I started using Neovim, I've been using the [Catppuccin](https://catppuccin.com/) theme, until one day I was blessed by stumbling across [vimcolours](https://vimcolors.org/) and realised I can create my own horrible theme to strain my eyes.
<img src="neovim_horrid.png" alt="Horrid Theme" style="width:1200px;height:600px;">
After five minutes of this I realised I actually don't like my eyes being strained, so I decided to make something that was easier for them to look at. I made the background grey, and added more purple because that's my favourite colour.
<img src="neovim_purple.png" alt="Better Theme" style="width:1200px;height:600px;">
## How?
Okay so the way this works is to download the `theme.vim` file (after customising your theme) into a `colors` directory within your neovim configuration directory (in `~/.config/nvim`).
![colors directory](colors_directory.png)
Then you can put these two lines into the `init.lua` file, replacing my `gay7.vim` with whatever your theme is:
```lua
vim.opt.termguicolors = true
vim.cmd("colorscheme gay7")
```
## My Colours:
The colours I used were taken from the colour scheme of my website:
```scss
$white: #FFFFFF;
$black: #000000;
$purple: #962FFE;
$pink: #FFA0E3;
$periwinkle: #EBD7FF;
$yoghurt: #d1e6ff;
$red: #FF3030;
$orange: #FF7930;
$yellow: #FFF530;
$green: #45FF30;
$cyan: #30FFEA;
$blue: #30A9FF;
```