This commit simplifies the Vite configuration by removing unnecessary options like `base`, `sourcemap`, and custom `rollupOptions`. It also removes the explicit server port definition, allowing Vite to manage it. Additionally, minor styling adjustments are made to the scrollbar in `index.html` and default values for select inputs in `AccountsPayableView` are updated for clarity. The `engines` property was removed from `package.json` as it's not strictly necessary for typical development workflows.
89 lines
2.5 KiB
HTML
89 lines
2.5 KiB
HTML
|
|
<!DOCTYPE html>
|
|
<html lang="pt-BR">
|
|
<head>
|
|
<meta charset="utf-8" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
<title>ComFi</title>
|
|
<script src="https://cdn.tailwindcss.com"></script>
|
|
<style>
|
|
@font-face {
|
|
font-family: 'Akzidenz Grotesk';
|
|
src: local('Akzidenz Grotesk'), local('AkzidenzGrotesk'), local('Helvetica Neue'), local('Helvetica'), local('Arial'), sans-serif;
|
|
}
|
|
|
|
body {
|
|
font-family: 'Akzidenz Grotesk', 'Helvetica Neue', Helvetica, Arial, sans-serif;
|
|
background-color: #F8FAFC; /* Slate 50 */
|
|
}
|
|
/* Custom scrollbar */
|
|
::-webkit-scrollbar {
|
|
width: 8px;
|
|
height: 8px;
|
|
}
|
|
::-webkit-scrollbar-track {
|
|
background: transparent;
|
|
}
|
|
::-webkit-scrollbar-thumb {
|
|
background: #CBD5E1;
|
|
border-radius: 4px;
|
|
}
|
|
::-webkit-scrollbar-thumb:hover {
|
|
background: #94A3B8;
|
|
}
|
|
</style>
|
|
<script>
|
|
tailwind.config = {
|
|
theme: {
|
|
extend: {
|
|
fontFamily: {
|
|
sans: ['Akzidenz Grotesk', 'Helvetica Neue', 'Helvetica', 'Arial', 'sans-serif'],
|
|
},
|
|
colors: {
|
|
primary: {
|
|
50: '#fff7ed',
|
|
100: '#ffedd5',
|
|
200: '#fed7aa',
|
|
300: '#fdba74',
|
|
400: '#fb923c',
|
|
500: '#f97316',
|
|
600: '#ea580c',
|
|
},
|
|
secondary: {
|
|
900: '#0f172a',
|
|
800: '#1e293b',
|
|
}
|
|
},
|
|
borderRadius: {
|
|
'xl': '1rem',
|
|
'2xl': '1.5rem',
|
|
'3xl': '2rem',
|
|
}
|
|
}
|
|
}
|
|
}
|
|
</script>
|
|
<script type="importmap">
|
|
{
|
|
"imports": {
|
|
"react": "https://esm.sh/react@^19.2.4",
|
|
"react-dom/": "https://esm.sh/react-dom@^19.2.4/",
|
|
"react/": "https://esm.sh/react@^19.2.4/",
|
|
"recharts": "https://esm.sh/recharts@^3.7.0",
|
|
"lucide-react": "https://esm.sh/lucide-react@^0.563.0",
|
|
"@google/genai": "https://esm.sh/@google/genai@^1.40.0",
|
|
"vite": "https://esm.sh/vite@^7.3.1",
|
|
"@vitejs/plugin-react": "https://esm.sh/@vitejs/plugin-react@^5.1.3",
|
|
"express": "https://esm.sh/express@^5.2.1",
|
|
"path": "https://esm.sh/path@^0.12.7",
|
|
"url": "https://esm.sh/url@^0.11.4"
|
|
}
|
|
}
|
|
</script>
|
|
</head>
|
|
<body>
|
|
<div id="root"></div>
|
|
<script type="module" src="/index.tsx"></script>
|
|
</body>
|
|
</html>
|