Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"transparent" for color is no longer accepted #856

Closed
kylebutts opened this issue Nov 29, 2021 · 1 comment · Fixed by #870
Closed

"transparent" for color is no longer accepted #856

kylebutts opened this issue Nov 29, 2021 · 1 comment · Fixed by #870

Comments

@kylebutts
Copy link

Hi -- I think an update removed the ability to use "transparent" as a color. Is this a bug or an intended change?

gt::gt(mtcars) |> 
    gt::tab_options(
        table.border.top.color = "transparent"
    )
#> Error: Problem with `mutate()` column `value`.
#> ℹ `value = { ... }`.
#> x An invalid color name was used (`"transparent"`):
#>  * Only R/X11 color names and CSS 3.0 color names can be used

Created on 2021-11-29 by the reprex package (v2.0.1)

@rich-iannone
Copy link
Member

It was something that was considered but was put off til later because of transparent handling across output formats. However, I do think it should be implemented.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants