NativeScript / theme

@nativescript/theme
https://v7.docs.nativescript.org/ui/theme
Apache License 2.0
128 stars 45 forks source link

Applying the theme prevents setting TabStrip's highlightColor #254

Closed vtrifonov closed 4 years ago

vtrifonov commented 4 years ago

Environment Provide version numbers for the following components (information can be retrieved by running tns info in your project folder or by inspecting the package.json of the project):

If you apply the theme the highlighColor property set on a TabStrip does not get into account.

Expected behavior

The highlighColor to be applied to the selected indicator.

Sample project Open the following project. Scan it on ios/android and see the color of the Tabs selected indicator. See the app.css file.

Open the first version of the project with the commented default theme in app.css. The highlightColor is set to red, but is not applied.

bundyo commented 4 years ago

This is part of a bigger issue - in {N} the CSS overrides properties set locally in the component's XML.