From 9a855f85435a7f57c9e040c2a2e67e49e88b2c08 Mon Sep 17 00:00:00 2001 From: "nico.hdr8" Date: Mon, 6 Oct 2025 13:06:44 +0200 Subject: [PATCH] feat(core): change theme color and stars count --- public/theme/theme.ts | 22 +++++++++---------- .../core/components/background/background.ts | 6 ++--- 2 files changed, 14 insertions(+), 14 deletions(-) diff --git a/public/theme/theme.ts b/public/theme/theme.ts index 4bc3f26..8de622f 100644 --- a/public/theme/theme.ts +++ b/public/theme/theme.ts @@ -323,17 +323,17 @@ export const Theme = definePreset(Aura, { transitionDuration: "{transition.duration}" }, primary: { - 50: "#fffdea", - 100: "#fff7c2", - 200: "#ffef85", - 300: "#ffe24d", - 400: "#ffd700", - 500: "#e6c200", - 600: "#bfa100", - 700: "#997f00", - 800: "#735f00", - 900: "#4d3f00", - 950: "#1f1600" + 50: "#fff9ec", + 100: "#fff3d4", + 200: "#ffe7a8", + 300: "#ffdb70", // deine gewünschte Farbe als Kern + 400: "#ffcf38", + 500: "#ffdb70", // Hauptfarbe + 600: "#e6c35f", + 700: "#bf9e4a", + 800: "#997a36", + 900: "#735625", + 950: "#4d3817" }, colorScheme: { light: { diff --git a/src/app/core/components/background/background.ts b/src/app/core/components/background/background.ts index 2fcf49c..9ac797e 100644 --- a/src/app/core/components/background/background.ts +++ b/src/app/core/components/background/background.ts @@ -16,7 +16,7 @@ export class Background { @ViewChild('canvas', { static: true }) canvasRef!: ElementRef; // Config - private numStars = 150; + private numStars = 300; private minBlink = 0.2; private maxBlink = 1; private blinkSpeed = 0.002; // Stern blinkt langsamer oder schneller @@ -96,8 +96,8 @@ export class Background { ctx.beginPath(); ctx.arc(star.x, star.y - this.scrollY * this.parallaxFactor, star.radius, 0, Math.PI * 2); ctx.fillStyle = this.themeSwitchService.darkMode() - ? `rgba(255, 215, 0, ${star.alpha})` - : `rgba(184, 134, 11, ${star.alpha})`; + ? `rgba(191, 158, 74, ${star.alpha})` + : `rgba(255, 219, 112, ${star.alpha})`; ctx.fill(); }