style(views): elevate AnalyticsView to SaaS Premium standards
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
parent
3da74c6012
commit
7eacfb0e7f
2 changed files with 2 additions and 2 deletions
|
|
@ -8,7 +8,7 @@ const meta: Meta<typeof AnalyticsView> = {
|
|||
tags: ['autodocs'],
|
||||
decorators: [
|
||||
(Story) => (
|
||||
<div className="bg-kodo-background min-h-layout-page">
|
||||
<div className="bg-background min-h-layout-page">
|
||||
<Story />
|
||||
</div>
|
||||
),
|
||||
|
|
|
|||
|
|
@ -25,7 +25,7 @@ export function AnalyticsViewOrigins({ sources }: AnalyticsViewOriginsProps) {
|
|||
</div>
|
||||
<div className="h-1.5 bg-white/5 rounded-full overflow-hidden">
|
||||
<div
|
||||
className={cn('h-full transition-all duration-1000', src.color.replace('bg-kodo-', 'bg-'))}
|
||||
className={cn('h-full transition-all duration-1000', src.color.replace(/^bg-kodo-/, 'bg-'))}
|
||||
style={{ width: `${src.val}%` }}
|
||||
/>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Reference in a new issue