@import 'definition.scss';

$skin-name: 'highcontrast';
$hc-theme-primary: #ffd939;
$hc-theme-dark-font: #fff;
$hc-theme-dark: rgb(0, 90, 158);
$hc-neutral-tertiary: rgb(166, 166, 166);
$hc-grey-dark-font: #fff;
$hc-neutral-light: rgb(234, 234, 234);
$hc-theme-light: rgb(199, 224, 244);
$hc-theme-secondary: #2b88d8;
$hc-neutral-secondary-alt: #767676;

$diagram-endpoint-handle-color: $content-font;
$diagram-endpoint-handle-connected-border: $content-font;
$diagram-endpoint-handle-connected-color: $selection-bg;

$diagram-resize-handle-color: $selection-bg;
$diagram-resize-handle-stroke: $selection-bg;
$diagram-border-stroke: $selection-bg;

$diagram-resize-handle-disable-color: $disable;
$diagram-resize-handle-disable-stroke: $disable;
$diagram-border-stroke-disabled: $disable;

$diagram-rotate-handle-color: $selection-bg;

$diagram-bezier-handle-color: $content-font;
$diagram-bezier-line-color: $selection-bg;

$diagram-highlighter-stroke: $selection-bg;
$diagram-selected-region-stroke: $selection-bg;
$diagram-pivot-line-stroke: $selection-bg;

$diagram-helper-stroke: $selection-bg;

$diagram-text-edit-selection-color: $selection-font;
$diagram-text-edit-selection-background: $selection-bg;

$diagram-symbolpalette-hover: $bg-base-0;
$diagram-symbolpalette-shape-radius: 00px;/* stylelint-disable-line length-zero-no-unit */
$diagram-symbolpalette-selected: $selection-bg;

$diagram-tooltip: none;

$diagram-ruler-color: $border-fg-alt;
$diagram-ruler-font-size: 10px;
$diagram-ruler-marker-stroke: $hc-theme-primary;
$diagram-ruler-marker-background-color: $bg-base-0;
$diagram-ruler-label-fill:  $content-font;
$diagram-ruler-tick-stroke: $content-font;

$palette-background-color: darken($bg-base-100, 20%);

$diagram-background-color: #fff;

$diagram-editbox-background: #fff;
$diagram-editbox-fontcolor: $selection-font;
$diagram-border-stroke-width: 2;
$diagram-lane-border-stroke-width: 2;
$diagram-highlighter-border-stroke-width: 2;
$diagram-border-strokes: $selection-bg;
$diagram-lane-border-strokes: #0078ff;

$diagram-multiselect-stroke: $diagram-resize-handle-stroke;

.e-icons {
  font-family: 'e-icons';
  font-style: normal;
  font-variant: normal;
  font-weight: normal;
  line-height: 1;
  text-transform: none;
}

@include export-module('diagram-highcontrast-icons') {
  .e-diagram-menu {
    .e-bringforward::before{ content: '\e5a1'; }
    .e-bringfront::before{ content: '\e5a2'; }
    .e-sendback::before{ content: '\e5a3'; }
    .e-sendbackward::before{ content: '\e5a4'; }
    .e-delete::before{ content: '\eb00'; }
    .e-ungroup::before{ content: '\e5a6'; }
    .e-group::before{ content: '\e5a7'; }
    .e-undo::before{ content: '\e341'; }
    .e-cut::before{ content: '\e33b'; }
    .e-save::before{ content: '\e954'; }
    .e-paste::before{ content: '\e355'; }
    .e-copy::before{ content: '\e33d'; }
    .e-redo::before{ content: '\e354'; }
    .e-zoomin::before{ content: '\e349'; }
    .e-italic::before{ content: '\e35a'; }
    .e-close::before{ content: '\e7fc'; }
    .e-pan::before{ content: '\ebf3'; }
    .e-bold::before{ content: '\eb77'; }
    .e-underline::before{ content: '\e343'; }
    .e-zoomout::before{ content: '\e351'; }
    .e-export::before{ content: '\e70f'; }
    .e-print::before{ content: '\e34b'; }
    .e-order::before{ content: '\e4a4'; }
  }

  .e-symbolpalette {
    .e-clear-searchtext::before{ content: '\e7fc'; }
  }
}
