Replies: 1 comment 3 replies
-
Hey @aowdnmp, For this, you'll likely have to use the embed component above your stat card in your component tree. I've attached a screenshot below of this. The code used inside the embed component looks like the one below. <style>
.value{
font-size: 5rem!important;
font-weight: 600;
margin: 0 1.5rem 1.5rem 1.5rem;
color: var(--spectrum-link-primary-m-text-color);
white-space: pre-wrap;
}
</style> Make sure to add I hope this helps. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello, i'm new to budibase and now experimenting. I've created some stat cards that by default have the value shown in blue.
I thought with custom css I was able to oveeride font color for some values that needs to be highlighted in red, for example.
Inspecting the code I found the right names but I'm not able to replace the color with a custom one. Someone knows the correct way to do this? Thanks
.value.svelte-13s6ero {
font-size: 2rem;
font-weight: 600;
margin: 0 1.5rem 1.5rem 1.5rem;
color: var(--spectrum-link-primary-m-text-color);
white-space: pre-wrap;
}
Beta Was this translation helpful? Give feedback.
All reactions