update 优化图标渲染样式
This commit is contained in:
parent
f1639a3db1
commit
5a678b16fd
@ -37,7 +37,15 @@ export default class CustomRenderer extends BaseRenderer {
|
||||
const { type, width, height } = element;
|
||||
// 开始 填充绿色
|
||||
if (type === 'bpmn:StartEvent') {
|
||||
svgAttr(shape, { fill: 'green' });
|
||||
svgAttr(shape, { fill: '#77DF6D' });
|
||||
return shape;
|
||||
}
|
||||
if (type === 'bpmn:EndEvent') {
|
||||
svgAttr(shape, { fill: '#EE7B77' });
|
||||
return shape;
|
||||
}
|
||||
if (type === 'bpmn:UserTask') {
|
||||
svgAttr(shape, { fill: '#A9C4F8' });
|
||||
return shape;
|
||||
}
|
||||
return shape;
|
||||
|
Loading…
x
Reference in New Issue
Block a user