How do I use custom fonts in my CSS theme?

5 views
Skip to first unread message

ParaSQL Support

unread,
Apr 7, 2019, 10:01:57 AM4/7/19
to ParaSQL Support
I want to use a special Google font for the tabs in my application... is this possible?

ParaSQL Support

unread,
Apr 7, 2019, 10:05:25 AM4/7/19
to ParaSQL Support
Yes! 

Just add the following to your CSS theme and any tab objects in your application that have their Font Family set to Theme Default will automatically use this font.

/* import a custom font */
@import url('https://fonts.googleapis.com/css?family=Srisakdi');

/* parasql.widget.TabsWidget - modern style */
div
.TabsWidget {
 font
-family: Srisakdi;
 font
-size: 13px;
}


Reply all
Reply to author
Forward
0 new messages