Modify style components on icons #948
-
I am trying to modify the color and size of an icon but the color I am looking for isn't available for text colors and same with the size. Is there a way to modify them like you can with by adding a style={{}} component? |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 7 replies
-
Hi @bvsillorequez, Our icons only accept token values as props so they remain consistent within Paste applications. Can you share some additional context as to why you're looking to use non-token values? |
Beta Was this translation helpful? Give feedback.
-
I would like to have the color of the beta tag in console to be the same as $color-background-user since it is the same color as our avatar. Currently there isn't a color similar to that in the text colors. |
Beta Was this translation helpful? Give feedback.
-
Hey @bvsillorequez ! You can use $color-text-new for the beta tag (which is also more appropriately named for your use case) and is accessible on our background colors. |
Beta Was this translation helpful? Give feedback.
-
Chatted with the team: Since Console will be in beta just for the short-term, we're suggesting that y'all use the white text color ( @johannaweintraub lemme know if that solution works for you ^ |
Beta Was this translation helpful? Give feedback.
Chatted with the team: Since Console will be in beta just for the short-term, we're suggesting that y'all use the white text color (
color-text-inverse
) and the full text can be something like "Console (beta)" or "Console – beta". A light purple text color might not also be meaningfully different from white text when they're next to each other.@johannaweintraub lemme know if that solution works for you ^