Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions src/layouts/default.vue
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,6 @@ const rootRepositoryRoutes = ['contributing', 'changelog']
<div
class="absolute bottom-0 right-0 top-16 hidden h-12 w-px bg-gradient-to-t from-slate-800 dark:block"
/>
<div
class="absolute bottom-0 right-0 top-28 hidden w-px bg-slate-800 dark:block"
/>
<div class="w-64 pr-8 xl:w-72 xl:pr-16">
<the-sidebar-desktop />
</div>
Expand Down
26 changes: 26 additions & 0 deletions src/styles/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,32 @@
@tailwind components;
@tailwind utilities;

:root {
color-scheme: light;
--scrollbar-track: white;
--scrollbar-thumb: #cbd5e1;
}

html.dark {
color-scheme: dark;
--scrollbar-track: #111827;
--scrollbar-thumb: #475569;
}

html,
body {
scrollbar-color: var(--scrollbar-thumb) var(--scrollbar-track);
}

::-webkit-scrollbar-track {
background: var(--scrollbar-track);
}

::-webkit-scrollbar-thumb {
background-color: var(--scrollbar-thumb);
border-radius: 999px;
}

/*
* Prose overrides - must be loaded after @tailwind utilities
* This file contains styles that override Tailwind Typography defaults
Expand Down