From 1dafb77174f79a9042b82fcd9e6e254a38cb7398 Mon Sep 17 00:00:00 2001 From: Capprin Bass Date: Sun, 12 Feb 2023 11:56:28 -0500 Subject: [PATCH] Ugly hotfix for iOS notch color --- config/_default/params.toml | 3 +++ layouts/partials/head.html | 2 ++ 2 files changed, 5 insertions(+) diff --git a/config/_default/params.toml b/config/_default/params.toml index 5b920ab5..c233a5bd 100644 --- a/config/_default/params.toml +++ b/config/_default/params.toml @@ -8,6 +8,9 @@ colorScheme = "blowfish" defaultAppearance = "light" # valid options: light or dark autoSwitchAppearance = true +# expose theme colors for iOS notch coloring (barring better options) +iosLightOverride = "ffffff" +iosDarkOverride = "1e313b" enableSearch = false enableCodeCopy = false diff --git a/layouts/partials/head.html b/layouts/partials/head.html index 327b2d59..b8ecf93c 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -4,6 +4,8 @@ {{ end }} + + {{/* Title */}} {{ if .IsHome -}}