Commit graph

34 commits

Author SHA1 Message Date
radishzzz
923d473593 chore: update dependence
- Increase z-index for language switcher, theme toggle, and view transitions
- Remove sticky positioning from mobile header
- Ensure proper layering of UI elements on mobile devices
2025-02-15 01:15:09 +00:00
radishzzz
7498f93ef9 feat: improve mobile header and layout responsiveness
- Add sticky positioning to mobile header
- Implement back navigation for mobile header
- Adjust layout to use min-height instead of fixed height
- Remove global scroll-smooth class for more flexible scrolling
- Update dependencies to latest versions
2025-02-14 07:04:52 +00:00
radishzzz
614b41ed87 chore: update dependencies and add force-gpu utility 2025-02-11 23:07:03 +00:00
radishzzz
2a731b067a fix: text cut issue on iOS and update scrollbar color 2025-02-11 15:00:34 +00:00
radishzzz
3d2cec7908 fix: text cut issue on ios 2025-02-10 02:43:46 +00:00
radishzzz
aa63803aa2 fix: theme transition error on ios 2025-02-05 21:04:10 +00:00
radishzzz
93eca1fa7a fix: theme transition error on ios 2025-02-05 17:07:45 +00:00
radishzzz
45385fd84a fix: theme transition error 2025-02-05 16:39:28 +00:00
radishzzz
3bd8e6ad1c fix: delete font-style: italic for ios 2025-01-28 10:39:18 +00:00
radishzzz
0f20e43484 refactor: remove underline animation and update styling
- Remove underline-animation UnoCSS shortcut from uno.config.ts
- Update Navbar component to remove underline-animation classes
- Remove inline script for link transition animations
- Add cover images to existing posts
- Update font and date display classes in index pages
- Modify global CSS for iOS rendering optimization
2025-01-28 04:33:47 +00:00
radishzzz
f1d2204337 feat: add underline animation
- Implement underline-animation UnoCSS shortcut for navbar links
- Add dynamic hover and page transition effects for navigation
- Update Navbar component to use new underline-animation class
- Remove CDN configuration from preload settings
- Modify font class for date display in index page
- Add inline script to handle link animations during page transitions
2025-01-28 02:46:38 +00:00
radishzzz
0241091a8f 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
2025-01-27 04:50:12 +00:00
radishzzz
e14c62e1f6 refactor: clean up SEO and theme configuration
- Remove unused SEO metadata fields like Facebook and site screenshot
- Rename global font configuration from 'font' to 'fontStyle'
- Update theme toggle to use documentElement instead of body for theme restoration
- Simplify HTML metadata and remove redundant meta tags
- Adjust index page to use div instead of time for date display
2025-01-26 23:55:08 +00:00
radishzzz
d72ec58837 feat: add multilingual theme introduction posts
- Added localized Retypeset theme introduction posts for multiple languages
- Included posts in English, Spanish, Russian, Japanese, Chinese (Simplified and Traditional)
- Standardized post structure with consistent metadata and content
- Updated content configuration to support multilingual post entries
2025-01-26 08:16:48 +00:00
radishzzz
e43036ae3a test: ios flash issue 2025-01-26 04:22:02 +00:00
radishzzz
1bb8bb624f test: ios flash issue 2025-01-26 04:21:32 +00:00
radishzzz
24c680d5b1 test: ios flash issue
- Simplify scrollbar hiding styles
- Remove redundant transform properties from body
- Add WebKit transform for image rendering
- Enhance theme transition animation with transform optimizations
2025-01-26 04:18:32 +00:00
radishzzz
e513b78c66 test: ios flash issue
- Remove unnecessary scrollbar styles and consolidate scrollbar hiding
- Add performance optimizations for body and image rendering
- Improve backface visibility and transform properties
- Remove commented-out media query code
2025-01-26 04:07:43 +00:00
radishzzz
ae39d7b08c feat: enhance post listing and reading time display
- Implement dynamic post listing grouped by year with improved date formatting
- Add reading time display for each post
- Update index pages for both default and localized routes
- Modify content utility functions to support reading time metadata
- Refactor global styles and type definitions to support new features
2025-01-26 02:59:39 +00:00
radishzzz
bca8b9b1cf feature: global view animation
- Updated Header component to adjust title margin and changed subtitle from h3 to h2 for better semantic structure.
- Refined LanguageSwitcher component to enhance language switching functionality and improved accessibility.
- Adjusted Navigation component's margin and link styles for better visual hierarchy.
- Enhanced ThemeToggle component with view transition effects for smoother theme changes.
- Updated global CSS to support new transition styles for theme toggling.
- Bumped rollup version in pnpm-lock.yaml for improved build performance.
2025-01-24 12:57:30 +00:00
radishzzz
d4e5fda5d1 fix: theme toggle fallback animation flash issue (final) 2025-01-24 00:30:39 +00:00
radishzzz
419b8b5611 fix: theme toggle error
- Streamlined theme toggle logic to better synchronize with user preferences and system settings.
- Updated the initialization of the theme to utilize a more robust method for determining the default mode.
- Improved accessibility by ensuring aria attributes are correctly set for the theme toggle button.
- Enhanced global CSS styles for better consistency and added support for view transitions during theme changes.
- Removed redundant code and improved overall readability of the theme toggle component.
2025-01-23 10:13:30 +00:00
radishzzz
77f94f646f fix: theme toggle error and improve global styles
- Refactored theme toggle logic to synchronize theme state with user preferences and system settings.
- Introduced a new method to set the theme based on saved preferences or system color scheme.
- Updated global CSS to support dark mode by default when the system prefers it, and added functional styles for better user experience.
- Improved theme toggle animation and ensured compatibility with view transitions API.
- Enhanced accessibility by updating aria attributes for the theme toggle button.
2025-01-23 09:08:16 +00:00
radishzzz
1af92d92c8 feat: integrate PhotoSwipe lightbox, enhance scrollbar functionality, and update layout components
- Added a new PhotoSwipe component for image lightbox functionality in the layout.
- Enhanced scrollbar component with an auto-hide delay feature.
- Updated global styles to improve scrollbar appearance and added styles for PhotoSwipe.
- Included new Head layout component for better SEO and meta tag management.
- Added images to existing posts for improved visual content.

