You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

75 lines
1.4 KiB

#let base_color = rgb("#b00b69")
#let bc_dark = base_color.darken(35%)
#let bc_darker = base_color.darken(70%)
#let bc_light = base_color.lighten(35%)
#let bc_lighter = base_color.lighten(70%)
#let vis(color) = {
rect(width: 2cm, height: 2cm, fill: color, stroke: 8pt + white, radius: 8pt)
}
#let process_colors(colors) = {
if colors.at("base", default: none) == none {
colors.insert("base", rgb("#b00b69"))
}
if colors.at("light", default: none) == none {
colors.insert("light", colors.base.lighten(35%))
}
if colors.at("lighter", default: none) == none {
colors.insert("lighter", colors.base.lighten(70%))
}
if colors.at("dark", default: none) == none {
colors.insert("dark", colors.base.darken(35%))
}
if colors.at("darker", default: none) == none {
colors.insert("darker", colors.base.darken(70%))
}
return colors
}
#let variations = (
"#b00b69",
"#b0690b",
"#69b00b",
"#690bb0",
"#0b69b0",
"#0bb069",
"#c0ffee",
"#c0eeff",
"#ffc0ee",
"#ffeec0",
"#eeffc0",
"#eec0ff",
"#69c0ff",
"#69ffc0",
"#c0693e",
)
#let owo(colors) = [
#vis(colors.at("lighter"))
#vis(colors.at("light"))
#vis(colors.at("base"))
#vis(colors.at("dark"))
#vis(colors.at("darker"))
]
#let meowmeow = ()
#for var in variations {
meowmeow.push([
= #var
#owo(process_colors(("base": rgb(var))))
])}
#set page(
width: 60cm,
height: 18cm,
)
#stack(
dir: ltr,
..meowmeow
)