You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As the title suggests, sometimes I use a text component inside other components (eg. buttons), and the text turns to the button's color, which makes sense. However, sometimes I just want the text to stay its default color: white on dark mode, and black/dark grey on light mode.
Is there a way to specify something like <Text color="default" />, or am I stuck with manually overriding with CSS?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
As the title suggests, sometimes I use a text component inside other components (eg. buttons), and the text turns to the button's color, which makes sense. However, sometimes I just want the text to stay its default color: white on dark mode, and black/dark grey on light mode.
Is there a way to specify something like
<Text color="default" />
, or am I stuck with manually overriding with CSS?Beta Was this translation helpful? Give feedback.
All reactions