mirror of
https://github.com/reonokiy/blog.nokiy.net.git
synced 2025-06-17 03:56:19 +02:00
feat: update font configuration
- Add new font variations for EarlySummer and subset fonts - Update uno.config.ts to modify font family configurations - Introduce new font files for navbar, time, and subset usage - Remove preload of external font CDN and add local font CSS import - Adjust scrollbar initialization to handle native scrollbars - Modify index page date display styles
This commit is contained in:
parent
e14c62e1f6
commit
0241091a8f
137 changed files with 180 additions and 147 deletions
|
@ -7,8 +7,11 @@ function initScrollbar() {
|
|||
const bodyElement = document.body
|
||||
if (!bodyElement.hasAttribute('data-scrollbar-initialized')) {
|
||||
scrollbarsInstance = OverlayScrollbars({
|
||||
target: bodyElement,
|
||||
}, {
|
||||
target: bodyElement,
|
||||
cancel: {
|
||||
nativeScrollbarsOverlaid: true, // don't initialize the overlay scrollbar if there is a native one
|
||||
}
|
||||
}, {
|
||||
scrollbars: {
|
||||
theme: document.documentElement.classList.contains('dark') ? 'scrollbar-dark' : 'scrollbar-light',
|
||||
autoHide: 'scroll',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue