-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
54 lines (52 loc) · 2.9 KB
/
Copy pathindex.html
File metadata and controls
54 lines (52 loc) · 2.9 KB
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
<!DOCTYPE html>
<html lang="en" data-theme="dark">
<head>
<meta charset="UTF-8">
<!-- script-src allows esm.sh (Shiki module) + 'wasm-unsafe-eval' (oniguruma WASM);
connect-src allows esm.sh for the WASM fetch. style/font-src stay https-wide
(no host allowlist) so any https font CDN works; 'unsafe-inline' is required
because Shiki emits inline style attributes. Update when adding new CDNs. -->
<meta http-equiv="Content-Security-Policy" content="default-src 'self'; script-src 'self' https://esm.sh 'wasm-unsafe-eval'; style-src 'self' 'unsafe-inline' https:; font-src 'self' https: data:; img-src 'self' data:; connect-src 'self' https://esm.sh; base-uri 'self'; object-src 'none'">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Muse — coding font × theme × language</title>
<meta name="description" content="Preview a coding font, color theme, and programming language together, live in the browser. Mix and match, share a link, and export the setup to VS Code.">
<!-- Social cards. og:url and og:image are intentionally omitted until the
canonical Pages URL and a preview image exist — add them when ready. -->
<meta property="og:type" content="website">
<meta property="og:site_name" content="Muse">
<meta property="og:title" content="Muse — coding font × theme × language">
<meta property="og:description" content="Preview a coding font, color theme, and language together, live. Mix, match, share a link, export to VS Code.">
<meta name="twitter:card" content="summary">
<meta name="twitter:title" content="Muse — coding font × theme × language">
<meta name="twitter:description" content="Preview a coding font, color theme, and language together, live. Mix, match, share a link, export to VS Code.">
<link rel="icon" href="./favicon.ico">
<link rel="stylesheet" href="./src/style.css">
<style>
/* Boot overlay: paints before any external resource arrives */
#boot-overlay {
position: fixed;
inset: 0;
z-index: 9999;
display: flex;
align-items: center;
justify-content: center;
background: rgba(0, 0, 0, 0.85);
color: #ccc;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
font-size: 1.125rem;
letter-spacing: 0.02em;
pointer-events: none;
}
</style>
</head>
<body>
<div id="boot-overlay">Loading highlighter…</div>
<aside class="sidebar-fonts" aria-label="Fonts"></aside>
<header><h1>Muse</h1><span class="header-quote">Style is the perfection of a point of view. — Richard Eberhart</span></header>
<nav class="lang-tabs" role="tablist" aria-label="Language"></nav>
<main class="preview-pane" aria-label="Code preview"></main>
<aside class="sidebar-themes" aria-label="Themes"></aside>
<footer class="controls-bar"></footer>
<script type="module" src="./src/main.js"></script>
</body>
</html>