Skip to content

Commit

Permalink
Merge pull request #51 from TYPO3incubator/bugfix/theme-toggle-button
Browse files Browse the repository at this point in the history
[BUGFIX] Fix dot and text not being visible in theme toggler
  • Loading branch information
NadjaNeb authored Apr 12, 2024
2 parents 1fa6dbe + 3c97bbd commit b56a3fc
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions assets/scss/base/_global.scss
Original file line number Diff line number Diff line change
Expand Up @@ -329,4 +329,8 @@ html {
img.img-darken {
filter: brightness(var(--brightness));
}

.themeToggler .dot {
background-color: var(--color-white);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
<span class="mr-2 flex h-6 w-12 items-center rounded-full bg-[#CCCCCE] dark:bg-dark-2 p-1 duration-200">
<span class="h-5 w-5 rounded-full bg-white duration-200 dot"></span>
</span>
<span class="label flex items-center text-sm font-medium dark:text-[#fff]">
<span class="label flex items-center text-sm font-medium text-primary-700">
<span class="on hidden pl-1">Dark</span>
<span class="off hidden pl-1">Light</span>
</span>
Expand Down

0 comments on commit b56a3fc

Please sign in to comment.