feat: 初始化 React + Vite + Supabase 用户管理应用
- 使用 Vite 创建 React 应用基础结构,包含主应用布局和路由 - 集成 Supabase 客户端,实现用户表的 CRUD 操作 - 添加 Ant Design UI 组件库,构建用户管理界面 - 配置数据库迁移脚本,初始化 users 表及示例数据 - 设置开发环境配置,包括 ESLint、Git 忽略文件和项目依赖
This commit is contained in:
28
src/index.css
Normal file
28
src/index.css
Normal file
@@ -0,0 +1,28 @@
|
||||
|
||||
:root {
|
||||
font-family: Inter, system-ui, Avenir, Helvetica, Arial, sans-serif;
|
||||
line-height: 1.5;
|
||||
font-weight: 400;
|
||||
|
||||
color-scheme: light dark;
|
||||
color: rgba(255, 255, 255, 0.87);
|
||||
background-color: #242424;
|
||||
|
||||
font-synthesis: none;
|
||||
text-rendering: optimizeLegibility;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
}
|
||||
|
||||
body {
|
||||
margin: 0;
|
||||
min-width: 320px;
|
||||
min-height: 100vh;
|
||||
}
|
||||
|
||||
@media (prefers-color-scheme: light) {
|
||||
:root {
|
||||
color: #213547;
|
||||
background-color: #ffffff;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user