diff --git a/config/google-fonts.php b/config/google-fonts.php index 25138d9a..74edaa1e 100644 --- a/config/google-fonts.php +++ b/config/google-fonts.php @@ -8,6 +8,7 @@ return [ */ 'fonts' => [ 'default' => 'https://fonts.googleapis.com/css2?family=Inconsolata:ital,wght@0,400;0,700;1,400;1,700', + 'article' => 'https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,400;0,700;1,400;1,700', ], /* diff --git a/resources/views/livewire/news/intern-article-view.blade.php b/resources/views/livewire/news/intern-article-view.blade.php index ace646a2..a0a1af16 100644 --- a/resources/views/livewire/news/intern-article-view.blade.php +++ b/resources/views/livewire/news/intern-article-view.blade.php @@ -1,5 +1,6 @@
-
+ @googlefonts('article') +
@if($libraryItem->type === 'markdown_article') diff --git a/tailwind.config.js b/tailwind.config.js index f8c5a22a..06a02e0f 100644 --- a/tailwind.config.js +++ b/tailwind.config.js @@ -99,6 +99,10 @@ module.exports = { 'Inconsolata', ...defaultTheme.fontFamily.mono ], + article: [ + 'Nunito', + ...defaultTheme.fontFamily.sans + ], }, }, },