joplin-plugin-theme-studio 1.1.0 → 1.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md
CHANGED
|
@@ -4,127 +4,155 @@
|
|
|
4
4
|
[](#-installation)
|
|
5
5
|
[](https://opensource.org/licenses/MIT)
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
Theme Studio is a modular palette and typography engine for Joplin. It applies unified color schemes and typography across the **Markdown Viewer**, the **Markdown Editor** (CodeMirror 6 & 5), and the **Rich Text Editor** (TinyMCE)—eliminating manual edits to `userstyle.css` and `userchrome.css`.
|
|
8
8
|
|
|
9
9
|
---
|
|
10
10
|
|
|
11
|
-
## ✨
|
|
11
|
+
## ✨ Features
|
|
12
|
+
|
|
13
|
+
- **Universal Mode Theming:** Applies the selected theme across the Markdown Viewer, the CodeMirror Markdown Editor (gutters, syntax highlighting, active line, caret, selection), and the TinyMCE Rich Text Editor (iframe content and outer toolbar).
|
|
14
|
+
- **12 Integrated Color Schemes:** Switch between dark and light palettes (Tokyo Night, Everforest, Catppuccin, Nord, Dracula, Gruvbox, Atom One) without restarting Joplin.
|
|
15
|
+
- **Smart BiDi Locale Detection:** Inspects Joplin's system interface language on initialization. Defaults to LTR with Inter for global locales, and RTL with Vazirmatn for Persian, Arabic, and Hebrew interfaces.
|
|
16
|
+
- **Auto-BiDi Direction Mode:** Includes an `Auto-Detect (Per-Paragraph BiDi)` mode utilizing `unicode-bidi: plaintext` and CSS Logical Properties to align individual paragraphs based on their script direction.
|
|
17
|
+
- **International Web Font Engine:** Loads open-source typefaces via CDN on demand (with `display=swap` to eliminate FOIT). Enables custom typography on Joplin Mobile without requiring local OS font installation.
|
|
18
|
+
- **Performance Optimized Rendering:** Features an in-memory memoization cache in the Markdown-It parser. Generates compiled CSS once per configuration change, reducing keystroke re-rendering to O(1) memory retrieval.
|
|
19
|
+
- **High-Fidelity PDF & Print Export:** Preserves theme backgrounds, syntax colors, and borders using `print-color-adjust: exact`. Tables automatically wrap cells to prevent margin clipping, and code blocks wrap long lines (`pre-wrap`).
|
|
20
|
+
- **Responsive Mobile Layout:** Hardened for viewport widths under 768px. Respects configured font sizes, contains Mermaid diagrams within touch-scrollable blocks, and prevents horizontal window sway.
|
|
21
|
+
- **Refined Document Elements:**
|
|
22
|
+
- Minimal 1px blockquote borders with transparent backgrounds across RTL, LTR, and print modes.
|
|
23
|
+
- Interactive task lists: Completed items (`- [x]`) dim to 55% opacity with an automatic strikethrough.
|
|
24
|
+
- Image boundaries: Pasted screenshots are centered and bounded (`max-height: 520px`) to prevent oversized image blowouts.
|
|
25
|
+
- Joplin internal links (`:/<id>`) feature a dashed accent underline to distinguish them from external URLs.
|
|
26
|
+
- Formatted styling for native `[[toc]]` and `[^1]` footnotes.
|
|
12
27
|
|
|
13
|
-
|
|
28
|
+
---
|
|
14
29
|
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
30
|
+
## 🌍 International Font Presets
|
|
31
|
+
|
|
32
|
+
| Script / Target | Font Preset | Technical Description |
|
|
33
|
+
| :--- | :--- | :--- |
|
|
34
|
+
| **Global / Latin / Cyrillic** | **Inter** *(Default)* | Variable sans-serif optimized for screens |
|
|
35
|
+
| **Clean Modern Sans** | **Roboto** | Standard geometric sans-serif |
|
|
36
|
+
| **Persian / Arabic / Urdu** | **Vazirmatn** | Persian and Arabic script typeface |
|
|
37
|
+
| **Standard Arabic** | **Noto Sans Arabic** | Modern Noto Arabic typography |
|
|
38
|
+
| **Simplified Chinese (CJK)** | **Noto Sans SC** | Comprehensive Simplified Chinese font stack |
|
|
39
|
+
| **Japanese (CJK)** | **Noto Sans JP** | Balanced Japanese font stack |
|
|
40
|
+
| **Hebrew** | **Heebo** | Clean Hebrew and Latin typography |
|
|
41
|
+
| **Devanagari** | **Noto Sans Devanagari** | Complete Hindi and Sanskrit script support |
|
|
42
|
+
| **Editorial & Long-form** | **Lora** | Contemporary serif suited for body text |
|
|
43
|
+
| **Monospace / Code** | **Fira Code** / **JetBrains Mono** | Developer monospace typefaces with clean punctuation |
|
|
44
|
+
| **Operating System Native** | **System Default** | Zero network overhead; uses OS system font stack |
|
|
24
45
|
|
|
25
46
|
---
|
|
26
47
|
|
|
27
48
|
## 🎨 Built-In Themes
|
|
28
49
|
|
|
29
|
-
| Theme |
|
|
50
|
+
| Theme | Type | Characteristics |
|
|
30
51
|
| :--- | :---: | :--- |
|
|
31
|
-
| **Tokyo Night** | Dark | Deep navy
|
|
32
|
-
| **Tokyo Night Storm** | Dark |
|
|
33
|
-
| **Everforest Dark** | Dark | Nature-inspired
|
|
34
|
-
| **Everforest Light** | Light |
|
|
35
|
-
| **Catppuccin Mocha** | Dark | Modern
|
|
36
|
-
| **Catppuccin Latte** | Light |
|
|
37
|
-
| **Nord** | Dark |
|
|
38
|
-
| **Dracula** | Dark |
|
|
39
|
-
| **Gruvbox Dark** | Dark | Retro
|
|
40
|
-
| **Gruvbox Light** | Light |
|
|
41
|
-
| **Atom One Dark** | Dark |
|
|
42
|
-
| **Atom One Light** | Light |
|
|
52
|
+
| **Tokyo Night** | Dark | Deep navy background with high-contrast pastel accents |
|
|
53
|
+
| **Tokyo Night Storm** | Dark | Medium-contrast slate blue variation |
|
|
54
|
+
| **Everforest Dark** | Dark | Nature-inspired warm green background with muted accents |
|
|
55
|
+
| **Everforest Light** | Light | Low-contrast paper-toned warm background |
|
|
56
|
+
| **Catppuccin Mocha** | Dark | Modern dark palette with soothing pastel accents |
|
|
57
|
+
| **Catppuccin Latte** | Light | High-contrast light palette with clean pastel accents |
|
|
58
|
+
| **Nord** | Dark | Arctic blue-gray palette with subdued cold tones |
|
|
59
|
+
| **Dracula** | Dark | High-contrast dark purple background with vibrant accents |
|
|
60
|
+
| **Gruvbox Dark** | Dark | Retro warm brown and amber palette |
|
|
61
|
+
| **Gruvbox Light** | Light | Retro parchment light palette with warm accents |
|
|
62
|
+
| **Atom One Dark** | Dark | Traditional Atom editor syntax theme |
|
|
63
|
+
| **Atom One Light** | Light | High-clarity light theme with crisp editor contrast |
|
|
43
64
|
|
|
44
65
|
---
|
|
45
66
|
|
|
46
67
|
## 🚀 Installation
|
|
47
68
|
|
|
48
|
-
###
|
|
69
|
+
### In-App Plugin Search (Recommended)
|
|
49
70
|
1. Open Joplin Desktop.
|
|
50
|
-
2.
|
|
71
|
+
2. Navigate to **Tools > Options > Plugins** (macOS: **Joplin > Preferences > Plugins**).
|
|
51
72
|
3. Search for **`Theme Studio`**.
|
|
52
73
|
4. Click **Install** and restart Joplin.
|
|
53
74
|
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
### Option 2: Manual Installation (`.jpl` file)
|
|
75
|
+
### Manual Installation (`.jpl`)
|
|
57
76
|
|
|
58
|
-
####
|
|
59
|
-
1. Download
|
|
60
|
-
2.
|
|
61
|
-
3. Click the gear icon (**⚙**)
|
|
77
|
+
#### Desktop (Windows, macOS, Linux):
|
|
78
|
+
1. Download `org.joplin.plugin.theme-studio.jpl` from the [Releases](https://github.com/xyasharx/joplin-plugin-theme-studio/releases) page.
|
|
79
|
+
2. In Joplin, go to **Tools > Options > Plugins**.
|
|
80
|
+
3. Click the gear icon (**⚙**) > **Install from file**.
|
|
62
81
|
4. Select the downloaded `.jpl` file and restart Joplin.
|
|
63
82
|
|
|
64
|
-
####
|
|
65
|
-
1. Download the `.jpl` file to your mobile device.
|
|
66
|
-
2. Open Joplin Mobile > Tap
|
|
83
|
+
#### Mobile (Android):
|
|
84
|
+
1. Download the `.jpl` file to your mobile device storage.
|
|
85
|
+
2. Open Joplin Mobile > Tap **Menu (≡)** > **Configuration** > **Plugins**.
|
|
67
86
|
3. Under **Advanced**, tap **Install from file**.
|
|
68
|
-
4.
|
|
87
|
+
4. Select the `.jpl` file and restart the application.
|
|
69
88
|
|
|
70
89
|
---
|
|
71
90
|
|
|
72
|
-
## ⚙️ Configuration
|
|
91
|
+
## ⚙️ Configuration Reference
|
|
73
92
|
|
|
74
|
-
|
|
93
|
+
Access the settings panel under **Tools > Options > Theme Studio** (on Mobile: **Configuration > Plugins > Theme Studio**):
|
|
75
94
|
|
|
76
|
-
| Setting | Options / Description |
|
|
77
|
-
| :--- | :--- |
|
|
78
|
-
| **Color Theme** |
|
|
79
|
-
| **Layout Direction** |
|
|
80
|
-
| **
|
|
81
|
-
| **
|
|
82
|
-
| **
|
|
83
|
-
| **
|
|
95
|
+
| Setting Key | Options / Inputs | Default | Description |
|
|
96
|
+
| :--- | :--- | :--- | :--- |
|
|
97
|
+
| **Color Theme** | 12 built-in palettes | `Atom One Dark` | Sets document and editor color tokens |
|
|
98
|
+
| **Layout Direction** | `LTR`, `Auto-Detect (BiDi)`, `RTL` | Auto-detected | Primary text direction and border alignment |
|
|
99
|
+
| **Apply Theme to Markdown Editor** | `true` / `false` | `true` | Styles CodeMirror 6/5 and TinyMCE editors |
|
|
100
|
+
| **International Font Preset** | 11 font presets | Auto-detected | On-demand web font loaded via CDN |
|
|
101
|
+
| **Custom Font Stack** | CSS `font-family` string | System Stack | Active when preset is set to *Custom* |
|
|
102
|
+
| **Code Font Preset** | `Fira Code`, `JetBrains Mono`, `System`, `Custom` | `Fira Code` | Monospace font for code blocks and editor |
|
|
103
|
+
| **Custom Code Font Stack** | CSS `font-family` string | Cascadia / Consolas | Active when code preset is set to *Custom* |
|
|
104
|
+
| **Font Size** | Text string (e.g., `16px`, `18px`) | `16px` | Scales base text size across desktop & mobile |
|
|
105
|
+
| **Line Height** | Numeric string (e.g., `1.6`, `1.75`) | `1.75` | Sets body reading line spacing |
|
|
106
|
+
| **Reading Width (Focus Mode)** | `Full Width`, `Comfortable (920px)`, `Compact (760px)` | `Full Width` | Constrains note container width on wide monitors |
|
|
107
|
+
| **PDF Export Appearance** | `Exact Match`, `Paper Friendly` | `Exact Match` | Controls background retention in exported PDFs |
|
|
84
108
|
|
|
85
109
|
---
|
|
86
110
|
|
|
87
|
-
## 💡 Mixed-Language (LTR
|
|
111
|
+
## 💡 Mixed-Language (LTR within RTL) Usage
|
|
88
112
|
|
|
89
|
-
When
|
|
113
|
+
When **Layout Direction** is set to `RTL`, left-to-right code explanations, English citations, or quotes can be isolated using HTML container syntax:
|
|
90
114
|
|
|
91
115
|
```html
|
|
92
116
|
<div dir="ltr">
|
|
93
117
|
|
|
94
118
|
### English Subheading
|
|
95
|
-
- List markers
|
|
96
|
-
-
|
|
119
|
+
- List markers position on the left margin.
|
|
120
|
+
- Hyperlinks and formatting render left-to-right.
|
|
97
121
|
|
|
98
|
-
> Blockquotes
|
|
122
|
+
> Blockquotes format with a left accent border.
|
|
99
123
|
|
|
100
124
|
</div>
|
|
101
125
|
```
|
|
102
126
|
|
|
127
|
+
*Tip: Selecting `Auto-Detect (Per-Paragraph BiDi)` handles mixed language paragraphs automatically without requiring manual `div` tags.*
|
|
128
|
+
|
|
103
129
|
---
|
|
104
130
|
|
|
105
|
-
## 🛠️ Development &
|
|
131
|
+
## 🛠️ Development & Build Pipeline
|
|
132
|
+
|
|
133
|
+
### Prerequisites
|
|
134
|
+
- Node.js >= 20.9.0
|
|
135
|
+
- npm >= 9.0.0
|
|
106
136
|
|
|
107
|
-
|
|
137
|
+
### Build Instructions
|
|
138
|
+
```bash
|
|
139
|
+
# 1. Clone the repository
|
|
140
|
+
git clone https://github.com/xyasharx/joplin-plugin-theme-studio.git
|
|
141
|
+
cd joplin-plugin-theme-studio
|
|
108
142
|
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
git clone https://github.com/xyasharx/joplin-plugin-theme-studio.git
|
|
112
|
-
cd joplin-plugin-theme-studio
|
|
113
|
-
```
|
|
143
|
+
# 2. Install dependencies
|
|
144
|
+
npm install
|
|
114
145
|
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
```
|
|
146
|
+
# 3. Compile TypeScript and build .jpl bundle
|
|
147
|
+
npm run dist
|
|
148
|
+
```
|
|
119
149
|
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
```
|
|
124
|
-
The compiled `.jpl` bundle will be created inside the `publish/` directory.
|
|
150
|
+
The compiled archive and hash metadata will be generated in the `publish/` directory:
|
|
151
|
+
- `publish/org.joplin.plugin.theme-studio.jpl`
|
|
152
|
+
- `publish/org.joplin.plugin.theme-studio.json`
|
|
125
153
|
|
|
126
154
|
---
|
|
127
155
|
|
|
128
156
|
## 📄 License
|
|
129
157
|
|
|
130
|
-
This project is
|
|
158
|
+
This project is licensed under the [MIT License](LICENSE).
|
package/dist/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(()=>{"use strict";var e={998(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default="undefined"!=typeof joplin?joplin:global.joplin},143(e,t){var o,i;t.SettingItemType=t.ContentScriptType=void 0,function(e){e.MarkdownItPlugin="markdownItPlugin",e.CodeMirrorPlugin="codeMirrorPlugin"}(o||(t.ContentScriptType=o={})),function(e){e[e.Int=1]="Int",e[e.String=2]="String",e[e.Bool=3]="Bool",e[e.Array=4]="Array",e[e.Object=5]="Object",e[e.Button=6]="Button"}(i||(t.SettingItemType=i={}))},156(e,t,o){var i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const n=i(o(998)),a=o(143);n.default.plugins.register({onStart:async function(){let e="ltr",t="inter";try{const o=await n.default.settings.globalValue("locale");o&&["fa","ar","he","ur","ug","ps","yi"].some(e=>o.toLowerCase().startsWith(e))&&(e="rtl",t="vazirmatn")}catch(o){e="ltr",t="inter"}await n.default.settings.registerSection("themeStudioSection",{label:"Theme Studio",iconName:"fas fa-palette"}),await n.default.settings.registerSettings({theme:{value:"atom-one-dark",type:a.SettingItemType.String,section:"themeStudioSection",isEnum:!0,public:!0,label:"Color Theme",description:"Choose your desired color scheme.",options:{"atom-one-dark":"Atom One Dark","atom-one-light":"Atom One Light","tokyo-night":"Tokyo Night","tokyo-night-storm":"Tokyo Night Storm","everforest-dark":"Everforest Dark","everforest-light":"Everforest Light","catppuccin-mocha":"Catppuccin Mocha","catppuccin-latte":"Catppuccin Latte",nord:"Nord",dracula:"Dracula","gruvbox-dark":"Gruvbox Dark","gruvbox-light":"Gruvbox Light"}},direction:{value:e,type:a.SettingItemType.String,section:"themeStudioSection",isEnum:!0,public:!0,label:"Layout Direction",description:"Primary text orientation. LTR is standard; Auto adjusts per paragraph.",options:{ltr:"Left-to-Right (LTR - English / Latin / CJK / Global)",auto:"Auto-Detect (Per-Paragraph BiDi)",rtl:"Right-to-Left (RTL - Persian / Arabic / Hebrew)"}},fontPreset:{value:t,type:a.SettingItemType.String,section:"themeStudioSection",isEnum:!0,public:!0,label:"International Font Preset",description:"Web fonts loaded on the fly (ideal for Mobile without local font installs).",options:{inter:"Inter (Global English, Latin, European, Cyrillic)",roboto:"Roboto (Modern Clean Sans)",system:"System Default (OS Native, Zero Network Overhead)",vazirmatn:"Vazirmatn (Persian, Arabic, Kurdish, Urdu)","noto-arabic":"Noto Sans Arabic (Modern Arabic)","noto-cjk-sc":"Noto Sans SC (Simplified Chinese)","noto-cjk-jp":"Noto Sans JP (Japanese)",heebo:"Heebo (Hebrew & Latin)","noto-devanagari":"Noto Sans Devanagari (Hindi, Sanskrit)",lora:"Lora (Editorial Serif for Books & Long Articles)",custom:"Custom Font Stack (use field below)"}},fontFamily:{value:"-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif",type:a.SettingItemType.String,section:"themeStudioSection",public:!0,label:"Custom Font Stack",description:'Active only when "Custom Font Stack" is selected above.'},codeFontPreset:{value:"fira-code",type:a.SettingItemType.String,section:"themeStudioSection",isEnum:!0,public:!0,label:"Code Font Preset",description:"Monospace font for inline code and code blocks.",options:{"fira-code":"Fira Code (Modern Tech Monospace)","jetbrains-mono":"JetBrains Mono (Developer Favorite)","system-mono":"System Monospace (Cascadia/Consolas/Courier)",custom:"Custom Code Font (use field below)"}},codeFont:{value:"'Cascadia Code', 'Fira Code', 'Consolas', monospace",type:a.SettingItemType.String,section:"themeStudioSection",public:!0,label:"Custom Code Font Stack",description:'Active only when "Custom Code Font" is selected above.'},fontSize:{value:"16px",type:a.SettingItemType.String,section:"themeStudioSection",public:!0,label:"Font Size",description:"Base font size (e.g., 14px, 16px, 18px, 20px). Works across Desktop & Mobile."},lineHeight:{value:"1.75",type:a.SettingItemType.String,section:"themeStudioSection",public:!0,label:"Line Height",description:"Reading line spacing (e.g., 1.6, 1.75, 1.9)."},contentMaxWidth:{value:"full",type:a.SettingItemType.String,section:"themeStudioSection",isEnum:!0,public:!0,label:"Reading Width (Focus Mode)",description:"Constrain line length on wide desktop monitors for comfortable reading.",options:{full:"Full Width (100%)",comfortable:"Comfortable Reading (920px Centered)",compact:"Compact Focus (760px Centered)"}},pdfExportStyle:{value:"exact",type:a.SettingItemType.String,section:"themeStudioSection",isEnum:!0,public:!0,label:"PDF Export Appearance",description:"Controls layout and background fidelity when exporting to PDF.",options:{exact:"Exact Match (100% Identical to Screen Layout & Theme)",paper:"Paper Friendly (White Page Background with Themed Accents)"}}}),await n.default.contentScripts.register(a.ContentScriptType.MarkdownItPlugin,"themeStudioMarkdownIt","./markdownTheme.js")}})}};const t={};let o=function o(i){const n=t[i];if(void 0!==n)return n.exports;const a=t[i]={exports:{}};return e[i].call(a.exports,a,a.exports,o),a.exports}(156);const i=exports;for(var n in o)i[n]=o[n];o.__esModule&&Object.defineProperty(i,"__esModule",{value:!0})})();
|
|
1
|
+
(()=>{"use strict";var o={998(o,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default="undefined"!=typeof joplin?joplin:global.joplin},143(o,t){var e,n;t.SettingItemType=t.ContentScriptType=void 0,function(o){o.MarkdownItPlugin="markdownItPlugin",o.CodeMirrorPlugin="codeMirrorPlugin"}(e||(t.ContentScriptType=e={})),function(o){o[o.Int=1]="Int",o[o.String=2]="String",o[o.Bool=3]="Bool",o[o.Array=4]="Array",o[o.Object=5]="Object",o[o.Button=6]="Button"}(n||(t.SettingItemType=n={}))},156(o,t,e){var n=this&&this.__importDefault||function(o){return o&&o.__esModule?o:{default:o}};Object.defineProperty(t,"__esModule",{value:!0});const r=n(e(998)),a=e(143),d=e(800);r.default.plugins.register({onStart:async function(){let o="ltr",t="inter";try{const e=await r.default.settings.globalValue("locale");e&&["fa","ar","he","ur","ug","ps","yi"].some(o=>e.toLowerCase().startsWith(o))&&(o="rtl",t="vazirmatn")}catch(e){o="ltr",t="inter"}await r.default.settings.registerSection("themeStudioSection",{label:"Theme Studio",iconName:"fas fa-palette"}),await r.default.settings.registerSettings({theme:{value:"atom-one-dark",type:a.SettingItemType.String,section:"themeStudioSection",isEnum:!0,public:!0,label:"Color Theme",description:"Choose your desired color scheme.",options:{"atom-one-dark":"Atom One Dark","atom-one-light":"Atom One Light","tokyo-night":"Tokyo Night","tokyo-night-storm":"Tokyo Night Storm","everforest-dark":"Everforest Dark","everforest-light":"Everforest Light","catppuccin-mocha":"Catppuccin Mocha","catppuccin-latte":"Catppuccin Latte",nord:"Nord",dracula:"Dracula","gruvbox-dark":"Gruvbox Dark","gruvbox-light":"Gruvbox Light"}},direction:{value:o,type:a.SettingItemType.String,section:"themeStudioSection",isEnum:!0,public:!0,label:"Layout Direction",description:"Primary text orientation. LTR is standard; Auto adjusts per paragraph.",options:{ltr:"Left-to-Right (LTR - English / Latin / CJK / Global)",auto:"Auto-Detect (Per-Paragraph BiDi)",rtl:"Right-to-Left (RTL - Persian / Arabic / Hebrew)"}},enableEditorTheme:{value:!0,type:a.SettingItemType.Bool,section:"themeStudioSection",public:!0,label:"Apply Theme to Markdown Editor",description:"Styles the CodeMirror editor (background, colors, line numbers, headings) to match the viewer."},fontPreset:{value:t,type:a.SettingItemType.String,section:"themeStudioSection",isEnum:!0,public:!0,label:"International Font Preset",description:"Web fonts loaded on the fly (ideal for Mobile without local font installs).",options:{inter:"Inter (Global English, Latin, European, Cyrillic)",roboto:"Roboto (Modern Clean Sans)",system:"System Default (OS Native, Zero Network Overhead)",vazirmatn:"Vazirmatn (Persian, Arabic, Kurdish, Urdu)","noto-arabic":"Noto Sans Arabic (Modern Arabic)","noto-cjk-sc":"Noto Sans SC (Simplified Chinese)","noto-cjk-jp":"Noto Sans JP (Japanese)",heebo:"Heebo (Hebrew & Latin)","noto-devanagari":"Noto Sans Devanagari (Hindi, Sanskrit)",lora:"Lora (Editorial Serif for Books & Long Articles)",custom:"Custom Font Stack (use field below)"}},fontFamily:{value:"-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif",type:a.SettingItemType.String,section:"themeStudioSection",public:!0,label:"Custom Font Stack",description:'Active only when "Custom Font Stack" is selected above.'},codeFontPreset:{value:"fira-code",type:a.SettingItemType.String,section:"themeStudioSection",isEnum:!0,public:!0,label:"Code Font Preset",description:"Monospace font for inline code and code blocks.",options:{"fira-code":"Fira Code (Modern Tech Monospace)","jetbrains-mono":"JetBrains Mono (Developer Favorite)","system-mono":"System Monospace (Cascadia/Consolas/Courier)",custom:"Custom Code Font (use field below)"}},codeFont:{value:"'Cascadia Code', 'Fira Code', 'Consolas', monospace",type:a.SettingItemType.String,section:"themeStudioSection",public:!0,label:"Custom Code Font Stack",description:'Active only when "Custom Code Font" is selected above.'},fontSize:{value:"16px",type:a.SettingItemType.String,section:"themeStudioSection",public:!0,label:"Font Size",description:"Base font size (e.g., 14px, 16px, 18px, 20px). Works across Desktop & Mobile."},lineHeight:{value:"1.75",type:a.SettingItemType.String,section:"themeStudioSection",public:!0,label:"Line Height",description:"Reading line spacing (e.g., 1.6, 1.75, 1.9)."},contentMaxWidth:{value:"full",type:a.SettingItemType.String,section:"themeStudioSection",isEnum:!0,public:!0,label:"Reading Width (Focus Mode)",description:"Constrain line length on wide desktop monitors for comfortable reading.",options:{full:"Full Width (100%)",comfortable:"Comfortable Reading (920px Centered)",compact:"Compact Focus (760px Centered)"}},pdfExportStyle:{value:"exact",type:a.SettingItemType.String,section:"themeStudioSection",isEnum:!0,public:!0,label:"PDF Export Appearance",description:"Controls layout and background fidelity when exporting to PDF.",options:{exact:"Exact Match (100% Identical to Screen Layout & Theme)",paper:"Paper Friendly (White Page Background with Themed Accents)"}}}),await r.default.contentScripts.register(a.ContentScriptType.CodeMirrorPlugin,"themeStudioCodeMirror","./codeMirrorTheme.js"),await r.default.contentScripts.onMessage("themeStudioCodeMirror",async o=>{if(o&&("getAllStyles"===o.type||"getEditorStyles"===o.type)){const o=await r.default.settings.value("enableEditorTheme"),t=await async function(){return{themeKey:await r.default.settings.value("theme"),direction:await r.default.settings.value("direction"),fontPreset:await r.default.settings.value("fontPreset"),fontFamily:await r.default.settings.value("fontFamily"),codeFontPreset:await r.default.settings.value("codeFontPreset"),codeFont:await r.default.settings.value("codeFont"),fontSize:await r.default.settings.value("fontSize"),lineHeight:await r.default.settings.value("lineHeight"),contentMaxWidth:await r.default.settings.value("contentMaxWidth"),pdfExportStyle:await r.default.settings.value("pdfExportStyle")}}();return{editorCss:o?(0,d.buildEditorCss)(t):"",viewerCss:(0,d.buildThemeCss)(t)}}return null}),await r.default.contentScripts.register(a.ContentScriptType.MarkdownItPlugin,"themeStudioMarkdownIt","./markdownTheme.js")}})},800(o,t,e){t.buildEditorCss=function(o){const t=n.themes[o.themeKey]||n.themes["atom-one-dark"],{fontImport:e,resolvedFont:a,resolvedCodeFont:d}=r(o);let i=":root {\n";for(const[o,e]of Object.entries(t.variables))i+=` ${o}: ${e};\n`;i+="}\n";let m="";return m="rtl"===o.direction?"\n .cm-content, .CodeMirror-lines, body#tinymce {\n direction: rtl !important;\n text-align: right !important;\n }\n ":"auto"===o.direction?"\n .cm-content, .CodeMirror-lines, body#tinymce {\n unicode-bidi: plaintext !important;\n text-align: start !important;\n }\n ":"\n .cm-content, .CodeMirror-lines, body#tinymce {\n direction: ltr !important;\n text-align: left !important;\n }\n ",`\n${e}\n${i}\n\n/* Outer editor container & scroller get the theme background */\nhtml body div.cm-editor,\nhtml body div.cm-editor .cm-scroller,\nhtml body div.CodeMirror,\nhtml body .r-markdown-editor {\n background-color: var(--od-bg) !important;\n color: var(--od-fg) !important;\n font-family: ${a} !important;\n}\n\n/* Content and lines MUST remain transparent so CodeMirror's selection layer is visible */\n.cm-content,\n.cm-line,\n.CodeMirror-lines,\n.CodeMirror-sizer {\n background-color: transparent !important;\n}\n\n.cm-content, .CodeMirror-lines {\n font-size: ${o.fontSize} !important;\n line-height: ${o.lineHeight} !important;\n caret-color: var(--od-link) !important;\n}\n\n${m}\n\n/* Gutters & Line Numbers */\n.cm-gutters, .CodeMirror-gutters {\n background-color: var(--od-bg-alt) !important;\n color: var(--od-comment) !important;\n border-right: 1px solid var(--od-border) !important;\n}\n.cm-activeLineGutter {\n background-color: var(--od-bg-alt) !important;\n color: var(--od-h2) !important;\n font-weight: bold !important;\n}\n.cm-activeLine, .CodeMirror-activeline-background {\n background-color: rgba(127, 127, 127, 0.08) !important;\n}\n\n/* Cursor & Selection */\n.CodeMirror-cursor {\n border-left: 2px solid var(--od-link) !important;\n}\n.cm-selectionBackground,\n.cm-editor .cm-selectionLayer .cm-selectionBackground,\n.cm-content ::selection,\n.cm-line ::selection,\n.CodeMirror-selected,\n.CodeMirror-focused .CodeMirror-selected,\n::selection {\n background-color: var(--od-selection) !important;\n}\n\n/* Syntax Highlighting in Markdown Editor */\n.cm-header-1, .tok-heading-1 { color: var(--od-h1) !important; font-weight: 700 !important; }\n.cm-header-2, .tok-heading-2 { color: var(--od-h2) !important; font-weight: 700 !important; }\n.cm-header-3, .tok-heading-3 { color: var(--od-h3) !important; font-weight: 600 !important; }\n.cm-header-4, .tok-heading-4 { color: var(--od-h4) !important; font-weight: 600 !important; }\n.cm-header-5, .tok-heading-5 { color: var(--od-h5) !important; }\n.cm-header-6, .tok-heading-6 { color: var(--od-h6) !important; }\n\n.cm-link, .tok-link { color: var(--od-link) !important; text-decoration: underline !important; }\n.cm-url, .tok-url { color: var(--od-link-hover) !important; }\n.cm-strong, .tok-strong { font-weight: bold !important; color: var(--od-fg) !important; }\n.cm-em, .tok-emphasis { font-style: italic !important; }\n.cm-comment, .tok-comment { color: var(--od-comment) !important; }\n.cm-quote, .tok-quote { color: var(--od-comment) !important; font-style: italic !important; }\n\n.tok-monospace, .cm-inline-code, .cm-variable-2 {\n font-family: ${d} !important;\n background-color: var(--od-code-bg) !important;\n color: var(--od-code-fg) !important;\n border-radius: 3px !important;\n}\n\n/* TinyMCE (Rich Text Editor) Shell & Toolbar Theming */\n.tox-tinymce {\n border: 1px solid var(--od-border) !important;\n background-color: var(--od-bg) !important;\n}\n.tox .tox-toolbar,\n.tox .tox-toolbar__primary,\n.tox .tox-toolbar__overflow {\n background-color: var(--od-bg-alt) !important;\n border-bottom: 1px solid var(--od-border) !important;\n}\n.tox .tox-tbtn {\n color: var(--od-fg) !important;\n}\n.tox .tox-tbtn:hover {\n background-color: var(--od-selection) !important;\n}\n.tox .tox-tbtn svg {\n fill: var(--od-fg) !important;\n}\n`},t.buildThemeCss=function(o){const t=n.themes[o.themeKey]||n.themes["atom-one-dark"],{fontImport:e,resolvedFont:a,resolvedCodeFont:d}=r(o);let i=":root {\n";for(const[o,e]of Object.entries(t.variables))i+=` ${o}: ${e};\n`;i+=` --mermaid-font-family: ${a} !important;\n`,i+="}\n";let m="";m="rtl"===o.direction?'\nbody#tinymce, body, #rendered-md { direction: rtl !important; text-align: right !important; }\nbody#tinymce h1, #rendered-md h1 { text-align: right !important; }\nbody#tinymce h2, #rendered-md h2 {\n border-right: 5px solid var(--od-h2) !important;\n border-left: none !important;\n padding-right: 12px !important;\n padding-left: 0 !important;\n text-align: right !important;\n}\nbody#tinymce :is(h3, h4, h5, h6), #rendered-md :is(h3, h4, h5, h6) { text-align: right !important; }\nbody#tinymce ul, body#tinymce ol, #rendered-md ul, #rendered-md ol {\n direction: rtl !important;\n text-align: right !important;\n padding-right: 1.6em !important;\n padding-left: 0 !important;\n}\n#rendered-md li, body#tinymce li { direction: rtl !important; text-align: right !important; }\n#rendered-md ul ul, #rendered-md ol ol, #rendered-md ul ol, #rendered-md ol ul,\nbody#tinymce ul ul, body#tinymce ol ol, body#tinymce ul ol, body#tinymce ol ul {\n padding-right: 1.4em !important;\n padding-left: 0 !important;\n}\n.md-checkbox input[type="checkbox"] { margin-left: 8px !important; margin-right: 0 !important; }\n\n/* RTL Blockquotes: 1px Right Border & No Left Border */\nbody#tinymce blockquote, #rendered-md blockquote {\n direction: rtl !important;\n text-align: right !important;\n border-right: 1px solid var(--od-comment) !important;\n border-left: 0 !important;\n}\nbody#tinymce th, #rendered-md th, body#tinymce td, #rendered-md td { text-align: right !important; }\n.mermaid .nodeLabel, .mermaid .edgeLabel, .mermaid .label, .mermaid text {\n direction: rtl !important;\n unicode-bidi: plaintext !important;\n}\n\n#rendered-md [dir="ltr"], body#tinymce [dir="ltr"],\n#rendered-md [dir="ltr"] :is(h1, h2, h3, h4, h5, h6, p, li, blockquote, dt, dd),\nbody#tinymce [dir="ltr"] :is(h1, h2, h3, h4, h5, h6, p, li, blockquote, dt, dd) {\n direction: ltr !important;\n text-align: left !important;\n}\n#rendered-md [dir="ltr"] h2, body#tinymce [dir="ltr"] h2 {\n border-right: none !important;\n border-left: 5px solid var(--od-h2) !important;\n padding-left: 12px !important;\n padding-right: 0 !important;\n}\n#rendered-md [dir="ltr"] blockquote, body#tinymce [dir="ltr"] blockquote {\n border-right: none !important;\n border-left: 1px solid var(--od-comment) !important;\n padding-left: 16px !important;\n padding-right: 12px !important;\n}\n#rendered-md [dir="ltr"] :is(ul, ol), body#tinymce [dir="ltr"] :is(ul, ol) {\n direction: ltr !important;\n text-align: left !important;\n padding-left: 1.6em !important;\n padding-right: 0 !important;\n}\n#rendered-md [dir="ltr"] :is(ul ul, ol ol, ul ol, ol ul), body#tinymce [dir="ltr"] :is(ul ul, ol ol, ul ol, ol ul) {\n padding-left: 1.4em !important;\n padding-right: 0 !important;\n}\n#rendered-md [dir="ltr"] .md-checkbox input[type="checkbox"], body#tinymce [dir="ltr"] .md-checkbox input[type="checkbox"] {\n margin-right: 8px !important;\n margin-left: 0 !important;\n}\n#rendered-md [dir="ltr"] table :is(th, td), body#tinymce [dir="ltr"] table :is(th, td) { text-align: left !important; }\n':"auto"===o.direction?"\nbody#tinymce, body, #rendered-md { direction: ltr !important; text-align: start !important; }\n#rendered-md :is(p, h1, h2, h3, h4, h5, h6, li, blockquote, dt, dd) {\n unicode-bidi: plaintext !important;\n text-align: start !important;\n}\nbody#tinymce h2, #rendered-md h2 { border-inline-start: 5px solid var(--od-h2) !important; padding-inline-start: 12px !important; }\nbody#tinymce ul, body#tinymce ol, #rendered-md ul, #rendered-md ol { padding-inline-start: 2em !important; }\n\n/* Auto-BiDi Blockquotes: 1px Border on Dynamic Inline Start */\nbody#tinymce blockquote, #rendered-md blockquote {\n border-inline-start: 1px solid var(--od-comment) !important;\n border-inline-end: 0 !important;\n padding-inline-start: 16px !important;\n}\nbody#tinymce th, #rendered-md th, body#tinymce td, #rendered-md td { text-align: start !important; }\n.mermaid .nodeLabel, .mermaid .edgeLabel, .mermaid .label, .mermaid text { unicode-bidi: plaintext !important; }\n":'\nbody#tinymce, body, #rendered-md { direction: ltr !important; text-align: left !important; }\nbody#tinymce h2, #rendered-md h2 {\n border-left: 5px solid var(--od-h2) !important;\n border-right: none !important;\n padding-left: 12px !important;\n padding-right: 0 !important;\n}\nbody#tinymce ul, body#tinymce ol, #rendered-md ul, #rendered-md ol { padding-left: 2em !important; }\n.md-checkbox input[type="checkbox"] { margin-right: 8px !important; margin-left: 0 !important; }\n\n/* LTR Blockquotes: 1px Left Border & No Right Border */\nbody#tinymce blockquote, #rendered-md blockquote {\n border-left: 1px solid var(--od-comment) !important;\n border-right: 0 !important;\n}\nbody#tinymce th, #rendered-md th, body#tinymce td, #rendered-md td { text-align: left !important; }\n.mermaid .nodeLabel, .mermaid .edgeLabel, .mermaid .label, .mermaid text { direction: ltr !important; }\n';let l="";"compact"===o.contentMaxWidth?l="max-width: 760px !important; margin: 0 auto !important;":"comfortable"===o.contentMaxWidth&&(l="max-width: 920px !important; margin: 0 auto !important;");const p="paper"===o.pdfExportStyle,c=p?"#ffffff":"var(--od-bg)",b=p?"#1e2227":"var(--od-fg)";return`${e}\n${i}\n${m}\n${`\n*, *::before, *::after { box-sizing: border-box !important; }\nhtml, body, #rendered-md { max-width: 100% !important; overflow-x: hidden !important; }\n::selection { background-color: var(--od-selection) !important; }\n\nbody#tinymce, body, #rendered-md {\n font-family: ${a} !important;\n line-height: ${o.lineHeight} !important;\n font-size: ${o.fontSize} !important;\n background-color: var(--od-bg) !important;\n color: var(--od-fg) !important;\n word-break: break-word !important;\n overflow-wrap: anywhere !important;\n -webkit-font-smoothing: antialiased !important;\n -moz-osx-font-smoothing: grayscale !important;\n}\n\n#rendered-md { ${l} }\n\nbody#tinymce h1, #rendered-md h1 {\n color: var(--od-h1) !important;\n font-size: 1.75em !important;\n font-weight: 800 !important;\n padding: 0 0 8px 0 !important;\n margin: 32px 0 20px 0 !important;\n border-bottom: 2px solid var(--od-h1) !important;\n}\n\nbody#tinymce h2, #rendered-md h2 {\n color: var(--od-h2) !important;\n font-size: 1.42em !important;\n font-weight: 700 !important;\n margin: 28px 0 18px 0 !important;\n}\n\nbody#tinymce h3, #rendered-md h3 { color: var(--od-h3) !important; font-size: 1.25em !important; font-weight: 600 !important; margin: 24px 0 14px 0 !important; }\nbody#tinymce h4, #rendered-md h4 { color: var(--od-h4) !important; font-size: 1.12em !important; font-weight: 600 !important; margin: 20px 0 12px 0 !important; }\nbody#tinymce h5, #rendered-md h5 { color: var(--od-h5) !important; font-size: 1.05em !important; font-weight: 600 !important; margin: 18px 0 10px 0 !important; }\nbody#tinymce h6, #rendered-md h6 { color: var(--od-h6) !important; font-size: 1.0em !important; font-weight: 700 !important; margin: 16px 0 10px 0 !important; }\n\n#rendered-md li, body#tinymce li { margin-bottom: 0.45em !important; line-height: ${o.lineHeight} !important; }\n#rendered-md li::marker, body#tinymce li::marker { color: var(--od-h2) !important; font-weight: bold !important; }\n\n.md-checkbox input[type="checkbox"] { vertical-align: middle !important; cursor: pointer !important; }\n#rendered-md li:has(input[type="checkbox"]:checked),\nbody#tinymce li:has(input[type="checkbox"]:checked) {\n opacity: 0.55 !important;\n text-decoration: line-through !important;\n transition: opacity 0.2s ease !important;\n}\n#rendered-md li:has(input[type="checkbox"]:checked) code,\nbody#tinymce li:has(input[type="checkbox"]:checked) code { opacity: 0.8 !important; text-decoration: none !important; }\n\n#rendered-md img, body#tinymce img {\n max-width: 100% !important;\n max-height: 520px !important;\n height: auto !important;\n object-fit: contain !important;\n display: block !important;\n margin: 18px auto !important;\n border-radius: 6px !important;\n box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08) !important;\n}\n\nbody#tinymce a, #rendered-md a { color: var(--od-link) !important; text-decoration: none !important; transition: color 0.15s ease !important; }\nbody#tinymce a:hover, #rendered-md a:hover { color: var(--od-link-hover) !important; text-decoration: underline !important; }\n\n#rendered-md a[href^=":/"], body#tinymce a[href^=":/"] {\n font-weight: 600 !important;\n border-bottom: 1.5px dashed var(--od-link) !important;\n text-decoration: none !important;\n}\n#rendered-md a[href^=":/"]:hover, body#tinymce a[href^=":/"]:hover { border-bottom-style: solid !important; }\n\n/* =================================================================\n BLOCKQUOTES: NEW CLEAN MINIMAL 1PX STYLE (NO BACKGROUND, NO RADIUS)\n ================================================================= */\nbody#tinymce blockquote, #rendered-md blockquote {\n padding: 10px 16px !important;\n margin: 18px 0 !important;\n background: transparent !important;\n border-radius: 0 !important;\n color: var(--od-fg) !important;\n}\n\nmark { background-color: var(--od-mark-bg) !important; color: var(--od-fg) !important; padding: 1px 4px !important; border-radius: 3px !important; }\nkbd {\n background-color: var(--od-kbd-bg) !important;\n border: 1px solid var(--od-border) !important;\n color: var(--od-fg) !important;\n padding: 2px 5px !important;\n border-radius: 4px !important;\n font-size: 0.85em !important;\n box-shadow: 0 1px 0 rgba(0,0,0,0.2) !important;\n}\n\nbody#tinymce .joplin-source, #rendered-md .joplin-source, pre.joplin-source, div.joplin-editable > pre.joplin-source {\n display: none !important; visibility: hidden !important; height: 0 !important; margin: 0 !important; padding: 0 !important; border: none !important;\n}\n\nbody#tinymce code, #rendered-md code {\n font-family: ${d} !important;\n background-color: var(--od-code-bg) !important;\n color: var(--od-code-fg) !important;\n padding: 2px 6px !important;\n border-radius: 4px !important;\n font-size: 0.9em !important;\n}\n\nbody#tinymce pre:not(.mermaid):not(.joplin-source),\n#rendered-md pre:not(.mermaid):not(.joplin-source) {\n direction: ltr !important;\n text-align: left !important;\n unicode-bidi: isolate !important;\n background-color: var(--od-pre-bg) !important;\n border: 1px solid var(--od-pre-border) !important;\n border-radius: 6px !important;\n padding: 14px !important;\n margin: 18px 0 !important;\n max-width: 100% !important;\n box-sizing: border-box !important;\n overflow-x: auto !important;\n overflow-y: hidden !important;\n white-space: pre !important;\n word-break: normal !important;\n word-wrap: normal !important;\n overflow-wrap: normal !important;\n -webkit-overflow-scrolling: touch !important;\n scrollbar-width: thin !important;\n scrollbar-color: var(--od-scrollbar-thumb) var(--od-scrollbar-track) !important;\n}\n\nbody#tinymce pre:not(.mermaid):not(.joplin-source) code,\n#rendered-md pre:not(.mermaid):not(.joplin-source) code {\n background-color: transparent !important;\n color: var(--od-fg) !important;\n padding: 0 !important;\n white-space: pre !important;\n display: inline-block !important;\n min-width: 100% !important;\n}\n\nbody#tinymce :is(p, li) code, #rendered-md :is(p, li) code {\n direction: ltr !important;\n display: inline-block !important;\n unicode-bidi: embed !important;\n vertical-align: baseline !important;\n white-space: normal !important;\n max-width: 100% !important;\n overflow-wrap: anywhere !important;\n word-break: break-word !important;\n}\n\n/* Explicit Table Font Inheritance */\nbody#tinymce table, #rendered-md table,\nbody#tinymce th, #rendered-md th,\nbody#tinymce td, #rendered-md td {\n font-family: ${a} !important;\n}\nbody#tinymce table :is(th, td) *:not(code):not(pre),\n#rendered-md table :is(th, td) *:not(code):not(pre) {\n font-family: ${a} !important;\n}\nbody#tinymce table :is(th, td) code,\n#rendered-md table :is(th, td) code {\n font-family: ${d} !important;\n}\n\nbody#tinymce table, #rendered-md table {\n border-collapse: collapse !important;\n width: 100% !important;\n max-width: 100% !important;\n margin: 20px 0 !important;\n border: 1px solid var(--od-border) !important;\n display: block !important;\n box-sizing: border-box !important;\n overflow-x: auto !important;\n -webkit-overflow-scrolling: touch !important;\n scrollbar-width: thin !important;\n scrollbar-color: var(--od-scrollbar-thumb) var(--od-scrollbar-track) !important;\n color: var(--od-fg) !important;\n}\n\nbody#tinymce th, #rendered-md th {\n background-color: var(--od-table-th) !important;\n color: var(--od-link) !important;\n font-weight: bold !important;\n border: 1px solid var(--od-border) !important;\n padding: 8px 12px !important;\n white-space: nowrap !important;\n}\n\nbody#tinymce td, #rendered-md td {\n border: 1px solid var(--od-border) !important;\n padding: 8px 12px !important;\n color: var(--od-fg) !important;\n}\n\n#rendered-md table td :not(code):not(pre):not(a),\nbody#tinymce table td :not(code):not(pre):not(a) { color: var(--od-fg) !important; }\nbody#tinymce tr:nth-child(even), #rendered-md tr:nth-child(even) { background-color: var(--od-table-even) !important; }\nbody#tinymce tr:nth-child(odd), #rendered-md tr:nth-child(odd) { background-color: var(--od-table-odd) !important; }\n\n/* Mermaid Diagrams */\n#rendered-md .mermaid, #rendered-md div.mermaid, #rendered-md pre.mermaid,\nbody#tinymce .mermaid, body#tinymce div.mermaid, body#tinymce pre.mermaid {\n display: block !important;\n text-align: center !important;\n width: 100% !important;\n max-width: 100% !important;\n box-sizing: border-box !important;\n margin: 24px 0 !important;\n padding: 20px 14px !important;\n direction: ltr !important;\n overflow-x: auto !important;\n overflow-y: hidden !important;\n -webkit-overflow-scrolling: touch !important;\n scrollbar-width: thin !important;\n background-color: var(--od-mermaid-bg) !important;\n border: 1px solid var(--od-mermaid-border) !important;\n border-radius: 8px !important;\n}\n\n#rendered-md .mermaid svg, #rendered-md div.mermaid svg, #rendered-md pre.mermaid svg {\n display: inline-block !important;\n vertical-align: middle !important;\n margin: 0 auto !important;\n height: auto !important;\n max-width: 100% !important;\n width: auto !important;\n}\n\n.mermaid foreignObject { overflow: visible !important; }\n.mermaid foreignObject div {\n display: flex !important;\n align-items: center !important;\n justify-content: center !important;\n white-space: normal !important;\n word-break: normal !important;\n line-height: 1.4 !important;\n text-align: center !important;\n padding: 3px 6px !important;\n}\n\n.mermaid, .mermaid svg, .mermaid text, .mermaid tspan,\n.mermaid .label, .mermaid .nodeLabel, .mermaid .edgeLabel, .mermaid .cluster-label {\n font-family: var(--mermaid-font-family) !important;\n}\n\n.mermaid .node rect, .mermaid .node polygon { rx: 6px !important; ry: 6px !important; }\n.mermaid .labelBkg, .mermaid rect.labelBkg, .mermaid span.labelBkg, .mermaid .edgeLabel rect {\n background-color: transparent !important; fill: transparent !important; opacity: 0 !important; border: none !important;\n}\n.mermaid .edgeLabel {\n background-color: var(--od-bg) !important;\n color: var(--od-fg) !important;\n border-radius: 4px !important;\n padding: 1px 6px !important;\n}\n\n.katex-display {\n max-width: 100% !important;\n overflow-x: auto !important;\n overflow-y: hidden !important;\n -webkit-overflow-scrolling: touch !important;\n box-sizing: border-box !important;\n padding: 6px 0 !important;\n}\n\n#rendered-md .table-of-contents, body#tinymce .table-of-contents {\n background-color: var(--od-bg-alt) !important;\n border: 1px solid var(--od-border) !important;\n border-radius: 6px !important;\n padding: 12px 18px !important;\n margin: 20px 0 !important;\n display: inline-block !important;\n min-width: min(100%, 300px) !important;\n}\n#rendered-md .table-of-contents ul { margin: 4px 0 !important; }\n\n#rendered-md .footnotes, body#tinymce .footnotes {\n margin-top: 40px !important;\n padding-top: 16px !important;\n border-top: 1px solid var(--od-border) !important;\n font-size: 0.88em !important;\n color: var(--od-comment) !important;\n}\n\n/* Mobile Responsiveness (< 768px) */\n@media screen and (max-width: 768px) {\n body#tinymce, body, #rendered-md {\n font-size: ${o.fontSize} !important;\n line-height: ${o.lineHeight} !important;\n max-width: 100% !important;\n overflow-x: hidden !important;\n }\n body#tinymce h1, #rendered-md h1 { font-size: 1.6em !important; margin: 20px 0 12px 0 !important; }\n body#tinymce h2, #rendered-md h2 { font-size: 1.35em !important; margin: 18px 0 10px 0 !important; }\n body#tinymce h3, #rendered-md h3 { font-size: 1.2em !important; margin: 16px 0 8px 0 !important; }\n #rendered-md img, body#tinymce img { max-height: 420px !important; }\n\n body#tinymce pre:not(.mermaid):not(.joplin-source),\n #rendered-md pre:not(.mermaid):not(.joplin-source) {\n font-size: 0.9em !important;\n padding: 10px 12px !important;\n white-space: pre !important;\n max-width: 100% !important;\n box-sizing: border-box !important;\n overflow-x: auto !important;\n -webkit-overflow-scrolling: touch !important;\n }\n body#tinymce table, #rendered-md table {\n font-size: 0.9em !important;\n max-width: 100% !important;\n box-sizing: border-box !important;\n overflow-x: auto !important;\n -webkit-overflow-scrolling: touch !important;\n }\n #rendered-md .mermaid, body#tinymce .mermaid {\n padding: 14px 8px !important;\n max-width: 100% !important;\n box-sizing: border-box !important;\n overflow-x: auto !important;\n }\n}\n\n/* =================================================================\n FLAWLESS PDF & PRINT EXPORT ENGINE\n ================================================================= */\n@page {\n margin: 12mm 15mm 12mm 15mm;\n size: auto;\n}\n\n@media print {\n *, *::before, *::after, html, body, #rendered-md {\n -webkit-print-color-adjust: exact !important;\n print-color-adjust: exact !important;\n }\n\n body, #rendered-md {\n background-color: ${c} !important;\n color: ${b} !important;\n max-width: 100% !important;\n margin: 0 !important;\n padding: 0 !important;\n font-size: 14px !important;\n line-height: ${o.lineHeight} !important;\n }\n\n body#tinymce table, #rendered-md table,\n body#tinymce th, #rendered-md th,\n body#tinymce td, #rendered-md td {\n font-family: ${a} !important;\n }\n\n body#tinymce table :is(th, td) code,\n #rendered-md table :is(th, td) code {\n font-family: ${d} !important;\n }\n\n .exported-note-title {\n color: var(--od-h1) !important;\n font-family: ${a} !important;\n font-size: 1.9em !important;\n font-weight: 800 !important;\n border-bottom: 2px solid var(--od-h1) !important;\n padding-bottom: 8px !important;\n margin-bottom: 24px !important;\n page-break-after: avoid !important;\n break-after: avoid !important;\n }\n\n body#tinymce h1, #rendered-md h1 { color: var(--od-h1) !important; page-break-after: avoid !important; break-after: avoid !important; }\n body#tinymce h2, #rendered-md h2 { color: var(--od-h2) !important; page-break-after: avoid !important; break-after: avoid !important; }\n body#tinymce h3, #rendered-md h3 { color: var(--od-h3) !important; page-break-after: avoid !important; break-after: avoid !important; }\n body#tinymce h4, #rendered-md h4 { color: var(--od-h4) !important; page-break-after: avoid !important; break-after: avoid !important; }\n body#tinymce h5, #rendered-md h5 { color: var(--od-h5) !important; page-break-after: avoid !important; break-after: avoid !important; }\n body#tinymce h6, #rendered-md h6 { color: var(--od-h6) !important; page-break-after: avoid !important; break-after: avoid !important; }\n\n body#tinymce table, #rendered-md table {\n display: table !important;\n width: 100% !important;\n max-width: 100% !important;\n table-layout: auto !important;\n overflow: visible !important;\n page-break-inside: auto !important;\n break-inside: auto !important;\n margin: 16px 0 !important;\n }\n\n body#tinymce tr, #rendered-md tr { page-break-inside: avoid !important; break-inside: avoid !important; }\n body#tinymce th, #rendered-md th, body#tinymce td, #rendered-md td {\n white-space: normal !important;\n word-break: break-word !important;\n overflow-wrap: break-word !important;\n padding: 6px 10px !important;\n }\n\n body#tinymce pre:not(.mermaid):not(.joplin-source),\n #rendered-md pre:not(.mermaid):not(.joplin-source) {\n white-space: pre-wrap !important;\n word-break: break-word !important;\n overflow-wrap: break-word !important;\n overflow: visible !important;\n page-break-inside: avoid !important;\n break-inside: avoid !important;\n background-color: var(--od-pre-bg) !important;\n border: 1px solid var(--od-pre-border) !important;\n padding: 12px !important;\n margin: 14px 0 !important;\n }\n\n body#tinymce pre:not(.mermaid):not(.joplin-source) code,\n #rendered-md pre:not(.mermaid):not(.joplin-source) code {\n white-space: pre-wrap !important;\n display: block !important;\n min-width: 100% !important;\n }\n\n #rendered-md .mermaid, body#tinymce .mermaid {\n page-break-inside: avoid !important;\n break-inside: avoid !important;\n overflow: visible !important;\n background-color: var(--od-mermaid-bg) !important;\n border: 1px solid var(--od-mermaid-border) !important;\n padding: 16px 10px !important;\n margin: 18px auto !important;\n }\n\n #rendered-md .mermaid svg, body#tinymce .mermaid svg {\n max-width: 100% !important;\n height: auto !important;\n display: block !important;\n margin: 0 auto !important;\n }\n\n #rendered-md img, body#tinymce img {\n page-break-inside: avoid !important;\n break-inside: avoid !important;\n max-width: 100% !important;\n height: auto !important;\n }\n\n body#tinymce blockquote, #rendered-md blockquote {\n page-break-inside: avoid !important;\n break-inside: avoid !important;\n background-color: transparent !important;\n }\n\n .katex-display {\n page-break-inside: avoid !important;\n break-inside: avoid !important;\n overflow: visible !important;\n }\n}\n\n::-webkit-scrollbar { width: 8px !important; height: 8px !important; }\n::-webkit-scrollbar-track { background: var(--od-scrollbar-track) !important; border-radius: 4px !important; }\n::-webkit-scrollbar-thumb { background: var(--od-scrollbar-thumb) !important; border-radius: 4px !important; }\n::-webkit-scrollbar-thumb:hover { background: var(--od-scrollbar-hover) !important; }\n`}`};const n=e(880);function r(o){let t="",e=o.fontFamily;switch(o.fontPreset){case"inter":t+="@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');\n",e="'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif";break;case"roboto":t+="@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap');\n",e="'Roboto', -apple-system, BlinkMacSystemFont, sans-serif";break;case"vazirmatn":t+="@import url('https://cdn.jsdelivr.net/gh/rastikerdar/vazirmatn@v33.003/Vazirmatn-font-face.css');\n",e="'Vazirmatn', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif";break;case"noto-arabic":t+="@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Arabic:wght@400;600;700&display=swap');\n",e="'Noto Sans Arabic', -apple-system, BlinkMacSystemFont, sans-serif";break;case"noto-cjk-sc":t+="@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@400;500;700&display=swap');\n",e="'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif";break;case"noto-cjk-jp":t+="@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700&display=swap');\n",e="'Noto Sans JP', 'Hiragino Sans', 'Meiryo', sans-serif";break;case"heebo":t+="@import url('https://fonts.googleapis.com/css2?family=Heebo:wght@400;600;700&display=swap');\n",e="'Heebo', -apple-system, BlinkMacSystemFont, sans-serif";break;case"noto-devanagari":t+="@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Devanagari:wght@400;600;700&display=swap');\n",e="'Noto Sans Devanagari', -apple-system, BlinkMacSystemFont, sans-serif";break;case"lora":t+="@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400;0,600;0,700;1,400&display=swap');\n",e="'Lora', Georgia, serif";break;case"system":e="-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif";break;default:e=o.fontFamily||"-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif"}let n=o.codeFont;switch(o.codeFontPreset){case"fira-code":t+="@import url('https://fonts.googleapis.com/css2?family=Fira+Code:wght@400;500;600&display=swap');\n",n="'Fira Code', monospace";break;case"jetbrains-mono":t+="@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;600&display=swap');\n",n="'JetBrains Mono', monospace";break;case"system-mono":n="'Cascadia Code', 'Consolas', 'Courier New', monospace";break;default:n=o.codeFont||"'Cascadia Code', 'Fira Code', 'Consolas', monospace"}return{fontImport:t,resolvedFont:e,resolvedCodeFont:n}}},880(o,t){t.themes=void 0,t.themes={"atom-one-dark":{name:"Atom One Dark",isDark:!0,variables:{"--od-bg":"#282c34","--od-fg":"#abb2bf","--od-bg-alt":"#2c313c","--od-border":"#3e4452","--od-comment":"#5c6370","--od-h1":"#e06c75","--od-h2":"#61afef","--od-h3":"#98c379","--od-h4":"#c678dd","--od-h5":"#56b6c2","--od-h6":"#d19a66","--od-link":"#61afef","--od-link-hover":"#56b6c2","--od-code-bg":"#3e4452","--od-code-fg":"#e06c75","--od-pre-bg":"#21252b","--od-pre-border":"#181a1f","--od-table-even":"#21252b","--od-table-odd":"#282c34","--od-table-th":"#2c313c","--od-scrollbar-track":"#1e2227","--od-scrollbar-thumb":"#4b5263","--od-scrollbar-hover":"#5c6370","--od-mermaid-bg":"#21252b","--od-mermaid-border":"#333842","--od-selection":"rgba(97, 175, 239, 0.25)","--od-mark-bg":"#634a17","--od-kbd-bg":"#353b45"}},"atom-one-light":{name:"Atom One Light",isDark:!1,variables:{"--od-bg":"#fafafa","--od-fg":"#383a42","--od-bg-alt":"#f0f0f1","--od-border":"#d0d0d0","--od-comment":"#a0a1a7","--od-h1":"#e45649","--od-h2":"#4078f2","--od-h3":"#50a14f","--od-h4":"#a626a4","--od-h5":"#0184bc","--od-h6":"#986801","--od-link":"#4078f2","--od-link-hover":"#0184bc","--od-code-bg":"#eaeaeb","--od-code-fg":"#e45649","--od-pre-bg":"#f4f4f5","--od-pre-border":"#d8d8d8","--od-table-even":"#f4f4f5","--od-table-odd":"#fafafa","--od-table-th":"#ebebeb","--od-scrollbar-track":"#e4e4e6","--od-scrollbar-thumb":"#b0b0b4","--od-scrollbar-hover":"#8e8e93","--od-mermaid-bg":"#fbfbfb","--od-mermaid-border":"#e4e4e6","--od-selection":"rgba(64, 120, 242, 0.2)","--od-mark-bg":"#ffeaa7","--od-kbd-bg":"#eaeaeb"}},"tokyo-night":{name:"Tokyo Night",isDark:!0,variables:{"--od-bg":"#1a1b26","--od-fg":"#c0caf5","--od-bg-alt":"#16161e","--od-border":"#292e42","--od-comment":"#565f89","--od-h1":"#f7768e","--od-h2":"#7aa2f7","--od-h3":"#9ece6a","--od-h4":"#bb9af7","--od-h5":"#7dcfff","--od-h6":"#e0af68","--od-link":"#7aa2f7","--od-link-hover":"#7dcfff","--od-code-bg":"#24283b","--od-code-fg":"#f7768e","--od-pre-bg":"#1f2335","--od-pre-border":"#292e42","--od-table-even":"#1f2335","--od-table-odd":"#1a1b26","--od-table-th":"#24283b","--od-scrollbar-track":"#16161e","--od-scrollbar-thumb":"#3b4261","--od-scrollbar-hover":"#565f89","--od-mermaid-bg":"#1f2335","--od-mermaid-border":"#292e42","--od-selection":"rgba(122, 162, 247, 0.25)","--od-mark-bg":"#3d3725","--od-kbd-bg":"#24283b"}},"tokyo-night-storm":{name:"Tokyo Night Storm",isDark:!0,variables:{"--od-bg":"#24283b","--od-fg":"#c0caf5","--od-bg-alt":"#1f2335","--od-border":"#3b4261","--od-comment":"#565f89","--od-h1":"#f7768e","--od-h2":"#7aa2f7","--od-h3":"#9ece6a","--od-h4":"#bb9af7","--od-h5":"#7dcfff","--od-h6":"#e0af68","--od-link":"#7aa2f7","--od-link-hover":"#7dcfff","--od-code-bg":"#2f354f","--od-code-fg":"#f7768e","--od-pre-bg":"#1a1b26","--od-pre-border":"#2f354f","--od-table-even":"#1f2335","--od-table-odd":"#24283b","--od-table-th":"#2f354f","--od-scrollbar-track":"#1f2335","--od-scrollbar-thumb":"#414868","--od-scrollbar-hover":"#565f89","--od-mermaid-bg":"#1f2335","--od-mermaid-border":"#3b4261","--od-selection":"rgba(122, 162, 247, 0.25)","--od-mark-bg":"#3d3725","--od-kbd-bg":"#2f354f"}},"everforest-dark":{name:"Everforest Dark",isDark:!0,variables:{"--od-bg":"#2d353b","--od-fg":"#d3c6aa","--od-bg-alt":"#232a2e","--od-border":"#475258","--od-comment":"#859289","--od-h1":"#e67e80","--od-h2":"#7fbbb3","--od-h3":"#a7c080","--od-h4":"#d699b6","--od-h5":"#83c092","--od-h6":"#dbbc7f","--od-link":"#7fbbb3","--od-link-hover":"#83c092","--od-code-bg":"#343f44","--od-code-fg":"#e67e80","--od-pre-bg":"#232a2e","--od-pre-border":"#3d484d","--od-table-even":"#232a2e","--od-table-odd":"#2d353b","--od-table-th":"#343f44","--od-scrollbar-track":"#232a2e","--od-scrollbar-thumb":"#475258","--od-scrollbar-hover":"#56635f","--od-mermaid-bg":"#232a2e","--od-mermaid-border":"#3d484d","--od-selection":"rgba(127, 187, 179, 0.25)","--od-mark-bg":"#494228","--od-kbd-bg":"#343f44"}},"everforest-light":{name:"Everforest Light",isDark:!1,variables:{"--od-bg":"#fdf6e3","--od-fg":"#5c6a72","--od-bg-alt":"#f4f0d9","--od-border":"#e0dcc7","--od-comment":"#939f91","--od-h1":"#f85552","--od-h2":"#3a94c5","--od-h3":"#8da101","--od-h4":"#df69ba","--od-h5":"#35a77c","--od-h6":"#dfa000","--od-link":"#3a94c5","--od-link-hover":"#35a77c","--od-code-bg":"#ece7cf","--od-code-fg":"#f85552","--od-pre-bg":"#f4f0d9","--od-pre-border":"#e0dcc7","--od-table-even":"#f4f0d9","--od-table-odd":"#fdf6e3","--od-table-th":"#ebe5c8","--od-scrollbar-track":"#f4f0d9","--od-scrollbar-thumb":"#cfc8ab","--od-scrollbar-hover":"#a7a083","--od-mermaid-bg":"#faf5e0","--od-mermaid-border":"#e0dcc7","--od-selection":"rgba(58, 148, 197, 0.2)","--od-mark-bg":"#fae3b0","--od-kbd-bg":"#ebe5c8"}},"catppuccin-mocha":{name:"Catppuccin Mocha",isDark:!0,variables:{"--od-bg":"#1e1e2e","--od-fg":"#cdd6f4","--od-bg-alt":"#181825","--od-border":"#45475a","--od-comment":"#6c7086","--od-h1":"#f38ba8","--od-h2":"#89b4fa","--od-h3":"#a6e3a1","--od-h4":"#cba6f7","--od-h5":"#89dceb","--od-h6":"#fab387","--od-link":"#89b4fa","--od-link-hover":"#89dceb","--od-code-bg":"#313244","--od-code-fg":"#f38ba8","--od-pre-bg":"#181825","--od-pre-border":"#313244","--od-table-even":"#181825","--od-table-odd":"#1e1e2e","--od-table-th":"#313244","--od-scrollbar-track":"#181825","--od-scrollbar-thumb":"#45475a","--od-scrollbar-hover":"#585b70","--od-mermaid-bg":"#181825","--od-mermaid-border":"#313244","--od-selection":"rgba(137, 180, 250, 0.25)","--od-mark-bg":"#453c24","--od-kbd-bg":"#313244"}},"catppuccin-latte":{name:"Catppuccin Latte",isDark:!1,variables:{"--od-bg":"#eff1f5","--od-fg":"#4c4f69","--od-bg-alt":"#e6e9ef","--od-border":"#ccd0da","--od-comment":"#8c8fa1","--od-h1":"#d20f39","--od-h2":"#1e66f5","--od-h3":"#40a02b","--od-h4":"#8839ef","--od-h5":"#04a5e5","--od-h6":"#fe640b","--od-link":"#1e66f5","--od-link-hover":"#04a5e5","--od-code-bg":"#e6e9ef","--od-code-fg":"#d20f39","--od-pre-bg":"#e6e9ef","--od-pre-border":"#ccd0da","--od-table-even":"#e6e9ef","--od-table-odd":"#eff1f5","--od-table-th":"#dce0e8","--od-scrollbar-track":"#e6e9ef","--od-scrollbar-thumb":"#bcc0cc","--od-scrollbar-hover":"#9ca0b0","--od-mermaid-bg":"#f2f4f8","--od-mermaid-border":"#ccd0da","--od-selection":"rgba(30, 102, 245, 0.2)","--od-mark-bg":"#feefc3","--od-kbd-bg":"#e6e9ef"}},nord:{name:"Nord",isDark:!0,variables:{"--od-bg":"#2e3440","--od-fg":"#d8dee9","--od-bg-alt":"#242933","--od-border":"#434c5e","--od-comment":"#616e88","--od-h1":"#bf616a","--od-h2":"#88c0d0","--od-h3":"#a3be8c","--od-h4":"#b48ead","--od-h5":"#81a1c1","--od-h6":"#ebcb8b","--od-link":"#88c0d0","--od-link-hover":"#8fbcbb","--od-code-bg":"#3b4252","--od-code-fg":"#bf616a","--od-pre-bg":"#242933","--od-pre-border":"#3b4252","--od-table-even":"#242933","--od-table-odd":"#2e3440","--od-table-th":"#3b4252","--od-scrollbar-track":"#242933","--od-scrollbar-thumb":"#434c5e","--od-scrollbar-hover":"#4c566a","--od-mermaid-bg":"#242933","--od-mermaid-border":"#3b4252","--od-selection":"rgba(136, 192, 208, 0.25)","--od-mark-bg":"#453e28","--od-kbd-bg":"#3b4252"}},dracula:{name:"Dracula",isDark:!0,variables:{"--od-bg":"#282a36","--od-fg":"#f8f8f2","--od-bg-alt":"#21222c","--od-border":"#44475a","--od-comment":"#6272a4","--od-h1":"#ff5555","--od-h2":"#8be9fd","--od-h3":"#50fa7b","--od-h4":"#ff79c6","--od-h5":"#bd93f9","--od-h6":"#f1fa8c","--od-link":"#8be9fd","--od-link-hover":"#ff79c6","--od-code-bg":"#44475a","--od-code-fg":"#ff5555","--od-pre-bg":"#1e1f29","--od-pre-border":"#44475a","--od-table-even":"#21222c","--od-table-odd":"#282a36","--od-table-th":"#44475a","--od-scrollbar-track":"#1e1f29","--od-scrollbar-thumb":"#44475a","--od-scrollbar-hover":"#6272a4","--od-mermaid-bg":"#1e1f29","--od-mermaid-border":"#44475a","--od-selection":"rgba(139, 233, 253, 0.25)","--od-mark-bg":"#4c4a22","--od-kbd-bg":"#44475a"}},"gruvbox-dark":{name:"Gruvbox Dark",isDark:!0,variables:{"--od-bg":"#282828","--od-fg":"#ebdbb2","--od-bg-alt":"#1d2021","--od-border":"#504945","--od-comment":"#928374","--od-h1":"#fb4934","--od-h2":"#83a598","--od-h3":"#b8bb26","--od-h4":"#d3869b","--od-h5":"#8ec07c","--od-h6":"#fabd2f","--od-link":"#83a598","--od-link-hover":"#8ec07c","--od-code-bg":"#3c3836","--od-code-fg":"#fb4934","--od-pre-bg":"#1d2021","--od-pre-border":"#3c3836","--od-table-even":"#1d2021","--od-table-odd":"#282828","--od-table-th":"#3c3836","--od-scrollbar-track":"#1d2021","--od-scrollbar-thumb":"#504945","--od-scrollbar-hover":"#665c54","--od-mermaid-bg":"#1d2021","--od-mermaid-border":"#3c3836","--od-selection":"rgba(131, 165, 152, 0.25)","--od-mark-bg":"#4c421e","--od-kbd-bg":"#3c3836"}},"gruvbox-light":{name:"Gruvbox Light",isDark:!1,variables:{"--od-bg":"#fbf1c7","--od-fg":"#3c3836","--od-bg-alt":"#f2e5bc","--od-border":"#d5c4a1","--od-comment":"#928374","--od-h1":"#cc241d","--od-h2":"#458588","--od-h3":"#98971a","--od-h4":"#b16286","--od-h5":"#689d6a","--od-h6":"#d79921","--od-link":"#458588","--od-link-hover":"#689d6a","--od-code-bg":"#ebdbb2","--od-code-fg":"#cc241d","--od-pre-bg":"#f2e5bc","--od-pre-border":"#d5c4a1","--od-table-even":"#f2e5bc","--od-table-odd":"#fbf1c7","--od-table-th":"#ebdbb2","--od-scrollbar-track":"#f2e5bc","--od-scrollbar-thumb":"#bdae93","--od-scrollbar-hover":"#a89984","--od-mermaid-bg":"#faf3d6","--od-mermaid-border":"#d5c4a1","--od-selection":"rgba(69, 133, 136, 0.2)","--od-mark-bg":"#fedba8","--od-kbd-bg":"#ebdbb2"}}}}};const t={};let e=function e(n){const r=t[n];if(void 0!==r)return r.exports;const a=t[n]={exports:{}};return o[n].call(a.exports,a,a.exports,e),a.exports}(156);const n=exports;for(var r in e)n[r]=e[r];e.__esModule&&Object.defineProperty(n,"__esModule",{value:!0})})();
|
package/package.json
CHANGED
|
Binary file
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"id": "org.joplin.plugin.theme-studio",
|
|
4
4
|
"app_min_version": "2.8.0",
|
|
5
5
|
"name": "Theme Studio",
|
|
6
|
-
"version": "1.1
|
|
6
|
+
"version": "1.2.1",
|
|
7
7
|
"description": "All-in-one multi-palette engine (Tokyo Night, Everforest, Catppuccin, Nord, Dracula, Gruvbox, Atom One) with native RTL/LTR typography & mobile support.",
|
|
8
8
|
"author": "Yashar",
|
|
9
9
|
"homepage_url": "https://github.com/xyasharx/joplin-plugin-theme-studio",
|
|
@@ -33,6 +33,6 @@
|
|
|
33
33
|
"mobile",
|
|
34
34
|
"mermaid"
|
|
35
35
|
],
|
|
36
|
-
"_publish_hash": "sha256:
|
|
37
|
-
"_publish_commit": "
|
|
36
|
+
"_publish_hash": "sha256:874d6ee350df26d76ffa7e86900b7ff8e6389f0889fa2f96b8b7498f516caba3",
|
|
37
|
+
"_publish_commit": "ff8cab87407fd1626869e01140b50ab34b499f68"
|
|
38
38
|
}
|