published
updated
published
updated

1
A neovim color theme with minimal highlighting, colours inspired by Atom's One Dark theme, spiritually inspired by tonsky's Alabaster theme. Mirror of https://git.martinwalls.com/martin-walls/halfdark.nvim
published 7 days ago
updated 7 days ago
12vim.o.background = ""vim.cmd.colorscheme ""NORMALinit.luaunixutf-80%0:2
123456789101112" Returns true if the color hex value is lightfunction! IsHexColorLight(color) abortlet l:raw_color = trim(a:color, '#')let l:red = str2nr(substitute(l:raw_color, '.{0}(.{2})', '1', 'g'), 16)let l:green = str2nr(substitute(l:raw_color, '.{2}(.{2}).{2}', '1'