I’m trying to make custom components using theme components like ThemeAppButton, but nothing changes when I define styles inside onInitTheme: {
ThemeNavigationBar.backgroundColor = “#000000”
} //example
And when I create ThemeAppButton {} Felgo live writes:
“qrc:/qml/VPlayApps/styles/ThemeAppButton.qml:180: ReferenceError: theme is not defined
qrc:/qml/VPlayApps/styles/ThemeAppButton.qml:173: ReferenceError: theme is not defined
qrc:/qml/VPlayApps/styles/ThemeAppButton.qml:119: ReferenceError: theme is not defined
qrc:/qml/VPlayApps/styles/ThemeAppButton.qml:112: ReferenceError: theme is not defined
qrc:/qml/VPlayApps/styles/ThemeAppButton.qml:105: ReferenceError: theme is not defined
qrc:/qml/VPlayApps/styles/ThemeAppButton.qml:100: ReferenceError: theme is not defined
…
”
After that my components looks the same as before.
What should I do to make my components look completely different? Change Navigation bg color, remove divider, for example. Documentation has no examples.