@iasiv5/dsh-skins 1.5.29 → 1.5.30
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 -2
- package/package.json +1 -1
package/lib/client.js
CHANGED
|
@@ -1851,7 +1851,10 @@ ${references.join("\n")}`,
|
|
|
1851
1851
|
'[data-slot="sidebar.footer.action"]>*{flex:none;min-width:0}',
|
|
1852
1852
|
".dsh-skins-switcher-wrap{width:100%}",
|
|
1853
1853
|
".dsh-skins-switcher-wrap.rail{display:flex;justify-content:center}",
|
|
1854
|
-
|
|
1854
|
+
// 2026-11-09(对齐 dsh-m issue #55):弃 width+4px/margin -2px/10-8 不对称 padding 的全宽外溢
|
|
1855
|
+
// trick,改宿主规范形——border-inline 透明边吃 paint-inset + padding 9/9,内容起点 8+3+9=20px
|
|
1856
|
+
// 与官方面板行/设置行/dsh-m 入口同刻度(原 14px,dsh-m 对齐后本条成为唯一 6px 出列者,主人截图实证)
|
|
1857
|
+
".dsh-skins-switcher-btn{box-sizing:border-box;display:flex;align-items:center;gap:8px;width:100%;height:42px;margin:4px 0;padding:0 9px;border:0;border-inline:var(--dsh-sidebar-paint-inset,3px) solid transparent;border-radius:var(--dsw-radius-md,12px);background:transparent;color:var(--dsw-alias-label-primary);font:inherit;font-size:14px;line-height:22px;cursor:pointer;overflow:hidden}",
|
|
1855
1858
|
".dsh-skins-switcher-wrap.rail .dsh-skins-switcher-btn{width:36px;height:36px;margin:8px 0 10px;padding:0;justify-content:center;border-radius:50%;gap:0}",
|
|
1856
1859
|
".dsh-skins-switcher-btn:hover{background:var(--dsw-alias-interactive-bg-hover)}",
|
|
1857
1860
|
".dsh-skins-switcher-btn.on,.dsh-skins-switcher-btn[aria-expanded=true]{background:var(--dsw-specific-sidebar-nav-item-active)}",
|
|
@@ -2973,7 +2976,7 @@ ${references.join("\n")}`,
|
|
|
2973
2976
|
if (typeof extension !== "string" || !/^[a-z0-9]+$/.test(extension)) {
|
|
2974
2977
|
throw new RangeError(`builtinAssetUrl: invalid extension ${JSON.stringify(extension)}`);
|
|
2975
2978
|
}
|
|
2976
|
-
const rev = "1.5.
|
|
2979
|
+
const rev = "1.5.30";
|
|
2977
2980
|
return `/dsh-skins/assets/b_${skinId}_${assetKey}.${extension}?v=${rev}`;
|
|
2978
2981
|
}
|
|
2979
2982
|
|
package/package.json
CHANGED