Skip to content
This repository has been archived by the owner on Jan 28, 2023. It is now read-only.

Commit

Permalink
README 更新自定义
Browse files Browse the repository at this point in the history
  • Loading branch information
Misaka-L committed Apr 24, 2021
1 parent 8d9dd60 commit ce2dc1d
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,22 @@
5. 重新启动开黑啦客户端。
6. 搞定

## 自定义
### 自定义背景图片
1. 打开目录 `%appdata%\..\Local\KaiHeiLa\resources\app\webapp\build`,并使用文本编辑器打开 `Nameless.css`
> 使用本地图片记得把图片文件放入 `%appdata%\..\Local\KaiHeiLa\resources\app\webapp\build` 并将 `background-url` 的值修改为 `url("app/图片文件名称")`
2. 找到 `background-url` 变量并将其值修改为 `url("图片地址")`
##### 例子:
```css
/* -- 无名氏 Nameless kaiheila theme By Misaka-L -- */
/* Github: https://github.com/Misaka-L/Nameless-Kaiheila-theme */

/* -- 主题相关 -- */
*{
--background-url: url("https://bing.ioliu.cn/v1/rand");
}
```

## 版权信息
背景图片来自 Pixiv: https://www.pixiv.net/artworks/89358421
插画: 星空をキャンバスに変えて 作者: ドトノ
Expand Down

0 comments on commit ce2dc1d

Please sign in to comment.