Sets up the project structure, dependencies, and configuration for a new Vite-based React application. Includes basic HTML, TypeScript configurations, and necessary build tools for local development and deployment.
102 lines
No EOL
3 KiB
HTML
102 lines
No EOL
3 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
<title>if.emotion</title>
|
|
<script src="https://cdn.tailwindcss.com"></script>
|
|
<script>
|
|
tailwind.config = {
|
|
theme: {
|
|
extend: {
|
|
fontFamily: {
|
|
serif: ['Merriweather', 'serif'],
|
|
sans: ['Inter', 'sans-serif'],
|
|
},
|
|
colors: {
|
|
earth: {
|
|
50: '#faf9f6',
|
|
100: '#f5f2eb',
|
|
200: '#e6e0d2',
|
|
300: '#d2c6b0',
|
|
400: '#bcab8e',
|
|
500: '#a89070',
|
|
600: '#8c7558',
|
|
700: '#705c46',
|
|
800: '#5e4d3d',
|
|
900: '#4d4035',
|
|
},
|
|
clay: {
|
|
100: '#fcf2ea',
|
|
200: '#f6dec9',
|
|
300: '#efc2a0',
|
|
400: '#e69e70',
|
|
500: '#dd7b46',
|
|
600: '#cf5e32',
|
|
700: '#ac4625',
|
|
800: '#8c3b24',
|
|
900: '#723422',
|
|
}
|
|
},
|
|
animation: {
|
|
'fade-in': 'fadeIn 0.5s ease-out forwards',
|
|
'slide-up': 'slideUp 0.3s ease-out forwards',
|
|
},
|
|
keyframes: {
|
|
fadeIn: {
|
|
'0%': { opacity: '0' },
|
|
'100%': { opacity: '1' },
|
|
},
|
|
slideUp: {
|
|
'0%': { opacity: '0', transform: 'translateY(10px)' },
|
|
'100%': { opacity: '1', transform: 'translateY(0)' },
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
</script>
|
|
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Merriweather:ital,wght@0,300;0,400;0,700;1,300;1,400&display=swap" rel="stylesheet">
|
|
<style>
|
|
body {
|
|
font-family: 'Inter', sans-serif;
|
|
background-color: #faf9f6; /* earth-50 */
|
|
background-image: radial-gradient(#e6e0d2 1px, transparent 1px);
|
|
background-size: 24px 24px;
|
|
}
|
|
.font-serif {
|
|
font-family: 'Merriweather', serif;
|
|
}
|
|
/* Custom scrollbar for minimalist look */
|
|
::-webkit-scrollbar {
|
|
width: 8px;
|
|
}
|
|
::-webkit-scrollbar-track {
|
|
background: transparent;
|
|
}
|
|
::-webkit-scrollbar-thumb {
|
|
background: #d2c6b0;
|
|
border-radius: 4px;
|
|
}
|
|
::-webkit-scrollbar-thumb:hover {
|
|
background: #bcab8e;
|
|
}
|
|
</style>
|
|
<script type="importmap">
|
|
{
|
|
"imports": {
|
|
"react-dom/": "https://aistudiocdn.com/react-dom@^19.2.0/",
|
|
"react-markdown": "https://aistudiocdn.com/react-markdown@^10.1.0",
|
|
"lucide-react": "https://aistudiocdn.com/lucide-react@^0.555.0",
|
|
"@google/genai": "https://aistudiocdn.com/@google/genai@^1.30.0",
|
|
"react/": "https://aistudiocdn.com/react@^19.2.0/",
|
|
"react": "https://aistudiocdn.com/react@^19.2.0",
|
|
"jspdf": "https://aistudiocdn.com/jspdf@^2.5.1"
|
|
}
|
|
}
|
|
</script>
|
|
</head>
|
|
<body>
|
|
<div id="root"></div>
|
|
</body>
|
|
</html> |