import { Meta } from '@storybook/react-webpack5';
import Button from '../Button.resolver';
import { generateSurfaceVariant } from './helpers';

const meta: Meta<typeof Button> = {
  component: Button,
  title: 'Actions/Button/Tests/theme: dark mode',
  tags: ['!autodocs', '!manifest'],
};
export default meta;

export const Success = generateSurfaceVariant({ theme: 'dark', sentiment: 'success' });
Success.storyName = 'Sentiment awareness: success';

export const Warning = generateSurfaceVariant({ theme: 'dark', sentiment: 'warning' });
Warning.storyName = 'Sentiment awareness: warning';

export const Negative = generateSurfaceVariant({ theme: 'dark', sentiment: 'negative' });
Negative.storyName = 'Sentiment awareness: negative';

export const Neutral = generateSurfaceVariant({ theme: 'dark', sentiment: 'neutral' });
Neutral.storyName = 'Sentiment awareness: neutral';

export const Proposition = generateSurfaceVariant({ theme: 'dark', sentiment: 'proposition' });
Proposition.storyName = 'Sentiment awareness: proposition';
