Remove custom component styles and use shadcn components instead, then format the code.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
Reference in New Issue
Block a user