feat(theme): make navbar logo's height customizable by css variable (#2644)

pull/2663/head
Aelita 1 year ago committed by GitHub
parent f3a459708d
commit c2e79aa583
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -47,6 +47,6 @@ const { currentLang } = useLangs()
:deep(.logo) { :deep(.logo) {
margin-right: 8px; margin-right: 8px;
height: 24px; height: var(--vp-nav-logo-height);
} }
</style> </style>

@ -361,6 +361,7 @@
--vp-nav-height: 64px; --vp-nav-height: 64px;
--vp-nav-bg-color: var(--vp-c-bg); --vp-nav-bg-color: var(--vp-c-bg);
--vp-nav-screen-bg-color: var(--vp-c-bg); --vp-nav-screen-bg-color: var(--vp-c-bg);
--vp-nav-logo-height: 24px;
} }
/** /**

Loading…
Cancel
Save