<div align="right">
  <a title="en" href="README.md"><img src="https://img.shields.io/badge/-English-545759?style=for-the-badge" alt="english"></a>
  <img src="https://img.shields.io/badge/-%E7%AE%80%E4%BD%93%E4%B8%AD%E6%96%87-A31F34?style=for-the-badge" alt="简体中文">
  <a title="zh-TW" href="README_zh-TW.md"><img src="https://img.shields.io/badge/-%E7%B9%81%E4%BD%93%E4%B8%AD%E6%96%87-545759?style=for-the-badge" alt="繁体中文"></a>
</div>

<div align="center">

```
 ____               __             ___                              __   __     
/\  _`\            /\ \          /'___\ __                         /\ \ /\ \    
\ \ \L\ \     __   \_\ \     __ /\ \__//\_\    ___      __         \ `\`\/'/'   
 \ \ ,  /   /'__`\ /'_` \  /'__`\ \ ,__\/\ \ /' _ `\  /'__`\ _______`\/ > <     
  \ \ \\ \ /\  __//\ \L\ \/\  __/\ \ \_/\ \ \/\ \/\ \/\  __//\______\  \/'/\`\  
   \ \_\ \_\ \____\ \___,_\ \____\\ \_\  \ \_\ \_\ \_\ \____\/______/  /\_\\ \_\
    \/_/\/ /\/____/\/__,_ /\/____/ \/_/   \/_/\/_/\/_/\/____/          \/_/ \/_/
```

</div>


# hexo-theme-Redefine-X

"Redefine-X" 是一款简洁、快速、纯粹的 Hexo 主题，其简约之美遥非平凡，让人领略到设计的力量。本主题不仅包含诸多实用丰富的功能，而且赋予了精致而出色的设计理念。

本主题源自 [hexo-theme-redefine](https://github.com/EvanNotFound/hexo-theme-redefine)，进一步进行了精心打磨和扩展。在保留了原主题的精炼基础上，我们优化了整体样式，引入了自定义功能，增添了多种个性化支持。同时，大幅提高了自定义的灵活度，旨在让您能够更加便捷、顺畅地运用本主题，打造出独具匠心的个人博客。

本主题源自 [hexo-theme-keep](https://github.com/XPoet/hexo-theme-keep) 的早期版本，进一步进行了精心打磨和扩展。在保留了原主题的精炼基础上，我们优化了整体样式，引入了丰富的写作模块，并增添了多种插件支持。同时，大幅提高了自定义的灵活度，旨在让您能够更加便捷、顺畅地运用本主题，打造出独具匠心的个人博客。

<p align="center">
    <a href="https://hexo.io"><img src="https://img.shields.io/badge/hexo-%3E=5.0.0-8caaee?style=for-the-badge&amp;logo=hexo&amp;logoColor=8caaee" referrerpolicy="no-referrer" alt="Required Hexo version" /></a>
    <img src="https://img.shields.io/badge/node-%3E=12.0-a6d189?style=for-the-badge&amp;logo=node.js&amp;logoColor=a6d189" referrerpolicy="no-referrer" alt="NodeJS Version" />
    <a href="https://github.com/Jason-JP-Yang/hexo-theme-Redefine-X"><img src="https://img.shields.io/github/stars/Jason-JP-Yang/hexo-theme-Redefine-X?style=for-the-badge" alt="GitHub Stars" /></a>
</p>


<picture>
  <source media="(prefers-color-scheme: dark)" srcset="https://github.com/EvanNotFound/hexo-theme-redefine/assets/68590232/337c1801-7a59-45af-a02a-583508be69a5" />
  <source media="(prefers-color-scheme: light)" srcset="https://github.com/EvanNotFound/hexo-theme-redefine/assets/68590232/d88a5544-c86e-46ab-8e52-0582b437f989" />
  <img alt="Cover Image" src="https://github.com/EvanNotFound/hexo-theme-redefine/assets/68590232/d88a5544-c86e-46ab-8e52-0582b437f989" />
</picture>

<picture>
  <source media="(prefers-color-scheme: dark)" srcset="https://github.com/EvanNotFound/hexo-theme-redefine/assets/68590232/5d51b48d-7b08-4da0-a304-933424739203" />
  <source media="(prefers-color-scheme: light)" srcset="https://github.com/EvanNotFound/hexo-theme-redefine/assets/68590232/c6df4b81-557d-4e0b-8038-b056075d0fa4" />
  <img alt="Pages Image" src="https://github.com/EvanNotFound/hexo-theme-redefine/assets/68590232/c6df4b81-557d-4e0b-8038-b056075d0fa4" />
</picture>

## 🌐 官方演示站

- [Jason Yang's Blog](https://blog.jason-yang.top)
- [Theme Redefine-X 文档](https://redefine-x-docs.jason-yang.top/zh)

## ⛰️ 部分功能

- [笔记模块](https://redefine-x-docs.jason-yang.top/zh/modules/notes)
- [友链样式](https://redefine-x-docs.jason-yang.top/zh/page_templates/friends)
- [数学公式](https://redefine-x-docs.jason-yang.top/zh/plugins/mathjax)
- 代码块语言显示
- Light/Dark 模式切换
- [Font Awesome 6.2.1 Pro](https://redefine-x-docs.jason-yang.top/zh/basic/fontawesome)（包含 Duotone/Regular/Thin 等不同样式）
- [下拉菜单](https://redefine-x-docs.jason-yang.top/zh/home/navbar)
- [可自定义页脚](https://redefine-x-docs.jason-yang.top/zh/footer)
- [网站运行时间显示](https://redefine-x-docs.jason-yang.top/zh/footer)
- [文章头图](https://redefine-x-docs.jason-yang.top/zh/article_customize/banner)
- [Mermaid JS 支持](https://redefine-x-docs.jason-yang.top/zh/plugins/mermaid)
- SEO 友好
- [Aplayer 音乐播放器支持](https://redefine-x-docs.jason-yang.top/zh/plugins/aplayer)
- [说说模块](https://redefine-x-docs.jason-yang.top/zh/shuoshuo)
- [自定义字体](https://redefine-x-docs.jason-yang.top/zh/basic/global)
- Tailwind CSS 支持

## ☁️ 安装

### 通过 npm 安装（推荐）

如果你的 Hexo 版本在 `5.0` 及以上，推荐通过 `npm` 安装

```sh
$ cd your-hexo-site
$ npm install hexo-theme-redefine-x@latest
```

### 通过 git 克隆安装

或者使用 git 克隆

```sh
$ cd your-hexo-site
$ git clone https://github.com/Jason-JP-Yang/hexo-theme-Redefine-X.git themes/redefine-x
```

### 配置

安装完成后，在 Hexo 配置文件 `_config.yml` 中将 `theme` 设置为 `redefine-x`。

```yaml
theme: redefine-x
```


## ⏫ 更新

### 通过 npm 更新

Theme Redefine-X 经常发布新版本，你可以通过如下命令更新 Theme Redefine-X。

```sh
$ npm install hexo-theme-redefine-x@latest
```

### 通过 git 更新

如果你是通过 `git clone` 安装的，可以通过以下命令更新到最新的 `main` 分支：

```sh
$ cd themes/redefine-x
$ git pull
```


## 📄 文档

请阅读 [Redefine-X 主题官方文档](https://redefine-x-docs.jason-yang.top/zh) 进行主题配置与安装，非常简单易懂。

## ☕ 支持

欢迎 **pull request** 或者 提交 **issues**.

如有问题，请发邮件到 [jiepengyang@outlook.com](mailto:jiepengyang@outlook.com). 我会及时回复

如果你觉得主题还不错的话，欢迎给我 Github 点个 Star，谢谢。建议点个 Watch，以便及时获取主题更新。

Hexo-Theme-Redefine-X 是一个完全开源且完全公益的项目。本项目目前仅能使用公开的CDN进行加速。我的开发重点在于增加更丰富的功能并优化网页的核心加载逻辑。如果你喜欢这个设计与画风，请前往 Hexo-Theme-Redefine 支持原项目：  
https://github.com/EvanNotFound/hexo-theme-redefine

## 🌟 Star 记录

<a href="https://star-history.com/#Jason-JP-Yang/hexo-theme-Redefine-X&Date">
  <picture>
    <source media="(prefers-color-scheme: dark)" srcset="https://api.star-history.com/svg?repos=Jason-JP-Yang/hexo-theme-Redefine-X&type=Date&theme=dark" />
    <source media="(prefers-color-scheme: light)" srcset="https://api.star-history.com/svg?repos=Jason-JP-Yang/hexo-theme-Redefine-X&type=Date" />
    <img alt="Star History Chart" src="https://api.star-history.com/svg?repos=Jason-JP-Yang/hexo-theme-Redefine-X&type=Date" />
  </picture>
</a>

## 💻 主题开发

如果你想参与主题开发，请 `clone` 本项目的 `main` 分支，然后在 `main` 分支上进行开发。

同时，请查看 [Redefine-X 主题开发文档](https://redefine-x-docs.jason-yang.top/zh/developer)。

## 📜 许可证

Copyright © 2025-2026 Jason-JP-Yang

本项目基于 GPL-3.0 许可证开源 - 详见 [LICENSE](LICENSE) 文件。

基于 EvanNotFound 的 [hexo-theme-redefine](https://github.com/EvanNotFound/hexo-theme-redefine) 开发。
