Skip to content

"transparent" for color is no longer accepted #856

Closed

Description

@kylebutts

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)

Activity

  1. rich-iannone commented on Dec 9, 2021

    @rich-iannone
    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.

  2. self-assigned this
    on Dec 9, 2021
  3. added this to the v0.4.0 milestone on Dec 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions