|
7 | 7 | <meta name="theme-color" content="#ffffff" /> |
8 | 8 | <meta name="description" content="the qbop ui" /> |
9 | 9 | <link rel="stylesheet" href="https://unpkg.com/terminal.css@0.7.5/dist/terminal.min.css" integrity="sha512-X8PpCFdlyXfQ93O7R/tmLP0uln53P5/hY29faFCjhpfinyggAeQbcwiv8pDvu49vHvZPWJN+yfb4VomHJK6sJA==" crossorigin="anonymous" /> |
| 10 | + |
| 11 | + <!-- Theme stylesheets --> |
10 | 12 | <% if Service::Helpers.new.env_variables[:ui_mode] == "light" %> |
11 | 13 | <link rel="stylesheet" href="/css/light.css" /> |
12 | 14 | <% else %> |
13 | 15 | <link rel="stylesheet" href="/css/dark.css" /> |
14 | 16 | <% end %> |
15 | 17 |
|
16 | | - <!-- Default favicons (fallback) --> |
17 | | - <link rel="icon" type="image/x-icon" href="/images/favicon.ico" /> |
18 | | - <link rel="icon" type="image/png" sizes="32x32" href="/images/light/favicon-light-32x32.png" /> |
19 | | - |
20 | 18 | <!-- Light mode favicons --> |
21 | | - <link rel="icon" type="image/x-icon" href="/images/light/favicon-light.ico" media="(prefers-color-scheme: light)" /> |
22 | | - <link rel="apple-touch-icon" sizes="180x180" href="/images/light/apple-touch-icon-light.png" media="(prefers-color-scheme: light)" /> |
23 | | - <link rel="icon" sizes="32x32" href="/images/light/favicon-light-32x32.png" media="(prefers-color-scheme: light)" /> |
24 | | - <link rel="icon" sizes="16x16" href="/images/light/favicon-light-16x16.png" media="(prefers-color-scheme: light)" /> |
25 | | - <link rel="icon" href="/images/light/favicon-light.svg" media="(prefers-color-scheme: light)" /> |
26 | | - <link rel="manifest" href="/images/light/site.webmanifest" media="(prefers-color-scheme: light)" /> |
| 19 | + <% if Service::Helpers.new.env_variables[:ui_mode] == "light" %> |
| 20 | + <link rel="icon" type="image/x-icon" href="/images/light/favicon-light.ico" /> |
| 21 | + <link rel="apple-touch-icon" sizes="180x180" href="/images/light/apple-touch-icon-light.png" /> |
| 22 | + <link rel="icon" sizes="32x32" href="/images/light/favicon-light-32x32.png" /> |
| 23 | + <link rel="icon" sizes="16x16" href="/images/light/favicon-light-16x16.png" /> |
| 24 | + <link rel="icon" href="/images/light/favicon-light.svg" /> |
| 25 | + <link rel="manifest" href="/images/light/site.webmanifest" /> |
27 | 26 |
|
28 | 27 | <!-- Dark mode favicons --> |
29 | | - <link rel="icon" type="image/x-icon" href="/images/dark/favicon-dark.ico" media="(prefers-color-scheme: dark)" /> |
30 | | - <link rel="apple-touch-icon" sizes="180x180" href="/images/dark/apple-touch-icon-dark.png" media="(prefers-color-scheme: dark)" /> |
31 | | - <link rel="icon" sizes="32x32" href="/images/dark/favicon-dark-32x32.png" media="(prefers-color-scheme: dark)" /> |
32 | | - <link rel="icon" sizes="16x16" href="/images/dark/favicon-dark-16x16.png" media="(prefers-color-scheme: dark)" /> |
33 | | - <link rel="icon" href="/images/dark/favicon-dark.svg" media="(prefers-color-scheme: dark)" /> |
34 | | - <link rel="manifest" href="/images/dark/site.webmanifest" media="(prefers-color-scheme: dark)" /> |
35 | | - |
| 28 | + <% else %> |
| 29 | + <link rel="icon" type="image/x-icon" href="/images/dark/favicon-dark.ico" /> |
| 30 | + <link rel="apple-touch-icon" sizes="180x180" href="/images/dark/apple-touch-icon-dark.png" /> |
| 31 | + <link rel="icon" sizes="32x32" href="/images/dark/favicon-dark-32x32.png" /> |
| 32 | + <link rel="icon" sizes="16x16" href="/images/dark/favicon-dark-16x16.png" /> |
| 33 | + <link rel="icon" href="/images/dark/favicon-dark.svg" /> |
| 34 | + <link rel="manifest" href="/images/dark/site.webmanifest" /> |
| 35 | + <% end %> |
| 36 | + |
36 | 37 | <title>qbop</title> |
37 | 38 | </head> |
38 | 39 | <body class="terminal"> |
|
0 commit comments