-
Hi there, I have a question regarding the text highlighted colour state for dark theme. Please see the example shared here: TextInvisible.movThe text in the email body appears black here, although it should be switched to the white version in dark mode example. I wanted to double check that the dark mode example should work like this example in the Paste website? (See screen recording below) FLEXEXP-430_UI.issues.in.dark.mode.movAlso does the highlighted state handle any colour value or is it only designed for Tokens? I hope this makes sense, please ping me if not. Porlin |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
Hi @Porlin, thanks for sharing this! Do you know which Paste component is being used there in Flex? Would it possible to reproduce this in a CodeSandbox so our team can investigate? Thank you! |
Beta Was this translation helpful? Give feedback.
-
Hi @Porlin, if you're using Paste's It's possible to change the highlight color in CSS though we would recommend against it as using our tokens would be helpful in catching any updates we make to tokens across themes. Let me know if you have any questions! |
Beta Was this translation helpful? Give feedback.
Hi @Porlin, if you're using Paste's
color-text
token (https://paste.twilio.design/tokens/list#text-colors) for the text, the text color should swap depending on the theme as handled by the browser.It's possible to change the highlight color in CSS though we would recommend against it as using our tokens would be helpful in catching any updates we make to tokens across themes. Let me know if you have any questions!