Compare commits
2 commits
16081d13f7
...
c56fadceb1
Author | SHA1 | Date | |
---|---|---|---|
c56fadceb1 | |||
1ec72aa640 |
5 changed files with 25 additions and 3 deletions
|
@ -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
|
||||||
|
|
|
@ -2,7 +2,7 @@ local theme = {
|
||||||
base = "faf4ed",
|
base = "faf4ed",
|
||||||
surface = "fffaf3",
|
surface = "fffaf3",
|
||||||
overlay = "f2e9de",
|
overlay = "f2e9de",
|
||||||
inactive = "9893a5",
|
muted = "9893a5",
|
||||||
subtle = "6e6a86",
|
subtle = "6e6a86",
|
||||||
text = "575279",
|
text = "575279",
|
||||||
love = "b4637a",
|
love = "b4637a",
|
||||||
|
|
19
themes/rose-pine-moon.lua
Normal file
19
themes/rose-pine-moon.lua
Normal 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)
|
|
@ -3,7 +3,7 @@ return function (theme)
|
||||||
background = theme.base,
|
background = theme.base,
|
||||||
backgroundish = theme.overlay,
|
backgroundish = theme.overlay,
|
||||||
foreground = theme.text,
|
foreground = theme.text,
|
||||||
foregroundish = theme.subtle,
|
foregroundish = theme.muted,
|
||||||
accent = theme.love,
|
accent = theme.love,
|
||||||
accentish = theme.rose,
|
accentish = theme.rose,
|
||||||
|
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue