IA icon variation - fix and guidance #3823
-
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 5 replies
-
Hey @cdpestitschek, nice to see you back! 😊 Hope everything's been awesome since our last chat. I'm diving into your issue now and will get back to you with a detailed response soon! |
Beta Was this translation helpful? Give feedback.
-
Disclaimer: This is a very experimental bot using OpenAI's GPT-4. The answers may not be correct, a human will review the answer and update it if necessary. Sorry, I don't know how to help with that. I did do a search though, and I managed to find these other Discussions that might be similar or related to your question. Give them a read to see if they answer your question. If they do, head back here and update this discussion and mark it as answered, pointing others to the related discussion:
|
Beta Was this translation helpful? Give feedback.
-
Hi @cdpestitschek,
Icons should not have built-in state. Maybe you want to wrap it in a toggle button like this example? https://paste.twilio.design/components/button#toggle-button
Icons by default inherit the current font color. All Icons in Paste work the same way. If it doesn't adjust correctly on dark mode, it is likely you are overriding the icon color on light mode, and not accounting for dark mode.
Icons are SVGs and can be sized any which way. Please see this example https://paste.twilio.design/components/icon/usage-guidelines#resizing-icons Hope this helps! |
Beta Was this translation helpful? Give feedback.
Hi @cdpestitschek,
Icons should not have built-in state. Maybe you want to wrap it in a toggle button like this example? https://paste.twilio.design/components/button#toggle-button
Icons by default inherit the current font color. All Icons in Paste work the same way. If it doesn't adjust correctly on dark mode, it is likely you are overriding the icon color on light mode, and not accounting for dark mode.
Icons are SVGs and can be sized any which way. Please see this e…