Skip to content

Colors shares across different component #100

@samuveth

Description

@samuveth

I can't get my progress bars to have unique gradients, it's always the first component that loads that dictates the colors of all of my other progress bars. Any ideas on how I can have unique colors across different instances of ve-progress?

This is how I am specifying the colors:

ellipseGradient: {
        radial: false,
        colors: [
          {
            color: this.type === "call" ? "#00FF97" : "#FF009B",
            offset: "0",
            opacity: "1"
          },
          {
            color: this.type === "call" ? "#00FFC8" : "#FF48C4",
            offset: "100",
            opacity: "1"
          }
        ]
  },
ellipseEmpty: {
        colors: [
          {
            color: this.type === "call" ? "#00FF97" : "#FF009B",
            opacity: "0.35"
          }
        ]
  }

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions