I am a backend developer with 10+ years of industry experience.
- 💬 Ask me about Java, JavaScript, Kotlin, Camunda
Camunda Modeler Dracula Theme Plugin
License: MIT License
(moved from camunda/camunda-modeler-plugins#108)
Describe the Bug
When I edit a BPMN model with the Dracula plugin installed, it changes the color of all labels from:
<bpmndi:BPMNLabel>
to:
<bpmndi:BPMNLabel color:color="rgb(207, 205, 205)">
Steps to Reproduce
Expected Behavior
It should never change the color in the BPMN.
Environment
DMM elements is also not completely themed.
Is this just me?
Using Windows 10
Attempting to label any element causes an error and the label won't show up, though the text is still there when you re-edit.
I Changed DraculaTheme.js line 13 'label' to 'bpmnElement', so from:
element.di.label.set('color', element.di['border-color']=getComputedStyle(document.documentElement).getPropertyValue('--color-grey-225-10-35'));
To:
element.di.bpmnElement.set('color', element.di['border-color']=getComputedStyle(document.documentElement).getPropertyValue('--color-grey-225-10-35'));
and it seems to work now, but I don't understand it enough to do a PR.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.