// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
//
// Copyright (c) KALEIDOS INC

// New UI colors
$db-primary: #18181a;
$db-secondary: #000000;
$db-tertiary: #212426;
$db-quaternary: #2e3434;

$df-primary: #ffffff;
$df-secondary: #8f9da3;

$da-primary: #7efff5;
$da-primary-muted: rgba(126, 255, 245, 0.3);
$da-secondary: #bb97d8;
$da-tertiary: #00d1b8;

$d-shadow: rgba(0, 0, 0, 0.6);

// Colors
$color-white: #ffffff;
$color-black: #000000;
$color-canvas: #e8e9ea;
$color-dashboard: #f6f6f6;

// Main color
$color-primary: #31efb8;

// Secondary colors
$color-success: #49d793;
$color-complete: #a599c6;
$color-warning: #fc8802;
$color-danger: #e65244;
$color-info: #59b9e2;

// Gray scale
$color-gray-10: #e3e3e3;
$color-gray-20: #b1b2b5;
$color-gray-30: #7b7d85;
$color-gray-40: #64666a;
$color-gray-50: #303236;
$color-gray-60: #1f1f1f;

// Mixing Color variable for creating both light and dark colors
$mix-percentage-dark: 81%;
$mix-percentage-darker: 60%;
$mix-percentage-lighter: 20%;

// Lighter colors

$color-success-lighter: mix($color-success, $color-white, $mix-percentage-lighter); //#def3de

$color-primary-lighter: mix($color-primary, $color-white, $mix-percentage-lighter); //#d6fcf1

$color-danger-lighter: mix($color-danger, $color-white, $mix-percentage-lighter); //#fadcda

// Darker colors
$color-success-dark: mix($color-success, $color-black, $mix-percentage-dark); //#479e4b;

$color-complete-dark: mix($color-complete, $color-black, $mix-percentage-dark); //#867ca0
$color-complete-darker: mix($color-complete, $color-black, $mix-percentage-darker); //#635c77

$color-primary-dark: mix($color-primary, $color-black, $mix-percentage-dark); //#28c295;
$color-primary-darker: mix($color-primary, $color-black, $mix-percentage-darker); // #1d8f6e

$color-warning-dark: mix($color-warning, $color-black, $mix-percentage-dark); // #cc6e02;

$color-danger-dark: mix($color-danger, $color-black, $mix-percentage-dark); //#ba4237

$color-info-darker: mix($color-info, $color-black, $mix-percentage-darker); // #356f88;

// bg transparent
$color-dark-bg: rgba(0, 0, 0, 0.4);

// Transform scss variables into css variables to use them onto cljs files
:root {
  // Secondary colors;

  --color-info: #{$color-info};
  --color-canvas: #e8e9ea;

  // Gray scale;

  --color-gray-20: #{$color-gray-20};
  --color-gray-60: #{$color-gray-60};
}
