import { StyleOption } from '../../../types';

export const nyEditor: StyleOption = {
  id: 'ny-editor',
  name: 'The Editorial',
  category: 'Editorial',
  description: 'High-contrast serifs, centered headers, delicate borders. Feels like a premium magazine feature.',
  vibe: 'Luxury, Fashion, Literature',
  googleFontsImport: 'https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;1,400&family=Lora:ital,wght@0,400;1,400&display=swap',
  wordConfig: {
    heading1: { 
      font: "Playfair Display", size: 36, color: "111111", bold: true, italic: true, align: 'center',
      spacing: { before: 600, after: 400, line: 240 }
    },
    heading2: { 
      font: "Playfair Display", size: 14, color: "444444", bold: true, allCaps: true, tracking: 100, align: 'center',
      spacing: { before: 400, after: 200, line: 240 },
      border: { bottom: { color: "DDDDDD", space: 8, style: "single", size: 4 } }
    },
    body: { 
      font: "Lora", size: 11, color: "333333", align: 'both',
      spacing: { before: 0, after: 200, line: 320 } 
    },
    accentColor: "000000"
  },
  previewCss: `
    font-family: 'Lora', serif;
    h1 { font-family: 'Playfair Display', serif; font-size: 36pt; font-weight: 700; font-style: italic; text-align: center; margin-bottom: 30px; }
    h2 { font-family: 'Playfair Display', serif; font-size: 14pt; font-weight: 700; text-transform: uppercase; letter-spacing: 3px; text-align: center; border-bottom: 1px solid #ddd; padding-bottom: 10px; margin-top: 40px; color: #444; }
    p { font-size: 11pt; line-height: 1.8; text-align: justify; margin-bottom: 20px; }
    blockquote { font-family: 'Playfair Display', serif; font-size: 18pt; font-style: italic; text-align: center; color: #555; margin: 40px 20px; border: none; }
  `
};
