- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I'm pretty new to mobile development and Intel XDK. I used to use Bootstrap and LESS for my web projects in the past years.
To start with, I've chosen ionic/angularjs environment and started to learn. I have lots of problems with the XDK implementation when I don't use the App Designer, but I'm working on it.
My current question is about changing the default colors of ionic (positive, balanced, etc). I could not find any SASS or LESS document where these are defined (a version of default _variables.sass file in ionic). There are only the ionic(.min).css files.
What is the correct method for changing these colors in a LESS manner (as far as I can see XDK uses LESS). Even, how can I implement different skins in my project?
Thanks in advance...
- Tags:
- HTML5
- Intel® XDK
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The simplest way to override the CSS that App Designer uses is to define additional CSS rules that augment the default rules and either assign them as !important or make them more "specific" using standard CSS cascading rules. If you are using LESS, you should set the resulting CSS file that you generate to be the last one imported in the index.html file. You can safely add lines in the head section of the index.html file and it will not disrupt your App Designer code in the body section.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks a lot Paul, this clarifies my suspects :( Way to go "blue" :)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
Could someone post a quick recipe on how to do this?

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page