:root,
:root[data-theme=dark] {
  color-scheme: dark;
  --sylar-primary-bg: color-mix(in srgb, #ec2fbd 16%, transparent);
  --sylar-secondary: #8616f4;
  --sylar-secondary-bg: color-mix(in srgb, #8616f4 16%, transparent);
  --sylar-accent-bg: color-mix(in srgb, #f15bd8 16%, transparent);
  --sylar-primary: #ec2fbd;
  --sylar-accent: #f15bd8;
  --sylar-violet: #8616f4;
  --sylar-gradient: linear-gradient(
    135deg,
    #ec2fbd 0%,
    #b625e8 48%,
    #7917f6 100%
  );
  --sylar-bg: #160f1e;
  --sylar-surface: #21172b;
  --sylar-hover: #30213e;
  --sylar-border: #49345a;
  --sylar-text: #f6eff8;
  --sylar-muted: #c3b1c9;
  --sylar-code: #edb9ee;
  --sylar-header: color-mix(in srgb, #160f1e 90%, transparent);
  --sylar-selection: color-mix(in srgb, #ec2fbd 24%, transparent);
  --sylar-glow-primary: color-mix(in srgb, #ec2fbd 10%, transparent);
  --sylar-glow-secondary: color-mix(in srgb, #8616f4 18%, transparent);
  --app-background: var(--sylar-bg);
}

:root[data-theme=light] {
  color-scheme: light;
  --sylar-primary-bg: color-mix(in srgb, #c21991 16%, transparent);
  --sylar-secondary: #6812cf;
  --sylar-secondary-bg: color-mix(in srgb, #6812cf 16%, transparent);
  --sylar-accent-bg: color-mix(in srgb, #7912aa 16%, transparent);
  --sylar-primary: #c21991;
  --sylar-accent: #7912aa;
  --sylar-violet: #6812cf;
  --sylar-gradient: linear-gradient(
    135deg,
    #c21991 0%,
    #a21acb 48%,
    #6d18d8 100%
  );
  --sylar-bg: #f4edf4;
  --sylar-surface: #fff9ff;
  --sylar-hover: #eaddea;
  --sylar-border: #d9c7d8;
  --sylar-text: #30232f;
  --sylar-muted: #6f5e6d;
  --sylar-code: #87166f;
  --sylar-header: color-mix(in srgb, #f4edf4 90%, transparent);
  --sylar-selection: color-mix(in srgb, #c21991 24%, transparent);
  --sylar-glow-primary: color-mix(in srgb, #c21991 10%, transparent);
  --sylar-glow-secondary: color-mix(in srgb, #6812cf 18%, transparent);
  --app-background: var(--sylar-bg);
}
