terrastruct / d2

D2 is a modern diagram scripting language that turns text to diagrams.
https://d2lang.com
Mozilla Public License 2.0
16.72k stars 419 forks source link

syntax: darken(color, percent) #1266

Open alixander opened 1 year ago

alixander commented 1 year ago

i really like CSS's darken/lighten functions. we should bring that to D2

alixander commented 1 year ago

i'm not sure about syntax though. we don't have any "function" syntax in D2. cc @nhooyr