diff --git a/Web_Backgrounds/spidey-theme.css b/Web_Backgrounds/spidey-theme.css index 4e4b6f2..1fbd3d7 100644 --- a/Web_Backgrounds/spidey-theme.css +++ b/Web_Backgrounds/spidey-theme.css @@ -3,7 +3,6 @@ This is the current website appearance captured as a reusable CSS theme. ============================================================================ */ -:root, .theme-spidey { --background: 222.2 84% 4.9%; --foreground: 210 40% 98%; @@ -34,3 +33,37 @@ --sidebar-border: 217.2 32.6% 17.5%; --sidebar-ring: 0 100% 53%; } + +.theme-spidey body::before { + content: ""; + position: fixed; + inset: 0; + z-index: -1; + pointer-events: none; + background-image: + repeating-conic-gradient( + from 10deg, + transparent 0deg 10deg, + rgba(220, 38, 38, 0.04) 10deg 12deg + ), + repeating-radial-gradient( + circle at 50% 50%, + transparent 0, + transparent 30px, + rgba(37, 99, 235, 0.03) 30px, + transparent 32px + ), + radial-gradient(2px 2px at 10% 20%, rgba(220,38,38,0.35) 0%, transparent 100%), + radial-gradient(2px 2px at 30% 80%, rgba(37,99,235,0.35) 0%, transparent 100%), + radial-gradient(2px 2px at 50% 30%, rgba(220,38,38,0.3) 0%, transparent 100%), + radial-gradient(2px 2px at 70% 60%, rgba(37,99,235,0.3) 0%, transparent 100%), + radial-gradient(2px 2px at 85% 15%, rgba(220,38,38,0.35) 0%, transparent 100%), + radial-gradient(2px 2px at 20% 50%, rgba(37,99,235,0.25) 0%, transparent 100%), + radial-gradient(2px 2px at 65% 85%, rgba(220,38,38,0.25) 0%, transparent 100%), + radial-gradient(2px 2px at 40% 10%, rgba(37,99,235,0.3) 0%, transparent 100%), + radial-gradient(2px 2px at 90% 75%, rgba(220,38,38,0.25) 0%, transparent 100%), + radial-gradient(2px 2px at 5% 60%, rgba(37,99,235,0.3) 0%, transparent 100%), + radial-gradient(2px 2px at 55% 55%, rgba(220,38,38,0.2) 0%, transparent 100%); + background-size: 200% 200%; + animation: drift 60s linear infinite; +} diff --git a/Web_Backgrounds/starforce-theme.css b/Web_Backgrounds/starforce-theme.css new file mode 100644 index 0000000..f775502 --- /dev/null +++ b/Web_Backgrounds/starforce-theme.css @@ -0,0 +1,64 @@ +/* ============================================================================ + Starforce Theme — Dark cosmic with crimson accents and neon green glow + Captures the current starfield + drift + glow effects used live. + ============================================================================ */ + +.theme-starforce { + --background: 0 0% 10%; + --foreground: 210 40% 98%; + --card: 0 0% 9%; + --card-foreground: 210 40% 98%; + --popover: 222.2 84% 11%; + --popover-foreground: 210 40% 98%; + --primary: 0 100% 53%; + --primary-foreground: 222.2 47.4% 11.2%; + --secondary: 217.2 32.6% 17.5%; + --secondary-foreground: 210 40% 98%; + --muted: 217.2 32.6% 17.5%; + --muted-foreground: 215 20.2% 65.1%; + --accent: 217.2 32.6% 17.5%; + --accent-foreground: 210 40% 98%; + --destructive: 0 62.8% 30.6%; + --destructive-foreground: 210 40% 98%; + --border: 217.2 32.6% 17.5%; + --input: 217.2 32.6% 17.5%; + --ring: 0 100% 53%; + --radius: 0.5rem; + --sidebar: 0 0% 11%; + --sidebar-foreground: 210 40% 98%; + --sidebar-primary: 145 65% 50%; + --sidebar-primary-foreground: 0 0% 100%; + --sidebar-accent: 217.2 32.6% 17.5%; + --sidebar-accent-foreground: 210 40% 98%; + --sidebar-border: 217.2 32.6% 17.5%; + --sidebar-ring: 0 100% 53%; +} + +.theme-starforce body::before { + content: ""; + position: fixed; + inset: 0; + z-index: -1; + pointer-events: none; + background-image: + radial-gradient(1px 1px at 10% 20%, rgba(100,100,120,0.4) 0%, transparent 100%), + radial-gradient(1px 1px at 20% 40%, rgba(100,100,120,0.3) 0%, transparent 100%), + radial-gradient(1.5px 1.5px at 30% 10%, rgba(80,80,100,0.5) 0%, transparent 100%), + radial-gradient(1px 1px at 40% 60%, rgba(100,100,120,0.3) 0%, transparent 100%), + radial-gradient(1px 1px at 50% 80%, rgba(90,90,110,0.4) 0%, transparent 100%), + radial-gradient(1.5px 1.5px at 60% 30%, rgba(80,80,100,0.5) 0%, transparent 100%), + radial-gradient(1px 1px at 70% 50%, rgba(100,100,120,0.3) 0%, transparent 100%), + radial-gradient(1px 1px at 80% 90%, rgba(90,90,110,0.4) 0%, transparent 100%), + radial-gradient(1.5px 1.5px at 90% 15%, rgba(80,80,100,0.5) 0%, transparent 100%), + radial-gradient(1px 1px at 15% 70%, rgba(100,100,120,0.3) 0%, transparent 100%), + radial-gradient(1px 1px at 25% 90%, rgba(90,90,110,0.4) 0%, transparent 100%), + radial-gradient(1.5px 1.5px at 35% 35%, rgba(80,80,100,0.5) 0%, transparent 100%), + radial-gradient(1px 1px at 45% 15%, rgba(100,100,120,0.3) 0%, transparent 100%), + radial-gradient(1px 1px at 55% 75%, rgba(90,90,110,0.4) 0%, transparent 100%), + radial-gradient(1.5px 1.5px at 65% 55%, rgba(80,80,100,0.5) 0%, transparent 100%), + radial-gradient(1px 1px at 75% 25%, rgba(100,100,120,0.3) 0%, transparent 100%), + radial-gradient(1px 1px at 85% 65%, rgba(90,90,110,0.4) 0%, transparent 100%), + radial-gradient(1.5px 1.5px at 95% 45%, rgba(80,80,100,0.5) 0%, transparent 100%); + background-size: 200% 200%; + animation: drift 60s linear infinite; +} diff --git a/Web_Backgrounds/starforce-tokens.json b/Web_Backgrounds/starforce-tokens.json new file mode 100644 index 0000000..0a2ae4d --- /dev/null +++ b/Web_Backgrounds/starforce-tokens.json @@ -0,0 +1,59 @@ +{ + "theme": { + "id": "starforce", + "name": "Starforce", + "description": "Dark cosmic theme with crimson accents, starfield background, and neon green glow effects", + "type": "dark", + "default": true + }, + "colors": { + "background": "hsl(0, 0%, 10%)", + "foreground": "hsl(210, 40%, 98%)", + "card": "hsl(0, 0%, 9%)", + "cardForeground": "hsl(210, 40%, 98%)", + "popover": "hsl(222.2, 84%, 11%)", + "popoverForeground": "hsl(210, 40%, 98%)", + "primary": "hsl(0, 100%, 53%)", + "primaryForeground": "hsl(222.2, 47.4%, 11.2%)", + "secondary": "hsl(217.2, 32.6%, 17.5%)", + "secondaryForeground": "hsl(210, 40%, 98%)", + "muted": "hsl(217.2, 32.6%, 17.5%)", + "mutedForeground": "hsl(215, 20.2%, 65.1%)", + "accent": "hsl(217.2, 32.6%, 17.5%)", + "accentForeground": "hsl(210, 40%, 98%)", + "destructive": "hsl(0, 62.8%, 30.6%)", + "destructiveForeground": "hsl(210, 40%, 98%)", + "border": "hsl(217.2, 32.6%, 17.5%)", + "input": "hsl(217.2, 32.6%, 17.5%)", + "ring": "hsl(0, 100%, 53%)", + "sidebar": "hsl(0, 0%, 11%)", + "sidebarForeground": "hsl(210, 40%, 98%)", + "sidebarPrimary": "hsl(145, 65%, 50%)", + "sidebarPrimaryForeground": "hsl(0, 0%, 100%)", + "sidebarAccent": "hsl(217.2, 32.6%, 17.5%)", + "sidebarAccentForeground": "hsl(210, 40%, 98%)", + "sidebarBorder": "hsl(217.2, 32.6%, 17.5%)", + "sidebarRing": "hsl(0, 100%, 53%)" + }, + "borderRadius": "0.5rem", + "typography": { + "fontFamily": "Inter, sans-serif", + "headingFont": "Inter, sans-serif" + }, + "keyColors": { + "primary": "#FF0000", + "background": "#1a1a1a", + "card": "#171717", + "sidebar": "#1c1c1c", + "border": "#2a2a35", + "text": "#e8e8ef", + "mutedText": "#888888", + "glow": "#39ff14" + }, + "effects": { + "starfield": true, + "starTwinkle": true, + "starDrift": true, + "textGlow": "#39ff14" + } +} diff --git a/src/app/(dashboard)/dashboard/page.tsx b/src/app/(dashboard)/dashboard/page.tsx index 61c4ba7..d7bcb0f 100644 --- a/src/app/(dashboard)/dashboard/page.tsx +++ b/src/app/(dashboard)/dashboard/page.tsx @@ -26,8 +26,10 @@ import { import { DashboardStats } from "@/types" import { CrossedLightsabers } from "@/components/dashboard/crossed-lightsabers" import { StarField } from "@/components/dashboard/star-field" +import { useWebsiteTheme } from "@/providers/website-theme-provider" export default function DashboardPage() { + const { websiteTheme: theme } = useWebsiteTheme() const [period, setPeriod] = useState("6months") const [stats, setStats] = useState(null) const pollingRef = useRef(null) @@ -65,20 +67,22 @@ export default function DashboardPage() { return (
- + {theme === "starforce" && }
Dashboard} description="Overview of your sales pipeline" > - - Trust the Force, Find your Path - - + {theme === "starforce" && ( + + Trust the Force, Find your Path + + )} + {theme === "starforce" && }