feat: new scrollbar style

Signed-off-by: Innei <tukon479@gmail.com>
This commit is contained in:
Innei
2023-04-13 23:00:18 +08:00
parent 63756f659c
commit f8209b43ff
2 changed files with 27 additions and 0 deletions
+25
View File
@@ -21,6 +21,31 @@
border-color: var(--border-color);
}
::-webkit-scrollbar {
width: 10px;
height: 10px;
background: theme("colors.white");
}
::-webkit-scrollbar-thumb {
background: var(--theme-color);
}
::-webkit-scrollbar-thumb:hover {
background: var(--hover-color);
}
::-webkit-scrollbar-corner {
background: theme("colors.white");
}
::-webkit-scrollbar-thumb,
::-webkit-scrollbar-thumb:hover {
background-color: var(--theme-color);
border: 3px solid theme("colors.white");
border-radius: 5px;
}
body {
@apply break-words bg-white;
}