From 5fe221d1bf2a2060a0667f3d79381e20a0d07c6f Mon Sep 17 00:00:00 2001 From: Soltus Date: Sun, 8 Jan 2023 15:36:55 +0800 Subject: [PATCH] no message --- README.md | 39 ++------------------------------------- theme.js | 26 +------------------------- theme.json | 2 +- 3 files changed, 4 insertions(+), 63 deletions(-) diff --git a/README.md b/README.md index 7b175e9..370dc8d 100644 --- a/README.md +++ b/README.md @@ -46,42 +46,7 @@ Sofill= 是专门为 Sofill- Windows 客户端用户打造的一款主题,非 丽丽精灵是 Sofill= 主题的悬浮球,你可以拖拽它放在任意位置,贴边自动收敛。鼠标右键点击呼出菜单。 -## 🎈 鸣谢 - -Sofill 系列主题的诞生与成长离不开下列开源项目的贡献,以及热心网友的反馈和建议。 - -### 思源社区 - -[思源笔记](https://github.com/siyuan-note/siyuan) - -参考主题:(排名不分先后) - -* [OneNote](https://github.com/UserZYF/OneNote) -* [Dark+](https://github.com/Zuoqiu-Yingyi/siyuan-theme-dark-plus) -* [Zhang-Light](https://github.com/UserZYF/zhang-light) -* [Chrome-A4](https://github.com/UserZYF/Chrome-A4) -* [pink-room](https://github.com/StarDustSheep/pink-room) -* [Savor](https://github.com/royc01/notion-theme) -* [blue-dog](https://github.com/UserZYF/blue-dog) -* [Dark-Blue](https://github.com/Morganwan90/Darkblue-siyuan-theme) - -### 资源 - -字体:(排名不分先后) - -* [得意黑 Smiley Sans:一款在人文观感和几何特征中寻找平衡的中文黑体](https://github.com/atelier-anchor/smiley-sans) -* [阿里巴巴普惠体](https://done.alibabadesign.com/puhuiti2.0) - -图片:(排名不分先后) - -* [icon-icons.com](https://icon-icons.com/zh/) -* [iconfont](https://www.iconfont.cn/) -* [Simple Icons](https://simpleicons.org/) - -## 💎 特别鸣谢 - -* [OriginOS](https://www.vivo.com.cn/originos) -* [搜狗输入法手机版](https://shouji.sogou.com/?r=ime) +## 🎈 [鸣谢](https://github.com/Hi-Windom/Sofill/blob/main/P%26L.md) # 🌐 开源声明 @@ -89,7 +54,7 @@ Sofill 系列主题的诞生与成长离不开下列开源项目的贡献,以 2. 基于 Sofill 系列主题二次创作的作品不得在未获得原作者团队授权的情况下擅自在思源集市或者其他渠道公开发行

- License + License GitHub open issues GitHub closed issues diff --git a/theme.js b/theme.js index 219503a..ae017c5 100644 --- a/theme.js +++ b/theme.js @@ -3,26 +3,6 @@ window.sofill.cp = {}; window.sofill.funs = {}; var fs = null; var path = null; -var clientMode = (() => { - let url = new URL(window.location.href); - switch (true) { - case url.pathname.startsWith("/stage/build/app"): - return "body--app"; - case url.pathname.startsWith("/stage/build/desktop"): - return "body--desktop"; - case url.pathname.startsWith("/stage/build/mobile"): - return "body--mobile"; - default: - return null; - } -})(); -document.body.classList.add(clientMode); -document.body.classList.add(window.siyuan.config.system.os); -if (navigator.userAgent.toLowerCase().startsWith("siyuan")) { - document.body.classList.add("client--siyuan"); -} else { - document.body.classList.add("client--browser"); -} var isAppMode = document .getElementsByTagName("body")[0] @@ -40,10 +20,6 @@ if (isAppMode) { console.log("isAppMode"); } -/** - * 获取操作系统 'windows' 或 'darwin' (MacOS) 或 'android' - */ -window.sofill.OS = window.siyuan.config.system.os; window.sofill.funs.loadStyle = function (href, id = null) { let style = document.createElement("link"); @@ -152,7 +128,7 @@ if (SelfProtection && SelfProtection === "true") { path ? P.push(path.join(bP, "script", "CP.js")) : null; path ? P.push(path.join(bP, "script", "config.js")) : null; path ? P.push(path.join(bP, "style", "Init.min.css")) : null; - path ? P.push(path.join(bP, "style", "Block.min.css")) : null; + path ? P.push(path.join(bP, "style", "Block.css")) : null; path ? P.push(path.join(bP_lili, "script", "kernel.js")) : null; P.forEach((i) => { fs diff --git a/theme.json b/theme.json index 02189da..1ac7595 100644 --- a/theme.json +++ b/theme.json @@ -2,7 +2,7 @@ "name": "Sofill=", "author": "Soltus", "url": "https://github.com/Hi-Windom/lili", - "version": "1.0.7", + "version": "1.0.8", "modes": [ "light" ]