@use 'definition' as *;
@use '../base/common/base-variables' as *;

//layout variables
$diagram-border-stroke-width: 2;
$diagram-lane-border-stroke-width: 2;
$diagram-highlighter-border-stroke-width: 2;
$diagram-symbolpalette-shape-radius: 4px;
$diagram-ruler-font-size: 10px;
$diagram-tooltip: none;

//normal
$diagram-resize-handle-disable-color: $grey-cc;
$diagram-border-stroke-disabled: $grey-cc;
$diagram-resize-handle-disable-stroke: $brand-primary-font;
$diagram-rotate-handle-color: $brand-primary;
$diagram-bezier-handle-color: $brand-primary-font;

$diagram-symbolpalette-hover: $grey-cc;
$diagram-symbolpalette-selected: $grey-dd;

$diagram-ruler-color: $grey-cc;
$diagram-ruler-marker-stroke: $brand-primary;
$diagram-ruler-marker-background-color: $grey-44;
$diagram-ruler-label-fill: $grey-cc;
$diagram-ruler-tick-stroke: $grey-cc;
$diagram-overview-resizer-color:$brand-primary;

//end normal

//primary
$diagram-endpoint-handle-color: $brand-primary-font;
$diagram-endpoint-handle-connected-border: $brand-primary-font;
$diagram-endpoint-handle-connected-color: $brand-primary;

$diagram-resize-handle-color: $brand-primary;
$diagram-resize-handle-stroke: $brand-primary;
$diagram-border-stroke: $brand-primary-darken-10;

$diagram-bezier-line-color: $brand-primary;

$palette-background-color: #e0e0e0;
$diagram-background-color: $grey-light-font;
$diagram-highlighter-stroke: $brand-primary;
$diagram-selected-region-stroke: $brand-primary;
$diagram-pivot-line-stroke: $brand-primary;

$diagram-helper-stroke: $brand-primary;

$diagram-text-edit-selection-color: $brand-primary-font;
$diagram-text-edit-selection-background: $brand-primary;

$diagram-editbox-background: $brand-primary-font;
$diagram-editbox-fontcolor: $base-font;

$diagram-border-strokes: $brand-primary-darken-10;
$diagram-lane-border-strokes: $brand-primary;

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

//end primary

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

@include export-module('diagram-bootstrap-icons') {

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