tune
tune copied to clipboard
Custom dark/light theming
The symbol.R file contains some functionality for custom logging colors:
https://github.com/tidymodels/tune/blob/f6300b1e2f3c97ef2a4f48e2aa62b8c64cb238ac/R/symbol.R#L19-L24
Initiated in .onLoad():
https://github.com/tidymodels/tune/blob/f6300b1e2f3c97ef2a4f48e2aa62b8c64cb238ac/R/zzz.R#L38-L39
In the time since this code written, cli has matured greatly. I'd urge us to consider deprecating the tune_color active binding in .onLoad() in favor of cli's palette infrastructure.