mirror of
https://github.com/nunocoracao/blowfish.git
synced 2025-05-21 23:01:52 +02:00
Ugly hotfix for iOS notch color
This commit is contained in:
parent
55f6cc8873
commit
1dafb77174
2 changed files with 5 additions and 0 deletions
|
@ -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
|
||||
|
|
|
@ -4,6 +4,8 @@
|
|||
<meta http-equiv="content-language" content="{{ . }}" />
|
||||
{{ end }}
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<meta name="theme-color" content="#{{ .Site.Params.iosLightOverride | default "ffffff" }}" media="(prefers-color-scheme: light)" />
|
||||
<meta name="theme-color" content="#{{ .Site.Params.iosDarkOverride | default "000000" }}" media="(prefers-color-scheme: dark)" />
|
||||
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
|
||||
{{/* Title */}}
|
||||
{{ if .IsHome -}}
|
||||
|
|
Loading…
Add table
Reference in a new issue