vscode-elements / elements

Web component library for developing Visual Studio Code extensions
https://vscode-elements.github.io
MIT License
124 stars 24 forks source link

Add default values to styles #164

Open veredcon opened 2 weeks ago

veredcon commented 2 weeks ago

In the original webview toolkit there were default styles configured in case no VSCode variable is present. for example in case of color This helps in local development when there are no VSCode variables available.. otherwise styles look bad

e.g: button in local development: image

button as part of vscode weview: image

bendera commented 2 weeks ago

That's a valid point. Until I add them, you can use these css variables during the development: https://github.com/vscode-elements/elements/blob/main/dev-assets/dark-v2.txt This is the default theme called "Dark Modern".

bendera commented 1 week ago

Look at this: https://github.com/vscode-elements/webview-playground