- unified design system: focus-visible rings, reduced-motion, color-scheme, theme persistence, tightened emerald radius tokens (checkbox circle bug) - redesigned all pages: Home/Login/Signup/404, dashboard shell, Overview hero (time-based gradient), list pages with empty states, form modals, detail pages - role-scoped navigation: console menu vs admin console with cross-switch entries, Chinese route titles and breadcrumbs - theme switcher (light/dark/auto) via composables/theme, home + dashboard - state-driven dropdowns (touch-safe logout), menu divider pointer-events fix - btn-primary unified to black-on-white / white-on-black per theme - update REFACTOR_PLAN.md (increments 2-6)
26 lines
1.0 KiB
HTML
26 lines
1.0 KiB
HTML
<!doctype html>
|
||
<html lang="en" data-theme="emerald">
|
||
<head>
|
||
<meta charset="UTF-8" />
|
||
<link rel="icon" type="image/svg+xml" href="/src/assets/logo.svg" />
|
||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||
<meta name="description" content="OpenTeam — an open-source, team-shared service compatible with the OpenAI API." />
|
||
<meta name="theme-color" content="#ffffff" />
|
||
<title>OpenTeam</title>
|
||
<script>
|
||
// 恢复主题偏好(light/dark/auto,auto 跟随系统),避免闪烁
|
||
try {
|
||
var __p = localStorage.getItem('theme') || 'auto'
|
||
var __dark = __p === 'dark' || (__p === 'auto' && window.matchMedia('(prefers-color-scheme: dark)').matches)
|
||
document.documentElement.setAttribute('data-theme', __dark ? 'dark' : 'emerald')
|
||
} catch (e) {
|
||
document.documentElement.setAttribute('data-theme', 'emerald')
|
||
}
|
||
</script>
|
||
</head>
|
||
<body>
|
||
<div id="app"></div>
|
||
<script type="module" src="/src/main.ts"></script>
|
||
</body>
|
||
</html>
|