bpmn-io / bpmn-js-create-append-anything

A create/append anything bpmn-js extension.
MIT License
10 stars 2 forks source link

feat: Change the icon loading mode #6

Closed zxuanhong closed 1 year ago

zxuanhong commented 1 year ago

appendIcon and createIcon icon loading mode is changed to html to facilitate css to change icon color

css change color

.djs-context-pad {
  > .group {
    .create-append-anything-append-element {
      fill: #1e80ff !important;
    }
  }
}
.djs-palette-entries {
  > .group {
    .create-append-anything-create-element {
      fill: #1e80ff !important;
    }
  }
}
image image

Closes #5

CLAassistant commented 1 year ago

CLA assistant check
All committers have signed the CLA.

smbea commented 1 year ago

Thanks for your contribution @zxiaozhou ! Could you please lint your code to match our code style and CI does not fail? Make sure npm run lint runs smoothly.

zxuanhong commented 1 year ago

@smbea Have taken care of.