@open-slot-ui/pixi 0.2.3 → 0.2.4

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/dist/index.cjs CHANGED
@@ -2979,8 +2979,17 @@ var ReadoutView = class extends ControlView {
2979
2979
  this.prefix = opts.prefix ?? false;
2980
2980
  const fill = opts.fill ?? (opts.mono ? "#ffffff" : t.color.text);
2981
2981
  if (this.prefix) {
2982
- this.valueText = new pixi_js.Text({ text: "", style: { fontFamily: t.type.family, fontSize: 12, fill: opts.fill ?? "#ffffff", fontWeight: "400" } });
2983
- this.valueText.alpha = opts.fill ? 1 : 0.5;
2982
+ this.valueText = new pixi_js.Text({
2983
+ text: "",
2984
+ style: {
2985
+ fontFamily: t.type.family,
2986
+ fontSize: 18,
2987
+ fill: opts.fill ?? "#ffffff",
2988
+ fontWeight: "600",
2989
+ dropShadow: { color: 0, alpha: 0.7, blur: 4, distance: 0, angle: 0 }
2990
+ }
2991
+ });
2992
+ this.valueText.alpha = opts.fill ? 1 : 0.92;
2984
2993
  this.valueText.anchor.set(0, 0);
2985
2994
  this.addChild(this.valueText);
2986
2995
  this.disposers.push(