This function prints text
directly to the console using
cat()
, so no string is returned. color_text()
, however,
returns only the formatted string, without using cat()
.
color_theme()
either returns "dark"
when RStudio is used
with dark color scheme, "light"
when it's used with light theme,
and NULL
if the theme could not be detected.