#theme.colors.yellow[x] colors not showing

12 messages · Page 1 of 1 (latest)

ruby knot
#

Trying to see if I messed something up, however I'm using the default theme with nothing added a to my default theme other than marking the scheme to dark. When I try to use any of the default yellow colors - it doesn't work, it just appears as white text. eg:

// usage
<Title order={2} color={theme.colors.yellow[4]} transform={'uppercase'}>
  I should be yellow[4]
</Title>

Picture is attached

#

Here is where I set the color scheme. Using it with Remix

young sleet
#

color={'yellow'} or sx={(theme) => ({ color: theme.colors.yellow[4]})

#

color
DefaultMantineColor | "dimmed"
Key of theme.colors or any valid CSS color

#

You can also do color="yellow.4".

ruby knot
#

So I attempted that along with creating a <Text></Text> and it's not working either. It appears that yellow just isn't loading

young sleet
#

Which version of the library are you using?

ruby knot
#

5.5.2

#

I'll update core and others to 5.5.4 and see if that fixes it, just noticed there was a patch out in #🩹-patches

young sleet
#

Version is 5.5.2.