catppuccin-nim/examples/use_chroma.nim

12 lines
201 B
Nim
Raw Permalink Normal View History

2023-04-26 20:03:36 -05:00
{.define: inheritChroma.}
import std/[strutils]
import catppuccin
when isMainModule:
echo "Mocha colors as CMYK"
for n, c in mocha.fieldPairs():
2023-04-27 09:24:14 -05:00
echo alignLeft(n, 9) & " -> " & $c.asCmyk()