fix(views): remove remaining kodo in Purchases/Cart/Live/Marketplace/Social

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
senke 2026-02-07 14:00:55 +01:00
parent 0eb5260c9b
commit f775c00a3b
6 changed files with 17 additions and 17 deletions

View file

@ -31,10 +31,10 @@ export function CheckoutViewOrderSummary({
className="flex justify-between items-start text-sm" className="flex justify-between items-start text-sm"
> >
<div className="flex-1 pr-4"> <div className="flex-1 pr-4">
<div className="text-kodo-text-main font-medium truncate"> <div className="text-foreground font-medium truncate">
{item.product.title} {item.product.title}
</div> </div>
<div className="text-xs text-kodo-content-dim"> <div className="text-xs text-muted-foreground">
{item.selectedLicense?.name ?? 'Standard'} License {item.selectedLicense?.name ?? 'Standard'} License
</div> </div>
</div> </div>
@ -46,18 +46,18 @@ export function CheckoutViewOrderSummary({
))} ))}
</div> </div>
<div className="border-t border-kodo-steel pt-4 space-y-2 mb-6"> <div className="border-t border-border pt-4 space-y-2 mb-6">
<div className="flex justify-between text-sm text-kodo-content-dim"> <div className="flex justify-between text-sm text-muted-foreground">
<span>Subtotal</span> <span>Subtotal</span>
<span>${cartTotal.toFixed(2)}</span> <span>${cartTotal.toFixed(2)}</span>
</div> </div>
<div className="flex justify-between text-sm text-kodo-content-dim"> <div className="flex justify-between text-sm text-muted-foreground">
<span>Taxes</span> <span>Taxes</span>
<span>${tax.toFixed(2)}</span> <span>${tax.toFixed(2)}</span>
</div> </div>
<div className="flex justify-between items-end pt-2"> <div className="flex justify-between items-end pt-2">
<span className="font-bold text-white">Total</span> <span className="font-bold text-foreground">Total</span>
<span className="text-2xl font-mono font-bold text-kodo-steel"> <span className="text-2xl font-mono font-bold text-muted-foreground">
${(cartTotal + tax).toFixed(2)} ${(cartTotal + tax).toFixed(2)}
</span> </span>
</div> </div>

View file

@ -39,7 +39,7 @@ export function LiveViewChat({
> >
{msg.user}: {msg.user}:
</span> </span>
<span className="text-kodo-text-main">{msg.text}</span> <span className="text-foreground">{msg.text}</span>
</div> </div>
))} ))}
<div className="text-center py-2"> <div className="text-center py-2">
@ -49,17 +49,17 @@ export function LiveViewChat({
</div> </div>
</div> </div>
<div className="p-4 bg-kodo-slate border-t border-kodo-steel"> <div className="p-4 bg-muted border-t border-border">
<div className="flex gap-2"> <div className="flex gap-2">
<div className="relative flex-1"> <div className="relative flex-1">
<input <input
value={msgInput} value={msgInput}
onChange={(e) => onMsgInputChange(e.target.value)} onChange={(e) => onMsgInputChange(e.target.value)}
onKeyDown={(e) => e.key === 'Enter' && onSend()} onKeyDown={(e) => e.key === 'Enter' && onSend()}
className="w-full bg-kodo-ink border border-kodo-steel rounded px-4 py-2 text-sm text-white focus:border-kodo-steel outline-none" className="w-full bg-background border border-border rounded-xl px-4 py-2 text-sm text-foreground focus:border-primary outline-none transition-colors duration-[var(--duration-normal)]"
placeholder="Say something..." placeholder="Say something..."
/> />
<DollarSign className="absolute right-2 top-1/2 -translate-y-1/2 w-4 h-4 text-kodo-gold cursor-pointer hover:text-kodo-gold/80 transition-colors" /> <DollarSign className="absolute right-2 top-1/2 -translate-y-1/2 w-4 h-4 text-warning cursor-pointer hover:opacity-80 transition-opacity" />
</div> </div>
<Button variant="primary" size="sm" className="px-4" onClick={onSend}> <Button variant="primary" size="sm" className="px-4" onClick={onSend}>
<Send className="w-4 h-4" /> <Send className="w-4 h-4" />

View file

@ -25,7 +25,7 @@ export function LiveViewRecommended({ onChannelClick }: LiveViewRecommendedProps
alt="" alt=""
className="w-full h-full object-cover" className="w-full h-full object-cover"
/> />
<div className="absolute bottom-2 left-2 bg-kodo-void/80 px-2 py-0.5 rounded text-xs text-white"> <div className="absolute bottom-2 left-2 bg-background/80 px-2 py-0.5 rounded text-xs text-foreground">
DJ Set DJ Set
</div> </div>
</div> </div>

View file

@ -29,7 +29,7 @@ export function MarketplaceViewCategories({
> >
FILTERS FILTERS
</Button> </Button>
<div className="h-6 w-px bg-kodo-steel mx-2" /> <div className="h-6 w-px bg-border mx-2" />
{CATEGORIES.map((cat) => ( {CATEGORIES.map((cat) => (
<button <button
key={cat} key={cat}

View file

@ -39,8 +39,8 @@ export function PurchasesViewItem({
<div className="flex-1 w-full text-center md:text-left"> <div className="flex-1 w-full text-center md:text-left">
<h3 className="font-bold text-foreground text-lg mb-1 tracking-tight">{product.title}</h3> <h3 className="font-bold text-foreground text-lg mb-1 tracking-tight">{product.title}</h3>
<div className="flex flex-wrap items-center justify-center md:justify-start gap-4 text-xs text-kodo-content-dim"> <div className="flex flex-wrap items-center justify-center md:justify-start gap-4 text-xs text-muted-foreground">
<span className="bg-kodo-ink px-2 py-1 rounded border border-kodo-steel text-kodo-steel"> <span className="bg-card px-2 py-1 rounded border border-border text-muted-foreground">
{product.type ?? 'pack'} {product.type ?? 'pack'}
</span> </span>
<span>Order #{purchase.orderId}</span> <span>Order #{purchase.orderId}</span>

View file

@ -16,7 +16,7 @@ export function SocialViewFeedItem({ track, onPlay }: SocialViewFeedItemProps) {
className="p-0 overflow-hidden mb-4 border-transparent hover:border-border" className="p-0 overflow-hidden mb-4 border-transparent hover:border-border"
> >
<div className="p-4 flex items-center gap-4"> <div className="p-4 flex items-center gap-4">
<div className="w-10 h-10 rounded-full bg-kodo-steel overflow-hidden"> <div className="w-10 h-10 rounded-full bg-muted overflow-hidden">
<img <img
src={track.coverUrl} src={track.coverUrl}
alt="" alt=""
@ -34,7 +34,7 @@ export function SocialViewFeedItem({ track, onPlay }: SocialViewFeedItemProps) {
<div className="px-4 pb-4"> <div className="px-4 pb-4">
<div <div
className="bg-kodo-ink p-4 rounded-xl flex items-center gap-4 border border-kodo-steel group cursor-pointer" className="bg-card p-4 rounded-xl flex items-center gap-4 border border-border group cursor-pointer"
onClick={() => onPlay(track)} onClick={() => onPlay(track)}
onKeyDown={(e) => e.key === 'Enter' && onPlay(track)} onKeyDown={(e) => e.key === 'Enter' && onPlay(track)}
role="button" role="button"