Is it possible somehow to use scss variables in ExtJS v7 class inline?
For example, I have global theme variable in packages/local/myTheme/sass/var/Component.scss
:
$comp-divider-color: #B5BFCA;
And some class:
Ext.define('Separator', {
extend: 'Ext.Component',
alias: 'widget.Separator',
xtype: 'Separator',
style: {
color: '$comp-divider-color', <--- some var name from scss
},
html: '|',
});