dsh-font-enhancer 1.4.5 → 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 +5 -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();
|
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",
|