#Access `error` color in `Text` component `c` prop

2 messages · Page 1 of 1 (latest)

pseudo umbra
#

How can I use the var(--mantine-color-error) from the c prop of a Text component? I'm trying to emulate the labels in the rest of my form on the SegmentedControl prop so I have to this color specifically because it changes from light to dark mode. I tried c="error" and c="color-error" and a few other similar variations but to no avail.

sudden rune