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.

76 lines
1.4 KiB

1 year ago
#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) = {
1 year ago
rect(width: 2cm, height: 2cm, fill: color, stroke: 8pt + white, radius: 8pt)
1 year ago
}
#let process_colors(colors) = {
1 year ago
if colors.at("base", default: none) == none {
1 year ago
colors.insert("base", rgb("#b00b69"))
}
1 year ago
if colors.at("light", default: none) == none {
1 year ago
colors.insert("light", colors.base.lighten(35%))
}
1 year ago
if colors.at("lighter", default: none) == none {
1 year ago
colors.insert("lighter", colors.base.lighten(70%))
}
1 year ago
if colors.at("dark", default: none) == none {
1 year ago
colors.insert("dark", colors.base.darken(35%))
}
1 year ago
if colors.at("darker", default: none) == none {
1 year ago
colors.insert("darker", colors.base.darken(70%))
}
1 year ago
return colors
1 year ago
}
1 year ago
#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,
)
1 year ago
1 year ago
#stack(
dir: ltr,
..meowmeow
)
1 year ago