Commit Graph
5 Commits
Author SHA1 Message Date
Monine Melolaris 694d05fac0 Style(webui): 执行前端代码格式化 (#1141)
仅按照配置文件格式化,未进行任何逻辑更改。
2025-01-14 06:35:54 +00:00
Monine Melolaris 4273edc6c7 Feat(webui): 深色模式添加自动跟随系统,添加格式化配置文件。 (#1109)
* Style(webui): Add format config.

Add prettier config to confirm all developer have same code format style.

* Feat(WebUI): 深色模式行为优化

新增:
1、添加了「自动跟随系统主题」模式,并设置为默认行为,该模式将实时监控系统/浏览器主题,并同步变化;
2、添加了自动切换模式按钮。
修改:
1、修改按钮深色模式、浅色模式显示为对应当前模式;
2、修改默认主题为自动跟随系统。

* Update prettier config.

限定解析器的部分格式,避免影响其他语言的格式化功能。

* Disassemble some components.

1.move theme hooks to /lib folder;
2.disassemble ThemeButton component;
3.refactor ThemeButton related code.
2024-12-09 02:34:38 +00:00
Kataick 6f64ac0bdf 优化webui处理时间的函数 (#753)
* 优化webui处理时间的函数

* 进一步优化

* 优化

* 使用replaceAll实现替换
2024-01-15 01:54:53 +00:00
ForgQi 16303af983 Bumping version 2024-01-12 00:54:14 +08:00
ForgQi 6d1695347c webui初版 2023-12-08 23:37:40 +08:00