$primary: #08514c;
$secondary: #c7e852;
$accent: #e91e63;

$dark: #1d1d1d;
$text: #111212;

$button-color: #9d9d9d;

$positive: #2e7d32;
$negative: #d32f2f;
$info: #0288d1;
$warning: #ed6c02;

$colors: (
  "primary": #08514c,
  "secondary": #c7e852,

  "text": #111212,
  "text-2": #4d4e4e,
  "text-3": #898989,

  "primary-light": #42a5f5,
  "primary-dark": #1565c0,
  "primary-3": #84a8a6,

  "secondary-light": #ba68c8,
  "secondary-dark": #7b1fa2,
  "terciary": #ff9800,
  "terciary-light": #ffb74d,
  "terciary-dark": #f57c00,

  "page": #f1f1f1,

  "surface": #f0f3f5,
  "surface-light": #f5f5f5,
  "surface-dark": #f1f1f1,

  "default-background": #fff,

  "light-2": #555555,

  "success": #59b259,

  "error": #d32f2f,
  "error-light": #ef5350,
  "error-dark": #c62828,

  "warning": #fff001,

  "info": #0288d1,
  "info-light": #03a9f4,
  "info-dark": #01579b,

  "dark-blue": #0d214f,
  "light-brown": #b68678,
  "dark-brown": #613123,
);

$colors-dark: (
  "primary": #1976d2,
  "primary-light": #42a5f5,
  "primary-dark": #1565c0,

  "dark": #1d1d1d,

  "secondary": #ce93d8,
  "secondary-light": #f3e5f5,
  "secondary-dark": #ab47bc,

  "terciary": #ffd191,
  "terciary-light": #ffecb3,
  "terciary-dark": #ffab40,

  "page": #121212,

  "surface": #1d1d1d,
  "surface-light": #333333,
  "surface-dark": #121212,

  "text": #ffffff,

  "success": #66bb6a,
  "success-light": #81c784,
  "success-dark": #388e3c,

  "error": #f44336,
  "error-light": #e57373,
  "error-dark": #d32f2f,

  "warning": #ffa726,
  "warning-light": #ffb74d,
  "warning-dark": #f57c00,

  "info": #29b6f6,
  "info-light": #4fc3f7,
  "info-dark": #0288d1,
);

@each $name, $color in $colors {
  .text-#{$name} {
    color: $color !important;
  }
  .bg-#{$name} {
    background: $color !important;
  }
}

.body--dark {
  @each $name, $color in $colors-dark {
    .text-#{$name} {
      color: $color !important;
    }
    .bg-#{$name} {
      background: $color !important;
    }
  }
}
