joplin-plugin-theme-studio 1.0.4 → 1.0.5
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/dist/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(()=>{"use strict";var
|
|
1
|
+
(()=>{"use strict";var e={998(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default="undefined"!=typeof joplin?joplin:global.joplin},143(e,t){var o,i;t.SettingItemType=t.ContentScriptType=void 0,function(e){e.MarkdownItPlugin="markdownItPlugin",e.CodeMirrorPlugin="codeMirrorPlugin"}(o||(t.ContentScriptType=o={})),function(e){e[e.Int=1]="Int",e[e.String=2]="String",e[e.Bool=3]="Bool",e[e.Array=4]="Array",e[e.Object=5]="Object",e[e.Button=6]="Button"}(i||(t.SettingItemType=i={}))},156(e,t,o){var i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const n=i(o(998)),r=o(143);n.default.plugins.register({onStart:async function(){await n.default.settings.registerSection("themeStudioSection",{label:"Theme Studio",iconName:"fas fa-palette"}),await n.default.settings.registerSettings({theme:{value:"atom-one-dark",type:r.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:"rtl",type:r.SettingItemType.String,section:"themeStudioSection",isEnum:!0,public:!0,label:"Layout Direction",description:'Choose primary orientation (RTL includes automatic [dir="ltr"] isolation).',options:{rtl:"Right-to-Left (Persian / Arabic / Hebrew)",ltr:"Left-to-Right (English / Latin / CJK)"}},fontPreset:{value:"vazirmatn",type:r.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:{vazirmatn:"Vazirmatn (Persian, Arabic, Kurdish, Urdu)","noto-arabic":"Noto Sans Arabic (Modern Arabic)",inter:"Inter (English, Latin, European, Cyrillic)",roboto:"Roboto (Modern Clean Sans)","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 & Articles)",system:"System Default (OS Native)",custom:"Custom Font Stack (use field below)"}},fontFamily:{value:"'Vazirmatn', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif",type:r.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:r.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:r.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:r.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.8",type:r.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:r.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)"}}}),await n.default.contentScripts.register(r.ContentScriptType.MarkdownItPlugin,"themeStudioMarkdownIt","./markdownTheme.js")}})}};const t={};let o=function o(i){const n=t[i];if(void 0!==n)return n.exports;const r=t[i]={exports:{}};return e[i].call(r.exports,r,r.exports,o),r.exports}(156);const i=exports;for(var n in o)i[n]=o[n];o.__esModule&&Object.defineProperty(i,"__esModule",{value:!0})})();
|
package/package.json
CHANGED
|
Binary file
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"id": "org.joplin.plugin.theme-studio",
|
|
4
4
|
"app_min_version": "2.8.0",
|
|
5
5
|
"name": "Theme Studio",
|
|
6
|
-
"version": "1.0.
|
|
6
|
+
"version": "1.0.5",
|
|
7
7
|
"description": "All-in-one multi-palette engine (Tokyo Night, Everforest, Catppuccin, Nord, Dracula, Gruvbox, Atom One) with native RTL/LTR typography & mobile support.",
|
|
8
8
|
"author": "Yashar",
|
|
9
9
|
"homepage_url": "https://github.com/xyasharx/joplin-plugin-theme-studio",
|
|
@@ -33,6 +33,6 @@
|
|
|
33
33
|
"mobile",
|
|
34
34
|
"mermaid"
|
|
35
35
|
],
|
|
36
|
-
"_publish_hash": "sha256:
|
|
37
|
-
"_publish_commit": "
|
|
36
|
+
"_publish_hash": "sha256:230398b3f3daffa403850c3fc857a0b775e35f5c4974950278063bc9885d2725",
|
|
37
|
+
"_publish_commit": "da8cc4c76961e8a7a7753f25408645a6ef3d2315"
|
|
38
38
|
}
|