# Generated by Django 5.1.7 on 2026-05-29 06:29

import django.db.models.deletion
from django.conf import settings
from django.db import migrations, models


class Migration(migrations.Migration):

    initial = True

    dependencies = [
        ('users', '__first__'),
    ]

    operations = [
        migrations.CreateModel(
            name='ReadingSettings',
            fields=[
                ('user', models.OneToOneField(on_delete=django.db.models.deletion.CASCADE, primary_key=True, related_name='reading_settings', serialize=False, to=settings.AUTH_USER_MODEL)),
                ('font_family', models.CharField(choices=[('sans-serif', 'Sans-serif'), ('serif', 'Serif'), ('monospace', 'Monospace')], default='serif', max_length=32)),
                ('font_size', models.PositiveSmallIntegerField(default=18)),
                ('line_height', models.FloatField(default=1.6)),
                ('margin_width', models.PositiveSmallIntegerField(default=16)),
                ('background_color', models.CharField(default='#f5f0eb', max_length=7)),
                ('text_color', models.CharField(default='#1a1a1a', max_length=7)),
                ('brightness', models.PositiveSmallIntegerField(default=100)),
                ('orientation_lock', models.CharField(choices=[('auto', 'Auto'), ('portrait', 'Portrait'), ('landscape', 'Landscape')], default='auto', max_length=16)),
                ('theme', models.CharField(choices=[('sepia', 'Sepia'), ('dark', 'Dark'), ('light', 'Light'), ('paper', 'Paper')], default='sepia', max_length=32)),
                ('created_at', models.DateTimeField(auto_now_add=True)),
                ('updated_at', models.DateTimeField(auto_now=True)),
            ],
            options={
                'verbose_name': 'Reading Settings',
                'verbose_name_plural': 'Reading Settings',
                'db_table': 'reader_reading_settings',
            },
        ),
    ]
