You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
classes form primitives folder have a low priority.
They are the same as utilities in Bootstrap. there all those classes have the !important modifier.
Describe the solution you'd like
Nativescript does not supports !important, but you can add the wildcard Tag-selector * in front of the base selector, or wrap them into .ns-root {} to increase their priority
Additional context
In my example I added some cases.
adding a color class to a form-label does not applyes, because the label color gets styled already with a higher priority in _forms.scss
changing the icon inside a list view (color and font-size) doen't works in combination with the nt-icon-class (_list-view.scss uses more accurate selectors)
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
classes form
primitives
folder have a low priority.They are the same as
utilities
in Bootstrap. there all those classes have the!important
modifier.Describe the solution you'd like
Nativescript does not supports
!important
, but you can add the wildcard Tag-selector*
in front of the base selector, or wrap them into.ns-root {}
to increase their priorityAdditional context
In my example I added some cases.
_forms.scss
color
andfont-size
) doen't works in combination with thent-icon
-class (_list-view.scss
uses more accurate selectors)The text was updated successfully, but these errors were encountered: