Skip to content

Commit ef369ad

Browse files
committed
📄 docs: 更新说明
1 parent 114415f commit ef369ad

File tree

3 files changed

+38
-2
lines changed

3 files changed

+38
-2
lines changed

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44

55
!onelight.css
66
!onelight-dark.css
7-
!fix-text-color.css
87
!/onelight/
98
!/onelight/**
109
!/docs/**

README.md

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,6 @@
186186
</tr>
187187
</table>
188188
</div>
189-
190189
#### 3.2.3 警告框
191190
192191
<div align="center">
@@ -205,7 +204,26 @@
205204
</tr>
206205
</table>
207206
</div>
207+
#### 3.2.4 背景
208+
209+
动态星空背景针对暗色主题,在`onelight-dark.user.css`顶部添加`@import './onelight/style/background/grok-starry-sky.css';`即可
208210
211+
> [!warning]
212+
>
213+
> 动态星空背景会消耗一定的CPU资源
214+
215+
<div align="center">
216+
<table>
217+
<tr>
218+
<th>默认</th>
219+
<th>动态星空</th>
220+
</tr>
221+
<tr>
222+
<td><img src="https://s2.loli.net/2025/06/28/4hVHnSvQeaMCs2b.png"/></td>
223+
<td><img src="https://s2.loli.net/2025/06/28/8RZjDTbkf1mQapg.png"/></td>
224+
</tr>
225+
</table>
226+
</div>
209227
210228
## 4.关于字体
211229

docs/README_en.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -186,6 +186,25 @@ Add `!important` if styles don't apply.
186186
</table>
187187
</div>
188188
189+
#### 3.2.4 背景
190+
191+
Dynamic starry background For the dark theme, add `@import './onelight/style/background/grok-starry-sky.css';` at the top of `onelight-dark.user.css` can be imported immediately.
192+
> [!warning]
193+
> Dynamic starry background will consume some CPU resources.
194+
>
195+
196+
<div align="center">
197+
<table>
198+
<tr>
199+
<th>Default</th>
200+
<th>Dynamic starry background</th>
201+
</tr>
202+
<tr>
203+
<td><img src="https://s2.loli.net/2025/06/28/4hVHnSvQeaMCs2b.png"/></td>
204+
<td><img src="https://s2.loli.net/2025/06/28/8RZjDTbkf1mQapg.png"/></td>
205+
</tr>
206+
</table>
207+
</div>
189208
190209
## 4. Fonts
191210

0 commit comments

Comments
 (0)