From 7db8ab0cc4465ace2a1f5eecb60faefcb7fdcc70 Mon Sep 17 00:00:00 2001 From: LeanProductivity Date: Wed, 13 May 2026 10:54:06 +0300 Subject: [PATCH] fix: replace text-decoration sub-properties with shorthand (0.16.4) (#59) * fix: address CSS lint and source code warnings for plugin submission - binary-manager.ts: remove redundant non-null assertion on version (already narrowed) - styles.css: expand 3-digit hex to 6-digit (#000 -> #000000, #FFF -> #ffffff) - styles.css: split text-decoration shorthand into text-decoration-line + text-decoration-style for better browser compatibility - styles.css: remove !important by increasing selector specificity (.xterm .xterm-dim) and relying on already-higher specificity for .view-content overrides - bump to 0.16.3 Co-Authored-By: Claude * docs: explain extra release files in release.yml and README node-pty zips and checksums.json are fetched on-demand by BinaryManager when the user clicks "Download binaries" in plugin settings. Obsidian itself only installs main.js, manifest.json, and styles.css. Co-Authored-By: Claude * fix: replace text-decoration sub-properties with shorthand (0.16.4) Obsidian CSS scanner flags text-decoration-line and text-decoration-style as partially supported browser features. Replace all four xterm-underline variants (2-5) with plain text-decoration: underline to pass the check. Style variants degrade to normal underline visually. Co-Authored-By: Claude --------- Co-authored-by: Claude --- manifest.json | 2 +- package.json | 2 +- styles.css | 8 ++++---- versions.json | 3 ++- 4 files changed, 8 insertions(+), 7 deletions(-) diff --git a/manifest.json b/manifest.json index 39ea6ce..cd13402 100644 --- a/manifest.json +++ b/manifest.json @@ -1,7 +1,7 @@ { "id": "lean-terminal", "name": "Lean Terminal", - "version": "0.16.3", + "version": "0.16.4", "minAppVersion": "1.7.2", "description": "Embedded terminal panel powered by xterm.js and node-pty - no external windows.", "author": "LeanProductivity", diff --git a/package.json b/package.json index 13e3698..3903399 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "lean-terminal", - "version": "0.16.3", + "version": "0.16.4", "description": "Embedded terminal for Obsidian using xterm.js and node-pty", "main": "main.js", "scripts": { diff --git a/styles.css b/styles.css index d32edc5..68fb54e 100644 --- a/styles.css +++ b/styles.css @@ -134,10 +134,10 @@ } .xterm-underline-1 { text-decoration: underline; } -.xterm-underline-2 { text-decoration-line: underline; text-decoration-style: double; } -.xterm-underline-3 { text-decoration-line: underline; text-decoration-style: wavy; } -.xterm-underline-4 { text-decoration-line: underline; text-decoration-style: dotted; } -.xterm-underline-5 { text-decoration-line: underline; text-decoration-style: dashed; } +.xterm-underline-2 { text-decoration: underline; } +.xterm-underline-3 { text-decoration: underline; } +.xterm-underline-4 { text-decoration: underline; } +.xterm-underline-5 { text-decoration: underline; } .xterm-overline { text-decoration: overline; } .xterm-strikethrough { text-decoration: line-through; } diff --git a/versions.json b/versions.json index c6e4c22..653b459 100644 --- a/versions.json +++ b/versions.json @@ -30,5 +30,6 @@ "0.16.0": "1.5.0", "0.16.1": "1.7.2", "0.16.2": "1.7.2", - "0.16.3": "1.7.2" + "0.16.3": "1.7.2", + "0.16.4": "1.7.2" } \ No newline at end of file