I need to change my ionic app theme dynamically. $color theme value should be rendered from database
我需要动态更改我的离子应用主题。 $ color主题值应该从数据库中呈现
Give me some idea to short out this!
给我一些想法来简化这个!
1 个解决方案
#1
0
we cant change the $color value dynamically but we have to change the theme by making separate SCSS file for theming here is the reference GitHub project https://github.com/yannbf/ionic3-components/tree/master/src/theme
我们无法动态更改$ color值,但我们必须通过为主题单独创建SCSS文件来更改主题,这里是参考GitHub项目https://github.com/yannbf/ionic3-components/tree/master/src/theme
#1
0
we cant change the $color value dynamically but we have to change the theme by making separate SCSS file for theming here is the reference GitHub project https://github.com/yannbf/ionic3-components/tree/master/src/theme
我们无法动态更改$ color值,但我们必须通过为主题单独创建SCSS文件来更改主题,这里是参考GitHub项目https://github.com/yannbf/ionic3-components/tree/master/src/theme