- Hybrid Mobile Development with Ionic
- Gaurav Saini
- 157字
- 2021-07-02 23:53:50
Theming up SASS
Ionic has support for SASS (CSS extension language) to create, customize, and maintain CSS. It eases the process of customizing the existing colors and themes of Ionic for specific platforms. Ionic 3 as a default has SASS setup and you will find that inside the theme folder there will be an variable.scss file. In this file we will be doing custom color changes and overriding platform variables.
Earlier in Ionic 1x, the application was hooked to the Ionic's precompiled files, which you can find at the www/lib/ionic/css directory, and file resources and paths are linked in index.html. Previously, in Ionic 1x, we used to set up SASS using CLI:
$ ionic setup sass
This used to automatically remove other file paths and uncomment the ionic.app.css files used for SASS styling inside index.html. Now with Ionic 3 we don't have to set up SASS, it comes by default when we start or create an application.
- HTML5+CSS3王者歸來
- Redis入門指南(第3版)
- Pandas Cookbook
- 控糖控脂健康餐
- Java程序設(shè)計(jì)與實(shí)踐教程(第2版)
- 從0到1:Python數(shù)據(jù)分析
- Asynchronous Android Programming(Second Edition)
- Oracle 18c 必須掌握的新特性:管理與實(shí)戰(zhàn)
- SQL經(jīng)典實(shí)例(第2版)
- Laravel Application Development Blueprints
- Getting Started with Python
- 分布式架構(gòu)原理與實(shí)踐
- Qt 4開發(fā)實(shí)踐
- Kotlin進(jìn)階實(shí)戰(zhàn)
- Android編程權(quán)威指南(第4版)