import React from 'react'; import { backstoryTheme } from '../BackstoryTheme'; import { Box, Typography, Paper, Container } from '@mui/material'; // This component provides a visual demonstration of the theme colors const BackstoryThemeVisualizerPage = () => { const colorSwatch = (color: string, name: string, textColor = '#fff') => (
{name}
{color}
); return (

Backstory Theme Visualization

Primary Colors

{colorSwatch(backstoryTheme.palette.primary.main, 'Primary', backstoryTheme.palette.primary.contrastText)} {colorSwatch(backstoryTheme.palette.secondary.main, 'Secondary', backstoryTheme.palette.secondary.contrastText)} {colorSwatch(backstoryTheme.palette.custom.highlight, 'Highlight', '#fff')}

Background Colors

{colorSwatch(backstoryTheme.palette.background.default, 'Default', '#000')} {colorSwatch(backstoryTheme.palette.background.paper, 'Paper', '#000')}

Text Colors

{colorSwatch(backstoryTheme.palette.text.primary, 'Primary', '#fff')} {colorSwatch(backstoryTheme.palette.text.secondary, 'Secondary', '#fff')}

Typography Examples

Heading 1 - Backstory Application

Body Text - This is how the regular text content will appear in the Backstory application. The application uses Roboto as its primary font family, with carefully selected sizing and colors.

{/* */}

UI Component Examples

AppBar Background
Primary Button
Secondary Button
Action Button

Theme Color Breakdown

Color Name Hex Value Description
Primary Main {backstoryTheme.palette.primary.main} Midnight Blue - Used for main headers and primary UI elements
Primary Contrast {backstoryTheme.palette.primary.contrastText} Warm Gray - Text that appears on primary color backgrounds
Secondary Main {backstoryTheme.palette.secondary.main} Dusty Teal - Used for secondary actions and accents
Highlight {backstoryTheme.palette.custom.highlight} Golden Ochre - Used for highlights, accents, and important actions
Background Default {backstoryTheme.palette.background.default} Warm Gray - Main background color for the application
Text Primary {backstoryTheme.palette.text.primary} Charcoal Black - Primary text color throughout the app
); }; export { BackstoryThemeVisualizerPage };