Commit graph

69 commits

Author SHA1 Message Date
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