Compare commits

..

2 commits

Author SHA1 Message Date
c56fadceb1 rose-pine-moon 2022-04-18 21:11:57 +00:00
1ec72aa640 rose pine: Renombrar 'inactive' a 'muted' (nombre upstream) 2022-04-18 21:11:17 +00:00
5 changed files with 25 additions and 3 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

View file

@ -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
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, 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,

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