$base03: #002b36;
$base02: #073642;
$base01: #586e75;
$base00: #657b83;
$base0: #839496;
$base1: #93a1a1;
$base2: #eee8d5;
$base3: #fdf6e3;
$yellow: #b58900;
$orange: #cb4b16;
$red: #dc322f;
$magenta: #d33682;
$violet: #6c71c4;
$blue: #268bd2;
$cyan: #2aa198;
$green: #859900;

.theme--solarized-light {
  --kbin-body-font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --kbin-body-font-size: 1rem;
  --kbin-body-font-weight: 400;
  --kbin-body-line-height: 1.5;
  --kbin-body-text-align: left;
  --kbin-body-bg: #eee8d5;

  --kbin-bg: #eee8d5;
  --kbin-bg-nth: #{$base3};

  --kbin-text-color: #677d84;
  --kbin-link-color: #586e75;
  --kbin-link-hover-color: #44575d;
  --kbin-outline: #ff8c00 solid 4px;

  --kbin-primary-color: #{$base2};
  --kbin-text-muted-color: #bebfbf;

  --kbin-success-color: #{$green};
  --kbin-danger-color: #{$red};

  --kbin-own-color: #{$green};
  --kbin-author-color: #{$red};

  // section
  --kbin-section-bg: #{$base3};
  --kbin-section-text-color: var(--kbin-text-color);
  --kbin-section-title-link-color: var(--kbin-link-color);
  --kbin-section-link-color: #{$blue};
  --kbin-section-link-hover-color: var(--kbin-link-hover-color);
  --kbin-section-border: 1px solid #c8cac0;
  --kbin-author-border: 1px dashed var(--kbin-author-color);
  --kbin-own-border: 1px dashed var(--kbin-own-color);

  // meta
  --kbin-meta-bg: none;
  --kbin-meta-text-color: #{$base1};
  --kbin-meta-link-color: #{$base01};
  --kbin-meta-link-hover-color: #{$base1};
  --kbin-meta-border: 1px dashed #e7dfc6;
  --kbin-avatar-border: 3px solid #d8cda9;
  --kbin-avatar-border-active: 3px solid #c2b691;
  --kbin-blockquote-color: #{$green};

  // options
  --kbin-options-bg: #{$base3};
  --kbin-options-text-color: #95a5a6;
  --kbin-options-link-color: #{$base01};
  --kbin-options-link-hover-color: #41545b;
  --kbin-options-border: 1px solid #c8cac0;;
  --kbin-options-link-hover-border: 3px solid #{$violet};

  // forms
  --kbin-input-bg: #f6edd4;
  --kbin-input-text-color: var(--kbin-text-color);
  --kbin-input-border: var(--kbin-section-border);
  --kbin-input-placeholder-text-color: #4f6166;

  // buttons
  --kbin-button-primary-bg: var(--kbin-primary-color);
  --kbin-button-primary-hover-bg: #f5eedb;
  --kbin-button-primary-text-color: #{$base0};
  --kbin-button-primary-text-hover-color: #{$base0};
  --kbin-button-primary-border: 1px solid #d8cda9;

  --kbin-button-secondary-bg: #fdf6e3;
  --kbin-button-secondary-hover-bg: #fff6e1;
  --kbin-button-secondary-text-color: var(--kbin-meta-text-color);
  --kbin-button-secondary-text-hover-color: var(--kbin-text-color);
  --kbin-button-secondary-border: 1px dashed #d8cda9;

  // header
  --kbin-header-bg: var(--kbin-primary-color);
  --kbin-header-text-color: #{$base01};
  --kbin-header-link-color: #{$base01};
  --kbin-header-link-hover-color: #41545b;
  --kbin-header-link-active-bg: var(--kbin-options-bg);
  --kbin-header-border: 1px solid #d8cda9;
  --kbin-header-hover-border: 3px solid #{$base01};

  // topbar
  --kbin-topbar-bg: #{$base3};
  --kbin-topbar-active-bg: var(--kbin-primary-color);
  --kbin-topbar-link-color: var(--kbin-meta-text-color);
  --kbin-topbar-active-link-color: #{$base01};
  --kbin-topbar-hover-bg: var(--kbin-primary-color);
  --kbin-topbar-border: 1px solid #{$base2};

  //sidebar
  --kbin-sidebar-header-text-color: #909ea2;
  --kbin-sidebar-header-border: var(--kbin-section-border);
  --kbin-sidebar-settings-row-bg: var(--kbin-body-bg);
  --kbin-sidebar-settings-switch-on-color: var(--kbin-section-bg);
  --kbin-sidebar-settings-switch-on-bg: var(--kbin-button-primary-text-color);
  --kbin-sidebar-settings-switch-off-color: #d7d6c7;
  --kbin-sidebar-settings-switch-off-bg: var(--kbin-button-secondary-bg);
  --kbin-sidebar-settings-switch-hover-bg: #b8bdb5;

  //vote
  --kbin-vote-bg: #fff5db;
  --kbin-vote-text-color: #{$base01};
  --kbin-vote-text-hover-color: #{$base1};
  --kbin-upvoted-color: #{$green};
  --kbin-downvoted-color: #{$red};

   //boost
   --kbin-boosted-color: var(--kbin-upvoted-color);

  // alerts
  --kbin-alert-info-bg: #fff3cd;
  --kbin-alert-info-border: 1px solid #ffe69c;
  --kbin-alert-info-text-color: #997404;
  --kbin-alert-info-link-color: #997404;

  --kbin-alert-danger-bg: #f8d7da;
  --kbin-alert-danger-border: 1px solid #f5c2c7;
  --kbin-alert-danger-text-color: var(--kbin-danger-color);
  --kbin-alert-danger-link-color: var(--kbin-danger-color);

  //entry
  --kbin-entry-link-visited-color: #586e75;

  // footer
  --kbin-footer-bg: var(--kbin-section-bg);
  --kbin-footer-text-color: var(--kbin-text-color);
  --kbin-footer-link-color: var(--kbin-link-color);
  --kbin-footer-link-hover-color: var(--kbin-link-hover-color);

  .options--top, 
  .section--top {
    border-top: var(--kbin-options-border) !important;
    margin-top: 0.5rem !important;
  }

  &.rounded-edges {
    .section--top,
    .options--top {
      border-radius: .5rem !important;
    }

    .head-nav__menu li a {
      border-radius: 0 0 .5rem .5rem;
    }
  }

  .entry__domain,
  .entry__domain a {
    color: $yellow !important;
  }
}