Inline background styling to prevent flash of unstyled page

This commit is contained in:
Nettika 2026-01-29 22:42:27 -08:00
parent 2359533df5
commit fc24661a12
No known key found for this signature in database

View file

@ -5,6 +5,20 @@
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>RapidModel</title>
<style>
/* Inline critical styles to prevent flash of unstyled content */
html, body {
margin: 0;
padding: 0;
background-color: #1a1a1a;
color: #e0e0e0;
}
#app {
width: 100vw;
height: 100vh;
background-color: #1a1a1a;
}
</style>
</head>
<body>
<div id="app"></div>