CLASSROOMIO-T-41: Implement dark/light mode switch
Co-authored-by: Rotimi Best <rotimiibitoyeemma@gmail.com> Merge-request: CLASSROOMIO-MR-8 Merged-by: Digdippa Team <digdippa@gmail.com>
This commit is contained in:
committed by
Space Cloud
co-authored by
Rotimi Best
parent
5f14b36ef8
commit
1388a41097
@@ -9,7 +9,7 @@
|
||||
<div class="root mt-4 mx-auto {width} {className} relative {padding}">
|
||||
{#if $$slots.header}
|
||||
<div
|
||||
class="head flex items-center justify-between sticky right-0 w-full px-3"
|
||||
class="head dark:bg-gray-800 flex items-center justify-between sticky right-0 w-full px-3"
|
||||
>
|
||||
<slot name="header" />
|
||||
</div>
|
||||
@@ -26,6 +26,5 @@
|
||||
.head {
|
||||
top: 0px;
|
||||
z-index: 1;
|
||||
background-color: #fafbfc;
|
||||
}
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user