mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-20 00:20:12 +01:00
💄
This commit is contained in:
parent
694557fd14
commit
f09f1dea39
8 changed files with 8 additions and 8 deletions
|
|
@ -12,7 +12,7 @@
|
||||||
body {
|
body {
|
||||||
height: 100%;
|
height: 100%;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
background: #1e1f22;
|
background: #1e1e1e;
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
font-family: "Helvetica Neue", "Luxi Sans", "DejaVu Sans", "Hiragino Sans GB", "Microsoft Yahei", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", "Segoe UI Symbol", "Android Emoji", "EmojiSymbols";
|
font-family: "Helvetica Neue", "Luxi Sans", "DejaVu Sans", "Hiragino Sans GB", "Microsoft Yahei", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", "Segoe UI Symbol", "Android Emoji", "EmojiSymbols";
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -12,7 +12,7 @@
|
||||||
body {
|
body {
|
||||||
height: 100%;
|
height: 100%;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
background: #1e1f22;
|
background: #1e1e1e;
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
font-family: "Helvetica Neue", "Luxi Sans", "DejaVu Sans", "Hiragino Sans GB", "Microsoft Yahei", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", "Segoe UI Symbol", "Android Emoji", "EmojiSymbols";
|
font-family: "Helvetica Neue", "Luxi Sans", "DejaVu Sans", "Hiragino Sans GB", "Microsoft Yahei", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", "Segoe UI Symbol", "Android Emoji", "EmojiSymbols";
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -394,7 +394,7 @@ const initKernel = (workspace, port, lang) => {
|
||||||
width: Math.floor(screen.getPrimaryDisplay().size.width / 2),
|
width: Math.floor(screen.getPrimaryDisplay().size.width / 2),
|
||||||
height: Math.floor(screen.getPrimaryDisplay().workAreaSize.height / 2),
|
height: Math.floor(screen.getPrimaryDisplay().workAreaSize.height / 2),
|
||||||
frame: false,
|
frame: false,
|
||||||
backgroundColor: "#1e1f22",
|
backgroundColor: "#1e1e1e",
|
||||||
icon: path.join(appDir, "stage", "icon-large.png"),
|
icon: path.join(appDir, "stage", "icon-large.png"),
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -9,7 +9,7 @@
|
||||||
</head>
|
</head>
|
||||||
<body class="fn__flex-column">
|
<body class="fn__flex-column">
|
||||||
<div id="loading" class="b3-dialog b3-dialog--open">
|
<div id="loading" class="b3-dialog b3-dialog--open">
|
||||||
<div class="b3-dialog__scrim" style="background-color: #1e1f22"></div>
|
<div class="b3-dialog__scrim" style="background-color: #1e1e1e"></div>
|
||||||
<img style="position: absolute;width: 36vh;" src="../../icon.png">
|
<img style="position: absolute;width: 36vh;" src="../../icon.png">
|
||||||
<button onclick="window.location.reload()" id="loadingRefresh"
|
<button onclick="window.location.reload()" id="loadingRefresh"
|
||||||
style="display: none;position: absolute;bottom: 16px;background: transparent;border: 1px solid #4285f4;color: #4285f4;border-radius: 4px;line-height: 20px;padding: 4px 8px;">
|
style="display: none;position: absolute;bottom: 16px;background: transparent;border: 1px solid #4285f4;color: #4285f4;border-radius: 4px;line-height: 20px;padding: 4px 8px;">
|
||||||
|
|
|
||||||
|
|
@ -13,7 +13,7 @@
|
||||||
</head>
|
</head>
|
||||||
<body class="fn__flex-column">
|
<body class="fn__flex-column">
|
||||||
<div id="loading" class="b3-dialog b3-dialog--open">
|
<div id="loading" class="b3-dialog b3-dialog--open">
|
||||||
<div class="b3-dialog__scrim" style="background-color: #1e1f22"></div>
|
<div class="b3-dialog__scrim" style="background-color: #1e1e1e"></div>
|
||||||
<img style="position: absolute;width: 36vh;" src="../../icon.png">
|
<img style="position: absolute;width: 36vh;" src="../../icon.png">
|
||||||
</div>
|
</div>
|
||||||
<div id="toolbar" class="toolbar fn__flex"></div>
|
<div id="toolbar" class="toolbar fn__flex"></div>
|
||||||
|
|
|
||||||
|
|
@ -8,7 +8,7 @@
|
||||||
</head>
|
</head>
|
||||||
<body class="fn__flex-column">
|
<body class="fn__flex-column">
|
||||||
<div id="loading" class="b3-dialog b3-dialog--open">
|
<div id="loading" class="b3-dialog b3-dialog--open">
|
||||||
<div class="b3-dialog__scrim" style="background-color: #1e1f22"></div>
|
<div class="b3-dialog__scrim" style="background-color: #1e1e1e"></div>
|
||||||
<img style="position: absolute;width: 36vh;" src="../../icon.png">
|
<img style="position: absolute;width: 36vh;" src="../../icon.png">
|
||||||
</div>
|
</div>
|
||||||
<div class="toolbar toolbar--border">
|
<div class="toolbar toolbar--border">
|
||||||
|
|
|
||||||
|
|
@ -296,7 +296,7 @@ const updateMobileTheme = (OSTheme: string) => {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (window.siyuan.config.system.container === "ios" && window.webkit?.messageHandlers) {
|
if (window.siyuan.config.system.container === "ios" && window.webkit?.messageHandlers) {
|
||||||
window.webkit.messageHandlers.changeStatusBar.postMessage((backgroundColor || (mode === 0 ? "#fff" : "#1e1f22")) + " " + mode);
|
window.webkit.messageHandlers.changeStatusBar.postMessage((backgroundColor || (mode === 0 ? "#fff" : "#1e1e1e")) + " " + mode);
|
||||||
} else if (window.siyuan.config.system.container === "android" && window.JSAndroid) {
|
} else if (window.siyuan.config.system.container === "android" && window.JSAndroid) {
|
||||||
window.JSAndroid.changeStatusBarColor(backgroundColor, mode);
|
window.JSAndroid.changeStatusBarColor(backgroundColor, mode);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -30,7 +30,7 @@
|
||||||
--b3-theme-primary: #3573f0;
|
--b3-theme-primary: #3573f0;
|
||||||
--b3-theme-primary-lighter: rgba(53, 115, 240, 0.48);
|
--b3-theme-primary-lighter: rgba(53, 115, 240, 0.48);
|
||||||
--b3-theme-primary-lightest: rgba(53, 115, 240, 0.24);
|
--b3-theme-primary-lightest: rgba(53, 115, 240, 0.24);
|
||||||
--b3-theme-background: #1e1f22;
|
--b3-theme-background: #1e1e1e;
|
||||||
--b3-theme-on-background: #c9d1d9;
|
--b3-theme-on-background: #c9d1d9;
|
||||||
--b3-theme-on-primary: #fff;
|
--b3-theme-on-primary: #fff;
|
||||||
background-color: var(--b3-theme-background);
|
background-color: var(--b3-theme-background);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue