import type { Meta, StoryObj } from '@storybook/react-vite'; import { Logo } from './Logo'; const meta = { title: 'Branding/Logo', component: Logo, parameters: { layout: 'centered', docs: { description: { component: 'Single source of truth for Talas / Veza brand rendering. Use this component everywhere a wordmark, symbol, or lockup is needed. See `CHARTE_GRAPHIQUE_TALAS.md ยง3` for the logo specifications. The current SVG symbol is a placeholder until the artist (Renaud, P0.1) delivers the hand-drawn calligraphic mark.', }, }, }, argTypes: { brand: { control: 'inline-radio', options: ['talas', 'veza'], }, variant: { control: 'inline-radio', options: ['wordmark', 'symbol', 'lockup'], }, size: { control: 'inline-radio', options: ['xs', 'sm', 'md', 'lg', 'xl'], }, color: { control: 'inline-radio', options: ['auto', 'ink', 'cyan', 'inverse'], }, orientation: { control: 'inline-radio', options: ['horizontal', 'vertical'], }, }, args: { brand: 'veza', variant: 'wordmark', size: 'md', color: 'auto', }, } satisfies Meta; export default meta; type Story = StoryObj; export const Default: Story = {}; export const VezaWordmark: Story = { args: { brand: 'veza', variant: 'wordmark', size: 'lg' }, }; export const TalasWordmark: Story = { args: { brand: 'talas', variant: 'wordmark', size: 'lg' }, }; export const Symbol: Story = { args: { brand: 'talas', variant: 'symbol', size: 'xl' }, }; export const LockupHorizontal: Story = { args: { brand: 'veza', variant: 'lockup', size: 'lg', tagline: 'STREAMING' }, }; export const LockupVertical: Story = { args: { brand: 'talas', variant: 'lockup', size: 'lg', orientation: 'vertical' }, }; export const Cyan: Story = { args: { brand: 'veza', variant: 'lockup', size: 'lg', color: 'cyan', tagline: 'BETA' }, }; export const Inverse: Story = { args: { brand: 'talas', variant: 'wordmark', size: 'xl', color: 'inverse' }, parameters: { backgrounds: { default: 'dark' } }, }; export const AllSizes: Story = { render: () => (
{(['xs', 'sm', 'md', 'lg', 'xl'] as const).map((size) => (
{size}
))}
), }; export const AllVariants: Story = { render: () => (
Wordmark
Symbol
Lockup
), }; export const TalasVsVeza: Story = { render: () => (
Talas (mother brand)
Veza (sub-brand)
), };