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
I have an extension that has a devtools panel. I want to match the colors in my panel to what is currently being used in the devtools theme. Is this fetchable somehow from the devtools panel context?
The text was updated successfully, but these errors were encountered:
Hi @JustinGrote, we recently deprecated the Visual Studio Code themes, so we only support the default Light+ and Dark+ themes now. You can use 'prefers-color-scheme' to detect which one is being used and respond on their panels accordingly. prefers-color-scheme - CSS: Cascading Style Sheets | MDN
OK but is there no way to access the existing styling and colors for the light and dark themes? Do I have to hardcode the values based on what it is today? What if it changes?
Unfortunately, there's no programmatic access existing today. I'll file this as a feature request on the engineering team's backlog for consideration. Thank you for your feedback!
I have an extension that has a devtools panel. I want to match the colors in my panel to what is currently being used in the devtools theme. Is this fetchable somehow from the devtools panel context?
The text was updated successfully, but these errors were encountered: