New-UDTypography -Style how to change text Color?

What I’m doing wrong?
New-UDTypography -Style @{color=’#2196f3’; backgoundcolor=’#000000’} -Text "Max Lag Time: "

Not used this yet myself but going from https://docs.ironmansoftware.com/dashboard/components/data-display/typography#all-typography-types it looks like you done it correctly…I know it is a cop-out but have you inspected this element in the browser and looked at the RAW CSS to make sure this is the required CSS for changing the font colour, I normally play about with the CSS in the browser then copy it from there and use it for my themes…

Is it me, or is style not actually implemented? Looks like its commented out in jsx. (No expert here)
I assume its on the to-do list to actually implement?

I’m looking for this too. Need to make stuff look pretty. :slight_smile:

render() {
const {
id,
// classes,
// style,
align,
gutterBottom,
noWrap,
// isParagraph,
variant,
refreshInterval,
// isEndpoint,
autoRefresh,
} = this.props
const { text } = this.state
return (
<Typography
id={id}
className={classNames(‘ud-mu-typography’)}
align={align}
gutterBottom={gutterBottom}
noWrap={noWrap}
variant={variant} >
{text}
<ReactInterval
timeout={refreshInterval * 1000}
enabled={autoRefresh}
callback={this.onLoadData}
/>

Oh ,yeah. That’s definitely a bug.

Opened an issue for you. Hope I did it right.

1 Like