2024-02-21 02:33:44 -08:00
|
|
|
local path_utils = require("codesnap.utils.path")
|
|
|
|
|
2024-02-12 22:05:36 -08:00
|
|
|
return {
|
2024-02-14 09:15:26 -08:00
|
|
|
config = {
|
2024-12-07 06:33:40 -08:00
|
|
|
window = {
|
|
|
|
mac_window_bar = true,
|
|
|
|
shadow = 20,
|
|
|
|
margin = {
|
|
|
|
x = 82,
|
|
|
|
y = 82,
|
|
|
|
},
|
|
|
|
border = {
|
|
|
|
color = "#ffffff30",
|
|
|
|
},
|
|
|
|
},
|
|
|
|
code = {
|
|
|
|
font_family = "CaskaydiaCove Nerd Font",
|
|
|
|
theme = "candy",
|
|
|
|
},
|
|
|
|
watermark = {
|
|
|
|
content = "CodeSnap",
|
|
|
|
font_family = "Pacifico",
|
|
|
|
color = "#ffffff",
|
|
|
|
},
|
|
|
|
scale_factor = 3,
|
|
|
|
background = {
|
|
|
|
start = {
|
|
|
|
x = 0,
|
|
|
|
y = 0,
|
|
|
|
},
|
|
|
|
["end"] = {
|
|
|
|
x = "max",
|
|
|
|
y = 0,
|
|
|
|
},
|
|
|
|
stops = {
|
|
|
|
{
|
|
|
|
position = 0,
|
|
|
|
color = "#6bcba5",
|
|
|
|
},
|
|
|
|
{
|
|
|
|
position = 1,
|
|
|
|
color = "#caf4c2",
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
2024-02-14 09:15:26 -08:00
|
|
|
},
|
2024-02-21 02:33:44 -08:00
|
|
|
cwd = path_utils.back(path_utils.back(debug.getinfo(1, "S").source:sub(2):match("(.*[/\\])"))),
|
2024-02-12 22:05:36 -08:00
|
|
|
}
|