joplin-plugin-theme-studio 1.2.0 → 1.3.0

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,154 +4,155 @@
4
4
  [![Platforms](https://img.shields.io/badge/Platforms-Desktop%20%7C%20Mobile-green)](#-installation)
5
5
  [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
6
6
 
7
- > **Theme Studio** is an all-in-one visual and typography engine for Joplin. Switch instantly between iconic color schemes (Tokyo Night, Everforest, Catppuccin, Nord, Dracula, Gruvbox, Atom One) with **smart BiDi auto-detection**, **international web fonts**, **high-fidelity PDF export**, and responsive mobile rendering—**without ever touching `userstyle.css` again.**
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
12
 
13
- - 🔄 **One-Click Theme Switching:** Switch between 12+ iconic dark and light palettes on the fly.
14
- - 🌍 **Smart Locale Detection & International Fonts:** Automatically detects Joplin's interface language on launch (defaults to LTR & Inter globally, or RTL & Vazirmatn for Persian/Arabic/Hebrew). Loads web fonts on the fly via CDN—ideal for mobile where system fonts cannot be installed.
15
- - 🔀 **Auto-Detect BiDi & LTR Priority:** Supports pure LTR, pure RTL, or a new **Auto-Detect (Per-Paragraph BiDi)** mode that aligns each paragraph naturally according to its language.
16
- - 📄 **High-Fidelity PDF & Print Engine:** Exact color and background preservation (`print-color-adjust: exact`), automatic table column wrapping (no cropped tables or printed scrollbars), wrapped code blocks (`pre-wrap`), and smart page-break isolation.
17
- - 📱 **Mobile & Desktop Ready:** Works seamlessly across Joplin Desktop (Windows, macOS, Linux) and Joplin Mobile (Android/iOS) with adaptive font scaling and zero horizontal viewport sway.
18
- - 📊 **Contained Mermaid Diagrams:** Centered flowcharts, rounded nodes, transparent label backgrounds, and container-isolated horizontal scrolling.
19
- - 💻 **ASCII-Safe Code Blocks:** Strict horizontal scroll isolation so folder tree structures and terminal logs never break or wrap unexpectedly on screen.
20
- - 📋 **Contrast & Font-Fixed Tables:** Resolves Joplin's light-mode unreadable text bug and ensures tables fully adopt your chosen typography preset.
21
- - ✅ **Interactive Checklist Styling:** Checked to-do items (`- [x]`) smoothly dim to 55% opacity with an automatic strikethrough.
22
- - 🖼️ **Smart Image Boundaries:** Pasted screenshots and retina graphics are auto-centered and bounded (`max-height: 520px`) to prevent them from dominating your notes.
23
- - 🔗 **Cross-Note Link Distinction:** Internal Joplin note links (`:/<id>`) feature a distinct dashed accent underline to stand out from external web URLs.
24
- - 📖 **Focus Reading Width:** Center and constrain line lengths on ultra-wide monitors (`Compact 760px`, `Comfortable 920px`, or `Full Width`).
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.
25
27
 
26
28
  ---
27
29
 
28
- ## 🌍 Built-In International Font Presets
30
+ ## 🌍 International Font Presets
29
31
 
30
- Mobile devices running Joplin typically cannot install local system fonts. Theme Studio includes built-in web fonts served on the fly via CDN:
31
-
32
- | Language / Script | Font Preset | Description |
32
+ | Script / Target | Font Preset | Technical Description |
33
33
  | :--- | :--- | :--- |
34
- | **Global / Latin / European / Cyrillic** | **Inter** *(Default)* | The gold standard for modern UI and long-form reading |
35
- | **Clean Modern Sans** | **Roboto** | Google's versatile, high-legibility sans-serif |
36
- | **Persian / Arabic / Kurdish / Urdu** | **Vazirmatn** | Modern, beautiful, and crisp Arabic-script typography |
37
- | **Standard Arabic** | **Noto Sans Arabic** | Modern clean Arabic typeface from Google |
38
- | **Simplified Chinese (CJK)** | **Noto Sans SC** | High-contrast Chinese typography |
39
- | **Japanese (CJK)** | **Noto Sans JP** | Balanced Japanese typography |
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
40
  | **Hebrew** | **Heebo** | Clean Hebrew and Latin typography |
41
- | **Devanagari (Hindi / Sanskrit / Marathi)** | **Noto Sans Devanagari** | Complete Devanagari script support |
42
- | **Editorial & Book Reading** | **Lora** | Classic serif optimized for long reading sessions |
43
- | **Code & Monospace** | **Fira Code** / **JetBrains Mono** | Modern developer monospace typefaces |
44
- | **Native System** | **System Default** | Zero-network overhead using your OS native font stack |
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 |
45
45
 
46
46
  ---
47
47
 
48
48
  ## 🎨 Built-In Themes
49
49
 
50
- | Theme | Mode | Description |
50
+ | Theme | Type | Characteristics |
51
51
  | :--- | :---: | :--- |
52
- | **Tokyo Night** | Dark | Deep navy aesthetic with vivid neon accents |
53
- | **Tokyo Night Storm** | Dark | Softer midnight-slate variation |
54
- | **Everforest Dark** | Dark | Nature-inspired, warm green environment |
55
- | **Everforest Light** | Light | Organic, paper-soft tones for comfortable daytime reading |
56
- | **Catppuccin Mocha** | Dark | Modern, soothing pastel dark theme |
57
- | **Catppuccin Latte** | Light | Crisp, high-contrast pastel light theme |
58
- | **Nord** | Dark | Elegant, arctic-blue cold palette |
59
- | **Dracula** | Dark | Classic vibrant purple and high-contrast accents |
60
- | **Gruvbox Dark** | Dark | Retro groove warm amber/brown palette |
61
- | **Gruvbox Light** | Light | Warm retro parchment aesthetic |
62
- | **Atom One Dark** | Dark | The classic One Dark editor standard |
63
- | **Atom One Light** | Light | Clean, balanced One Light palette |
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 |
64
64
 
65
65
  ---
66
66
 
67
67
  ## 🚀 Installation
68
68
 
69
- ### Option 1: In-App Search (Recommended)
69
+ ### In-App Plugin Search (Recommended)
70
70
  1. Open Joplin Desktop.
71
- 2. Go to **Tools > Options > Plugins** (macOS: **Joplin > Preferences > Plugins**).
71
+ 2. Navigate to **Tools > Options > Plugins** (macOS: **Joplin > Preferences > Plugins**).
72
72
  3. Search for **`Theme Studio`**.
73
73
  4. Click **Install** and restart Joplin.
74
74
 
75
- ---
76
-
77
- ### Option 2: Manual Installation (`.jpl` file)
75
+ ### Manual Installation (`.jpl`)
78
76
 
79
- #### On Desktop:
80
- 1. Download the latest `org.joplin.plugin.theme-studio.jpl` from the [Releases](https://github.com/xyasharx/joplin-plugin-theme-studio/releases) page.
81
- 2. Open Joplin > **Tools > Options > Plugins**.
82
- 3. Click the gear icon (**⚙**) in the top right > **Install from file**.
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**.
83
81
  4. Select the downloaded `.jpl` file and restart Joplin.
84
82
 
85
- #### On Mobile (Android):
86
- 1. Download the `.jpl` file to your mobile device.
87
- 2. Open Joplin Mobile > Tap the **Menu icon (≡)** > **Configuration** > **Plugins**.
83
+ #### Mobile (Android):
84
+ 1. Download the `.jpl` file to your mobile device storage.
85
+ 2. Open Joplin Mobile > Tap **Menu (≡)** > **Configuration** > **Plugins**.
88
86
  3. Under **Advanced**, tap **Install from file**.
89
- 4. Choose the `.jpl` file and restart the Joplin app.
87
+ 4. Select the `.jpl` file and restart the application.
90
88
 
91
89
  ---
92
90
 
93
91
  ## ⚙️ Configuration Reference
94
92
 
95
- Open **Tools > Options > Theme Studio** (on Mobile: **Configuration > Plugins > Theme Studio**):
96
-
97
- | Setting | Options / Description | Default |
98
- | :--- | :--- | :--- |
99
- | **Color Theme** | Select any of the 12+ built-in palettes. | `Atom One Dark` |
100
- | **Layout Direction** | `LTR (Global)`, `Auto-Detect (Per-Paragraph BiDi)`, or `RTL`. | Auto-detected |
101
- | **International Font Preset** | Choose from 10+ web fonts (Inter, Roboto, Vazirmatn, Noto Arabic, Noto CJK, Heebo, Devanagari, Lora, System, Custom). | Auto-detected |
102
- | **Custom Font Stack** | Custom font-family string (active only when *Custom Font Stack* is chosen above). | System stack |
103
- | **Code Font Preset** | `Fira Code`, `JetBrains Mono`, `System Monospace`, or `Custom`. | `Fira Code` |
104
- | **Custom Code Font Stack** | Custom monospace stack (active only when *Custom Code Font* is chosen above). | Cascadia / Consolas |
105
- | **Font Size** | Base font size (e.g., `14px`, `16px`, `18px`, `20px`). Fully responsive on mobile. | `16px` |
106
- | **Line Height** | Body line spacing (e.g., `1.6`, `1.75`, `1.9`). | `1.75` |
107
- | **Reading Width (Focus Mode)** | `Full Width (100%)`, `Comfortable (920px Centered)`, or `Compact (760px Centered)`. | `Full Width` |
108
- | **PDF Export Appearance** | `Exact Match` (identical colors and backgrounds) or `Paper Friendly` (white background with theme accents). | `Exact Match` |
93
+ Access the settings panel under **Tools > Options > Theme Studio** (on Mobile: **Configuration > Plugins > Theme Studio**):
94
+
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 |
109
108
 
110
109
  ---
111
110
 
112
- ## 💡 Mixed-Language (LTR in RTL) Guide
111
+ ## 💡 Mixed-Language (LTR within RTL) Usage
113
112
 
114
- If your note direction is set to **RTL**, you can embed English paragraphs, code summaries, or quotes with left-to-right alignment using `<div dir="ltr">`:
113
+ When **Layout Direction** is set to `RTL`, left-to-right code explanations, English citations, or quotes can be isolated using HTML container syntax:
115
114
 
116
115
  ```html
117
116
  <div dir="ltr">
118
117
 
119
118
  ### English Subheading
120
- - List markers automatically sit on the left.
121
- - Markdown links, bold text, and math render as usual.
119
+ - List markers position on the left margin.
120
+ - Hyperlinks and formatting render left-to-right.
122
121
 
123
- > Blockquotes automatically flip their accent line to the left border.
122
+ > Blockquotes format with a left accent border.
124
123
 
125
124
  </div>
126
125
  ```
127
126
 
128
- *(Alternatively, switch **Layout Direction** to `Auto-Detect (Per-Paragraph BiDi)` to let the plugin align each paragraph automatically without manual HTML tags).*
127
+ *Tip: Selecting `Auto-Detect (Per-Paragraph BiDi)` handles mixed language paragraphs automatically without requiring manual `div` tags.*
129
128
 
130
129
  ---
131
130
 
132
- ## 🛠️ Development & Building
131
+ ## 🛠️ Development & Build Pipeline
132
+
133
+ ### Prerequisites
134
+ - Node.js >= 20.9.0
135
+ - npm >= 9.0.0
133
136
 
134
- To build Theme Studio locally:
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
135
142
 
136
- 1. **Clone the repo:**
137
- ```bash
138
- git clone https://github.com/xyasharx/joplin-plugin-theme-studio.git
139
- cd joplin-plugin-theme-studio
140
- ```
143
+ # 2. Install dependencies
144
+ npm install
141
145
 
142
- 2. **Install dependencies:**
143
- ```bash
144
- npm install
145
- ```
146
+ # 3. Compile TypeScript and build .jpl bundle
147
+ npm run dist
148
+ ```
146
149
 
147
- 3. **Build the plugin bundle:**
148
- ```bash
149
- npm run dist
150
- ```
151
- The compiled `.jpl` archive 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`
152
153
 
153
154
  ---
154
155
 
155
156
  ## 📄 License
156
157
 
157
- This project is open-source under the [MIT License](LICENSE).
158
+ This project is licensed under the [MIT License](LICENSE).
package/dist/index.js CHANGED
@@ -1 +1 @@
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/* High-specificity override for CodeMirror 6 & CodeMirror 5 editor background */\nhtml body div.cm-editor,\nhtml body div.cm-editor .cm-scroller,\nhtml body div.cm-editor .cm-content,\nhtml body div.CodeMirror,\nhtml body div.CodeMirror-lines,\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.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, .CodeMirror-selected, ::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})})();
1
+ (()=>{"use strict";var t={998(t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default="undefined"!=typeof joplin?joplin:global.joplin},143(t,n){var o,e;n.SettingItemType=n.ContentScriptType=void 0,function(t){t.MarkdownItPlugin="markdownItPlugin",t.CodeMirrorPlugin="codeMirrorPlugin"}(o||(n.ContentScriptType=o={})),function(t){t[t.Int=1]="Int",t[t.String=2]="String",t[t.Bool=3]="Bool",t[t.Array=4]="Array",t[t.Object=5]="Object",t[t.Button=6]="Button"}(e||(n.SettingItemType=e={}))},156(t,n,o){var e=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(n,"__esModule",{value:!0});const r=e(o(998)),i=o(143),a=o(800);r.default.plugins.register({onStart:async function(){let t="ltr",n="inter";try{const o=await r.default.settings.globalValue("locale");o&&["fa","ar","he","ur","ug","ps","yi"].some(t=>o.toLowerCase().startsWith(t))&&(t="rtl",n="vazirmatn")}catch(o){t="ltr",n="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:i.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:t,type:i.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:i.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."},themeApplicationShell:{value:!0,type:i.SettingItemType.Bool,section:"themeStudioSection",public:!0,label:"Theme Application Shell (Sidebar & Note List)",description:"Applies the active palette to Joplin's desktop sidebar, note list, and header (Desktop only)."},fontPreset:{value:n,type:i.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:i.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:i.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:i.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:i.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:i.SettingItemType.String,section:"themeStudioSection",public:!0,label:"Line Height",description:"Reading line spacing (e.g., 1.6, 1.75, 1.9)."},headingSizePreset:{value:"balanced",type:i.SettingItemType.String,section:"themeStudioSection",isEnum:!0,public:!0,label:"Heading Sizes Preset",description:"Typographic scale applied to H1 through H6 headings.",options:{balanced:"Balanced / Standard (H1: 1.75em, H2: 1.42em, H3: 1.25em...)",large:"Large / Editorial (H1: 2.15em, H2: 1.7em, H3: 1.4em...)",compact:"Compact / Dense (H1: 1.5em, H2: 1.3em, H3: 1.18em...)",custom:"Custom Sizes (Configured below)"}},customHeadingSizes:{value:"1.75em, 1.42em, 1.25em, 1.12em, 1.05em, 1.0em",type:i.SettingItemType.String,section:"themeStudioSection",public:!0,label:"Custom Heading Sizes (H1 - H6)",description:'Active only when "Custom Sizes" is selected. Comma-separated sizes from H1 to H6 (e.g., 28px, 24px, 20px, 18px, 16px, 14px or 2.2em, 1.7em, 1.4em, 1.2em, 1.1em, 1.0em).'},contentMaxWidth:{value:"full",type:i.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:i.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(i.ContentScriptType.CodeMirrorPlugin,"themeStudioCodeMirror","./codeMirrorTheme.js"),await r.default.contentScripts.onMessage("themeStudioCodeMirror",async t=>{if(t&&("getAllStyles"===t.type||"getEditorStyles"===t.type)){const t=await r.default.settings.value("enableEditorTheme"),n=await r.default.settings.value("themeApplicationShell"),o=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"),headingSizePreset:await r.default.settings.value("headingSizePreset"),customHeadingSizes:await r.default.settings.value("customHeadingSizes")}}();return await async function(t,n){try{if(r.default.window&&"function"==typeof r.default.window.loadChromeCssFile){const o=r.default.require("fs-extra"),e=`${await r.default.plugins.dataDir()}/theme-studio-chrome.css`,i=n?(0,a.buildChromeCss)(t):"";await o.writeFile(e,i,"utf8"),await r.default.window.loadChromeCssFile(e)}}catch(t){}}(o,n),{editorCss:t?(0,a.buildEditorCss)(o):"",viewerCss:(0,a.buildThemeCss)(o),chromeCss:n?(0,a.buildChromeCss)(o):""}}return null}),await r.default.contentScripts.register(i.ContentScriptType.MarkdownItPlugin,"themeStudioMarkdownIt","./markdownTheme.js")}})},800(t,n,o){n.buildEditorCss=function(t){const n=e.themes[t.themeKey]||e.themes["atom-one-dark"],{fontImport:o,resolvedFont:i,resolvedCodeFont:a}=r(t);let d=":root {\n";for(const[t,o]of Object.entries(n.variables))d+=` ${t}: ${o};\n`;d+="}\n";let l="";return l="rtl"===t.direction?"\n .cm-content, .CodeMirror-lines, body#tinymce {\n direction: rtl !important;\n text-align: right !important;\n }\n ":"auto"===t.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${o}\n${d}\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: ${i} !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: ${t.fontSize} !important;\n line-height: ${t.lineHeight} !important;\n caret-color: var(--od-link) !important;\n}\n\n${l}\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 (Fully unmasked for CodeMirror 6 and CodeMirror 5) */\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: ${a} !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: none !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`},n.buildChromeCss=function(t){const n=e.themes[t.themeKey]||e.themes["atom-one-dark"],{fontImport:o,resolvedFont:i}=r(t);let a=":root {\n";for(const[t,o]of Object.entries(n.variables))a+=` ${t}: ${o};\n`;a+="}\n";let d="";return d="rtl"===t.direction?'\n /* Title input adheres to RTL */\n input.title-input {\n direction: rtl !important;\n text-align: right !important;\n }\n\n /* Note List item titles align naturally using Unicode BiDi */\n .note-list .title,\n .note-list-item-title,\n .note-list span,\n .note-list div {\n unicode-bidi: plaintext !important;\n text-align: start !important;\n }\n\n /* Active Note Indicator flips to right border in RTL */\n div.rli-noteList [aria-selected="true"],\n div.rli-noteList .selected,\n div.note-list [aria-selected="true"],\n div.note-list .selected {\n border-right: 4px solid var(--od-h2) !important;\n border-left: none !important;\n }\n\n /* Sidebar titles use BiDi without breaking tree indentation or flex order */\n .side-bar .title,\n .side-bar span.title,\n .folders a span:not(.note-count-label):not(.icon),\n .tags a span:not(.note-count-label):not(.icon) {\n unicode-bidi: plaintext !important;\n text-align: start !important;\n }\n ':"auto"===t.direction?"\n input.title-input,\n .note-list .title,\n .note-list-item-title,\n .side-bar .title,\n .side-bar span.title {\n unicode-bidi: plaintext !important;\n text-align: start !important;\n }\n ":'\n input.title-input {\n direction: ltr !important;\n text-align: left !important;\n }\n\n div.rli-noteList [aria-selected="true"],\n div.rli-noteList .selected,\n div.note-list [aria-selected="true"],\n div.note-list .selected {\n border-left: 4px solid var(--od-h2) !important;\n border-right: none !important;\n }\n ',`\n${o}\n${a}\n${d}\n\n/* =================================================================\n UNIFIED DESKTOP SHELL CASCADE (OVERRIDING JOPLIN CORE DARK/LIGHT)\n ================================================================= */\n\n/* --- 1. Resizer Splitters & Root Container --- */\ndiv[style*="col-resize"],\ndiv[style*="row-resize"],\ndiv[style*="cursor: col-resize"],\ndiv[style*="cursor: row-resize"],\n.rli-splitter,\n.splitter,\ndiv[class*="splitter"],\ndiv[class*="resizer"],\ndiv[class*="divider"] {\n background-color: var(--od-border) !important;\n background: var(--od-border) !important;\n border-color: var(--od-border) !important;\n opacity: 0.8 !important;\n}\n\n.rli-root,\n#joplin-plugin-content,\ndiv[class*="rli-"] {\n background-color: var(--od-bg) !important;\n color: var(--od-fg) !important;\n}\n\n/* --- 2. Primary Left Sidebar --- */\n.side-bar,\n.r-sidebar,\n.rli-sideBar,\ndiv[toggleblock="1"] {\n background-color: var(--od-bg-alt) !important;\n background: var(--od-bg-alt) !important;\n color: var(--od-fg) !important;\n font-family: ${i} !important;\n}\n\n.side-bar *,\n.r-sidebar *,\n.rli-sideBar *,\ndiv[toggleblock="1"] *,\n.folders *,\n.tags *,\na.list-item,\na.list-item *,\n.list-item-container * {\n color: var(--od-fg) !important;\n border-color: var(--od-fg) !important;\n}\n\n.side-bar svg,\n.side-bar path,\n.side-bar i,\n.r-sidebar svg,\n.r-sidebar path,\n.rli-sideBar svg,\n.rli-sideBar path {\n fill: var(--od-fg) !important;\n stroke: var(--od-fg) !important;\n color: var(--od-fg) !important;\n}\n\n.side-bar .list-item-container:hover,\n.side-bar .list-item:hover,\n.side-bar a:hover {\n background-color: var(--od-selection) !important;\n}\n\n/* Active Selected Notebook Item (Overrides Inline rgb(0, 95, 184)) */\n.side-bar .list-item-container.selected,\n.side-bar .list-item.selected,\n.side-bar a.selected,\n.side-bar .selected,\n.side-bar div[class*="selected"],\n.rli-sideBar .selected,\n.rli-sideBar div[class*="selected"],\n.folders .selected,\n.folders div[class*="selected"],\n.tags .selected {\n background-color: var(--od-selection) !important;\n background: var(--od-selection) !important;\n color: var(--od-link) !important;\n font-weight: 700 !important;\n}\n\n.side-bar .selected *,\n.side-bar div[class*="selected"] *,\n.rli-sideBar .selected *,\n.rli-sideBar div[class*="selected"] *,\n.folders .selected * {\n color: var(--od-link) !important;\n}\n\n.side-bar .header,\n.side-bar .header span,\n.side-bar div[style*="font-weight: bold"],\n.side-bar .section-header {\n color: var(--od-comment) !important;\n font-size: 0.85em !important;\n letter-spacing: 0.5px !important;\n opacity: 0.85 !important;\n}\n\n.side-bar .item-count,\n.folders span[style*="opacity"] {\n color: var(--od-comment) !important;\n opacity: 0.8 !important;\n}\n\n/* Ensure clean spacing between folder icons, emojis, and titles without breaking tree indentation */\n.side-bar .icon,\n.side-bar span.icon,\n.side-bar svg.icon,\n.side-bar span[role="img"],\n.folders a span[role="img"] {\n margin-left: 6px !important;\n margin-right: 6px !important;\n display: inline-block !important;\n}\n\n/* --- 2. Bottom Left: Synchronize Panel --- */\n.rli-sideBar > div:last-child,\n.rli-sideBar > div:nth-child(2),\n.rli-sideBar div[style*="border-top"],\n.rli-sideBar div[style*="background-color"],\n.rli-sideBar > div > div:last-child,\n.side-bar > div:last-child,\ndiv:has(> .synchronize-button),\ndiv:has(.synchronize-button),\ndiv:has(> button.synchronize-button),\ndiv:has(button[title*="Sync"]),\ndiv:has(button[title*="Synchronize"]),\n.synchronize-button,\n.sync-status-box,\ndiv.sync-report,\ndiv[class*="sync"],\ndiv[class*="Sync"] {\n background-color: var(--od-bg-alt) !important;\n background: var(--od-bg-alt) !important;\n border-top: 1px solid var(--od-border) !important;\n}\n\n.rli-sideBar > div:last-child *,\n.rli-sideBar > div:nth-child(2) *,\ndiv:has(.synchronize-button) *,\n.synchronize-button *,\n.sync-status-box *,\ndiv.sync-report * {\n background-color: transparent !important;\n color: var(--od-comment) !important;\n}\n\n.rli-sideBar > div:last-child button,\n.rli-sideBar > div:nth-child(2) button,\ndiv:has(.synchronize-button) button,\n.synchronize-button button,\n.sync-status-box button,\nbutton.synchronize-button,\nbutton[title*="Sync"],\nbutton[title*="Synchronize"] {\n background-color: var(--od-bg) !important;\n background: var(--od-bg) !important;\n color: var(--od-fg) !important;\n border: 1px solid var(--od-border) !important;\n border-color: var(--od-border) !important;\n box-shadow: none !important;\n outline: none !important;\n border-radius: 4px !important;\n font-weight: 600 !important;\n padding: 6px 12px !important;\n}\n\n.rli-sideBar > div:last-child button:hover,\n.synchronize-button button:hover,\n.synchronize-button button:focus {\n background-color: var(--od-selection) !important;\n border-color: var(--od-link) !important;\n color: var(--od-link) !important;\n box-shadow: none !important;\n outline: none !important;\n}\n\n.synchronize-button svg,\n.synchronize-button path,\n.synchronize-button i,\ndiv:has(.synchronize-button) svg,\ndiv:has(.synchronize-button) path {\n fill: var(--od-fg) !important;\n color: var(--od-fg) !important;\n}\n\n/* --- 3. Note List Panel & Active Item Selection --- */\n.note-list,\n.r-note-list,\n.item-list,\ndiv.rli-noteList,\ndiv.rli-noteList > div {\n background-color: var(--od-bg) !important;\n background: var(--od-bg) !important;\n border-right: 1px solid var(--od-border) !important;\n border-left: 1px solid var(--od-border) !important;\n font-family: ${i} !important;\n}\n\n.note-list .list-item-container,\n.note-list .list-item,\n.note-list-item,\ndiv.rli-noteList .list-item-container {\n background-color: var(--od-bg) !important;\n border-bottom: 1px solid var(--od-border) !important;\n}\n\n.note-list .list-item-container *,\n.note-list .title,\n.note-list-item-title,\n.note-list span {\n color: var(--od-fg) !important;\n}\n\n.note-list .list-item-container:hover,\n.note-list .list-item:hover,\n.note-list a:hover {\n background-color: var(--od-selection) !important;\n}\n\n/* Active Selected Note (Overrides Inline Dark Styles) */\ndiv.rli-noteList [aria-selected="true"],\ndiv.rli-noteList .selected,\ndiv.rli-noteList div[class*="selected"],\ndiv.rli-noteList .list-item-container.selected,\ndiv.rli-noteList .note-list-item.selected,\ndiv.note-list [aria-selected="true"],\ndiv.note-list .selected,\ndiv.note-list div[class*="selected"],\ndiv.note-list .list-item-container.selected,\ndiv.note-list .note-list-item.selected {\n background-color: var(--od-selection) !important;\n background: var(--od-selection) !important;\n}\n\ndiv.rli-noteList [aria-selected="true"] *,\ndiv.rli-noteList .selected *,\ndiv.note-list [aria-selected="true"] *,\ndiv.note-list .selected * {\n color: var(--od-link) !important;\n font-weight: 700 !important;\n}\n\n/* --- 4. Top Left: Note List Header Bar, Buttons & Search (Green Box) --- */\ndiv.rli-noteList > div > div > div:first-child,\ndiv.rli-noteList .note-list-top-bar,\n.note-list-top-bar,\n.note-list > div:first-child,\n.note-list .header,\n.search-bar,\ndiv.new-note-todo-buttons,\ndiv:has(> .new-note-button),\ndiv:has(> button.new-note-button) {\n background-color: var(--od-bg-alt) !important;\n background: var(--od-bg-alt) !important;\n border-bottom: none !important;\n}\n\n/* New note & New to-do Buttons: Dynamic contrast against --od-link */\nbutton.new-note-button,\nbutton.new-todo-button,\ndiv.rli-noteList button.new-note-button,\ndiv.rli-noteList button.new-todo-button,\ndiv.new-note-todo-buttons button,\ndiv.header a.button,\ndiv.header button,\n.note-list .header button,\n.note-list-top-bar button:not(.sort-order-reverse-button),\na.button[title="New note"],\na.button[title="New to-do"],\na[title="New note"],\na[title="New to-do"] {\n background-color: var(--od-link) !important;\n background: var(--od-link) !important;\n color: var(--od-bg) !important;\n border: none !important;\n border-radius: 4px !important;\n font-weight: 700 !important;\n box-shadow: none !important;\n}\n\nbutton.new-note-button *,\nbutton.new-todo-button *,\ndiv.new-note-todo-buttons button * {\n color: var(--od-bg) !important;\n fill: var(--od-bg) !important;\n}\n\nbutton.new-note-button:hover,\nbutton.new-todo-button:hover,\ndiv.rli-noteList button.new-note-button:hover,\ndiv.rli-noteList button.new-todo-button:hover,\ndiv.new-note-todo-buttons button:hover {\n background-color: var(--od-link-hover) !important;\n background: var(--od-link-hover) !important;\n}\n\n/* Search bar input */\ndiv.rli-noteList input,\ndiv.rli-noteList input[type="search"],\n.note-list-top-bar input,\n.note-list input[type="search"],\n.search-bar input,\ninput[type="search"] {\n background-color: var(--od-bg) !important;\n color: var(--od-fg) !important;\n border: 1px solid var(--od-border) !important;\n border-radius: 4px !important;\n}\n\n/* Sort, Reverse & Calendar Buttons in Search Row */\nbutton.sort-order-reverse-button,\ndiv.rli-noteList button.sort-order-reverse-button,\ndiv.rli-noteList button:not(.new-note-button):not(.new-todo-button),\n.note-list-top-bar button.sort-order-reverse-button {\n background-color: var(--od-bg) !important;\n background: var(--od-bg) !important;\n color: var(--od-fg) !important;\n border: 1px solid var(--od-border) !important;\n border-radius: 4px !important;\n}\n\ndiv.rli-noteList svg,\ndiv.rli-noteList path,\n.note-list-top-bar svg,\n.note-list-top-bar path,\n.search-bar svg,\n.search-bar path {\n fill: var(--od-fg) !important;\n color: var(--od-fg) !important;\n}\n\n/* --- 5. Top Right: Note Header & Unified Navbar (Blue Box) --- */\n.header,\n.r-header,\n.top-bar,\n.note-title-wrapper,\ndiv.note-title-wrapper {\n background-color: var(--od-bg-alt) !important;\n background: var(--od-bg-alt) !important;\n border-bottom: 1px solid var(--od-border) !important;\n border-top: none !important;\n border-left: none !important;\n border-right: none !important;\n box-sizing: border-box !important;\n min-height: 40px !important;\n}\n\n/* Seamless Title Input (Blends directly into the header bar without boxed borders) */\ninput.title-input {\n background-color: transparent !important;\n background: transparent !important;\n border: none !important;\n border-bottom: none !important;\n color: var(--od-fg) !important;\n font-family: ${i} !important;\n font-size: 1.2em !important;\n font-weight: 700 !important;\n padding: 6px 14px !important;\n outline: none !important;\n box-shadow: none !important;\n}\n\ninput.title-input:focus {\n border: none !important;\n outline: none !important;\n box-shadow: none !important;\n}\n\n/* Seamless Info Group (Eliminates disconnected borders and mismatched fills) */\n.note-title-info-group,\ndiv.note-title-info-group {\n background-color: transparent !important;\n background: transparent !important;\n border: none !important;\n border-bottom: none !important;\n border-left: none !important;\n border-right: none !important;\n box-shadow: none !important;\n}\n\n.note-title-info-group *,\n.header span,\n.header div {\n color: var(--od-fg) !important;\n border-bottom: none !important;\n}\n\n.note-title-info-group svg,\n.note-title-info-group path,\n.header svg,\n.header path {\n fill: var(--od-fg) !important;\n color: var(--od-fg) !important;\n}\n\n.header button,\n.header a,\n.header .button,\nbutton.toolbar-button {\n background-color: transparent !important;\n color: var(--od-fg) !important;\n border: none !important;\n}\n\n.header button:hover,\n.header a:hover,\nbutton.toolbar-button:hover {\n background-color: var(--od-selection) !important;\n border-radius: 4px !important;\n}\n\n/* --- 6. Markdown Editor Formatting Toolbar --- */\n.editor-toolbar,\ndiv.editor-toolbar,\ndiv[class*="editor-toolbar"],\n.r-editor-toolbar {\n background-color: var(--od-bg-alt) !important;\n background: var(--od-bg-alt) !important;\n border-bottom: none !important;\n}\n\n.editor-toolbar *,\n.editor-toolbar div,\n.editor-toolbar button,\n.editor-toolbar a,\n.editor-toolbar span {\n color: var(--od-fg) !important;\n background-color: transparent !important;\n}\n\n.editor-toolbar svg,\n.editor-toolbar path,\n.editor-toolbar .icon,\n.editor-toolbar [class*="icon"] {\n fill: var(--od-fg) !important;\n color: var(--od-fg) !important;\n}\n\n.editor-toolbar button:hover,\n.editor-toolbar a:hover {\n background-color: var(--od-selection) !important;\n border-radius: 4px !important;\n}\n\n/* --- 8. Bottom: Tag Bar & Notification Banners --- */\n.tag-bar,\ndiv.tag-bar,\n.tag-list,\ndiv[class*="tag"],\ndiv[class*="banner"],\ndiv.updated-feature-banner,\ndiv.alert,\ndiv.info-box,\n.rli-editor > div > div > div:has(.tag-bar),\n.rli-editor > div > div > div:has(div[class*="banner"]),\n.rli-editor > div > div > div:last-child {\n background-color: var(--od-bg-alt) !important;\n background: var(--od-bg-alt) !important;\n border-top: 1px solid var(--od-border) !important;\n color: var(--od-fg) !important;\n}\n\n.tag-bar *,\ndiv[class*="banner"] *,\ndiv.updated-feature-banner * {\n color: var(--od-fg) !important;\n}\n\n.tag-bar svg,\n.tag-bar path {\n fill: var(--od-fg) !important;\n}\n\n.tag-bar input,\n.tag-bar .tag-input {\n background-color: var(--od-bg) !important;\n color: var(--od-fg) !important;\n border: 1px solid var(--od-border) !important;\n}\n\n.tag-bar span,\n.tag-list span,\n.tag-list .tag-item {\n background-color: var(--od-selection) !important;\n color: var(--od-fg) !important;\n border-radius: 4px !important;\n padding: 2px 6px !important;\n}\n\ndiv[class*="banner"] a,\ndiv[class*="banner"] button,\ndiv.updated-feature-banner a,\ndiv.updated-feature-banner button {\n color: var(--od-link) !important;\n font-weight: 700 !important;\n}\n\n/* --- 9. Right: Plugin Panels Outer Shell (Outline, Note Tabs) --- */\n.r-panel,\ndiv.joplin-plugin-view,\ndiv.panel-container,\ndiv[class*="outline"] {\n background-color: var(--od-bg) !important;\n background: var(--od-bg) !important;\n border-left: 1px solid var(--od-border) !important;\n}\n\n.r-panel *,\ndiv.joplin-plugin-view * {\n color: var(--od-fg) !important;\n}\n\n.r-panel svg,\n.r-panel path {\n fill: var(--od-fg) !important;\n}\n\n.r-panel header,\n.r-panel .header,\n.r-panel > div:first-child {\n background-color: var(--od-bg-alt) !important;\n border-bottom: 1px solid var(--od-border) !important;\n}\n\n.r-panel iframe,\ndiv.joplin-plugin-view iframe {\n background-color: var(--od-bg) !important;\n}\n\n/* --- 10. App-wide Custom Scrollbars --- */\n.side-bar::-webkit-scrollbar,\n.note-list::-webkit-scrollbar,\n.r-panel::-webkit-scrollbar {\n width: 6px !important;\n}\n\n.side-bar::-webkit-scrollbar-track,\n.note-list::-webkit-scrollbar-track,\n.r-panel::-webkit-scrollbar-track {\n background: var(--od-scrollbar-track) !important;\n}\n\n.side-bar::-webkit-scrollbar-thumb,\n.note-list::-webkit-scrollbar-thumb,\n.r-panel::-webkit-scrollbar-thumb {\n background: var(--od-scrollbar-thumb) !important;\n border-radius: 3px !important;\n}\n`},n.buildThemeCss=function(t){const n=e.themes[t.themeKey]||e.themes["atom-one-dark"],{fontImport:o,resolvedFont:i,resolvedCodeFont:a}=r(t),d=function(t){const n={h1:"1.75em",h2:"1.42em",h3:"1.25em",h4:"1.12em",h5:"1.05em",h6:"1.0em"};if("large"===t.headingSizePreset)return{h1:"2.15em",h2:"1.7em",h3:"1.4em",h4:"1.22em",h5:"1.1em",h6:"1.0em"};if("compact"===t.headingSizePreset)return{h1:"1.5em",h2:"1.3em",h3:"1.18em",h4:"1.08em",h5:"1.02em",h6:"0.95em"};if("custom"===t.headingSizePreset&&t.customHeadingSizes){const o=t.customHeadingSizes.split(",").map(t=>t.replace(/h[1-6]:?/gi,"").trim()).filter(t=>t.length>0);return{h1:o[0]||n.h1,h2:o[1]||n.h2,h3:o[2]||n.h3,h4:o[3]||n.h4,h5:o[4]||n.h5,h6:o[5]||n.h6}}return n}(t);let l=":root {\n";for(const[t,o]of Object.entries(n.variables))l+=` ${t}: ${o};\n`;l+=` --mermaid-font-family: ${i} !important;\n`,l+="}\n";let m="";m="rtl"===t.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"===t.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 p="";"compact"===t.contentMaxWidth?p="max-width: 760px !important; margin: 0 auto !important;":"comfortable"===t.contentMaxWidth&&(p="max-width: 920px !important; margin: 0 auto !important;");const c="paper"===t.pdfExportStyle,b=c?"#ffffff":"var(--od-bg)",s=c?"#1e2227":"var(--od-fg)";return`${o}\n${l}\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: ${i} !important;\n line-height: ${t.lineHeight} !important;\n font-size: ${t.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 { ${p} }\n\nbody#tinymce h1, #rendered-md h1 {\n color: var(--od-h1) !important;\n font-size: ${d.h1} !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: ${d.h2} !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: ${d.h3} !important; font-weight: 600 !important; margin: 24px 0 14px 0 !important; }\nbody#tinymce h4, #rendered-md h4 { color: var(--od-h4) !important; font-size: ${d.h4} !important; font-weight: 600 !important; margin: 20px 0 12px 0 !important; }\nbody#tinymce h5, #rendered-md h5 { color: var(--od-h5) !important; font-size: ${d.h5} !important; font-weight: 600 !important; margin: 18px 0 10px 0 !important; }\nbody#tinymce h6, #rendered-md h6 { color: var(--od-h6) !important; font-size: ${d.h6} !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: ${t.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: CLEAN MINIMAL 1PX STYLE (TRANSPARENT BG, 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: ${a} !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: ${i} !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: ${i} !important;\n}\nbody#tinymce table :is(th, td) code,\n#rendered-md table :is(th, td) code {\n font-family: ${a} !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: ${t.fontSize} !important;\n line-height: ${t.lineHeight} !important;\n max-width: 100% !important;\n overflow-x: hidden !important;\n }\n body#tinymce h1, #rendered-md h1 { font-size: calc(${d.h1} * 0.9) !important; margin: 20px 0 12px 0 !important; }\n body#tinymce h2, #rendered-md h2 { font-size: calc(${d.h2} * 0.92) !important; margin: 18px 0 10px 0 !important; }\n body#tinymce h3, #rendered-md h3 { font-size: ${d.h3} !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: ${b} !important;\n color: ${s} !important;\n max-width: 100% !important;\n margin: 0 !important;\n padding: 0 !important;\n font-size: 14px !important;\n line-height: ${t.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: ${i} !important;\n }\n\n body#tinymce table :is(th, td) code,\n #rendered-md table :is(th, td) code {\n font-family: ${a} !important;\n }\n\n .exported-note-title {\n color: var(--od-h1) !important;\n font-family: ${i} !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 e=o(880);function r(t){let n="",o=t.fontFamily;switch(t.fontPreset){case"inter":n+="@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');\n",o="'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif";break;case"roboto":n+="@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap');\n",o="'Roboto', -apple-system, BlinkMacSystemFont, sans-serif";break;case"vazirmatn":n+="@import url('https://cdn.jsdelivr.net/gh/rastikerdar/vazirmatn@v33.003/Vazirmatn-font-face.css');\n",o="'Vazirmatn', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif";break;case"noto-arabic":n+="@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Arabic:wght@400;600;700&display=swap');\n",o="'Noto Sans Arabic', -apple-system, BlinkMacSystemFont, sans-serif";break;case"noto-cjk-sc":n+="@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@400;500;700&display=swap');\n",o="'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif";break;case"noto-cjk-jp":n+="@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700&display=swap');\n",o="'Noto Sans JP', 'Hiragino Sans', 'Meiryo', sans-serif";break;case"heebo":n+="@import url('https://fonts.googleapis.com/css2?family=Heebo:wght@400;600;700&display=swap');\n",o="'Heebo', -apple-system, BlinkMacSystemFont, sans-serif";break;case"noto-devanagari":n+="@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Devanagari:wght@400;600;700&display=swap');\n",o="'Noto Sans Devanagari', -apple-system, BlinkMacSystemFont, sans-serif";break;case"lora":n+="@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400;0,600;0,700;1,400&display=swap');\n",o="'Lora', Georgia, serif";break;case"system":o="-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif";break;default:o=t.fontFamily||"-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif"}let e=t.codeFont;switch(t.codeFontPreset){case"fira-code":n+="@import url('https://fonts.googleapis.com/css2?family=Fira+Code:wght@400;500;600&display=swap');\n",e="'Fira Code', monospace";break;case"jetbrains-mono":n+="@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;600&display=swap');\n",e="'JetBrains Mono', monospace";break;case"system-mono":e="'Cascadia Code', 'Consolas', 'Courier New', monospace";break;default:e=t.codeFont||"'Cascadia Code', 'Fira Code', 'Consolas', monospace"}return{fontImport:n,resolvedFont:o,resolvedCodeFont:e}}},880(t,n){n.themes=void 0,n.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 n={};let o=function o(e){const r=n[e];if(void 0!==r)return r.exports;const i=n[e]={exports:{}};return t[e].call(i.exports,i,i.exports,o),i.exports}(156);const e=exports;for(var r in o)e[r]=o[r];o.__esModule&&Object.defineProperty(e,"__esModule",{value:!0})})();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "joplin-plugin-theme-studio",
3
- "version": "1.2.0",
3
+ "version": "1.3.0",
4
4
  "description": "All-in-one multi-palette engine with native RTL/LTR typography for Joplin",
5
5
  "main": "dist/index.js",
6
6
  "files": [
@@ -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.2.0",
6
+ "version": "1.3.0",
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:6af85be05259fbb54d4d14a147d321a8ce1b172265069d26eeca46b1c1cdc850",
37
- "_publish_commit": "9d7e28aa67db9aea604e4b26c10eb331d3ccfeb6"
36
+ "_publish_hash": "sha256:49dbbcec2f5a7d40572abf6ef78fe7957eeb0b424d3004583436b8ab68ab4884",
37
+ "_publish_commit": "96cd4ad8fe2757edfb5543c74436c4ad9fac9b0b"
38
38
  }