Files
zn-ai/src/styles.css
DEV_DSW 79bea4f107 Refactor UUID generation, remove unused logger and encryption utilities, and clean up request handling
- Updated `generateUUID` function for improved readability and performance.
- Deleted `logger.ts`, `other.ts`, `request.ts`, `storage.ts`, `tansParams.ts`, and `validate.ts` as they were no longer needed.
- Simplified TypeScript configuration by removing unnecessary paths and aliases.
- Enhanced Vite configuration for better project structure and maintainability.
2026-04-17 15:38:08 +08:00

97 lines
1.3 KiB
CSS

@import "tailwindcss";
@custom-variant dark (&:where(.dark, .dark *));
:root {
color: #171717;
background-color: #f1f5f9;
font-family:
"SF Pro Text",
"PingFang SC",
"Helvetica Neue",
Arial,
sans-serif;
text-rendering: optimizeLegibility;
}
html,
body,
#app {
width: 100%;
height: 100%;
min-height: 100%;
margin: 0;
}
body {
overflow: hidden;
background:
radial-gradient(circle at top, rgba(59, 130, 246, 0.08), transparent 28%),
#f1f5f9;
line-height: 1.5;
}
.dark body {
color: #f3f4f6;
background:
radial-gradient(circle at top, rgba(37, 99, 235, 0.1), transparent 28%),
#020617;
}
*,
*::before,
*::after {
box-sizing: border-box;
}
button,
input,
textarea,
select {
font: inherit;
}
button {
cursor: pointer;
}
img,
svg {
display: block;
}
a {
color: inherit;
text-decoration: none;
}
.drag-region {
-webkit-app-region: drag;
user-select: none;
}
.no-drag {
-webkit-app-region: no-drag;
}
::-webkit-scrollbar {
width: 10px;
height: 10px;
}
::-webkit-scrollbar-track {
background: transparent;
}
::-webkit-scrollbar-thumb {
border: 2px solid transparent;
border-radius: 9999px;
background: rgba(82, 88, 102, 0.28);
background-clip: padding-box;
}
::-webkit-scrollbar-thumb:hover {
background: rgba(82, 88, 102, 0.4);
background-clip: padding-box;
}