feat(depth_marks): atomic styling of depth marks

Color each `{depth_marks}` with the corresponding `depth_styles`.
Implements #8
This commit is contained in:
Johann Dreo 2023-01-29 08:06:44 +01:00
commit 0b970fc2ee
4 changed files with 35 additions and 15 deletions

View file

@ -412,6 +412,10 @@ For example:
log.depth_styles({ fmt(255), fmt(250), fmt(245), fmt(240), fmt(235) });
```
If `clutchlog::depth_styles` is set, the `{depth_marks}` template tag will render
with each mark having each own style corresponding to its depth.
Note: a depth of zero showing no mark, the first style in the list is never applied to marks.
Advanced Usage
==============