mirror of
https://github.com/catppuccin/lua.git
synced 2026-01-09 05:31:30 +08:00
53 lines
1.5 KiB
Lua
53 lines
1.5 KiB
Lua
rockspec_format = "3.0"
|
||
package = "catppuccin"
|
||
version = "dev-1"
|
||
|
||
source = {
|
||
url = "git+https://github.com/UrNightmaree/catppuccin-lua.git",
|
||
-- tag = "@VERSION@"
|
||
}
|
||
|
||
description = {
|
||
summary = "🌚 Soothing pastel theme for Lua",
|
||
detailed = [[
|
||
🌚 Soothing pastel theme for Lua
|
||
|
||
Usage:
|
||
|
||
Get Mocha palette
|
||
local palette = require("catppuccin").mocha()
|
||
or
|
||
local palette = require("catppuccin.mocha")
|
||
|
||
|
||
Get the flavor name of currently used palette.
|
||
=palette.name --> "mocha"
|
||
|
||
Get Blue color from Mocha palette.
|
||
=palette.blue --> { hex: string; rgb: { number, number, number }; hsl: { number, number, number } }
|
||
|
||
See more on https://github.com/catppuccin/lua]],
|
||
homepage = "https://github.com/catppuccin/lua",
|
||
license = "MIT",
|
||
}
|
||
|
||
build = {
|
||
type = "builtin",
|
||
modules = {
|
||
["catppuccin.init"] = "catppuccin/init.lua",
|
||
["catppuccin.latte"] = "catppuccin/latte.lua",
|
||
["catppuccin.frappe"] = "catppuccin/frappe.lua",
|
||
["catppuccin.macchiato"] = "catppuccin/macchiato.lua",
|
||
["catppuccin.mocha"] = "catppuccin/mocha.lua",
|
||
},
|
||
install = {
|
||
lua = {
|
||
["catppuccin"] = "catppuccin.d.tl",
|
||
["catppuccin.latte"] = "catppuccin/latte.d.tl",
|
||
["catppuccin.frappe"] = "catppuccin/frappe.d.tl",
|
||
["catppuccin.macchiato"] = "catppuccin/macchiato.d.tl",
|
||
["catppuccin.mocha"] = "catppuccin/mocha.d.tl",
|
||
},
|
||
},
|
||
}
|