Use system fonts for better webperf

This commit is contained in:
Jonny Barnes 2024-02-23 16:35:48 +00:00
parent 7efb474fb8
commit f770235e86
Signed by: jonny
SSH key fingerprint: SHA256:CTuSlns5U7qlD9jqHvtnVmfYV3Zwl2Z7WnJ4/dqOaL8
4 changed files with 3 additions and 19 deletions

View file

@ -86,6 +86,4 @@ LOG_SLACK_WEBHOOK_URL=
FLARE_KEY= FLARE_KEY=
IGNITION_OPEN_AI_KEY= IGNITION_OPEN_AI_KEY=
FONT_LINK=
BRIDGY_MASTODON_TOKEN= BRIDGY_MASTODON_TOKEN=

View file

@ -144,17 +144,6 @@ return [
// 'store' => 'redis', // 'store' => 'redis',
], ],
/*
|--------------------------------------------------------------------------
| Font Link
|--------------------------------------------------------------------------
|
| Which URL should the app load custom fonts from
|
*/
'font_link' => env('FONT_LINK'),
/* /*
|-------------------------------------------------------------------------- |--------------------------------------------------------------------------
| Autoloaded Service Providers | Autoloaded Service Providers

View file

@ -1,8 +1,8 @@
:root { :root {
/* Font Family */ /* Font Family */
--font-family-headings: "Archer SSm A", "Archer SSm B", serif; --font-family-headings: Rockwell, 'Rockwell Nova', 'Roboto Slab', 'DejaVu Serif', 'Sitka Small', serif;
--font-family-body: "Verlag A", "Verlag B", sans-serif; --font-family-body: Charter, 'Bitstream Charter', 'Sitka Text', Cambria, serif;
--font-family-monospace: "Operator Mono SSm A", "Operator Mono SSm B", monospace; --font-family-monospace: ui-monospace, 'Cascadia Code', 'Source Code Pro', Menlo, Consolas, 'DejaVu Sans Mono', monospace;;
/* Font Size */ /* Font Size */
--font-size-sm: 0.75rem; /* 12px */ --font-size-sm: 0.75rem; /* 12px */

View file

@ -4,9 +4,6 @@
<meta charset="UTF-8"> <meta charset="UTF-8">
<meta name="csrf-token" content="{{ csrf_token() }}"> <meta name="csrf-token" content="{{ csrf_token() }}">
<title>@yield('title'){{ config('app.name') }}</title> <title>@yield('title'){{ config('app.name') }}</title>
@if (!empty(config('app.font_link')))
<link rel="stylesheet" href="{{ config('app.font_link') }}">
@endif
<link rel="stylesheet" href="/assets/highlight/zenburn.css"> <link rel="stylesheet" href="/assets/highlight/zenburn.css">
<link rel="stylesheet" href="/assets/css/app.css"> <link rel="stylesheet" href="/assets/css/app.css">
<link rel="alternate" type="application/rss+xml" title="Blog RSS Feed" href="/blog/feed.rss"> <link rel="alternate" type="application/rss+xml" title="Blog RSS Feed" href="/blog/feed.rss">