| 12 | } |
| 13 | |
| 14 | export const startupWindowHtml = (): string => `<!doctype html> |
| 15 | <html> |
| 16 | <head> |
| 17 | <meta charset="utf-8" /> |
| 18 | <title>Executor</title> |
| 19 | <style> |
| 20 | :root { |
| 21 | color-scheme: light dark; |
| 22 | --background: #0a0a0a; |
| 23 | --foreground: #fafafa; |
| 24 | --muted: #a1a1aa; |
| 25 | --line: #27272a; |
| 26 | --pulse: #fafafa; |
| 27 | } |
| 28 | @media (prefers-color-scheme: light) { |
| 29 | :root { |
| 30 | --background: #f7f7f4; |
| 31 | --foreground: #18181b; |
| 32 | --muted: #60646c; |
| 33 | --line: #d8d8d0; |
| 34 | --pulse: #18181b; |
| 35 | } |
| 36 | } |
| 37 | body { |
| 38 | margin: 0; |
| 39 | min-height: 100vh; |
| 40 | display: grid; |
| 41 | place-items: center; |
| 42 | background: var(--background); |
| 43 | color: var(--foreground); |
| 44 | font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; |
| 45 | } |
| 46 | main { |
| 47 | width: min(22rem, calc(100vw - 4rem)); |
| 48 | display: grid; |
| 49 | gap: 1rem; |
| 50 | justify-items: center; |
| 51 | text-align: center; |
| 52 | } |
| 53 | .mark { |
| 54 | width: 2.25rem; |
| 55 | height: 2.25rem; |
| 56 | border: 1px solid var(--line); |
| 57 | border-radius: 8px; |
| 58 | display: grid; |
| 59 | place-items: center; |
| 60 | font-size: 0.82rem; |
| 61 | font-weight: 650; |
| 62 | letter-spacing: 0; |
| 63 | } |
| 64 | h1 { |
| 65 | margin: 0; |
| 66 | font-size: 1.05rem; |
| 67 | font-weight: 600; |
| 68 | letter-spacing: 0; |
| 69 | } |
| 70 | p { |
| 71 | margin: -0.35rem 0 0; |