chore: added custom scrollbar

This commit is contained in:
2025-01-29 16:13:38 +01:00
parent 23e7d04dfa
commit a650a2f719
2 changed files with 19 additions and 0 deletions
+1
View File
@@ -1,6 +1,7 @@
import { createApp } from 'vue'; import { createApp } from 'vue';
import App from './App.vue'; import App from './App.vue';
import { createPinia } from 'pinia'; import { createPinia } from 'pinia';
import './style.css' import './style.css'
const pinia = createPinia(); const pinia = createPinia();
+18
View File
@@ -15,6 +15,24 @@ body {
height: 100vh; height: 100vh;
} }
/* Scrollbar */
/* width */
::-webkit-scrollbar {
width: theme('size.2');
}
/* Track */
::-webkit-scrollbar-track {
background: theme('colors.stone.900');
border-radius: theme('borderRadius.md');
}
/* Handle */
::-webkit-scrollbar-thumb {
background: theme('colors.stone.400');
border-radius: theme('borderRadius.md');
}
@media print { @media print {
:root { :root {
color-scheme: light; color-scheme: light;