"添加前端模板和运行代码模块"
This commit is contained in:
@@ -0,0 +1,93 @@
|
||||
/* stylelint-disable */
|
||||
@tailwind base;
|
||||
@tailwind components;
|
||||
@tailwind utilities;
|
||||
|
||||
/* Definition of the design system. All colors, gradients, fonts, etc should be defined here.
|
||||
All colors MUST be HSL.
|
||||
*/
|
||||
|
||||
@layer base {
|
||||
:root {
|
||||
--radius: 0.75rem;
|
||||
--background: 0 0% 98%;
|
||||
--foreground: 0 0% 15%;
|
||||
--card: 0 0% 100%;
|
||||
--card-foreground: 0 0% 15%;
|
||||
--popover: 0 0% 100%;
|
||||
--popover-foreground: 0 0% 15%;
|
||||
--primary: 160 100% 38%;
|
||||
--primary-foreground: 0 0% 100%;
|
||||
--primary-light: 160 100% 95%;
|
||||
--secondary: 0 0% 96%;
|
||||
--secondary-foreground: 0 0% 15%;
|
||||
--muted: 0 0% 96%;
|
||||
--muted-foreground: 0 0% 45%;
|
||||
--accent: 160 100% 95%;
|
||||
--accent-foreground: 160 100% 38%;
|
||||
--destructive: 0 84% 60%;
|
||||
--destructive-foreground: 0 0% 100%;
|
||||
--border: 0 0% 90%;
|
||||
--input: 0 0% 90%;
|
||||
--ring: 160 100% 38%;
|
||||
--chart-1: 160 100% 38%;
|
||||
--chart-2: 200 100% 45%;
|
||||
--chart-3: 140 100% 35%;
|
||||
--chart-4: 180 100% 40%;
|
||||
--chart-5: 120 100% 30%;
|
||||
--sidebar: 0 0% 98%;
|
||||
--sidebar-foreground: 0 0% 15%;
|
||||
--sidebar-primary: 160 100% 38%;
|
||||
--sidebar-primary-foreground: 0 0% 100%;
|
||||
--sidebar-accent: 160 100% 95%;
|
||||
--sidebar-accent-foreground: 160 100% 38%;
|
||||
--sidebar-border: 0 0% 90%;
|
||||
--sidebar-ring: 160 100% 38%;
|
||||
}
|
||||
|
||||
.dark {
|
||||
--background: 0 0% 10%;
|
||||
--foreground: 0 0% 95%;
|
||||
--card: 0 0% 15%;
|
||||
--card-foreground: 0 0% 95%;
|
||||
--popover: 0 0% 15%;
|
||||
--popover-foreground: 0 0% 95%;
|
||||
--primary: 160 100% 45%;
|
||||
--primary-foreground: 0 0% 100%;
|
||||
--primary-light: 160 100% 20%;
|
||||
--secondary: 0 0% 20%;
|
||||
--secondary-foreground: 0 0% 95%;
|
||||
--muted: 0 0% 20%;
|
||||
--muted-foreground: 0 0% 60%;
|
||||
--accent: 160 100% 20%;
|
||||
--accent-foreground: 160 100% 45%;
|
||||
--destructive: 0 84% 60%;
|
||||
--destructive-foreground: 0 0% 100%;
|
||||
--border: 0 0% 25%;
|
||||
--input: 0 0% 25%;
|
||||
--ring: 160 100% 45%;
|
||||
--chart-1: 160 100% 45%;
|
||||
--chart-2: 200 100% 50%;
|
||||
--chart-3: 140 100% 40%;
|
||||
--chart-4: 180 100% 45%;
|
||||
--chart-5: 120 100% 35%;
|
||||
--sidebar: 0 0% 15%;
|
||||
--sidebar-foreground: 0 0% 95%;
|
||||
--sidebar-primary: 160 100% 45%;
|
||||
--sidebar-primary-foreground: 0 0% 100%;
|
||||
--sidebar-accent: 160 100% 20%;
|
||||
--sidebar-accent-foreground: 160 100% 45%;
|
||||
--sidebar-border: 0 0% 25%;
|
||||
--sidebar-ring: 160 100% 45%;
|
||||
}
|
||||
}
|
||||
|
||||
@layer base {
|
||||
* {
|
||||
@apply border-border;
|
||||
}
|
||||
|
||||
body {
|
||||
@apply bg-background text-foreground;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user