Remove custom component styles and use shadcn components instead, then format the code.

This commit is contained in:
PrinOrange
2023-12-29 20:28:13 +08:00
parent 986c8f891c
commit 9b9055e4b1
12 changed files with 60 additions and 51 deletions

View File

@@ -3,8 +3,7 @@
@tailwind utilities;
@import "./typesetting.css";
@import "./formuation.css";
@import "./ui.css";
@import "./formulation.css";
@import "./layout.css";
@import "./scrollbar.css";
@@ -82,3 +81,14 @@
@apply bg-background text-foreground;
}
}
.selection-style {
@apply selection:bg-black
selection:text-white
dark:selection:bg-white
dark:selection:text-black;
}
* {
@apply selection-style;
}

View File

@@ -1,26 +0,0 @@
.selection-style {
@apply selection:bg-black
selection:text-white
dark:selection:bg-white
dark:selection:text-black;
}
.tag-link {
@apply border-2 border-black px-2 hover:border-gray-600 hover:text-gray-600 dark:border-white dark:text-white dark:hover:border-gray-200 dark:hover:text-gray-200;
}
.link-button {
@apply rounded-md
bg-black
px-5
py-1
text-white
hover:bg-gray-600
dark:bg-white
dark:text-black
dark:hover:bg-gray-200;
}
* {
@apply selection-style;
}