@import '_colors.sass'

body:not(.theme),
body.theme-light,
body.theme-dark,
body.theme-black
  color: $foreground
  background-color: $background

  main,
  #sidebar
    color: $foreground
    background-color: $selection

  fieldset
    border-color: $comment

  pre,
  code
    color: $foreground
    background-color: $background
    border: none
    font-family: 'Space Mono', 'Iosevka', 'Fira Code', 'Consolas', monospace

  blockquote
    color: $foreground
    background-color: $background
    border-color: $foreground

  figure,
  section
    border-color: $foreground

  input,
  textarea,
  .form-input,
  .form-input:not(:focus)
    color: $foreground
    border-color: $comment
    background-color: $background

  th
    border-color: $comment

  td
    border-color: $selection

  tbody tr:nth-of-type(n)
    background-color: $background

a
  color: $cyan

  &:hover,
  &:active,
  &:focus
    color: $pink

  &:visited
    color: $pink

hr
  border-color: $foreground
