From 3c352ceccb557bb4bce26b0576ecd44d7472a3ae Mon Sep 17 00:00:00 2001 From: "fateme.fazli" Date: Tue, 27 Aug 2019 17:47:39 +0430 Subject: [PATCH] feat(font): added Vazir font. --- benchmark/index.html | 3 ++- cli/template.hbs | 3 ++- config/docker/index.tpl.html | 3 ++- demo/index.html | 3 ++- demo/playground/index.html | 3 ++- demo/ssr/index.ts | 1 + src/theme.ts | 2 +- 7 files changed, 12 insertions(+), 6 deletions(-) diff --git a/benchmark/index.html b/benchmark/index.html index 247406a0..107cd1f4 100644 --- a/benchmark/index.html +++ b/benchmark/index.html @@ -15,6 +15,7 @@ } + @@ -25,4 +26,4 @@ - \ No newline at end of file + diff --git a/cli/template.hbs b/cli/template.hbs index b055f786..fff76799 100644 --- a/cli/template.hbs +++ b/cli/template.hbs @@ -14,10 +14,11 @@ {{{redocHead}}} + {{{redocHTML}}} - \ No newline at end of file + diff --git a/config/docker/index.tpl.html b/config/docker/index.tpl.html index 2995ff26..0066d46d 100644 --- a/config/docker/index.tpl.html +++ b/config/docker/index.tpl.html @@ -16,6 +16,7 @@ } + @@ -23,4 +24,4 @@ - \ No newline at end of file + diff --git a/demo/index.html b/demo/index.html index 8675b407..dd11558e 100644 --- a/demo/index.html +++ b/demo/index.html @@ -23,6 +23,7 @@ } + @@ -43,4 +44,4 @@ - \ No newline at end of file + diff --git a/demo/playground/index.html b/demo/playground/index.html index d322ee3e..1e64b7cc 100644 --- a/demo/playground/index.html +++ b/demo/playground/index.html @@ -16,10 +16,11 @@ } + - \ No newline at end of file + diff --git a/demo/ssr/index.ts b/demo/ssr/index.ts index d94076b1..baac5331 100644 --- a/demo/ssr/index.ts +++ b/demo/ssr/index.ts @@ -40,6 +40,7 @@ const server = http.createServer(async (request, response) => { + ${css} diff --git a/src/theme.ts b/src/theme.ts index a6dd205b..f6a12b21 100644 --- a/src/theme.ts +++ b/src/theme.ts @@ -99,7 +99,7 @@ const defaultTheme: ThemeInterface = { fontWeightRegular: '400', fontWeightBold: '600', fontWeightLight: '300', - fontFamily: 'Roboto, sans-serif', + fontFamily: 'Roboto, sans-serif, Vazir', smoothing: 'antialiased', optimizeSpeed: true, headings: {