Color tuning

This commit is contained in:
René Preuß
2023-02-20 12:33:18 +01:00
parent 9dab7e782e
commit ba9aa2e1b2
2 changed files with 41 additions and 10 deletions

View File

@@ -1,11 +1,36 @@
<template>
<div class="overflow-y-auto h-screen">
<div
class="overflow-y-auto h-screen"
:class="`${variant}`"
>
<slot />
</div>
</template>
<script>
export default {
name: "BitinflowScreenScrollContainer"
name: "BitinflowScreenScrollContainer",
props: {
variant: {
type: String,
default: 'light'
}
}
}
</script>
<style>
.light::-webkit-scrollbar-thumb {
@apply bg-gray-200;
}
.light::-webkit-scrollbar-thumb:hover {
@apply bg-gray-200;
}
.dark .light::-webkit-scrollbar-thumb {
@apply bg-base-800;
}
.dark .light::-webkit-scrollbar-thumb:hover {
@apply bg-base-800;
}
</style>