# theme-earth **Repository Path**: icorecool/theme-earth ## Basic Information - **Project Name**: theme-earth - **Description**: Halo 2.0 的默认主题 - **Primary Language**: Unknown - **License**: GPL-3.0 - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 13 - **Created**: 2024-10-03 - **Last Updated**: 2024-10-03 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Earth Halo 2.0 的默认主题。 ![Earth](./screenshot.jpg) ## 使用方式 1. 手动从以下地址下载主题包并在 Console 的主题管理界面安装,安装方式可参考: - https://www.halo.run/store/apps/app-KgWqR - https://github.com/halo-dev/theme-earth/releases 3. 如果安装了[应用市场](https://www.halo.run/store/apps/app-VYJbF)插件,可以直接在应用市场中搜索`Earth`并安装。 ## 插件支持 Earth 主题支持以下 Halo 插件: - 友情链接(/links): - 图库(/photos): - 瞬间(/moments): 为了获得更好的体验,你还可以安装以下插件(如果需要): - highlight.js 代码高亮: - lightgallery.js 灯箱: ## 开发 ```bash git clone git@github.com:halo-dev/theme-earth.git ~/halo2-dev/themes/theme-earth ``` ```bash cd ~/halo2-dev/themes/theme-earth ``` ```bash pnpm install ``` ```bash pnpm dev ``` 主题开发文档可查阅: ## 构建 > 如果你使用的是 Windows 操作系统,请安装 `make` 命令并在 Git Bash 或 WSL 中执行。 ```bash make build ``` 然后将 `dist` 目录压缩成 `ZIP` 格式压缩包即可在 Halo 后台上传安装。