Skip to content

Commit

Permalink
style: load modeling styles globally
Browse files Browse the repository at this point in the history
  • Loading branch information
Niklas Kiefer committed Jul 15, 2022
1 parent 694aa13 commit 025c341
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 8 deletions.
2 changes: 0 additions & 2 deletions client/src/app/tabs/bpmn/modeler/BpmnModeler.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,6 @@ import propertiesPanelKeyboardBindingsModule from './features/properties-panel-k

import Flags, { DISABLE_ADJUST_ORIGIN } from '../../../../util/Flags';

import 'camunda-bpmn-js/dist/assets/camunda-platform-modeler.css';


export default class PlatformBpmnModeler extends BpmnModeler {

Expand Down
2 changes: 0 additions & 2 deletions client/src/app/tabs/cloud-bpmn/modeler/BpmnModeler.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,6 @@ import Flags, {
DISABLE_ADJUST_ORIGIN
} from '../../../../util/Flags';

import 'camunda-bpmn-js/dist/assets/camunda-cloud-modeler.css';


export default class CloudBpmnModeler extends BpmnModeler {

Expand Down
2 changes: 0 additions & 2 deletions client/src/app/tabs/cloud-dmn/modeler/DmnModeler.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,6 @@ import overviewRendererModule from '../../dmn/modeler/features/overview/overview
import executionPlatformModule from '@camunda/execution-platform';
import modelerModdle from 'modeler-moddle/resources/dmn-modeler.json';

import 'camunda-dmn-js/dist/assets/camunda-cloud-modeler.css';

const NOOP_MODULE = [ 'value', null ];

const poweredByModule = {
Expand Down
2 changes: 0 additions & 2 deletions client/src/app/tabs/dmn/modeler/DmnModeler.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,6 @@ import overviewRendererModule from './features/overview/overview-renderer';
import executionPlatformModule from '@camunda/execution-platform';
import modelerModdle from 'modeler-moddle/resources/dmn-modeler.json';

import 'camunda-dmn-js/dist/assets/camunda-platform-modeler.css';

const NOOP_MODULE = [ 'value', null ];

const poweredByModule = {
Expand Down
12 changes: 12 additions & 0 deletions client/src/styles/_modeling.less
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
@import '~camunda-bpmn-js/dist/assets/diagram-js.css';
@import '~camunda-bpmn-js/dist/assets/bpmn-js.css';
@import '~camunda-bpmn-js/dist/assets/bpmn-font/css/bpmn-embedded.css';
@import '~camunda-bpmn-js/dist/assets/diagram-js-minimap.css';
@import '~camunda-bpmn-js/dist/assets/properties-panel.css';
@import '~camunda-bpmn-js/dist/assets/element-templates.css';
@import '~camunda-dmn-js/dist/assets/dmn-font/css/dmn-embedded.css';
@import '~camunda-dmn-js/dist/assets/dmn-js-decision-table-controls.css';
@import '~camunda-dmn-js/dist/assets/dmn-js-decision-table.css';
@import '~camunda-dmn-js/dist/assets/dmn-js-drd.css';
@import '~camunda-dmn-js/dist/assets/dmn-js-literal-expression.css';
@import '~camunda-dmn-js/dist/assets/dmn-js-shared.css';
1 change: 1 addition & 0 deletions client/src/styles/style.less
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@
@import "_buttons";
@import "_modal";
@import "_icons";
@import "_modeling.less";

0 comments on commit 025c341

Please sign in to comment.