@alauda/ui 6.5.3 → 6.5.4-beta.0

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.
@@ -4622,10 +4622,12 @@ class TagComponent {
4622
4622
  }
4623
4623
  get customStyle() {
4624
4624
  const arr = this.color.split(',');
4625
+ const main = arr[0].trim();
4626
+ const secondary = (arr[1] || arr[0]).trim();
4625
4627
  return {
4626
- color: arr[0],
4627
- 'border-color': arr[0],
4628
- 'background-color': arr[1] || arr[0],
4628
+ color: main,
4629
+ 'border-color': this.solid ? secondary : main,
4630
+ 'background-color': secondary,
4629
4631
  };
4630
4632
  }
4631
4633
  }