Hi,
I have been testing what's the best way to create custom theme swatches, so that they're easy to maintain between Kendo upgrades.
Is it possible somehow to use theme variables inside the json file (of the swatch)?
Here is an example, where I try to use "$component-border" to set border color for tabs:
"variables": {
"tabstrip-item-border": {
"name": "Tabstrip item border color",
"type": "color",
"value": "$component-border !default"
}
}
When running "npm run sass:swatches", it gives me error message: "Error: Undefined variable: "$component-border"."
It works if I hard code the color like this:
"name": "Tabstrip",
"variables": {
"tabstrip-item-border": {
"name": "Tabstrip item border color",
"type": "color",
"value": "#fc0303"
}
}