Compare commits

...

2 commits

5 changed files with 25 additions and 3 deletions

View file

@ -2,7 +2,7 @@
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/")
if not (status == 0) then return status end

View file

@ -2,7 +2,7 @@ local theme = {
base = "faf4ed",
surface = "fffaf3",
overlay = "f2e9de",
inactive = "9893a5",
muted = "9893a5",
subtle = "6e6a86",
text = "575279",
love = "b4637a",

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,7 +3,7 @@ return function (theme)
background = theme.base,
backgroundish = theme.overlay,
foreground = theme.text,
foregroundish = theme.subtle,
foregroundish = theme.muted,
accent = theme.love,
accentish = theme.rose,

View file

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