Files
doona/index.html
T
Zakk 900ad058dd feat(i18n): set the page direction from the language
The direction comes from the locale's Intl text info, or from its
likely script where the engine has none, so a right-to-left language
needs only its catalogue. The first-paint stamp and the shell set dir
wherever they set lang. Right to left, table cells and detail values
take their direction from their text, and code, rule text and keys
stay left to right.
2026-09-26 13:00:04 +10:00

19 lines
1000 B
HTML

<!doctype html>
<html lang="zh-Hant" dir="ltr">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="Content-Security-Policy" content="default-src 'self'; connect-src 'self' http: https: ws: wss:; style-src 'self' 'unsafe-inline'; img-src 'self' data: blob: https: http:; font-src 'self'">
<title>doona</title>
<link rel="icon" href="/logo.svg">
<link rel="manifest" href="./manifest.webmanifest">
<!-- --rp-base in src/ui/theme.css: Rose Pine Dawn (light), Moon (dark). -->
<meta name="theme-color" content="#faf4ed" media="(prefers-color-scheme: light)">
<meta name="theme-color" content="#232136" media="(prefers-color-scheme: dark)">
<link rel="apple-touch-icon" sizes="180x180" href="./icons/apple-touch-icon.png">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-title" content="doona">
</head>
<body><div id="root"></div><script type="module" src="/src/main.tsx"></script></body>
</html>