0
I’m making an application with the black background, and so the letters need to be white.
Have some global variable to change the whole text at once, instead of changing each page at a time?
0
I’m making an application with the black background, and so the letters need to be white.
Have some global variable to change the whole text at once, instead of changing each page at a time?
0
Yes, because Ionic is developed in HTML, CSS, and JS, you can use CSS to change the font color.
puts this css:
body {
color: #ffffff;
}
0
You can make the change in the file src/theme/variables.scss
:
$text-color: white;
For more information on the variable name for each element, see https://ionicframework.com/docs/theming/overriding-ionic-variables/.
Browser other questions tagged css ionic mobile ionic3
You are not signed in. Login or sign up in order to post.