Commit graph

160 commits

Author SHA1 Message Date
radishzzz
35415f6c55 chore: update theme config and guide 2025-06-01 13:32:12 +01:00
radishzzz
5ec894cd36 feat: add format-posts srcipt 2025-05-31 16:53:20 +01:00
radishzzz
512c4818ed docs: update theme guide 2025-05-31 00:48:32 +01:00
dependabot[bot]
153e4524af
chore(deps-dev): bump the patch-updates group with 5 updates
Bumps the patch-updates group with 5 updates:

| Package | From | To |
| --- | --- | --- |
| [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) | `22.15.24` | `22.15.28` |
| [@unocss/eslint-plugin](https://github.com/unocss/unocss/tree/HEAD/packages-integrations/eslint-plugin) | `66.1.2` | `66.1.3` |
| [@unocss/preset-attributify](https://github.com/unocss/unocss/tree/HEAD/packages-presets/preset-attributify) | `66.1.2` | `66.1.3` |
| [@unocss/reset](https://github.com/unocss/unocss/tree/HEAD/packages-presets/reset) | `66.1.2` | `66.1.3` |
| [unocss](https://github.com/unocss/unocss/tree/HEAD/packages-presets/unocss) | `66.1.2` | `66.1.3` |


Updates `@types/node` from 22.15.24 to 22.15.28
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

Updates `@unocss/eslint-plugin` from 66.1.2 to 66.1.3
- [Release notes](https://github.com/unocss/unocss/releases)
- [Commits](https://github.com/unocss/unocss/commits/v66.1.3/packages-integrations/eslint-plugin)

Updates `@unocss/preset-attributify` from 66.1.2 to 66.1.3
- [Release notes](https://github.com/unocss/unocss/releases)
- [Commits](https://github.com/unocss/unocss/commits/v66.1.3/packages-presets/preset-attributify)

Updates `@unocss/reset` from 66.1.2 to 66.1.3
- [Release notes](https://github.com/unocss/unocss/releases)
- [Commits](https://github.com/unocss/unocss/commits/v66.1.3/packages-presets/reset)

Updates `unocss` from 66.1.2 to 66.1.3
- [Release notes](https://github.com/unocss/unocss/releases)
- [Commits](https://github.com/unocss/unocss/commits/v66.1.3/packages-presets/unocss)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-version: 22.15.28
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: patch-updates
- dependency-name: "@unocss/eslint-plugin"
  dependency-version: 66.1.3
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: patch-updates
- dependency-name: "@unocss/preset-attributify"
  dependency-version: 66.1.3
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: patch-updates
- dependency-name: "@unocss/reset"
  dependency-version: 66.1.3
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: patch-updates
- dependency-name: unocss
  dependency-version: 66.1.3
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: patch-updates
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-05-30 15:50:20 +00:00
radishzzz
adbad9a0a4 chore: add dependabot, remove html comments from post excerpts 2025-05-29 18:58:26 +01:00
radishzzz
cb55fc4090 chore: update dependencies 2025-05-29 00:12:32 +01:00
radishzzz
32a39aed59 chore: rename public/assets path to public/vendors 2025-05-28 21:25:34 +01:00
radishzzz
cc7e0819f6 fix: add esno dependency 2025-05-28 21:01:55 +01:00
radishzzz
0cbb8402b9 fix: resolve merge conflicts 2025-05-28 20:56:38 +01:00
radishzzz
2f80ab9523 feat: add new post creation script and theme update script, remove git-protect.list and sync-upstream.sh
- Deleted `README-zh.md` and `README.md` as they are no longer needed.
- Removed `git-protect.list` to streamline the synchronization process.
- Introduced `new-post.ts` script for easier blog post creation with default metadata.
- Added `update-theme.ts` script to simplify theme updates from the upstream repository.
- Updated content configuration to handle optional updated dates correctly.
- Adjusted pin values in theme guide documents to allow a range from 0-99 instead of 1-99.
2025-05-28 20:41:08 +01:00
radishzzz
0d4232db1b chore: update dependencies 2025-05-28 13:59:16 +01:00
radishzzz
a5839a2dd1 style: update various code copy button and toc styles
- Removed the old copy-action SVG icon and replaced it with a new copy-button SVG icon.
- Added a new copy-success SVG icon for visual feedback on copy actions.
- Updated Waline component comments for clarity and improved code readability.
- Enhanced BackButton component with fallback navigation to homepage.
- Improved CodeCopyButton component by refining icon handling and timeout management.
- Adjusted GithubCard component's intersection observer root margin for better visibility.
- Updated GsapAnimation component variable names for consistency and clarity.
- Removed unnecessary styles from PhotoSwipe component.
- Modified TOC component styles for better spacing and layout.
- Updated multiple theme guide markdown files to correct image hosting URL comments.
- Cleaned up extend.css by removing commented-out styles and organizing code.
- Added PhotoSwipe background color and KaTeX overflow fixes to global.css.
- Enhanced markdown.css with video styling for better responsiveness.
- Improved transition.css comments for better understanding of GSAP animation states.
2025-05-27 12:45:30 +01:00
radishzz
47e1df9b3d
feat: performance optimizations and ui improvements (#26)
* test: remove astro-compress

* test: remove astro-compress

* perf: add astro-compress, optimize resource preloading

* perf: moving photoswipe styles to head with non-blocking preload strategy

* test: disable astro-compress

* test: enable astro-compress

* fix: typescript hints

* chore: adjust toc style and gsap animation

* style: optimize gsap animation logic, adjust toc style

* chore: adjust toc style

* fix: photoswipe transition position offset caused by scrollbar-gutter
2025-05-26 20:21:38 +01:00
radishzzz
c1996585a8 fix: resolve gsap animation flash on page load
- Add initial state styles for animated elements in CSS
- Change GSAP animations from .from() to .to() method
- Move reduce-motion class from JS to server-side HTML
- Improve performance by eliminating DOM flash
- Enhance code readability with better formatting
2025-05-26 11:12:47 +01:00
radishzzz
91481626c5 fix: adjust component styles to resolve layout and positioning issues 2025-05-25 19:52:29 +01:00
radishzzz
937145f364 chore: update <hr> font style 2025-05-24 11:51:24 +01:00
radishzzz
4b10e91f22 docs: add video embedding instructions to the theme guide 2025-05-22 00:50:27 +01:00
radishzzz
d10d90a8ef chore: update <hr> styles, fix unexpected comments in rss feed, update theme guides 2025-05-21 18:27:14 +01:00
radishzzz
2f158eed60 🎨 style: refactor markdown typography styles 2025-05-20 01:20:59 +01:00
radishzzz
120ebbbb3f style: update animation duration and delay, fix transition issues on mobile 2025-05-19 12:05:34 +01:00
radishzzz
ef192c4545 chore: update theme guides and project comments, add astro-compress to remove comments 2025-05-19 00:25:26 +01:00
radishzzz
db4aa56987 refactor: replace css fade animations with gsap, optimize post page animations and mobile responsiveness 2025-05-18 16:03:17 +01:00
radishzzz
90c2099fec style: add fade animations to roc, back button, tags and waline comment, refactor katex import method 2025-05-17 22:33:14 +01:00
radishzzz
dda2bb6caa fix: fade up animation error 2025-05-17 20:24:51 +01:00
radishzzz
a35999629a feat: add fade up animation to post page, optimize global animation curves and durations, refine animation-related naming conventions 2025-05-17 20:18:41 +01:00
radishzzz
8d6a7154c3 chore: update tag border style 2025-05-17 16:16:12 +01:00
radishzzz
55923f9fcc chore: add rehypeUnwrapImg plugin for image processing optimization, update katex resource path 2025-05-16 04:32:59 +01:00
radishzzz
43295bc7b9 🚀 perf: use native scrollbar instead of overlayscrollbars, switch waline to cdn import
- remove preload comment configuration
- remove preload meta tags in head
- update 404 page
2025-05-15 20:23:32 +01:00
radishzzz
bd24e340e7 style: optimize scrollbar and heading styling 2025-05-15 06:04:36 +01:00
radishzzz
0e5905aaa3 test: remove scrollbar and photoswipe 2025-05-15 02:16:55 +01:00
radishzzz
433dea51d6 chore: update dependencies 2025-05-14 19:02:39 +01:00
radishzzz
41fca8569e perf: remove overlayscrollbars to fix page loading lag, update heading margins 2025-05-14 15:25:27 +01:00
radishzzz
610c86db0d style: add highlight hover animation to navigation and footer
- add dynamic accessible labels to heading anchors
- update theme toggle button svg
2025-05-13 23:33:09 +01:00
radishzzz
e5ecbe1341 feat: add heading anchor links 2025-05-13 03:09:23 +01:00
radishzzz
4c83ae5b76 style: add bold icons for desktop mode, fix text-align for github card description 2025-05-12 19:34:20 +01:00
radishzzz
9c1d2241d4 style: add letter spacing to cjk header, navbar and post titles 2025-05-11 00:52:02 +01:00
radishzzz
385b5508aa fix: image relative path in rss feed, modify the path of the local images
-
2025-05-10 21:59:45 +01:00
radishzz
fc1cc050bc
refactor: separate rss and atom generation, optimize back button logic (#22)
* refactor: separate rss and atom generation, optimize back button logic, remove redundant whitespace in component styles

* fix:  add missing <published> tag in atom feed
2025-05-10 04:37:20 +01:00
radishzzz
bf20fb4014 fix: upgrade waline to v3.5.7 (fixes #10), remove unused titlegap configuration 2025-05-08 01:57:40 +01:00
radishzzz
6507ca14c4 chore: update site favicon and table styles, delete hastscript 2025-05-04 17:25:22 +01:00
radishzzz
168046de88 style: update rounded corner styles for images and waline 2025-05-04 16:05:07 +01:00
radishzzz
d59c52b063 chore: update margin bottom and dependencies 2025-05-04 03:33:51 +01:00
radishzzz
2ddae5631e feat: add github repository card extension feature
- remove astro-compress to improve build speed
- add target and rel attributes to footer links
- rename unocss opacity utility from 'opacity' to 'op'
- update PostList component's page logic from 'isTag' to 'isHome'
- create extend.css file for markdown extended features
- reorganize and sort styles in heti.css
- fix inline code wrapping issue
2025-05-02 18:06:59 +01:00
radishzzz
f59b4c691a chore: change syntax from :::type{title} to :::type[title] 2025-04-30 17:00:30 +01:00
radishzzz
23ba4de450 feat: add admonition functionality and markdown-extended-features article, improve blockquote styling 2025-04-25 20:31:41 +01:00
radishzzz
c13f393015 style: optimize colors and opacity, fix footnote symbol formatting 2025-04-24 20:59:50 +01:00
radishzzz
ff7cade613 chore: update dependency version 2025-04-21 19:20:04 +01:00
radishzzz
fd8cc74627 refactor: heti style 2025-04-17 01:00:26 +01:00
radishzzz
4ff44f9ac4 style: add image to figure plugin
- Improve styles for images, blockquotes, tables and more
- Fix unexpected line breaks
2025-04-16 06:25:04 +01:00
radishzzz
018f1c9b6c chore: improve article auto-excerpt, allow inline code to wrap 2025-04-15 16:53:29 +01:00