diff --git a/src/scss/custom.scss b/src/scss/custom.scss index e382b91..ffc3d1c 100644 --- a/src/scss/custom.scss +++ b/src/scss/custom.scss @@ -118,7 +118,7 @@ html[data-theme-override="light"] { } .docs-wrapper .navbar__items { - @apply bg-white dark:bg-neutral-950; + // @apply bg-white dark:bg-neutral-950; } .docs-wrapper .main-wrapper, @@ -130,6 +130,13 @@ html[data-theme-override="light"] { padding: 0 2rem; } +.plugin-pages { + .logo-container { + box-shadow: none; + background: none; + } +} + .navbar { transition: transform 0.25s ease-in-out; transform: translateY(0); @@ -165,12 +172,20 @@ html[data-theme-override="light"] { .navbar-sidebar { @apply h-fit dark:bg-neutral-900; + .navbar-sidebar__brand { + @apply relative; + } + + .navbar-sidebar__items { + height: auto; + } + .navbar-sidebar__item.menu { padding: 10px 6px !important; } .color-mode-toggle { - @apply absolute top-[21px] right-6 h-fit; + @apply absolute top-1/2 right-6 -translate-1/2; } .menu__link--sublist::after { @@ -258,7 +273,7 @@ html[data-theme-override="light"] { @apply m-0 h-8 w-8; } b { - @apply flex h-8 items-center rounded-lg px-2 font-mono hover:bg-neutral-100 dark:hover:bg-neutral-200/10; + @apply flex h-8 items-center rounded-lg px-2 font-mono font-semibold hover:bg-neutral-100 dark:hover:bg-neutral-200/10; } } } diff --git a/src/theme/ColorModeToggle/styles.module.css b/src/theme/ColorModeToggle/styles.module.css index 3bb06c1..30945e5 100644 --- a/src/theme/ColorModeToggle/styles.module.css +++ b/src/theme/ColorModeToggle/styles.module.css @@ -1,19 +1,19 @@ @reference '../../scss/custom.scss'; .toggle { - @apply flex h-8 w-8 justify-center rounded-lg hover:bg-neutral-100 dark:hover:bg-neutral-300/10; + @apply flex justify-center rounded-lg; + height: 21px; + width: 21px; } .toggleButton { - @apply h-4 w-4; align-items: center; display: flex; justify-content: center; - height: 100%; transition: background var(--ifm-transition-fast); } .toggleIcon { - width: 1.25rem; - height: 1.25rem; + width: 1rem; + height: 1rem; } diff --git a/src/theme/Icon/Close/index.tsx b/src/theme/Icon/Close/index.tsx index 178faca..2d68e79 100644 --- a/src/theme/Icon/Close/index.tsx +++ b/src/theme/Icon/Close/index.tsx @@ -11,7 +11,6 @@ export default function IconClose({ return ( +