mirror of
https://github.com/foo-dogsquared/dotfiles.git
synced 2025-02-12 06:18:59 +00:00
Create my own color scheme for Neovim
This commit is contained in:
parent
70126373f0
commit
28e926a473
20
nvim/colors/fds-theme.vim
Normal file
20
nvim/colors/fds-theme.vim
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
" You probably always want to set this in your vim file
|
||||||
|
set background=dark
|
||||||
|
let g:colors_name="fds-theme"
|
||||||
|
|
||||||
|
" By setting our module to nil, we clear lua's cache,
|
||||||
|
" which means the require ahead will *always* occur.
|
||||||
|
"
|
||||||
|
" This isn't strictly required but it can be a useful trick if you are
|
||||||
|
" incrementally editing your config a lot and want to be sure your themes
|
||||||
|
" changes are being picked up without restarting neovim.
|
||||||
|
"
|
||||||
|
" Note if you're working in on your theme and have :Lushify'd the buffer,
|
||||||
|
" your changes will be applied with our without the following line.
|
||||||
|
"
|
||||||
|
" The performance impact of this call can be measured in the hundreds of
|
||||||
|
" *nanoseconds* and such could be considered "production safe".
|
||||||
|
lua package.loaded['lush_theme.fds-theme'] = nil
|
||||||
|
|
||||||
|
" include our theme file and pass it to lush to apply
|
||||||
|
lua require('lush')(require('lush_theme.fds-theme'))
|
@ -1,6 +1,6 @@
|
|||||||
-- CREDITS: pwntester/nautilus.nvim
|
-- CREDITS: pwntester/nautilus.nvim
|
||||||
local lush = require('lush')
|
local lush = require('lush')
|
||||||
local hsl = lush.hsl
|
local hsl = lush.hsluv
|
||||||
|
|
||||||
--[[
|
--[[
|
||||||
base00 - Default Background
|
base00 - Default Background
|
||||||
@ -19,18 +19,6 @@ local hsl = lush.hsl
|
|||||||
base0D - Functions, Methods, Attribute IDs, Headings
|
base0D - Functions, Methods, Attribute IDs, Headings
|
||||||
base0E - Keywords, Storage, Selector, Markup Italic, Diff Changed
|
base0E - Keywords, Storage, Selector, Markup Italic, Diff Changed
|
||||||
base0F - Deprecated, Opening/Closing Embedded Language Tags, e.g. <?php ?>
|
base0F - Deprecated, Opening/Closing Embedded Language Tags, e.g. <?php ?>
|
||||||
|
|
||||||
Alphas are Pantone 534 C = #1B365D
|
|
||||||
Alphas legends are TU2 = #00a4a9
|
|
||||||
Modifiers are Pantone 533 C = #1F2A44
|
|
||||||
Modifiers legends are GMK N6 = #e5a100
|
|
||||||
Alternate modifiers are GMK N6 = #e5a100
|
|
||||||
Alternate modifiers legends are Pantone 533 C = #1F2A44
|
|
||||||
|
|
||||||
Cello #23395b
|
|
||||||
Java #02b3af
|
|
||||||
Orient #005880
|
|
||||||
Supernova #fbca00
|
|
||||||
]]--
|
]]--
|
||||||
|
|
||||||
local base00 = hsl('#2b221f')
|
local base00 = hsl('#2b221f')
|
||||||
@ -79,7 +67,7 @@ vim.g.terminal_color_foreground = base0E.hex
|
|||||||
return lush(function()
|
return lush(function()
|
||||||
return {
|
return {
|
||||||
Normal { fg = base05, bg = base00 },
|
Normal { fg = base05, bg = base00 },
|
||||||
NormalFloat { fg = base05, bg = base01 },
|
NormalFloat { fg = Normal.fg.saturate(15).lighten(5), bg = Normal.bg.saturate(15).lighten(5) },
|
||||||
Bold { gui = 'bold' },
|
Bold { gui = 'bold' },
|
||||||
Debug { fg = base08 },
|
Debug { fg = base08 },
|
||||||
Directory { fg = base0D },
|
Directory { fg = base0D },
|
||||||
@ -99,33 +87,33 @@ return lush(function()
|
|||||||
SpecialKey { fg = base03 },
|
SpecialKey { fg = base03 },
|
||||||
TooLong { fg = base08 },
|
TooLong { fg = base08 },
|
||||||
Underlined { fg = base08 },
|
Underlined { fg = base08 },
|
||||||
Visual { bg = base02 },
|
|
||||||
VisualNOS { fg = base08 },
|
|
||||||
WarningMsg { fg = base08 },
|
WarningMsg { fg = base08 },
|
||||||
WildMenu { fg = base08, bg = base0A },
|
WildMenu { fg = base08, bg = base0A },
|
||||||
Title { fg = base0D },
|
Title { fg = base0D },
|
||||||
Conceal { fg = base0D },
|
Conceal { fg = base0D },
|
||||||
Cursor { fg = base00, bg = base05 },
|
Cursor { fg = base00, bg = base05 },
|
||||||
NonText { fg = base03 },
|
NonText { fg = base03 },
|
||||||
LineNr { fg = base02, bg = base00 },
|
LineNr { fg = base02.lighten(25), bg = base00 },
|
||||||
LineNrNC { fg = base02, bg = base01 },
|
LineNrNC { fg = base02.lighten(25), bg = base01 },
|
||||||
SignColumn { fg = base01 },
|
SignColumn { fg = base01 },
|
||||||
StatusLine { fg = base02, bg = base01 },
|
StatusLine { fg = base02, bg = base01 },
|
||||||
StatusLineNC { fg = base02, bg = base01 },
|
StatusLineNC { fg = base02, bg = base01 },
|
||||||
VertSplit { fg = base02, bg = base00 },
|
VertSplit { fg = base02, bg = base00 },
|
||||||
ColorColumn { fg = base01, bg = base01 },
|
ColorColumn { fg = base01.lighten(25), bg = base01.darken(25) },
|
||||||
CursorColumn { bg = base01 },
|
CursorLine { bg = base01.saturate(-5).lighten(5) },
|
||||||
CursorLine { bg = base01 },
|
CursorColumn { CursorLine },
|
||||||
CursorLineNr { fg = base0A, bg = base00 },
|
CursorLineNr { fg = base0A, CursorColumn },
|
||||||
|
Visual { CursorColumn, fg = base03.lighten(15) },
|
||||||
|
VisualNOS { fg = base08 },
|
||||||
QuickFixLine { bg = base00 },
|
QuickFixLine { bg = base00 },
|
||||||
QFFileName { fg = base0A },
|
QFFileName { fg = base0A },
|
||||||
QFLineNr { fg = base04 },
|
QFLineNr { fg = base04 },
|
||||||
PMenu { fg = base05, bg = base01 },
|
PMenu { fg = base05, bg = base01 },
|
||||||
PMenuSel { fg = base01, bg = base05 },
|
PMenuSel { fg = base01, bg = base05 },
|
||||||
TabLineSel { fg = base00, bg = base0A },
|
TabLineSel { fg = base00, bg = base0A },
|
||||||
TabLine { fg = base03, bg = base00 },
|
TabLine { fg = base03, bg = base00.darken(15) },
|
||||||
TabLineFill { fg = base03, bg = base00 },
|
TabLineFill { fg = base03, bg = base00.darken(25) },
|
||||||
EndOfBuffer { fg = base01 },
|
EndOfBuffer { fg = base01.lighten(20), bg = base01.darken(20) },
|
||||||
|
|
||||||
|
|
||||||
-- Standard syntax highlighting
|
-- Standard syntax highlighting
|
||||||
@ -352,7 +340,6 @@ return lush(function()
|
|||||||
-- vimVar { fg = hue_5, bg = none },
|
-- vimVar { fg = hue_5, bg = none },
|
||||||
|
|
||||||
-- Telescope highlighting
|
-- Telescope highlighting
|
||||||
--TelescopeNormal { fg = base05, bg = base00 },
|
|
||||||
TelescopeNormal { fg = base05, bg = base01 },
|
TelescopeNormal { fg = base05, bg = base01 },
|
||||||
TelescopeBorder { fg = base00, bg = base01 },
|
TelescopeBorder { fg = base00, bg = base01 },
|
||||||
TelescopePromptPrefix { fg = base0A, bg = base01 },
|
TelescopePromptPrefix { fg = base0A, bg = base01 },
|
||||||
|
Loading…
Reference in New Issue
Block a user