microsoft / azure-devops-extension-sdk

Client SDK for developing Azure DevOps extensions
MIT License
123 stars 38 forks source link

How to observe current selected Azure DevOps Theme #47

Closed hanneswidrig closed 2 years ago

hanneswidrig commented 2 years ago

I'm trying to programmatically observe the currently selected theme so I don't have to rely on SASS variables from the deprecated azure-devops-ui package without any public code.

FlexiGit commented 2 years ago

Why do you think azure-devops-ui is deprecated? The github repository is not public. But that has always been like that. Information is provided here: https://developer.microsoft.com/en-us/azure-devops

From my experience using the provided stylesheets and SASS variables works quite well.

hanneswidrig commented 2 years ago

For others, I used the underlying css variables created by the SASS styling files in the azure-devops-ui package.