How to control bg-color in cards (dashboard)? #8504
Closed
meteosimon
started this conversation in
Feature Requests
Replies: 1 comment 2 replies
-
Right now, we don't really expose coloring cards directly, or using the dict style approach to emitting cards ... It would be a nice enhancement, though. If we support a simple way to set colors using an attribute:
would you still prefer a dict style approach? What do you see as the benefits / uses for that versus just writing the markdown? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Description
Hi, I'm using quarto dashboard with python and I'm looking for an easy (and flexible) way to control the background color of cards. I know valueboxes and I like the way I can control their color and value using a dict. Can I control cards in a similar way?
Here's what I want my card to look like (the red one):

Generated with this input, the third column show's the way I thought would be nice to control the card? Is this somehow possible of in a similar way?
Beta Was this translation helpful? Give feedback.
All reactions