@use '@acorex/styles/utils/index.scss' as *;
@use '../../layouts/_variables.scss' as *;

// --- Cosmic Horizon Theme ---

// Core Colors
$primary: #6247aa; // Deep purple - main brand color
$secondary: #815ac0; // Lighter purple - supporting color
$success: #38b2ac; // Teal - positive actions/states
$warning: #f6ad55; // Orange - cautionary actions/states
$danger: #e53e3e; // Red - negative actions/states
$accent1: #38b2ac; // Teal - first accent color
$accent2: #d69e2e; // Gold - second accent color
$accent3: #3182ce; // Blue - third accent color

$light-start: $light-start-base;
$light-end: mix($light-end-base, $primary, $light-end-weight);
$light: mix($light-start-base, $primary, $light-start-weight);

// Surface Gradient Endpoints for Dark Mode
$dark-start: #1a202c; // Lightest dark surface
$dark-end: #0d0b1a; // Darkest dark surface
$dark: #171627; // Default dark background

$theme-colors: (
  'primary': $primary,
  'secondary': $secondary,
  'success': $success,
  'warning': $warning,
  'danger': $danger,
  'accent1': $accent1,
  'accent2': $accent2,
  'accent3': $accent3,
);

$theme-surfaces: (
  'light-start': $light-start,
  'light-end': $light-end,
  'dark-start': $dark-start,
  'dark-end': $dark-end,
);

$options: (
  'color-range': true,
  'light': $light,
  'dark': $dark,
);

@forward '@acorex/styles/variables/index.scss';

@include generate-palette-variables($theme-colors, $theme-surfaces, $options);
