rose-pine-moon

This commit is contained in:
Cat /dev/Nulo 2022-04-18 21:11:57 +00:00
parent 1ec72aa640
commit c56fadceb1
3 changed files with 23 additions and 1 deletions

View file

@ -2,7 +2,7 @@
local templater = require 'utils/template' local templater = require 'utils/template'
theme = require 'themes/rose-pine-dawn' theme = require 'themes/rose-pine-moon'
local status = os.execute("mkdir -p ~/.cache/themer.lua/") local status = os.execute("mkdir -p ~/.cache/themer.lua/")
if not (status == 0) then return status end if not (status == 0) then return status end

19
themes/rose-pine-moon.lua Normal file
View file

@ -0,0 +1,19 @@
local theme = {
base = "232136",
surface = "2a273f",
overlay = "393552",
muted = "6e6a86",
subtle = "908caa",
text = "e0def4",
love = "eb6f92",
gold = "f6c177",
rose = "ea9a97",
pine = "3e8fb0",
foam = "9ccfd8",
iris = "c4a7e7",
highlightLow = "2a283e",
highlightMed = "44415a",
highlightHigh = "56526e",
dark = true,
}
return require('utils/rose-pine-convert')(theme)

View file

@ -3,6 +3,9 @@ return function (template, params)
if params[s] == nil then if params[s] == nil then
expect_nil("No variable "..s) expect_nil("No variable "..s)
end end
if params[s] == true then
return "true"
end
if params[s] == false then if params[s] == false then
return "false" return "false"
end end