mirror of
https://github.com/sergi0g/cup.git
synced 2025-11-18 01:43:41 -05:00
Readd theme-color meta tag and make it work properly
This commit is contained in:
@@ -2,6 +2,13 @@
|
|||||||
<html lang="en">
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf8" />
|
<meta charset="utf8" />
|
||||||
|
{% if theme == "neutral" %}
|
||||||
|
<meta name="theme-color" media="(prefers-color-scheme: light)" content="#fafafa">
|
||||||
|
<meta name="theme-color" media="(prefers-color-scheme: dark)" content="#0a0a0a">
|
||||||
|
{% else %}
|
||||||
|
<meta name="theme-color" media="(prefers-color-scheme: light)" content="#f9fafb">
|
||||||
|
<meta name="theme-color" media="(prefers-color-scheme: dark)" content="#030712">
|
||||||
|
{% endif %}
|
||||||
<link rel="icon" type="image/svg+xml" href="favicon.svg" />
|
<link rel="icon" type="image/svg+xml" href="favicon.svg" />
|
||||||
<link rel="icon" type="image/x-icon" href="favicon.ico" />
|
<link rel="icon" type="image/x-icon" href="favicon.ico" />
|
||||||
<link rel="apple-touch-icon" href="apple-touch-icon.png" />
|
<link rel="apple-touch-icon" href="apple-touch-icon.png" />
|
||||||
|
|||||||
Reference in New Issue
Block a user