build: rebuild the student app (theme switch, print styles)
This commit is contained in:
@@ -5,8 +5,20 @@
|
||||
<meta name="viewport" content="width=device-width,initial-scale=1,viewport-fit=cover" />
|
||||
<meta name="robots" content="noindex, nofollow" />
|
||||
<meta name="color-scheme" content="light dark" />
|
||||
<meta name="theme-color" content="#F3F4F1" media="(prefers-color-scheme: light)" />
|
||||
<meta name="theme-color" content="#141917" media="(prefers-color-scheme: dark)" />
|
||||
<meta name="theme-color" id="bm-theme-color" content="#141917" />
|
||||
<script>
|
||||
// The theme from the bm.theme cookie goes on the html element before the
|
||||
// first paint. This mirrors parseTheme and THEME_COLORS in
|
||||
// src/lib/theme.ts: only an exact light value is taken, anything else is
|
||||
// dark.
|
||||
;(function () {
|
||||
var m = /(?:^|;\s*)bm\.theme=(light|dark)(?:;|$)/.exec(document.cookie)
|
||||
var theme = m && m[1] === 'light' ? 'light' : 'dark'
|
||||
document.documentElement.dataset.theme = theme
|
||||
var meta = document.getElementById('bm-theme-color')
|
||||
if (meta) meta.setAttribute('content', theme === 'light' ? '#f3f4f1' : '#141917')
|
||||
})()
|
||||
</script>
|
||||
<title>BM II° – plan studiów</title>
|
||||
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
|
||||
<link rel="manifest" href="/manifest.webmanifest" />
|
||||
@@ -23,8 +35,8 @@
|
||||
document.write('<script id="bm-caf" src="https://www.gstatic.com/cast/sdk/libs/caf_receiver/v3/cast_receiver_framework.js"><\/script>')
|
||||
}
|
||||
</script>
|
||||
<script type="module" crossorigin src="/assets/index-CcttGF2j.js"></script>
|
||||
<link rel="stylesheet" crossorigin href="/assets/index-BM6lpb_3.css">
|
||||
<script type="module" crossorigin src="/assets/index-CmBzoM2e.js"></script>
|
||||
<link rel="stylesheet" crossorigin href="/assets/index-B8DtG_J4.css">
|
||||
</head>
|
||||
<body>
|
||||
<div id="app"></div>
|
||||
|
||||
Reference in New Issue
Block a user