// 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

@use "sass:color" as color;

:root {
  // DARK
  --dark-gray-1: #1d1f20;
  --dark-gray-2: #000000;
  --dark-gray-2-30: rgba(0, 0, 0, 0.3);
  --dark-gray-3: #292c2d;
  --dark-gray-4: #34393b;
  --white: #fff;
  --off-white: #aab5ba;
  --green: #91fadb;
  --green-30: rgba(145, 250, 219, 0.3);
  --lilac: #bb97d8;
  --pink: #ff6fe0;
  --strong-green: #00d1b8;

  // NOTIFICATION
  --dark-ok-color: var(--strong-green);
  --dark-warning-color: #ff6432;
  --dark-pending-color: var(--lilac);
  --dark-error-color: #ec1f1f;

  // LIGHT
  --light-gray-1: #fff;
  --light-gray-2: #e8eaee;
  --light-gray-2-30: rgba(232, 234, 238, 0.3);
  --light-gray-3: #f3f4f6;
  --light-gray-4: #eef0f2;
  --black: #000;
  --off-black: #495e74;
  --purple: #6911d4;
  --purple-30: rgba(105, 17, 212, 0.2);
  --blue: #1345aa;
  --strong-purple: #8c33eb;

  // NOTIFICATION WILL CHANGE
  --light-ok-color: var(--strong-green);
  --light-warning-color: #ff9b49;
  --light-pending-color: var(--lilac);
  --light-error-color: #ff4986;

  //GENERIC
  --color-canvas: #e8e9ea;

  // SOCIAL LOGIN BUTTONS
  --google-login-background: #4285f4;
  --google-login-background-hover: #{color.adjust(#4285f4, $lightness: -15%)};
  --google-login-foreground: var(--white);

  --github-login-background: #4c4c4c;
  --github-login-background-hover: #{color.adjust(#4c4c4c, $lightness: -15%)};
  --github-login-foreground: var(--white);

  --oidc-login-background: #b3b3b3;
  --oidc-login-background-hover: #{color.adjust(#b3b3b3, $lightness: -15%)};
  --oidc-login-foreground: var(--white);

  --gitlab-login-background: #fc6d26;
  --gitlab-login-background-hover: #{color.adjust(#fc6d26, $lightness: -15%)};
  --gitlab-login-foreground: var(--white);
}
