Comments (1)
I close the issue as the bug was in my code. In order to get CSS class switching working every class has to be below .ns-root
for example:
.ns-root .high-contrast-label {
color: $dark-grey-text-color;
}
.ns-root.ns-dark .high-contrast-label {
color: $very-light-grey-color;
}
If NS Angular is used and component scss is used in addition :host is required
.ns-root :host .high-contrast-label {
color: $dark-grey-text-color;
}
.ns-root.ns-dark :host .high-contrast-label {
color: $very-light-grey-color;
}
Would be helpful to have this information in the docs.
from angular.
Related Issues (20)
- iOS NavigateByURL with transition name: 'slideRight' causes blank page HOT 1
- ios only: starting a transition animation when another transition is pending causes current page to be deleted, seems to be related to a CSS bug. HOT 1
- angular 14+ modal back navigation issue HOT 1
- [ios sim only]: iOS 16.4 simulator textChange behavior note HOT 1
- Seems like relativeTo is deprecated please upgrade to new API
- Outlet becomes unresponsive/freezes when using nested outlets, Android only HOT 6
- Support Angular 16's new component route data binding
- Support Typescript 5
- Cannot build against Angular 16.1 HOT 4
- Cannot run in Angular 16.1.2 - ERROR ReferenceError: queueMicrotask is not defined HOT 6
- NativeScript 8 Angular 15 TextField Model Binding missing last char HOT 2
- Gridlayout is stupid (or me)
- Nested navigation doesn't work with LazyLoad (iOS) HOT 2
- Animations do not run in Angular 17 HOT 6
- [question] how nativescript works with angular ? HOT 2
- Angular computed signals are not getting updated
- Android only: Broken GridLayout with angular 17.3.0. With 17.2.1 thing were working HOT 13
- ios: layout changes in deviceOrientationChanged are not always correctly updated on display
- Wrong back navigation after using nested outlets with the TabsComponent HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from angular.