mirror of
https://github.com/halo-dev/theme-earth.git
synced 2026-06-05 01:13:07 +08:00
refactor/project
Update lockfile with multiple dependency/version bumps and new platform bindings. Key changes: vite-plus and related voidzero packages bumped to 0.1.14, added @oxc-project/runtime@0.121.0 and bumped @oxc-project/types to 0.122.0, oxfmt platform bindings updated to 0.42.0, oxlint and tsgolint bindings bumped to 1.57.0/0.17.3, cac -> 7.0.0 (node engine requirement updated), lightningcss platform packages updated to 1.32.0 (including new android-arm64 entry), and small peerDependency/peerDependenciesMeta adjustments (e.g. @vitest/ui -> 4.1.1). Integrity hashes and engine/cpu/os metadata were updated accordingly.
Earth
Halo 2.0 的默认主题。
使用方式
-
手动从以下地址下载主题包并在 Console 的主题管理界面安装,安装方式可参考:https://docs.halo.run/user-guide/themes
-
如果安装了应用市场插件,可以直接在应用市场中搜索
Earth并安装。
插件支持
Earth 主题支持以下 Halo 插件:
- 友情链接(/links):https://www.halo.run/store/apps/app-hfbQg
- 图库(/photos):https://www.halo.run/store/apps/app-BmQJW
- 瞬间(/moments):https://www.halo.run/store/apps/app-SnwWD
为了获得更好的体验,你还可以安装以下插件(如果需要):
- Shiki 代码高亮:https://www.halo.run/store/apps/app-kzloktzn
- lightgallery.js 灯箱:https://www.halo.run/store/apps/app-OoggD
开发
git clone git@github.com:halo-dev/theme-earth.git ~/halo2-dev/themes/theme-earth
cd ~/halo2-dev/themes/theme-earth
pnpm install
pnpm dev
主题开发文档可查阅:https://docs.halo.run/developer-guide/theme/prepare
构建
pnpm build
然后将 dist 目录的 ZIP 格式压缩包在 Halo 后台上传安装即可。
Description
Languages
HTML
74.9%
CSS
16.5%
TypeScript
7.1%
SCSS
1.1%
JavaScript
0.4%
