fix: Resolve build errors with border color and import paths

- Add missing --border CSS variable for light and dark mode
- Add border color to Tailwind config using hsl(var(--border))
- Fix import paths in sidebar.tsx (@/hooks/ instead of @/components/hooks/)
- Fix import path in toaster.tsx (@/hooks/ instead of @/components/hooks/)

These fixes ensure npm run dev / npm run build work out of the box.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
“alexvisualmakers”
2026-01-17 12:53:56 +01:00
parent 2f47d526ff
commit cec3890c6f
5 changed files with 6 additions and 27 deletions
-24
View File
@@ -177,29 +177,6 @@ AskUserQuestion({
Falls "Änderungen nötig": Passe Spec an basierend auf User-Feedback im Chat Falls "Änderungen nötig": Passe Spec an basierend auf User-Feedback im Chat
### Phase 5: PROJECT_CONTEXT.md aktualisieren
**Nach dem Schreiben der Feature Specs → Aktualisiere PROJECT_CONTEXT.md!**
Du hast jetzt genug Kontext über das Projekt. Aktualisiere folgende Abschnitte:
1. **"Aktueller Status"** - Was wird gerade gebaut?
```markdown
## Aktueller Status
Feature-Specs für [Projektname] erstellt. Nächster Schritt: Solution Architect.
```
2. **"Features Roadmap"** - Liste alle erstellten Features:
```markdown
## Features Roadmap
- [PROJ-1] Feature-Name → Planned → [Spec](/features/PROJ-1-feature-name.md)
- [PROJ-2] Feature-Name → 🔵 Planned → [Spec](/features/PROJ-2-feature-name.md)
```
3. **"Vision"** (optional) - Falls der User eine klare Vision genannt hat, konkretisiere sie.
**Warum?** PROJECT_CONTEXT.md ist die zentrale Übersicht für alle Agents. Ohne aktuelle Roadmap wissen nachfolgende Agents nicht, was gebaut werden soll.
## Output-Format ## Output-Format
```markdown ```markdown
@@ -249,7 +226,6 @@ Bevor du die Feature Spec als "fertig" markierst, stelle sicher:
- [ ] **File gespeichert:** `/features/PROJ-X-feature-name.md` existiert - [ ] **File gespeichert:** `/features/PROJ-X-feature-name.md` existiert
- [ ] **Status gesetzt:** Status ist 🔵 Planned - [ ] **Status gesetzt:** Status ist 🔵 Planned
- [ ] **User Review:** User hat Spec gelesen und approved - [ ] **User Review:** User hat Spec gelesen und approved
- [ ] **PROJECT_CONTEXT.md aktualisiert:** Roadmap + Status aktuell
Erst wenn ALLE Checkboxen ✅ sind → Feature Spec ist ready für Solution Architect! Erst wenn ALLE Checkboxen ✅ sind → Feature Spec ist ready für Solution Architect!
+2
View File
@@ -5,12 +5,14 @@
:root { :root {
--background: #ffffff; --background: #ffffff;
--foreground: #171717; --foreground: #171717;
--border: 220 13% 91%;
} }
@media (prefers-color-scheme: dark) { @media (prefers-color-scheme: dark) {
:root { :root {
--background: #0a0a0a; --background: #0a0a0a;
--foreground: #ededed; --foreground: #ededed;
--border: 240 3.7% 15.9%;
} }
} }
+2 -2
View File
@@ -5,8 +5,8 @@ import { Slot } from "@radix-ui/react-slot"
import { cva, type VariantProps } from "class-variance-authority" import { cva, type VariantProps } from "class-variance-authority"
import { PanelLeft } from "lucide-react" import { PanelLeft } from "lucide-react"
import { useIsMobile } from "@/components/hooks/use-mobile" import { useIsMobile } from "@/hooks/use-mobile"
import { cn } from "@/components/lib/utils" import { cn } from "@/lib/utils"
import { Button } from "@/components/ui/button" import { Button } from "@/components/ui/button"
import { Input } from "@/components/ui/input" import { Input } from "@/components/ui/input"
import { Separator } from "@/components/ui/separator" import { Separator } from "@/components/ui/separator"
+1 -1
View File
@@ -1,6 +1,6 @@
"use client" "use client"
import { useToast } from "@/components/hooks/use-toast" import { useToast } from "@/hooks/use-toast"
import { import {
Toast, Toast,
ToastClose, ToastClose,
+1
View File
@@ -12,6 +12,7 @@ const config: Config = {
colors: { colors: {
background: 'var(--background)', background: 'var(--background)',
foreground: 'var(--foreground)', foreground: 'var(--foreground)',
border: 'hsl(var(--border))',
sidebar: { sidebar: {
DEFAULT: 'hsl(var(--sidebar-background))', DEFAULT: 'hsl(var(--sidebar-background))',
foreground: 'hsl(var(--sidebar-foreground))', foreground: 'hsl(var(--sidebar-foreground))',