- Set default light background color to pure white across html, body, and app-shell - Replace grayish background, diffuse card shadows, and translucent pills in usage records with pure white surfaces and clean borders - Ensure usage tables and subpage panels render consistently as pure white documents - Update UI accessibility regression tests to assert pure white surfaces
28 lines
898 B
HTML
28 lines
898 B
HTML
<!doctype html>
|
|
<html lang="zh-CN">
|
|
<head>
|
|
<meta charset="UTF-8" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
<script>
|
|
(() => {
|
|
let savedTheme;
|
|
try {
|
|
savedTheme = localStorage.getItem('easy-cli-proxy-api.theme');
|
|
} catch {
|
|
}
|
|
const theme = savedTheme === 'light' || savedTheme === 'dark'
|
|
? savedTheme
|
|
: window.matchMedia?.('(prefers-color-scheme: dark)').matches ? 'dark' : 'light';
|
|
document.documentElement.dataset.theme = theme;
|
|
document.documentElement.style.colorScheme = theme;
|
|
document.documentElement.style.backgroundColor = theme === 'dark' ? '#0b0d11' : '#ffffff';
|
|
})();
|
|
</script>
|
|
<title>EasyCLIProxyAPI</title>
|
|
</head>
|
|
<body>
|
|
<div id="root"></div>
|
|
<script type="module" src="/src/main.tsx"></script>
|
|
</body>
|
|
</html>
|