refactor: simplified extra template system and added docs
This commit is contained in:
@@ -2,11 +2,8 @@ local util = require("tokyonight.util")
|
||||
|
||||
local M = {}
|
||||
|
||||
function M.kitty(config)
|
||||
config = config or require("tokyonight.config")
|
||||
config.transform_colors = true
|
||||
local colors = require("tokyonight.colors").setup(config)
|
||||
|
||||
--- @param colors ColorScheme
|
||||
function M.generate(colors)
|
||||
local kitty = util.template(
|
||||
[[
|
||||
# TokyoNight colors for Kitty
|
||||
|
||||
Reference in New Issue
Block a user