songtianlun
87e0c2eec6
- Implement theme switching functionality with a new ThemeController - Add ToastController for displaying notifications - Update various views for improved layout and styling - Introduce animations for toast notifications These changes enhance the user experience by allowing users to switch between light and dark themes and receive feedback through toast notifications. The UI has been improved for better accessibility and aesthetics.
31 lines
473 B
CSS
31 lines
473 B
CSS
@tailwind base;
|
|
@tailwind components;
|
|
@tailwind utilities;
|
|
|
|
/*
|
|
|
|
@layer components {
|
|
.btn-primary {
|
|
@apply py-2 px-4 bg-blue-200;
|
|
}
|
|
}
|
|
|
|
*/
|
|
|
|
@layer base {
|
|
h1, h2, h3, h4, h5, h6 {
|
|
@apply leading-none;
|
|
}
|
|
|
|
h1 {
|
|
@apply text-[3em] tracking-[-2px] mb-8 mt-8 text-center;
|
|
}
|
|
|
|
h2 {
|
|
@apply text-[1.2em] tracking-[-1px] mb-[30px] text-center font-normal text-gray-400;
|
|
}
|
|
|
|
p {
|
|
@apply text-[1.1em] leading-[1.7];
|
|
}
|
|
} |