mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-02-19 13:38:06 +01:00
🚨
This commit is contained in:
parent
c8bb337ede
commit
2a8f8abc8d
11 changed files with 23 additions and 23 deletions
|
|
@ -315,7 +315,7 @@ export const setMode = (modeElementValue: number) => {
|
|||
const updateMobileTheme = (OSTheme: string) => {
|
||||
if (isInIOS() || isInAndroid()) {
|
||||
setTimeout(() => {
|
||||
const backgroundColor = getComputedStyle(document.body).getPropertyValue("--b3-theme-background").trim();
|
||||
const backgroundColor = getComputedStyle(document.body).getPropertyValue("--b3-theme-background").trim().replace(" ", "");
|
||||
let mode = window.siyuan.config.appearance.mode;
|
||||
if (window.siyuan.config.appearance.modeOS) {
|
||||
if (OSTheme === "dark") {
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
const isNormalItem = (currentHintElement: HTMLElement, className: string) => {
|
||||
return currentHintElement.classList.contains("fn__none") || !currentHintElement.classList.contains(className)
|
||||
}
|
||||
return currentHintElement.classList.contains("fn__none") || !currentHintElement.classList.contains(className);
|
||||
};
|
||||
|
||||
export const upDownHint = (listElement: Element, event: KeyboardEvent, classActiveName = "b3-list-item--focus") => {
|
||||
let currentHintElement: HTMLElement = listElement.querySelector("." + classActiveName);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue