Checklist
Summary
The value of st.metric uses a larger font size, which isn't available through theming today. It would be great to add this!
Why?
Many BI dashboards use specific styles for metrics and it's important we can replicate that, e.g. like in here:
How?
Add two new theming parameters:
metricValueFontSize
metricValueFontWeight
These should take the same values as other font size/weight parameters. I don't think it's worth adding that for the delta values right now but we should keep that option open for the future.
Note that one other solution could be to tie the design of the metric value to some header level (e.g. h3). But I don't think that works for every kind of theme.
Additional Context
No response
Checklist
Summary
The value of
st.metricuses a larger font size, which isn't available through theming today. It would be great to add this!Why?
Many BI dashboards use specific styles for metrics and it's important we can replicate that, e.g. like in here:
How?
Add two new theming parameters:
metricValueFontSizemetricValueFontWeightThese should take the same values as other font size/weight parameters. I don't think it's worth adding that for the delta values right now but we should keep that option open for the future.
Note that one other solution could be to tie the design of the metric value to some header level (e.g. h3). But I don't think that works for every kind of theme.
Additional Context
No response