Important Notice - Forums is archived
To simplify things and help our users to be more productive, we have archived the current forum and focus our efforts on helping developers on Stack Overflow. You can post new questions on Stack Overflow or join our Discord channel.

TUTORIALVaadin lets you build secure, UX-first PWAs entirely in Java.
Vaadin lets you build secure, UX-first PWAs entirely in Java.
Free ebook & tutorial.
Calling javascript synchronously by Enver Haase, 1 month ago
How to apply the font family in CSS to overall UI screens?
Hi,
I imported in scss class.
@import "../fonts/Roboto-Black.ttf";
// And i included the scss class.
@include v-font(Roboto,'../fonts/Roboto');
But its not working.
Please give any suggestions or any sample code to Apply same font family the overall project ...!
Thanks in advance..!
Last updated on
@import "MyDefaultTheme.scss";
@import "addons.scss";
@include font-face("arialunicodems", '../../../../MyDefaultTheme/fonts/arialunicodems');
$v-font-family: "arialunicodems";
.MyDefaultTheme {
@include addons;
@include MyDefaultTheme;
}
Last updated on
Johannes Häyry:
@import "MyDefaultTheme.scss"; @import "addons.scss"; @include font-face("arialunicodems", '../../../../MyDefaultTheme/fonts/arialunicodems'); $v-font-family: "arialunicodems"; .MyDefaultTheme { @include addons; @include MyDefaultTheme; }
Thanks Johannes. Its working.!
Last updated on
You cannot reply to this thread.