@linxin666/dsh-client-ui-skin-center 0.4.15 → 0.4.17

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 CHANGED
@@ -672,6 +672,36 @@ window.__ModuleLoader__.load({
672
672
  color: var(--dsw-alias-label-primary, #ffffff) !important;
673
673
  background: var(--dsw-alias-interactive-bg-active, color-mix(in srgb, var(--dsw-alias-button-info-fill, #4a5fa8) 50%, transparent)) !important;
674
674
  }
675
+ /* #102: the fullscreen right-sidebar panel is a 100vw overlay (the same
676
+ element carries --dsh-sidebar-width: 100vw), but every surface inside it
677
+ inherits a translucent fill from the skin: the pane host takes
678
+ --dsw-alias-bg-base (skins commonly remap it to a ~10% tint) and four
679
+ skins paint [data-dockkit-content] at ~34%. With nothing opaque
680
+ underneath, the conversation text reads straight through the document
681
+ preview. Paint the panel itself with the skin own panel colour at full
682
+ alpha, so one rule follows every skin and no skin must declare a new
683
+ token. Relative colour syntax keeps the origin colour's alpha when the
684
+ alpha component is omitted, so the alpha is stated explicitly as / 1;
685
+ the plain declaration before it is the fallback for an engine without
686
+ relative colours (translucent as before, never an unstyled box). Docked (push)
687
+ mode is deliberately untouched: a see-through column beside the artwork
688
+ is the intended look and is not what the report complains about.
689
+ The open qualifier is load-bearing: the panel is always mounted, and a
690
+ Session that remembered fullscreen mode carries data-sidebar-right-panel=
691
+ "fullscreen" while collapsed too. Without it this rule would plate the
692
+ whole viewport with an opaque box behind the conversation - black bands
693
+ wherever the conversation paints nothing. */
694
+ ${scoped("[data-sidebar-right-panel=\"fullscreen\"][data-sidebar-right-open]")} {
695
+ background-color: var(--dsw-alias-bg-base, #05070d) !important;
696
+ background-color: rgb(from var(--dsw-alias-bg-base, #05070d) r g b / 1) !important;
697
+ }
698
+ /* #102, same root cause one layer up: the settings dialog own plate is
699
+ --dsw-alias-bg-layer-2, which skins remap anywhere from 42% to 96% alpha,
700
+ so the conversation stays readable through the dialog. Same technique. */
701
+ ${scoped("[data-shortcut-modal=\"settings\"]")} {
702
+ background-color: var(--dsw-alias-bg-layer-2, #ffffff) !important;
703
+ background-color: rgb(from var(--dsw-alias-bg-layer-2, #ffffff) r g b / 1) !important;
704
+ }
675
705
  `;
676
706
  }
677
707
  /** Install the shared corrections and return their idempotent teardown. */
@@ -5730,7 +5760,7 @@ window.__ModuleLoader__.load({
5730
5760
  /** The building package's version, when the bundle carries it. */
5731
5761
  function bakedVersion() {
5732
5762
  try {
5733
- return "0.4.15";
5763
+ return "0.4.17";
5734
5764
  } catch {
5735
5765
  return;
5736
5766
  }