
:root,
:root .linwiteditor-theme-light {
  //aieditor
  --linwiteditor-bg-color: #fff;
  --linwiteditor-border-color: #eee;
  --linwiteditor-text-color: #333;
  --linwiteditor-text-placeholder-color: #adb5bd;


  //buttons
  --linwiteditor-button-bg-color: #fafafa;
  --linwiteditor-button-border-color: #eee;
  --linwiteditor-button-hover-bg-color: #eee;
  --linwiteditor-button-hover-border-color: #ccc;

  //inputs
  --linwiteditor-input-bg-color:#fff;
  --linwiteditor-input-border-color:#e9e9e9;
  --linwiteditor-input-focus-bg-color:#fff;
  --linwiteditor-input-focus-border-color:#e9e9e9;


  //popover
  --linwiteditor-popover-bg-color:#fff;
  --linwiteditor-popover-border-color:#e9e9e9;
  --linwiteditor-popover-title-color:#666;
  --linwiteditor-popover-selected-color:#eee;


  //menus
  --linwiteditor-menus-text-color: var(--linwiteditor-text-color);
  --linwiteditor-menus-bg-color: #ffffff;
  --linwiteditor-menus-svg-color: #333;
  --linwiteditor-menus-item-hover-color: #eee;
  --linwiteditor-menus-divider-color: #eaeaea;
  --linwiteditor-menus-ai-bg-color: var(--linwiteditor-menus-svg-color);
  --linwiteditor-menus-ai-color: #ffffff;
  --linwiteditor-menus-tip-bg-color: #333;
  --linwiteditor-menus-tip-text-color: #eee;
  --linwiteditor-menus-table-cell-border-color: #ccc;
  --linwiteditor-menus-table-cell-border-active-color: #000;


  //contents
  --linwiteditor-content-pre-bg-color: #f6f6f7;
  --linwiteditor-content-blockquote-bg-color: #f6f6f7;
  --linwiteditor-content-blockquote-border-color: #e3e3e3;
  --linwiteditor-content-blockquote-text-color: #888888;
  --linwiteditor-content-container-info-color: #eff1f3;
  --linwiteditor-content-container-warning-color: #fcf5e4;
  --linwiteditor-content-container-danger-color: #ffe7ea;
  --linwiteditor-content-table-th-bg-color: #efefef;
  --linwiteditor-content-table-selected-bg-color: rgba(200,200,255,0.3);
  --linwiteditor-content-table-border-color: #ced4da;
  --linwiteditor-content-table-handler-color: #adf;
  --linwiteditor-content-scrollbar-track-piece:#f1f1f1;
  --linwiteditor-content-scrollbar-thumb:#c1c1c1;
  --linwiteditor-content-scrollbar-thumb-hover:#a9a9a9;
  --linwiteditor-content-scrollbar-thumb-active:#787878;
  --linwiteditor-content-link-a-color:blue;
  --linwiteditor-content-link-a-hover-color:red;
  --linwiteditor-content-link-a-visited-color:purple;
  --linwiteditor-content-link-a-active-color:green;

}


//the dark theme variables
:root .linwiteditor-theme-dark {

  //aieditor
  --linwiteditor-text-color: #ccc;
  --linwiteditor-border-color: #333;
  --linwiteditor-text-placeholder-color: #777;
  --linwiteditor-bg-color: #1e2022;


  //buttons
  --linwiteditor-button-bg-color: #333;
  --linwiteditor-button-border-color: #606060;
  --linwiteditor-button-hover-bg-color: #606060;
  --linwiteditor-button-hover-border-color: #606060;

  //inputs
  --linwiteditor-input-bg-color:#505050;
  --linwiteditor-input-border-color:#666;
  --linwiteditor-input-focus-bg-color:#505050;
  --linwiteditor-input-focus-border-color:#999;


  //popover
  --linwiteditor-popover-bg-color:#2A2A2B;
  --linwiteditor-popover-border-color:#505050;
  --linwiteditor-popover-title-color:#ccc;
  --linwiteditor-popover-selected-color:#505050;


  //menus
  --linwiteditor-menus-text-color: var(--linwiteditor-text-color);
  --linwiteditor-menus-bg-color: #1a1b1e;
  --linwiteditor-menus-svg-color: #cccccc;
  --linwiteditor-menus-item-hover-color: #505050;
  --linwiteditor-menus-divider-color: #2c2c2c;
  --linwiteditor-menus-ai-bg-color: var(--linwiteditor-menus-svg-color);
  --linwiteditor-menus-ai-color: #000;
  --linwiteditor-menus-tip-bg-color: #eee;
  --linwiteditor-menus-tip-text-color: #333;
  --linwiteditor-menus-table-cell-border-color: #888;
  --linwiteditor-menus-table-cell-border-active-color: #ccc;


  //contents
  --linwiteditor-content-pre-bg-color: #282c34;
  --linwiteditor-content-blockquote-bg-color: #282c34;
  --linwiteditor-content-blockquote-border-color: #505050;
  --linwiteditor-content-blockquote-text-color: #888888;
  --linwiteditor-content-container-info-color: #2a2c30;
  --linwiteditor-content-container-warning-color: #40361d;
  --linwiteditor-content-container-danger-color: #46222a;
  --linwiteditor-content-table-th-bg-color: #2c2c2c;
  --linwiteditor-content-table-selected-bg-color: rgba(200,200,255,0.2);
  --linwiteditor-content-table-border-color: #353535;
  --linwiteditor-content-table-handler-color: #566a77;
  --linwiteditor-content-scrollbar-track-piece:#404040;
  --linwiteditor-content-scrollbar-thumb:#dddddd50;
  --linwiteditor-content-scrollbar-thumb-hover:#dddddd70;
  --linwiteditor-content-scrollbar-thumb-active:#dddddda0;
  --linwiteditor-content-link-a-color:rgb(76, 163, 245);
  --linwiteditor-content-link-a-hover-color:rgb(255, 79, 79);
  --linwiteditor-content-link-a-visited-color:rgb(255, 0, 255);
  --linwiteditor-content-link-a-active-color:rgb(0, 255, 0);
}
