Skip to content

Use of hex codes within style() #163

@robbie-still

Description

@robbie-still

Hi, would it be possible to integrate hex codes within style? Code example below:

formattable(mtcars, list( mpg = formatter("a", href = x ~ sprintf("http://test.com/page?value=%s", x), style = x ~ style(color = "#C71585"))))

This should be colouring the mpg column pink, but remains the default blue. Is there an error in my code or a feature that isn't yet implemented?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions