diff --git a/__init__.py b/__init__.py index ebb2068..6e511ee 100644 --- a/__init__.py +++ b/__init__.py @@ -29,7 +29,7 @@ IGNORED_MODULES: Set[str] = {'__init__.py'} REQUIRED_MODULES: Set[str] = set() PACKAGE_DISPLAY_NAME = "ComfyUI_RaykoStudio" -__version__ = "0.23.4" +__version__ = "0.23.5" def load_modules(): print(f"🦊 {PACKAGE_DISPLAY_NAME}: Version: {__version__}") diff --git a/package.json b/package.json index 2f0f477..2b60f03 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "ComfyUI_RaykoStudio", - "version": "0.23.4", + "version": "0.23.5", "description": "Set of custom nodes for ComfyUI providing additional image processing capabilities", "author": "Raykosan", "license": "Apache License 2.0", diff --git a/pyproject.toml b/pyproject.toml index c79ddbd..e8bb48d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,7 +1,7 @@ [project] name = "ComfyUI_RaykoStudio" description = "Set of custom nodes for ComfyUI providing additional image processing capabilities" -version = "0.23.4" +version = "0.23.5" license = { file = "LICENSE" } dependencies = ["torch>=1.7.0", "numpy>=1.19.0", "Pillow>=8.0.0", "freetype-py>=2.5.1"] diff --git a/web/rs_prompts.js b/web/rs_prompts.js index d8652a5..14dbaf4 100644 --- a/web/rs_prompts.js +++ b/web/rs_prompts.js @@ -6,8 +6,38 @@ let pendingDeleteName = null; const styleBlock = document.createElement('style'); styleBlock.innerHTML = ` - textarea.comfy-multiline-input { opacity: 1 !important; color: #fff !important; text-shadow: none !important; } - textarea.comfy-multiline-input:disabled { opacity: 0.5 !important; color: #888 !important; } + /* Π‘Ρ‚ΠΈΠ»ΠΈ Π’ΠžΠ›Π¬ΠšΠž для кастомного textarea Π½ΠΎΠ΄Ρ‹ RSPrompts */ + .rs-custom-textarea { + flex: 1; + width: 100%; + min-height: 0; + border: 1px solid #444; + border-radius: 4px; + padding: 8px; + background: #111; + color: #fff; + font-family: system-ui, sans-serif; + font-size: 12px; + resize: none; + outline: none; + box-sizing: border-box; + } + + /* БвСтлая Ρ‚Π΅ΠΌΠ° ComfyUI (классичСский UI) */ + body.light-mode .rs-custom-textarea { + background: #fff; + color: #000; + border-color: #ccc; + } + + /* БвСтлая Ρ‚Π΅ΠΌΠ° Π½ΠΎΠ²ΠΎΠ³ΠΎ UI ComfyUI */ + html[data-theme="light"] .rs-custom-textarea { + background: #fff; + color: #000; + border-color: #ccc; + } + + /* ΠžΠ²Π΅Ρ€Π»Π΅ΠΉ оТидания */ .rs-waiting-overlay { position: absolute; top: 0; left: 0; right: 0; bottom: 0; @@ -199,7 +229,7 @@ app.registerExtension({ const customTextarea = document.createElement("textarea"); customTextarea.className = "rs-custom-textarea"; - customTextarea.style.cssText = "flex:1;width:100%;min-height:0;border:1px solid #444;border-radius:4px;padding:8px;background:#111;color:#fff;font-family:system-ui,sans-serif;font-size:12px;resize:none;outline:none;box-sizing:border-box;"; + customTextarea.style.cssText = "flex:1;width:100%;min-height:0;resize:none;outline:none;box-sizing:border-box;"; customTextarea.placeholder = "Enter your prompt here..."; root.appendChild(customTextarea);