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

export const goldRushLedger: StyleOption = {
    id: 'gold-rush-ledger',
    name: 'Gold Rush Ledger',
    category: 'Vintage',
    description: '1850s handwritten accounting. Script headers with rigid body fonts mimicking recorded entries.',
    vibe: 'Vintage, Handwritten, Accounting',
    googleFontsImport: 'https://fonts.googleapis.com/css2?family=Pinyon+Script&family=Inknut+Antiqua:wght@400;700&display=swap',
    
    wordConfig: {
      heading1: { 
        font: "Pinyon Script", size: 42, color: "000000", bold: false, align: 'center',
        spacing: { before: 400, after: 200, line: 240 }
      },
      heading2: { 
        font: "Inknut Antiqua", size: 12, color: "3E2723", bold: true, align: 'left',
        spacing: { before: 320, after: 160, line: 240 },
        border: { bottom: { color: "000000", space: 4, style: "double", size: 12 } }
      },
      body: { 
        font: "Inknut Antiqua", size: 10, color: "212121", align: 'left',
        spacing: { before: 0, after: 160, line: 280 } 
      },
      accentColor: "000000"
    },

    previewCss: `
      font-family: 'Inknut Antiqua', serif;
      background: #FFF9C4;
      h1 { font-family: 'Pinyon Script', cursive; font-size: 42pt; color: #000000; text-align: center; margin-bottom: 24px; }
      h2 { font-size: 12pt; font-weight: 700; color: #3E2723; margin-top: 32px; margin-bottom: 16px; border-bottom: 4px double #000; padding-bottom: 4px; }
      p { font-size: 10pt; line-height: 1.6; color: #212121; margin-bottom: 14px; }
      blockquote { border: 1px solid #000; padding: 16px; margin: 24px 0; background: #FFFDE7; }
    `
  };
