add colorscheme dark mode
This commit is contained in:
parent
75b8b88a04
commit
b52a6d4065
4 changed files with 220 additions and 119 deletions
|
|
@ -1,5 +1,5 @@
|
|||
-- Paper Tonic Modern
|
||||
-- A light, paper-like colorscheme for Neovim
|
||||
-- A paper-like colorscheme for Neovim supporting both light and dark modes
|
||||
-- Forked from the original Paper Tonic with modern Lua implementation
|
||||
|
||||
-- Reset highlights and syntax
|
||||
|
|
@ -11,8 +11,10 @@ end
|
|||
-- Set colorscheme name
|
||||
vim.g.colors_name = 'paper-tonic-modern'
|
||||
|
||||
-- Set background to light
|
||||
vim.o.background = 'light'
|
||||
-- Set default background if not already set
|
||||
if vim.o.background == '' then
|
||||
vim.o.background = 'light'
|
||||
end
|
||||
|
||||
-- Load the colorscheme
|
||||
require('paper-tonic-modern').load()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue