mirror of
https://github.com/comeonzhj/Auto-Redbook-Skills.git
synced 2026-03-27 04:29:28 +08:00
feat: v2.0 智能分页渲染 + 7种可选样式
新增功能: - 智能分页渲染脚本(Python/Node.js),自动解决内容溢出问题 - 7种可选样式主题:purple, xiaohongshu, mint, sunset, ocean, elegant, dark - 新增 STYLES.md 样式选择指南 - 更新 README,添加 v2.0 更新说明 - 保留 V1 旧版脚本保证兼容性 使用方式: python scripts/render_xhs_v2.py note.md --style sunset
This commit is contained in:
98
STYLES.md
Normal file
98
STYLES.md
Normal file
@@ -0,0 +1,98 @@
|
||||
# 小红书笔记样式预览
|
||||
|
||||
本文档展示所有可用的样式主题,方便用户选择合适的设计风格。
|
||||
|
||||
## 样式列表
|
||||
|
||||
### 1. purple(紫韵)- 默认
|
||||
- **封面背景**:蓝紫色渐变
|
||||
- **卡片背景**:紫蓝渐变
|
||||
- **强调色**:#6366f1
|
||||
- **适用场景**:通用、科技感、创意设计
|
||||
|
||||
```bash
|
||||
python scripts/render_xhs_v2.py note.md --style purple
|
||||
```
|
||||
|
||||
### 2. xiaohongshu(小红书红)
|
||||
- **封面背景**:小红书品牌红渐变
|
||||
- **卡片背景**:粉红渐变
|
||||
- **强调色**:#FF2442
|
||||
- **适用场景**:小红书原生风格、时尚、生活方式
|
||||
|
||||
```bash
|
||||
python scripts/render_xhs_v2.py note.md --style xiaohongshu
|
||||
```
|
||||
|
||||
### 3. mint(清新薄荷)
|
||||
- **封面背景**:绿色渐变
|
||||
- **卡片背景**:薄荷绿渐变
|
||||
- **强调色**:#43e97b
|
||||
- **适用场景**:健康、环保、自然、春季主题
|
||||
|
||||
```bash
|
||||
python scripts/render_xhs_v2.py note.md --style mint
|
||||
```
|
||||
|
||||
### 4. sunset(日落橙)
|
||||
- **封面背景**:粉橙渐变
|
||||
- **卡片背景**:日落渐变
|
||||
- **强调色**:#fa709a
|
||||
- **适用场景**:温暖、浪漫、傍晚、秋季主题
|
||||
|
||||
```bash
|
||||
python scripts/render_xhs_v2.py note.md --style sunset
|
||||
```
|
||||
|
||||
### 5. ocean(深海蓝)
|
||||
- **封面背景**:天蓝渐变
|
||||
- **卡片背景**:海洋蓝渐变
|
||||
- **强调色**:#4facfe
|
||||
- **适用场景**:清新、水、夏季主题、专业商务
|
||||
|
||||
```bash
|
||||
python scripts/render_xhs_v2.py note.md --style ocean
|
||||
```
|
||||
|
||||
### 6. elegant(优雅白)
|
||||
- **封面背景**:灰白渐变
|
||||
- **卡片背景**:浅灰渐变
|
||||
- **强调色**:#333333
|
||||
- **适用场景**:极简、商务、正式、高级
|
||||
|
||||
```bash
|
||||
python scripts/render_xhs_v2.py note.md --style elegant
|
||||
```
|
||||
|
||||
### 7. dark(暗黑模式)
|
||||
- **封面背景**:深蓝黑色渐变
|
||||
- **卡片背景**:深色渐变
|
||||
- **强调色**:#e94560
|
||||
- **适用场景**:夜间阅读、科技、编程、游戏
|
||||
|
||||
```bash
|
||||
python scripts/render_xhs_v2.py note.md --style dark
|
||||
```
|
||||
|
||||
## 样式选择建议
|
||||
|
||||
| 内容类型 | 推荐样式 |
|
||||
|----------|----------|
|
||||
| 科技/编程 | dark, purple |
|
||||
| 时尚/美妆 | xiaohongshu, sunset |
|
||||
| 健康/自然 | mint, ocean |
|
||||
| 商务/职场 | ocean, elegant |
|
||||
| 生活/情感 | sunset, xiaohongshu |
|
||||
| 创意/设计 | purple, dark |
|
||||
|
||||
## 查看所有样式
|
||||
|
||||
运行以下命令列出所有可用样式:
|
||||
|
||||
```bash
|
||||
# Python 版本
|
||||
python scripts/render_xhs_v2.py --list-styles
|
||||
|
||||
# Node.js 版本
|
||||
node scripts/render_xhs_v2.js --list-styles
|
||||
```
|
||||
Reference in New Issue
Block a user