@use "sass:map";
@use "../core/_index.scss" as *;
@use "../input/_variables.scss" as *;

/// The width of the border around the Еditor.
/// @group editor
$kendo-editor-border-width: 1px !default;
/// The font family of the Еditor.
/// @group editor
$kendo-editor-font-family: var( --kendo-font-family, inherit ) !default;
/// The font size of the Еditor.
/// @group editor
$kendo-editor-font-size: var( --kendo-font-size, inherit ) !default;
/// The line height of the Еditor.
/// @group editor
$kendo-editor-line-height: var( --kendo-line-height, normal ) !default;
/// The text color of the Editor.
/// @group editor
$kendo-editor-text: var( --kendo-component-text, initial ) !default;
/// The background color of the Editor.
/// @group editor
$kendo-editor-bg: var( --kendo-component-bg, initial ) !default;
/// The color of the border around Editor.
/// @group editor
$kendo-editor-border: var( --kendo-component-border, initial ) !default;
/// The text color of the Еditor's placeholder.
/// @group editor
$kendo-editor-placeholder-text: var( --kendo-input-placeholder-text, #{$kendo-input-placeholder-text} ) !default;
/// The opacity of the Editor's placeholder.
/// @group editor
$kendo-editor-placeholder-opacity: var( --kendo-input-placeholder-opacity, #{$kendo-input-placeholder-opacity} ) !default;
/// The outline color of the Editor's content.
/// @group editor
$kendo-editor-content-outline-color: var( --kendo-body-text, initial ) !default;
/// The horizontal margin of the Editor's export tool icon.
/// @group editor
$kendo-editor-export-tool-icon-margin-x: k-spacing(1) !default;
/// The outline width of the Editor's selected node.
/// @group editor
$kendo-editor-selectednode-outline-width: k-spacing(0.5) !default;

/// The selected text color of the Editor.
/// @group editor
$kendo-editor-selected-text: if($kendo-enable-color-system, k-color( app-surface ), $kendo-color-white) !default;
/// The selected background color of the Editor.
/// @group editor
$kendo-editor-selected-bg: if($kendo-enable-color-system, k-color( primary ), k-get-theme-color-var( primary-100 )) !default;
/// The highlighted background color of the Editor.
/// @group editor
$kendo-editor-highlighted-bg: if($kendo-enable-color-system, color-mix(in srgb, k-color( primary ) 55%, transparent), k-get-theme-color-var( primary-60 )) !default;

/// The size of the Editor's resize handle.
/// @group editor
$kendo-editor-resize-handle-size: k-spacing(2) !default;
/// The border width of the Editor's resize handle.
/// @group editor
$kendo-editor-resize-handle-border-width: 1px !default;
/// The border color of the Editor's resize handle.
/// @group editor
$kendo-editor-resize-handle-border: if($kendo-enable-color-system, k-color( on-app-surface ), $kendo-color-black) !default;
/// The background color of the Editor's resize handle.
/// @group editor
$kendo-editor-resize-handle-bg: if($kendo-enable-color-system, k-color( app-surface ), $kendo-color-white) !default;

/// The outline color of the Editor's selected node.
/// @group editor
$kendo-editor-selectednode-outline-color: if($kendo-enable-color-system, k-color( primary ), k-get-theme-color-var( primary-100 )) !default;

/// The border color of the Inline Editor data cell.
/// @group editor
$kendo-editor-inline-td-border: var( --kendo-component-border, initial ) !default;
/// The hover border color of the Inline Editor.
/// @group editor
$kendo-editor-inline-hover-border: var( --kendo-component-border, initial ) !default;

// Insert table
/// The size of the cell in the Insert table popup.
/// @group editor
$ct-cell-size: 20px !default;
/// The text color of the selected cells in the Insert table popup.
/// @group editor
$kendo-editor-ct-popup-text: var( --kendo-selected-text, initial ) !default;
/// The background color of the selected cells in the Insert table popup.
/// @group editor
$kendo-editor-ct-popup-bg: var( --kendo-selected-bg, initial ) !default;
/// The border color of the selected cells in the Insert table popup.
/// @group editor
$kendo-editor-ct-popup-border: var( --kendo-selected-border, initial ) !default;
