@use 'colors' as *;

// ---------------------------------------------------------------- typography --
$line-height-base: 1.5;

// -------------------------------------------------------------- brand colors --
$primary: theme-color('accent');
$secondary: theme-color('text-muted');
$success: theme-color('success');
$danger: theme-color('error');
$warning: theme-color('warn');
$info: theme-color('info');
$dark: palette('slate-900');
$light: palette('slate-050');

// --------------------------------------------------------------------- body --
$enable-dark-mode: false;
$body-bg: theme-color('canvas');
$body-color: theme-color('text');
$body-secondary-color: theme-color('text-muted');
$body-emphasis-color: theme-color('heading');
$body-tertiary-color: theme-color('text-muted');
$border-color: theme-color('border');
$border-color-translucent: rgba(theme-color('border'), 0.55);
$code-color: theme-color('info');

// ------------------------------------------------------------------ shapes ---
$border-radius: 10px;
$border-radius-sm: 6px;
$border-radius-lg: 14px;

// ------------------------------------------------------------------ inputs ---
$input-bg: theme-color('input');
$input-color: theme-color('text');
$input-border-color: theme-color('border');
$input-focus-bg: theme-color('input');
$input-focus-color: theme-color('text');
$input-focus-border-color: theme-color('accent');
$input-placeholder-color: theme-color('text-muted');

// ----------------------------------------------------------------- buttons ---
$btn-focus-width: 2px;

// --------------------------------------------------------------- focus ring --
$focus-ring-color: rgba(theme-color('accent'), 0.5);
$focus-ring-width: 2px;

$colors: (
  'blue': palette('indigo-500'),
  'indigo': palette('indigo-500'),
  'purple': palette('indigo-700'),
  'pink': palette('red-500'),
  'red': palette('red-500'),
  'orange': palette('amber-500'),
  'yellow': palette('amber-500'),
  'green': palette('green-500'),
  'teal': palette('cyan-500'),
  'cyan': palette('cyan-500'),
  'black': palette('ink-000'),
  'white': palette('paper-000'),
  'gray': palette('slate-400'),
  'gray-dark': palette('slate-600'),
);
