An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作
TypeScript agentic-aiai-agentknowledge-baselocal-firstmarkdownmcpmindmapnote-takingself-hostedsiyuanworkspace
:art: Improve PDF mode color variable mapping https://github.com/siyuan-note/siyuan/issues/14065
Daniel2910f095ef7c
diff --git a/app/appearance/themes/daylight/theme.css b/app/appearance/themes/daylight/theme.cssindex 411ea3e943..dcd1358872 100644--- a/app/appearance/themes/daylight/theme.css+++ b/app/appearance/themes/daylight/theme.css@@ -186,25 +186,18 @@--b3-pdf-selection-dark: #779170;--sidebar-width: 200px;--b3-pdf-offset: 0;- --b3-pdf-background1: var(--b3-pdf-background1-light);--b3-pdf-background1-light: #d23f31;--b3-pdf-background1-dark: #d23f31;- --b3-pdf-background2: var(--b3-pdf-background2-light);--b3-pdf-background2-light: #f5822e;--b3-pdf-background2-dark: #f5822e;- --b3-pdf-background3: var(--b3-pdf-background3-light);--b3-pdf-background3-light: #FACA5A;--b3-pdf-background3-dark: #FACA5A;- --b3-pdf-background4: var(--b3-pdf-background4-light);--b3-pdf-background4-light: #7CC868;--b3-pdf-background4-dark: #7CC868;- --b3-pdf-background5: var(--b3-pdf-background5-light);--b3-pdf-background5-light: #FC5C88;--b3-pdf-background5-dark: #FC5C88;- --b3-pdf-background6: var(--b3-pdf-background6-light);--b3-pdf-background6-light: #69B0F2;--b3-pdf-background6-dark: #69B0F2;- --b3-pdf-background7: var(--b3-pdf-background7-light);--b3-pdf-background7-light: #C885DA;--b3-pdf-background7-dark: #C885DA;--b3-pdf-dark: #212224;diff --git a/app/appearance/themes/midnight/theme.css b/app/appearance/themes/midnight/theme.cssindex 3da64c428c..137547b072 100644--- a/app/appearance/themes/midnight/theme.css+++ b/app/appearance/themes/midnight/theme.css@@ -185,25 +185,18 @@--b3-pdf-selection-dark: #779170;--sidebar-width: 200px;--b3-pdf-offset: 0;- --b3-pdf-background1: var(--b3-pdf-background1-light);--b3-pdf-background1-light: #d23f31;--b3-pdf-background1-dark: #d23f31;- --b3-pdf-background2: var(--b3-pdf-background2-light);--b3-pdf-background2-light: #f5822e;--b3-pdf-background2-dark: #f5822e;- --b3-pdf-background3: var(--b3-pdf-background3-light);--b3-pdf-background3-light: #FACA5A;--b3-pdf-background3-dark: #FACA5A;- --b3-pdf-background4: var(--b3-pdf-background4-light);--b3-pdf-background4-light: #7CC868;--b3-pdf-background4-dark: #7CC868;- --b3-pdf-background5: var(--b3-pdf-background5-light);--b3-pdf-background5-light: #FC5C88;--b3-pdf-background5-dark: #FC5C88;- --b3-pdf-background6: var(--b3-pdf-background6-light);--b3-pdf-background6-light: #69B0F2;--b3-pdf-background6-dark: #69B0F2;- --b3-pdf-background7: var(--b3-pdf-background7-light);--b3-pdf-background7-light: #C885DA;--b3-pdf-background7-dark: #C885DA;--b3-pdf-dark: #212224;diff --git a/app/src/assets/scss/pdf/_pdf.scss b/app/src/assets/scss/pdf/_pdf.scssindex 4ba16545e6..26bfec4f0b 100644--- a/app/src/assets/scss/pdf/_pdf.scss+++ b/app/src/assets/scss/pdf/_pdf.scss@@ -24,6 +24,14 @@}&__outer {+ --b3-pdf-background1: var(--b3-pdf-background1-light);+ --b3-pdf-background2: var(--b3-pdf-background2-light);+ --b3-pdf-background3: var(--b3-pdf-background3-light);+ --b3-pdf-background4: var(--b3-pdf-background4-light);+ --b3-pdf-background5: var(--b3-pdf-background5-light);+ --b3-pdf-background6: var(--b3-pdf-background6-light);+ --b3-pdf-background7: var(--b3-pdf-background7-light);+user-select: text;overflow: hidden;width: 100%;