std.pretty.color
-document
multimethod
added in 3.0
-text
multimethod
added in 3.0
Produces text colored according to the active color scheme. This is mostly useful to clients which want to produce output which matches data printed by Puget, but which is not directly printed by the library. Note that this function still obeys the :print-color option.
(-text printer/+defaults+ :string “hello there”) => “[36mhello there[0m”
(-text printer/+defaults+ :keyword :hello) => “[34m:hello[0m”