|
1 | 1 | # LuCI Theme Aurora |
2 | 2 |
|
3 | | -[English](README_EN.md) | **简体中文** |
| 3 | +**English** | [简体中文](README.zh-CN.md) |
4 | 4 |
|
| 5 | +## Introduction |
5 | 6 |
|
6 | | -## 简介 |
| 7 | +**luci-theme-aurora** is an OpenWrt theme designed for modern browsers. |
| 8 | +Its inspiration comes from the **Aurora** — in Tromsø, Northern Norway, the daytime brings views of pure white snowy mountains, while at night, the sky comes alive with the dancing northern lights. |
| 9 | +In this theme, I aim to reflect the same contrast: daytime mode as pure as snowy mountains, and nighttime mode as captivating as the aurora. |
7 | 10 |
|
8 | | -**luci-theme-aurora** 是一款专为现代浏览器设计的 OpenWrt 主题。 |
9 | | - 主题的灵感源自 **Aurora(极光)** —— 在挪威,白天映入眼帘的是洁白纯净的雪山,夜幕降临则是天际舞动的极光。 |
10 | | - 同样在主题中,我希望白天模式呈现雪山般纯净,暗夜模式展现极光般迷人。 |
| 11 | +## Compatibility |
11 | 12 |
|
12 | | -## 兼容性 |
| 13 | +- **OpenWrt**: Since the theme uses ucode templates, it requires **OpenWrt 22.03** or later. |
| 14 | +- **Browsers**: The theme is built with **TailwindCSS v4**, please use the following modern browsers: |
| 15 | + - **Chrome/Edge 111** _(released March 2023)_ |
| 16 | + - **Safari 16.4** _(released March 2023)_ |
| 17 | + - **Firefox 128** _(released July 2024)_ |
13 | 18 |
|
14 | | -- **OpenWrt**:由于主题使用 ucode 模板,需要 **OpenWrt 22.03** 或更高版本。 |
15 | | -- **浏览器**:主题基于 **TailwindCSS v4** 开发,请使用以下现代浏览器: |
16 | | - - **Chrome 111** *(2023 年 3 月发布)* |
17 | | - - **Safari 16.4** *(2023 年 3 月发布)* |
18 | | - - **Firefox 128** *(2024 年 7 月发布)* |
| 19 | +## Preview |
19 | 20 |
|
20 | | -## 预览 |
| 21 | +### Desktop |
21 | 22 |
|
22 | | -### 桌面模式 |
| 23 | + |
| 24 | + |
23 | 25 |
|
24 | | - |
25 | | -  |
| 26 | +### Mobile |
26 | 27 |
|
27 | | -### 移动端 |
| 28 | + |
28 | 29 |
|
29 | | - |
| 30 | +## About Development |
30 | 31 |
|
31 | | -## 关于开发 |
| 32 | +As we step into 2025, the development of OpenWrt themes in the market remains fairly primitive, while the frontend toolchain has already become mature and advanced. |
| 33 | +Embracing the modern frontend ecosystem is therefore the core philosophy of the Aurora theme. |
32 | 34 |
|
33 | | -步入 2025 年,前端工具链已相当成熟且先进,而市面上的 OpenWrt 主题开发方式却显得原始。 |
34 | | -所以全面拥抱现代前端生态,是Aurora主题开发的核心理念。 |
35 | | -Aurora选择 Vite 作为构建工具, |
36 | | -在开发阶段,借助强大的预处理器,可以自由选择并使用 CSS 任何工具链; |
37 | | -在生产阶段,则能够通过代码压缩(Minify)、CSS Tree-Shaking 等优化打包资源; |
38 | | -最重要的是,通过代理服务器,可以做到将css资源请求代理到开发服务器,做到样式修改实时预览! |
| 35 | +Aurora uses **Vite** as the build tool. |
| 36 | + |
| 37 | +- During development, you can freely choose and integrate any CSS toolchain. |
| 38 | +- In production, multiple strategies are available to optimize bundled assets. |
| 39 | +- Most importantly, with the help of a local proxy server, style changes can be previewed in real time! |
0 commit comments