aboutsummaryrefslogtreecommitdiff
path: root/public/index.html
blob: 17815105aa3cc4e74ff7231a4ed74aee4a21afcd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
<!DOCTYPE html>
<html lang="en" data-theme="light" class="">

<head>
  <meta charset='utf-8'>
  <meta name='viewport' content='width=device-width,initial-scale=1'>

  <title>PT Scheduler</title>

  <link rel='icon' type='image/png' href='./favicon.png'>

  <link rel='stylesheet' href='./build/bundle.css'>
  <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/svelte-material-ui@4.2.0/bare.min.css" />
  <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto:300,400,500,600,700" />
  <link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons" />

  <!-- Load the Svelte output -->
  <script defer src='./build/bundle.js'></script>

  <!-- Set initial theme the theme -->
  <script>
    if ("theme" in localStorage)
      document.documentElement.setAttribute('data-theme', localStorage.theme)
    else if (window.matchMedia('(prefers-color-scheme: dark)').matches)
      localStorage.theme = 'dark'
    else
      localStorage.theme = 'light'
  </script>
</head>

<body>
</body>

</html>