veza/apps/web/src/components/ui/AstralBackground.stories.tsx
senke 73e8372b0e refactor: Phase 7 — Clean up legacy components and remove dead tokens
- Bulk replace text-white → text-foreground across 116 component files
  (preserving text-white/ opacity variants)
- Remove hover-glow-cyan, shadow-card-glow-cyan, shadow-button-primary-glow
  classes from all components
- Replace --duration-normal/--duration-immersive/--duration-slow with
  --sumi-duration-normal/--sumi-duration-slow across 130+ files
- Replace --ease-out/--ease-in-out with --sumi-ease-out/--sumi-ease-in-out
- Replace focus:ring-blue-500 → focus:ring-primary (4 files)
- Remove hover:scale-105/110 and hover:-translate-y-1/0.5 transforms
  (SUMI anti-pattern: no scale on hover)
- Clean up stale kodo- references in comments

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-12 02:09:29 +01:00

25 lines
799 B
TypeScript

import type { Meta, StoryObj } from '@storybook/react';
import { AstralBackground } from './AstralBackground';
const meta = {
title: 'UI/AstralBackground',
component: AstralBackground,
tags: ['autodocs'],
parameters: {
layout: 'fullscreen',
},
} satisfies Meta<typeof AstralBackground>;
export default meta;
type Story = StoryObj<typeof meta>;
export const Default: Story = {
render: () => (
<div className="h-[400px] w-full relative border border-border overflow-hidden rounded-lg">
<AstralBackground />
<div className="absolute inset-0 flex items-center justify-center pointer-events-none">
<h1 className="text-4xl font-bold text-foreground z-10">Astral Background</h1>
</div>
</div>
),
};