@media (prefers-color-scheme: dark) {
  .se-toolbar.sun-editor-common,
  .se-dialog-content,
  .sun-editor .se-toolbar-more-layer,
  .sun-editor .se-list-layer,
  .sun-editor .se-selector-table,
  .se-controller {
    background-color: #222 !important;
  }

  .sun-editor button,
  .se-dialog-content,
  .sun-editor .se-dialog button,
  .sun-editor .se-dialog label,
  .sun-editor .se-list-layer,
  .sun-editor .se-selector-table,
  .se-controller {
    color: #fff !important;
  }

  .sun-editor .se-btn:enabled:focus,
  .sun-editor .se-btn:enabled:hover,
  .se-dialog-content input,
  .sun-editor .se-btn-list.default_value,
  .sun-editor .se-btn-list:focus,
  .sun-editor .se-btn-list:hover,
  .sun-editor .se-controller .se-btn-group button:focus:enabled,
  .sun-editor .se-controller .se-btn-group button:hover:enabled,
  .sun-editor .se-btn-module .se-btn-more.on {
    color: #000 !important;
  }

  .sun-editor .se-btn-primary {
    background-color: #1d69d7 !important;
  }

  .sun-editor .se-dialog-tabs button {
    background-color: #80bdff !important;
    color: #fff !important;
  }

  .sun-editor .se-dialog-tabs button.active {
    background-color: #1d69d7 !important;
  }

  .sun-editor .se-selector-table .se-table-size-highlighted {
    background: none;
    background-color: rgba(0,0,255,0.3);
  }

  .sun-editor .se-arrow.se-arrow-up:after {
    border-bottom-color: #111;
  }

  .sun-editor .se-btn-list:disabled,
  .sun-editor .se-btn:disabled,
  .sun-editor button:disabled {
    color: #666 !important;
  }

  .sun-editor .se-btn-module-border {
    border-color: #444 !important;
  }

  .sun-editor .se-line-breaker>button.se-btn,
  .se-line-breaker-component {
    color: #fff !important;
    background-color: #111;
  }

  .sun-editor .se-btn-list hr {
    border-color: #fff !important;
  }

  .sun-editor .se-btn-list:hover hr {
    border-color: #333 !important;
  }

  .sun-editor .se-btn-list h1,
  .sun-editor .se-btn-list h2,
  .sun-editor .se-btn-list h3,
  .sun-editor .se-btn-list h4,
  .sun-editor .se-btn-list h5,
  .sun-editor .se-btn-list h6 {
    color: #fff !important;
  }

  .sun-editor .se-btn-list:hover h1,
  .sun-editor .se-btn-list:hover h2,
  .sun-editor .se-btn-list:hover h3,
  .sun-editor .se-btn-list:hover h4,
  .sun-editor .se-btn-list:hover h5,
  .sun-editor .se-btn-list:hover h6 {
    color: #333 !important;
  }

  .sun-editor .se-btn-align span {
    fill: #fff;
  }

  .sun-editor .se-resizing-container {background-color:  transparent !important}

}