m/cup
1
0
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:
Sergio
2024-12-08 20:59:47 +02:00
parent 4aa28f2cc5
commit c84270603f

View File

@@ -2,6 +2,13 @@
<html lang="en">
<head>
<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/x-icon" href="favicon.ico" />
<link rel="apple-touch-icon" href="apple-touch-icon.png" />