Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
0xDezzy committed Nov 22, 2024
2 parents 2e22888 + 4d1af12 commit 97a51a9
Showing 1 changed file with 1 addition and 31 deletions.
32 changes: 1 addition & 31 deletions assets/css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -5,34 +5,4 @@
/* Custom styles */
@layer components {
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;700&display=swap');

body {
@apply bg-white text-neutral-900 dark:bg-neutral-900 dark:text-white;
}
}

@layer utilities {
.custom-scrollbar {
/* For Webkit browsers (Chrome, Safari) */
&::-webkit-scrollbar {
width: 8px;
}

&::-webkit-scrollbar-track {
background: theme('colors.hacking-midnight.DEFAULT');
}

&::-webkit-scrollbar-thumb {
background-color: theme('colors.hacking-violet.DEFAULT');
border-radius: 4px;
}

&::-webkit-scrollbar-thumb:hover {
background-color: theme('colors.hacking-violet.light');
}

/* For Firefox */
scrollbar-width: thin;
scrollbar-color: theme('colors.hacking-violet.DEFAULT') theme('colors.hacking-midnight.DEFAULT');
}
}
}

0 comments on commit 97a51a9

Please sign in to comment.