dsh-font-enhancer 1.4.4 → 1.4.6
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/lib/client.js +14 -3
- package/package.json +1 -1
package/lib/client.js
CHANGED
|
@@ -310,11 +310,13 @@ window.__ModuleLoader__.load({
|
|
|
310
310
|
"",
|
|
311
311
|
"/* ── toggle button — gem-like floating orb (max-visible) ── */",
|
|
312
312
|
"#dsh-fe-root{position:static !important;z-index:2147483647;pointer-events:none}",
|
|
313
|
-
"#dsh-fe-toggle{position:fixed;left:auto;top:auto;right:18px;bottom:18px;z-index:2147483647 !important;width:54px !important;height:54px !important;border-radius:50% !important;border:0 !important;background:radial-gradient(circle at 30% 25%,rgba(255,255,255,.15),rgba(40,44,54,.95) 70%) !important;color:#eef0f4 !important;font-size:22px !important;font-weight:700 !important;cursor:grab !important;user-select:none !important;touch-action:none !important;box-shadow:0 4px 24px rgba(0,0,0,.6),inset 0 1px 0 rgba(255,255,255,.15) !important;
|
|
313
|
+
"#dsh-fe-toggle{position:fixed;left:auto;top:auto;right:18px;bottom:18px;z-index:2147483647 !important;width:54px !important;height:54px !important;border-radius:50% !important;border:0 !important;background:radial-gradient(circle at 30% 25%,rgba(255,255,255,.15),rgba(40,44,54,.95) 70%) !important;color:#eef0f4 !important;font-size:22px !important;font-weight:700 !important;cursor:grab !important;user-select:none !important;touch-action:none !important;box-shadow:0 4px 24px rgba(0,0,0,.6),inset 0 1px 0 rgba(255,255,255,.15) !important;line-height:54px !important;text-align:center !important;display:block !important;visibility:visible !important;opacity:1 !important;transform:none !important;pointer-events:auto !important}",
|
|
314
314
|
"#dsh-fe-toggle:hover{box-shadow:0 6px 32px rgba(0,0,0,.7),inset 0 1px 0 rgba(255,255,255,.2) !important;transform:scale(1.06) !important}",
|
|
315
315
|
"#dsh-fe-toggle.dsh-fe-dragging{cursor:grabbing !important;transform:scale(1.12) !important;box-shadow:0 8px 40px rgba(0,0,0,.8) !important}",
|
|
316
316
|
"/* ── v1.4.3 orb restyle: warm gradient + 🔤 glyph(字体球独立美化,与 skill-browser 统一样式一致;幂等)── */",
|
|
317
|
-
"#dsh-fe-root #dsh-fe-toggle{width:46px !important;height:46px !important;line-height:46px !important;font-size:0 !important;color:transparent !important;display:flex !important;align-items:center !important;justify-content:center !important;background:
|
|
317
|
+
"#dsh-fe-root #dsh-fe-toggle{width:46px !important;height:46px !important;line-height:46px !important;font-size:0 !important;color:transparent !important;display:flex !important;align-items:center !important;justify-content:center !important;background:radial-gradient(circle at 50% 60%, rgba(255,255,255,.98) 0%, rgba(255,224,180,.9) 9%, rgba(255,150,80,.7) 18%, rgba(255,90,160,.5) 32%, rgba(190,60,225,.32) 46%, rgba(26,14,28,.9) 66%, rgba(10,4,14,.99) 100%) !important;box-shadow:0 0 22px rgba(255,150,90,.45),0 0 4px rgba(255,90,160,.3),0 4px 18px rgba(0,0,0,.55) !important,inset 0 1px 3px rgba(255,255,255,.4) !important,inset 0 -8px 16px rgba(255,90,160,.14) !important,inset 0 0 14px rgba(255,120,80,.2) !important;text-shadow:0 0 10px rgba(255,255,255,.5),0 1px 3px rgba(0,0,0,.6) !important}",
|
|
318
|
+
"#dsh-fe-root #dsh-fe-toggle::before{content:'';position:absolute;inset:1px;border-radius:50%;z-index:0;background:radial-gradient(ellipse 85% 26% at 50% 60%, rgba(255,255,255,1) 0%, rgba(255,240,220,.85) 18%, rgba(255,190,140,.5) 38%, rgba(255,120,160,.35) 55%, transparent 75%),radial-gradient(ellipse 70% 18% at 55% 42%, rgba(255,150,80,.55) 0%, transparent 70%),radial-gradient(ellipse 70% 18% at 45% 74%, rgba(190,60,225,.4) 0%, transparent 70%);filter:blur(1px);animation:feBandFlow 4.5s ease-in-out infinite}",
|
|
319
|
+
"@keyframes feBandFlow{0%,100%{transform:translateY(-3px) scaleY(.94);opacity:.8}50%{transform:translateY(3px) scaleY(1.12);opacity:1}}",
|
|
318
320
|
"#dsh-fe-root #dsh-fe-toggle::after{content:'🔤';font-size:20px;color:#fff;display:block;line-height:1}",
|
|
319
321
|
"/* ── panel root — deep glass studio (position set by JS positionPanel) ── */",
|
|
320
322
|
"#dsh-fe-panel{position:fixed !important;z-index:2147483647 !important;width:348px !important;max-width:calc(100vw - 36px) !important;max-height:86vh;overflow-y:auto !important;overflow-x:hidden !important;color:#e6e6e6 !important;border-radius:20px !important;padding:20px !important;font:13px/1.5 KaiTi,'Microsoft YaHei',sans-serif !important;background:rgba(16,18,22,.92) !important;border:1px solid rgba(255,255,255,.08) !important;box-shadow:0 20px 60px rgba(0,0,0,.7),inset 0 1px 0 rgba(255,255,255,.06) !important;backdrop-filter:blur(24px) !important;-webkit-backdrop-filter:blur(24px) !important;visibility:visible !important;pointer-events:auto !important}",
|
|
@@ -1596,7 +1598,7 @@ window.__ModuleLoader__.load({
|
|
|
1596
1598
|
try {
|
|
1597
1599
|
fetch("/api/image-gallery/list").then(function (r) { feMarkRecBadge("lightbox", r.ok); }).catch(function () { feMarkRecBadge("lightbox", false); });
|
|
1598
1600
|
} catch (e) { feMarkRecBadge("lightbox", false); }
|
|
1599
|
-
}
|
|
1601
|
+
}
|
|
1600
1602
|
function feResetBallToDefault() {
|
|
1601
1603
|
try {
|
|
1602
1604
|
var data = loadSettings();
|
|
@@ -1637,6 +1639,15 @@ window.__ModuleLoader__.load({
|
|
|
1637
1639
|
}, "🎯 一键恢复悬浮球默认位置(右下角)"));
|
|
1638
1640
|
rows.push(feReact.createElement("div", { key: "hint", style: { fontSize: "12px", color: "#8b93a8" } },
|
|
1639
1641
|
"悬浮球可拖动;本分区就在 DSH 设置中,随时可改悬浮球显隐"));
|
|
1642
|
+
// ── 安装与更新须知(v1.4.4)──
|
|
1643
|
+
rows.push(feReact.createElement("div", { key: "fe-notice-block", style: { marginTop: "12px", padding: "10px 12px", background: "rgba(255,255,255,.03)", border: "1px solid rgba(255,255,255,.06)", borderRadius: "10px", fontSize: "12px", color: "#9aa1b5", lineHeight: "1.7" } },
|
|
1644
|
+
feReact.createElement("div", { style: { fontWeight: "600", color: "#cfd4dc", marginBottom: "4px" } }, "📌 安装与更新须知"),
|
|
1645
|
+
feReact.createElement("div", null, "1. 当前由「字体插件」提供本分区(未检测到技能浏览器)。推荐列表里的技能浏览器等插件装上后,本分区会自动让位,改由对方提供更全的悬浮球导航。"),
|
|
1646
|
+
feReact.createElement("div", null, "2. 推荐插件列表实时显示「已安装 / 未安装」状态:绿色「已安装」= 可直接使用;红色「未安装」= 点击 ⭐ Star 前往仓库,或到插件市场搜索安装。"),
|
|
1647
|
+
feReact.createElement("div", { style: { color: "#e0b0b0" } }, "3. 【重要】安装或更新插件时,若报错含 minimumReleaseAge 或 ERR_PNPM_MINIMUM_RELEASE_AGE_VIOLATION:这不是插件坏了,是 DSH 对刚发布 npm 包的 24 小时安全观察期(防止刚发布的投毒包)。"),
|
|
1648
|
+
feReact.createElement("div", { style: { color: "#e0b0b0" } }, "4. 遇到 24h 报错的处理:等一天再安装/更新即可自动通过,插件本体没有任何问题。插件作者连发多版时窗口期会顺延一天。"),
|
|
1649
|
+
feReact.createElement("div", null, "5. 悬浮球可拖动换位置;拖到屏幕外找不到时,点上方 🎯 按钮一键复位。")
|
|
1650
|
+
));
|
|
1640
1651
|
// ── 推荐插件(v1.4.4 统一三条清单:字体/技能/照片,探测式安装徽标)──
|
|
1641
1652
|
function recRow(key, recId, icon, text, repo) {
|
|
1642
1653
|
return feReact.createElement("div", { key: key, "data-rec-id": recId, style: { display: "flex", alignItems: "center", justifyContent: "space-between", fontSize: "13px", padding: "3px 0" } },
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dsh-font-enhancer",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.6",
|
|
4
4
|
"description": "DSH 字体样式 DIY 插件(搜「字体」找到我):按区域自定义中英文字体/字号/字重/斜体/颜色,框选元素创建自定义区域,全局统一控制,主题保存/切换,随机配色,支持自定义字体。DIY your DSH UI fonts \u0026 colors: per-region custom font/size/weight/italic/color, pick elements to create custom regions, unified overrides, theme save/switch, random color, custom fonts.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "lib/index.js",
|