Skip to content

Commit

Permalink
fix hlucasfranca#10 element label colors are not applied in the theme
Browse files Browse the repository at this point in the history
  • Loading branch information
codygulley committed Jun 3, 2024
1 parent b14c5c4 commit 79cfe7b
Show file tree
Hide file tree
Showing 3 changed files with 138 additions and 113 deletions.
4 changes: 1 addition & 3 deletions client/bpmn-js-extension/DraculaTheme.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,9 @@ export default function DraculaTheme(eventBus) {
}

if(element.type == 'label'){

if(elementDi.label){
if(elementDi.label && !element.di['border-color']){
elementDi.label.set('color', element.di['border-color']=getComputedStyle(documentElement).getPropertyValue('--color-grey-225-10-35'));
}

}
}
}
Expand Down
245 changes: 136 additions & 109 deletions dist/client.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 79cfe7b

Please sign in to comment.