diff --git a/apps/web/src/components/RateLimitIndicator.tsx b/apps/web/src/components/RateLimitIndicator.tsx index 49ad9af48..e9abf38d3 100644 --- a/apps/web/src/components/RateLimitIndicator.tsx +++ b/apps/web/src/components/RateLimitIndicator.tsx @@ -92,7 +92,7 @@ export function RateLimitIndicator() { className={cn( 'flex items-center gap-2 px-4 py-1.5 rounded-lg text-xs font-medium transition-all', isCritical - ? 'bg-kodo-red/10 text-destructive border border-kodo-red/30' + ? 'bg-destructive/10 text-destructive border border-destructive/30' : 'bg-warning/10 text-warning border border-warning/30', )} role="alert" diff --git a/apps/web/src/components/admin/admin-dashboard-view/AdminDashboardHeader.tsx b/apps/web/src/components/admin/admin-dashboard-view/AdminDashboardHeader.tsx index 3bb4744fd..84308f146 100644 --- a/apps/web/src/components/admin/admin-dashboard-view/AdminDashboardHeader.tsx +++ b/apps/web/src/components/admin/admin-dashboard-view/AdminDashboardHeader.tsx @@ -22,7 +22,7 @@ export function AdminDashboardHeader({
-
+
Nodes Online diff --git a/apps/web/src/components/admin/admin-dashboard-view/AdminDashboardStatCard.tsx b/apps/web/src/components/admin/admin-dashboard-view/AdminDashboardStatCard.tsx index 5b1dd4e94..265874596 100644 --- a/apps/web/src/components/admin/admin-dashboard-view/AdminDashboardStatCard.tsx +++ b/apps/web/src/components/admin/admin-dashboard-view/AdminDashboardStatCard.tsx @@ -4,16 +4,16 @@ import { cn } from '@/lib/utils'; import type { StatCardProps } from './types'; const colorClasses: Record = { - cyan: 'bg-cyan-500', + cyan: 'bg-primary', gold: 'bg-gold-500', - lime: 'bg-lime-500', - red: 'bg-red-500', + lime: 'bg-success', + red: 'bg-destructive', }; const textColorClasses: Record = { - cyan: 'text-cyan-500', + cyan: 'text-primary', gold: 'text-gold-500', - lime: 'text-lime-500', + lime: 'text-success', red: 'text-destructive', }; @@ -49,7 +49,7 @@ export function AdminDashboardStatCard({ 0 && 'text-lime-500 border-lime-500/20 bg-lime-500/10', + trend > 0 && 'text-success border-success/20 bg-success/10', trend < 0 && 'text-destructive border-destructive/20 bg-destructive/10', trend === 0 && 'text-muted-foreground border-border bg-muted/30', )} diff --git a/apps/web/src/components/admin/admin-dashboard-view/AdminDashboardTabs.tsx b/apps/web/src/components/admin/admin-dashboard-view/AdminDashboardTabs.tsx index a50047fcc..cf8806f18 100644 --- a/apps/web/src/components/admin/admin-dashboard-view/AdminDashboardTabs.tsx +++ b/apps/web/src/components/admin/admin-dashboard-view/AdminDashboardTabs.tsx @@ -87,7 +87,7 @@ export function AdminDashboardTabs({
-

{trackData.title}

+

{trackData.title}

Analytics Report

@@ -97,7 +97,7 @@ export const TrackAnalyticsView: React.FC = ({
{/* Plays Over Time Graph Placeholder */} -

+

Plays Over Time (30 Days)

@@ -109,7 +109,7 @@ export const TrackAnalyticsView: React.FC = ({ className="flex-1 bg-muted/20 hover:bg-muted/50 transition-colors rounded-t relative group" style={{ height: `${h}%` }} > -
+
{Math.floor(h * 10)} plays
@@ -121,7 +121,7 @@ export const TrackAnalyticsView: React.FC = ({ {/* Demographics & Geo */}
-

+

Top Locations

@@ -134,7 +134,7 @@ export const TrackAnalyticsView: React.FC = ({ style={{ width: `${g.percent}%` }} >
-
+
{g.percent}%
@@ -143,7 +143,7 @@ export const TrackAnalyticsView: React.FC = ({ -

+

Listeners Age

@@ -161,7 +161,7 @@ export const TrackAnalyticsView: React.FC = ({ : '#1F2833', }} > -
+
{range}
diff --git a/apps/web/src/components/commerce/OrderSummary.tsx b/apps/web/src/components/commerce/OrderSummary.tsx index 729fcc716..deba166cc 100644 --- a/apps/web/src/components/commerce/OrderSummary.tsx +++ b/apps/web/src/components/commerce/OrderSummary.tsx @@ -55,7 +55,7 @@ export const OrderSummary: React.FC = ({
{discount && ( -
+
Protocol: {discount.code} diff --git a/apps/web/src/components/data/Timeline.tsx b/apps/web/src/components/data/Timeline.tsx index e4aeef8b7..1bfbe10cc 100644 --- a/apps/web/src/components/data/Timeline.tsx +++ b/apps/web/src/components/data/Timeline.tsx @@ -48,7 +48,7 @@ export function Timeline({ > {/* Ligne horizontale */} {index < items.length - 1 && ( -
+
)} {/* Icône */} diff --git a/apps/web/src/components/developer/DeveloperDashboardView.tsx b/apps/web/src/components/developer/DeveloperDashboardView.tsx index 18f281940..c46a03540 100644 --- a/apps/web/src/components/developer/DeveloperDashboardView.tsx +++ b/apps/web/src/components/developer/DeveloperDashboardView.tsx @@ -89,7 +89,7 @@ export const DeveloperDashboardView: React.FC = () => { if (loading) return (
- +
); @@ -98,7 +98,7 @@ export const DeveloperDashboardView: React.FC = () => { {/* Header */}
-

+

DEVELOPER PORTAL

@@ -162,7 +162,7 @@ export const DeveloperDashboardView: React.FC = () => { {/* API Keys List */} -

Active API Keys

+

Active API Keys

@@ -178,19 +178,19 @@ export const DeveloperDashboardView: React.FC = () => { {keys.map((key) => ( - + - +
{key.name}{key.name} {key.prefix} {key.created}{key.lastUsed}{key.lastUsed} @@ -124,7 +124,7 @@ export const CreateAPIKeyModal: React.FC = ({ onChange={(e) => setName(e.target.value)} autoFocus disabled={isGenerating} - className="bg-kodo-void/50 border-border focus:border-primary h-12 text-lg w-full" + className="bg-background/50 border-border focus:border-primary h-12 text-lg w-full" /> @@ -140,7 +140,7 @@ export const CreateAPIKeyModal: React.FC = ({ "flex items-center justify-between p-4 rounded-xl border cursor-pointer transition-all duration-[var(--duration-fast)] group relative overflow-hidden", selectedScopes.includes(scope.id) ? "bg-primary/10 border-primary/50 shadow-card-glow-cyan" - : "bg-kodo-void/30 border-border/50 hover:border-border hover:bg-white/5" + : "bg-background/30 border-border/50 hover:border-border hover:bg-foreground/5" )} >
@@ -154,12 +154,12 @@ export const CreateAPIKeyModal: React.FC = ({
{scope.label} -
+
{scope.id}
@@ -185,7 +185,7 @@ export const CreateAPIKeyModal: React.FC = ({
-

+

Key Created Successfully

@@ -193,7 +193,7 @@ export const CreateAPIKeyModal: React.FC = ({

-
+
{generatedKey} @@ -202,7 +202,7 @@ export const CreateAPIKeyModal: React.FC = ({ variant="ghost" size="icon" onClick={copyKey} - className="h-10 w-10 text-muted-foreground hover:text-white hover:bg-white/10 rounded-lg hover:scale-105 transition-all flex-none" + className="h-10 w-10 text-muted-foreground hover:text-foreground hover:bg-foreground/10 rounded-lg hover:scale-105 transition-all flex-none" title="Copy to clipboard" > @@ -213,14 +213,14 @@ export const CreateAPIKeyModal: React.FC = ({
{/* Footer - Fixed */} -
+
{step === 1 ? ( <> diff --git a/apps/web/src/components/education/modals/CertificateModal.tsx b/apps/web/src/components/education/modals/CertificateModal.tsx index 18d25b06f..a8203557a 100644 --- a/apps/web/src/components/education/modals/CertificateModal.tsx +++ b/apps/web/src/components/education/modals/CertificateModal.tsx @@ -29,25 +29,25 @@ export const CertificateModal: React.FC = ({ return (
-
-
-

+
+
+

Completion Certificate

-
+
{/* Certificate Preview */} -
+
-

+

Certificate

@@ -58,26 +58,26 @@ export const CertificateModal: React.FC = ({

This is to certify that

-

+

{studentName}

has successfully completed the course

-

+

{courseName}

-

+

{completionDate}

Date

-
{' '} +
{' '} {/* Signature line */}

Veza Academy @@ -92,7 +92,7 @@ export const CertificateModal: React.FC = ({

-
+
diff --git a/apps/web/src/components/gamification/AchievementCard.tsx b/apps/web/src/components/gamification/AchievementCard.tsx index ea4e2c11c..50a9cbb36 100644 --- a/apps/web/src/components/gamification/AchievementCard.tsx +++ b/apps/web/src/components/gamification/AchievementCard.tsx @@ -54,7 +54,7 @@ export const AchievementCard: React.FC = ({

{/* Progress */} -
+
= ({ {achievement.progress} / {achievement.maxProgress} - +{achievement.xpReward} XP + +{achievement.xpReward} XP
diff --git a/apps/web/src/components/gamification/AchievementsView.tsx b/apps/web/src/components/gamification/AchievementsView.tsx index bee998d03..82917e933 100644 --- a/apps/web/src/components/gamification/AchievementsView.tsx +++ b/apps/web/src/components/gamification/AchievementsView.tsx @@ -46,7 +46,7 @@ export const AchievementsView: React.FC = () => { if (loading) return (
- +
); @@ -55,23 +55,23 @@ export const AchievementsView: React.FC = () => { {/* Header */}
-

+

ACHIEVEMENTS

Track your milestones and earn rewards.

-
+
- + {earnedCount} / {achievements.length} Unlocked
{/* Controls */} -
+
@@ -57,7 +57,7 @@ export const LeaderboardView: React.FC = () => { {loading ? (
- +
) : ( <> @@ -82,15 +82,15 @@ export const LeaderboardView: React.FC = () => { {i === 1 && ( )} -
+
{entry.rank}
-
+
{entry.username}
-
+
{entry.xp.toLocaleString()} XP
@@ -104,7 +104,7 @@ export const LeaderboardView: React.FC = () => { - + @@ -116,7 +116,7 @@ export const LeaderboardView: React.FC = () => { {leaderboard.map((entry) => ( -
Rank Producer Level
#{entry.rank} @@ -127,17 +127,17 @@ export const LeaderboardView: React.FC = () => { src={entry.avatar} className="w-8 h-8 rounded-full" /> - + {entry.username} - + LVL {entry.level} + {entry.xp.toLocaleString()} diff --git a/apps/web/src/components/gamification/ProfileXPView.tsx b/apps/web/src/components/gamification/ProfileXPView.tsx index 07641e097..26b46653d 100644 --- a/apps/web/src/components/gamification/ProfileXPView.tsx +++ b/apps/web/src/components/gamification/ProfileXPView.tsx @@ -45,13 +45,13 @@ export const ProfileXPView: React.FC = ({ username }) => { if (loading) return (
- +
); return (
-

+

LEVEL & PROGRESS

@@ -63,8 +63,8 @@ export const ProfileXPView: React.FC = ({ username }) => {
{/* Level Badge */}
-
-
+
+
{xpData.level}
@@ -77,7 +77,7 @@ export const ProfileXPView: React.FC = ({ username }) => {
-

{username}

+

{username}

Producer • Rank #{xpData.rank}

@@ -101,13 +101,13 @@ export const ProfileXPView: React.FC = ({ username }) => { />
-
- +
+ {xpData.totalEarned.toLocaleString()} {' '} Total Lifetime XP
-
+
+12% vs Last Week
@@ -119,36 +119,36 @@ export const ProfileXPView: React.FC = ({ username }) => { {/* Stats Grid */}
-
+
Global Rank
-
#{xpData.rank}
+
#{xpData.rank}
-
+
Daily Streak
-
12 Days
+
12 Days
-
+
Quests Complete
-
8/10
+
8/10
@@ -156,7 +156,7 @@ export const ProfileXPView: React.FC = ({ username }) => { {/* Recent Achievements */}
-

Recent Achievements

+

Recent Achievements

@@ -170,8 +170,8 @@ export const ProfileXPView: React.FC = ({ username }) => { {/* XP History Graph (Mock) */} -

- XP History +

+ XP History

{Array.from({ length: 14 }).map((_, i) => ( @@ -183,7 +183,7 @@ export const ProfileXPView: React.FC = ({ username }) => { className="w-full bg-warning rounded-t opacity-50 group-hover:opacity-100 transition-opacity" style={{ height: `${Math.random() * 60 + 10}%` }} >
-
+
+{Math.floor(Math.random() * 500)} XP
diff --git a/apps/web/src/components/library/AutoMetadataDetectionModal.tsx b/apps/web/src/components/library/AutoMetadataDetectionModal.tsx index 1ec7ffb15..048962a7a 100644 --- a/apps/web/src/components/library/AutoMetadataDetectionModal.tsx +++ b/apps/web/src/components/library/AutoMetadataDetectionModal.tsx @@ -40,13 +40,13 @@ export const AutoMetadataDetectionModal: React.FC< return (
-
-
+
+

- AI Metadata Detection + AI Metadata Detection

Detecting BPM, Key, and Genre for
- {fileName} + {fileName}

) : (
-
+
@@ -88,7 +88,7 @@ export const AutoMetadataDetectionModal: React.FC<
Detected Key
-
+
{result?.key}
diff --git a/apps/web/src/components/library/playlists/CreatePlaylistModal.tsx b/apps/web/src/components/library/playlists/CreatePlaylistModal.tsx index 44ec0aeb2..fbe4b4862 100644 --- a/apps/web/src/components/library/playlists/CreatePlaylistModal.tsx +++ b/apps/web/src/components/library/playlists/CreatePlaylistModal.tsx @@ -31,11 +31,11 @@ export const CreatePlaylistModal: React.FC = ({ return (
-
-
+
+

Create Playlist

-
+
Cover
@@ -57,7 +57,7 @@ export const CreatePlaylistModal: React.FC = ({ />