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
AFAIK, there isn't any way to resolve a ThemeColor into its real css value. This would probably be useful in quite a few scenarios, but here's what I'm trying to do.
In the image below, I am adding an icon in the top right (link icon) to the hover, but because I have no controls for light vs dark, it is hard to get it to be visible.
What I'd like to do is actually use one of the theme colors (aside -- even though it is an svg I couldn't get any css color inheritance to work, neither as a file nor data-uri). So if there was a way to get the real color for a ThemeColor, I could build an svg document with the proper color and embed it into a data-uri.
The text was updated successfully, but these errors were encountered:
As described, I'm trying to avoid adding such API, as it involves sending theme change events and requiring clients to handle theme color changes. Maybe not such an issue with the hover.
For now, instead of using an image, any chance you can this with a font character?
AFAIK, there isn't any way to resolve a ThemeColor into its real css value. This would probably be useful in quite a few scenarios, but here's what I'm trying to do.
In the image below, I am adding an icon in the top right (link icon) to the hover, but because I have no controls for light vs dark, it is hard to get it to be visible.
What I'd like to do is actually use one of the theme colors (aside -- even though it is an svg I couldn't get any css color inheritance to work, neither as a file nor data-uri). So if there was a way to get the real color for a
ThemeColor
, I could build an svg document with the proper color and embed it into a data-uri.The text was updated successfully, but these errors were encountered: