Add module preload to demo page (#16274)
parent
609300f40b
commit
4e1e76ccc2
|
@ -2,9 +2,7 @@
|
|||
<html>
|
||||
<head>
|
||||
<title>Home Assistant Demo</title>
|
||||
<meta charset="utf-8" />
|
||||
<link rel="manifest" href="/manifest.json" crossorigin="use-credentials" />
|
||||
<link rel="icon" href="/static/icons/favicon.ico" />
|
||||
<%= renderTemplate("../../../src/html/_header.html.template") %>
|
||||
<link rel="mask-icon" href="/static/icons/mask-icon.svg" color="#03a9f4" />
|
||||
<link
|
||||
rel="apple-touch-icon"
|
||||
|
|
|
@ -6,4 +6,3 @@
|
|||
<link rel="modulepreload" href="<%= entry %>" crossorigin="use-credentials" />
|
||||
<% } %>
|
||||
<% } %>
|
||||
<%= renderTemplate("_style_base.html.template") %>
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
<head>
|
||||
<title>Home Assistant</title>
|
||||
<%= renderTemplate("_header.html.template") %>
|
||||
<%= renderTemplate("_style_base.html.template") %>
|
||||
<style>
|
||||
.content {
|
||||
padding: 20px 16px;
|
||||
|
|
|
@ -34,6 +34,7 @@
|
|||
<meta name="referrer" content="same-origin" />
|
||||
<meta name="theme-color" content="{{ theme_color }}" />
|
||||
<meta name="color-scheme" content="dark light" />
|
||||
<%= renderTemplate("_style_base.html.template") %>
|
||||
<style>
|
||||
html {
|
||||
background-color: var(--primary-background-color, #fafafa);
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
<head>
|
||||
<title>Home Assistant</title>
|
||||
<%= renderTemplate("_header.html.template") %>
|
||||
<%= renderTemplate("_style_base.html.template") %>
|
||||
<style>
|
||||
html {
|
||||
color: var(--primary-text-color, #212121);
|
||||
|
|
Loading…
Reference in New Issue