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

export const educationFriendly: StyleOption = {
  id: 'education-friendly',
  name: 'Education Friendly',
  category: 'Education',
  description: 'Approachable and clear design for educational materials. High readability with friendly colors suitable for learning environments.',
  vibe: 'Friendly, Educational, Accessible',
  googleFontsImport: 'https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700&display=swap',
  typography: {
    fonts: {
      heading: 'Nunito',
      body: 'Nunito',
      code: 'Nunito'
    },
    colors: {
      text: '424242',
      textSecondary: '616161',
      background: 'FFFFFF',
      accent: '5E35B1',
      border: '7E57C2',
      codeBg: 'EDE7F6',
      blockquoteBorder: '7E57C2'
    }
  },
  elements: {
    h1: {
      font: 'heading',
      size: 24,
      color: '5E35B1',
      bold: true,
      align: 'left',
      background: 'EDE7F6',
      spacing: { before: 20, after: 10, line: 1.2 },
      padding: 16,
      border: { color: 'D1C4E9', width: 1, style: 'solid' }
    },
    h2: {
      font: 'heading',
      size: 14,
      color: '7E57C2',
      bold: true,
      align: 'left',
      spacing: { before: 15, after: 7.5, line: 1.2 }
    },
    h3: {
      font: 'heading',
      size: 13,
      color: '7E57C2',
      bold: true,
      align: 'left',
      spacing: { before: 12, after: 6, line: 1.2 }
    },
    h4: {
      font: 'heading',
      size: 12,
      color: '9575CD',
      bold: true,
      align: 'left',
      spacing: { before: 10, after: 5, line: 1.2 }
    },
    h5: {
      font: 'heading',
      size: 11,
      color: '9575CD',
      bold: true,
      align: 'left',
      spacing: { before: 8, after: 4, line: 1.2 }
    },
    h6: {
      font: 'heading',
      size: 11,
      color: 'B39DDB',
      bold: true,
      align: 'left',
      spacing: { before: 6, after: 3, line: 1.2 }
    },
    p: {
      font: 'body',
      size: 11,
      color: '424242',
      align: 'left',
      spacing: { before: 0, after: 8, line: 1.7 }
    },
    blockquote: {
      font: 'body',
      size: 10,
      color: '5E35B1',
      spacing: { before: 10, after: 10, line: 1.5 },
      padding: 16,
      background: 'F3E5F5',
      borderLeft: { color: '7E57C2', width: 4, style: 'solid' }
    },
    code: {
      font: 'code',
      size: 10,
      color: '5E35B1',
      background: 'EDE7F6'
    },
    pre: {
      font: 'code',
      size: 10,
      color: '5E35B1',
      background: 'EDE7F6',
      spacing: { before: 12, after: 12, line: 1.4 },
      padding: 12
    },
    ul: {
      spacing: { before: 8, after: 8, line: 1.5 }
    },
    ol: {
      spacing: { before: 8, after: 8, line: 1.5 }
    },
    li: {
      font: 'body',
      size: 11,
      color: '424242',
      spacing: { before: 4, after: 4, line: 1.5 }
    },
    strong: {
      bold: true
    },
    em: {
      italic: true
    },
    a: {
      color: '5E35B1',
      underline: true
    },
    table: {
      spacing: { before: 12, after: 12, line: 1.4 }
    },
    th: {
      font: 'heading',
      size: 11,
      color: '5E35B1',
      bold: true,
      background: 'EDE7F6',
      spacing: { before: 6, after: 6, line: 1.4 }
    },
    td: {
      font: 'body',
      size: 11,
      color: '424242',
      spacing: { before: 6, after: 6, line: 1.4 }
    },
    hr: {
      border: { color: 'D1C4E9', width: 2, style: 'single' },
      spacing: { before: 12, after: 12, line: 1 }
    },
    img: {
      align: 'center',
      spacing: { before: 12, after: 12, line: 1 }
    }
  }
};
