@use '../base/common/base-variables' as *;
@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;/* stylelint-disable-line length-zero-no-unit */
$diagram-tooltip: none;

//normal
$diagram-endpoint-handle-color: $primary-text-color;
$diagram-endpoint-handle-connected-border: $primary-text-color;

$diagram-resize-handle-disable-color: $content-bg-color-alt2;
$diagram-border-stroke-disabled: $content-bg-color-alt2;
$diagram-resize-handle-disable-stroke: $white;
$diagram-rotate-handle-color: $primary;
$diagram-bezier-handle-color: $primary-text-color;
$diagram-overview-resizer-color:$primary;

$diagram-symbolpalette-hover: $content-bg-color-hover;
$diagram-symbolpalette-selected: $content-bg-color-pressed;

$diagram-ruler-color: $content-text-color-alt2;
$diagram-ruler-font-size: $text-xxs;
$diagram-ruler-marker-background-color: $content-bg-color-alt1;
$diagram-ruler-label-fill: $content-text-color-alt2;
$diagram-ruler-tick-stroke: $series-2;

$diagram-editbox-fontcolor: $black;
$diagram-background-color: $white;

//end normal
//primary
$diagram-endpoint-handle-connected-color: $primary;

$diagram-resize-handle-color: $primary;
$diagram-resize-handle-stroke: $primary;

$diagram-border-stroke: $primary;
$diagram-bezier-line-color: $primary;

$diagram-highlighter-stroke: $primary;
$diagram-selected-region-stroke: $primary;
$diagram-pivot-line-stroke: $primary;
$diagram-ruler-marker-stroke: $primary;

$diagram-helper-stroke: $primary;

$palette-background-color: $content-bg-color;

$diagram-text-edit-selection-background: $primary;
$diagram-editbox-background: $white;

$diagram-border-strokes: $primary;
$diagram-lane-border-strokes: $primary;
$diagram-text-edit-selection-color: $primary-text-color;

$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-normal;
  line-height: 1;
  text-transform: none;
}

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

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