Files
plume/constants.ts

67 lines
2.0 KiB
TypeScript

import { EntityType } from "./types";
export const DEFAULT_BOOK_TITLE = "Nouveau Roman";
export const DEFAULT_AUTHOR = "Auteur Inconnu";
export const INITIAL_CHAPTER = {
id: 'chap-1',
title: 'Chapitre 1',
content: '<p>Il était une fois...</p>',
summary: 'Début de l\'histoire.'
};
export const ENTITY_ICONS: Record<EntityType, string> = {
[EntityType.CHARACTER]: '👤',
[EntityType.LOCATION]: '🏰',
[EntityType.OBJECT]: '🗝️',
[EntityType.NOTE]: '📝',
};
// Colors for tags
export const ENTITY_COLORS: Record<EntityType, string> = {
[EntityType.CHARACTER]: 'bg-blue-100 text-blue-800 border-blue-200',
[EntityType.LOCATION]: 'bg-green-100 text-green-800 border-green-200',
[EntityType.OBJECT]: 'bg-amber-100 text-amber-800 border-amber-200',
[EntityType.NOTE]: 'bg-gray-100 text-gray-800 border-gray-200',
};
// --- Character Creation Lists ---
export const HAIR_COLORS = [
"Brun", "Noir", "Blond", "Roux", "Auburn", "Gris", "Blanc", "Châtain", "Chauve", "Teinture (Bleu/Rose/Etc)"
];
export const EYE_COLORS = [
"Marron", "Bleu", "Vert", "Noisette", "Gris", "Noir", "Vairons", "Ambre"
];
export const ARCHETYPES = [
"Le Héros", "L'Ombre / Le Méchant", "Le Mentor", "Le Gardien du Seuil",
"Le Shapeshifter (Changeforme)", "Le Trickster (Farceur)", "L'Allié", "L'Élu",
"Le Rebelle", "Le Séducteur", "Le Sage", "Le Guerrier", "L'Innocent"
];
// --- Book Settings Lists ---
export const GENRES = [
"Fantasy", "Science-Fiction", "Thriller / Polar", "Romance", "Historique",
"Horreur", "Aventure", "Contemporain", "Jeunesse / Young Adult", "Dystopie"
];
export const TONES = [
"Sombre & Sérieux", "Léger & Humoristique", "Épique & Grandiose",
"Mélancolique", "Mystérieux", "Optimiste", "Cynique", "Romantique"
];
export const POV_OPTIONS = [
"1ère personne (Je)",
"3ème personne (Limitée au protagoniste)",
"3ème personne (Omnisciente)",
"Multi-points de vue (Alterné)"
];
export const TENSE_OPTIONS = [
"Passé (Passé simple / Imparfait)",
"Présent de narration"
];