This commit improves user experience with enhanced image viewing and layout consistency.
2025-01-23 08:23:43 +00:00
radishzzz
ac9e839a75 chore: remove unused dependencies, enhance scrollbar functionality, and update VSCode settings
- Removed unused `@types/mdast` dependency from package.json and pnpm-lock.yaml.
- Introduced a custom scrollbar component with theme support in Scrollbar.astro.
- Updated Layout.astro to include the new Scrollbar component.
- Enhanced ThemeToggle.astro to dispatch a theme-changed event on toggle.
- Added global scrollbar styles to global.css and created a new scrollbar.css for custom scrollbar styling.
- Updated VSCode settings to improve editor experience and added recommendations for new extensions.
2025-01-22 23:35:52 +00:00
radishzzz
fa3d73fe17 test: meta theme-color issue 2025-01-20 21:49:33 +00:00
radishzzz
dce0b3a786 fix: two issues in last commit 2025-01-20 20:36:53 +00:00
radishzzz
42fa1be00f fix: issues in last commit 2025-01-20 13:51:19 +00:00
radishzzz
6ff3d30f80 fix: mobile browser issues and dark mode flicker
- Fix mobile browser navigation bar color not changing
- Remove scrollbar appearing under 100dvh
- Fix dark mode page transition flicker
2025-01-20 12:52:39 +00:00
radishzzz
d599b3e26d feat: add theme toggle for light/dark modes 2025-01-20 10:36:14 +00:00
radishzzz
d148649454 refactor: update theme configuration and background styles 2025-01-19 23:18:12 +00:00
radishzzz
8eb0876c01 fix: title font style 2025-01-19 03:49:50 +00:00
radishzzz
0bfb9aab0a feat: add font family and global styles 2025-01-18 11:09:36 +00:00
radishzzz
77fc6eff6c chore: refine plugins and astro config 2025-01-14 05:31:58 +00:00