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

Use of hex codes within style() #163

Open
robbie-still opened this issue Jan 20, 2022 · 1 comment
Open

Use of hex codes within style() #163

robbie-still opened this issue Jan 20, 2022 · 1 comment

Comments

@robbie-still
Copy link

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?

@monkeywithacupcake
Copy link
Contributor

monkeywithacupcake commented Aug 6, 2023

This is probably way too late for you @robbie-still , but your code does make the mpg column pink on my machine

Screen Shot 2023-08-06 at 08 23 31

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

No branches or pull requests

2 participants