How to use a specific font for an app in Twilight Tech
In this article, we are going to see how to use specific fonts in your app by using the SCSS/CSS section in Colors.
How to add a new font to an app?
Firstly, go to the Colors menu in the Twilight Tech editor:
Then, scroll down in the page and enable the Advanced customization section:
In this section you can now add a new font by using the method @import, like this:
In this example, we have imported the font “Ewert”. We can now use this font in our app.
How to use the new font(s) in our app?
Still in this advanced section, following our font import, we are going to call the font in our CSS:
font-family: 'Ewert' !important;
font-size: 30px !important;
Click on “save”.
In this SCSS example, we can see we are using the font “Ewert” in all our layout.
Here are the results: