-
Notifications
You must be signed in to change notification settings - Fork 218
Closed
Milestone
Description
In some existing (previously working) code, we got an error after updating GT to 0.3.1, that I think is a regression introduced by #787.
Using shorthand hex codes for colors results in an error:
tab_style(
style = list(
cell_text(weight = "bold",
color = "#555")
),Gives the following error:
WARN [2021-09-23 16:54:48.776] Error in : An invalid color name was used (`"#555"`):
* Only R/X11 color names and CSS 3.0 color names can be used - function (m) { logger::log_warn(m$message) }
Warning: Error in : An invalid color name was used (`"#555"`):
* Only R/X11 color names and CSS 3.0 color names can be used
1: shiny::runApp
This is easy to workaround for the time being (just change to full hex colors instead), but thought it was important to report, as those are valid CSS color identifiers.