Use custom css

Hello, is there any way to override default css value for some elements using a extension/plugin?(for example, change button’s border-radius)?

Hi @2048,

in general, the vscode extension/theia plugin mechanism only allows to contribute functional features (languages, views, debuggers, etc.) or some well-defined visual features (themes). For your use-case you would need to build a Theia extension which includes a .css file which includes a rule such as:

button {
  border-radius: 2px !important; /** !important makes sure that it is applied, even if the specificity is lower */
}

Thank you. I will try import css using css-loader in my extension.