Files
auto-stock/frontend/src/index.css
2025-11-14 11:05:31 +09:00

63 lines
1.3 KiB
CSS

@tailwind base;
@tailwind components;
@tailwind utilities;
:root {
font-family: Inter, system-ui, Avenir, Helvetica, Arial, sans-serif;
line-height: 1.5;
font-weight: 400;
color-scheme: light dark;
color: rgba(255, 255, 255, 0.87);
background-color: #0f172a;
font-synthesis: none;
text-rendering: optimizeLegibility;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
body {
margin: 0;
min-width: 320px;
min-height: 100vh;
}
#root {
width: 100%;
min-height: 100vh;
}
@layer components {
.card {
@apply bg-slate-800 rounded-lg shadow-lg p-6;
}
.btn {
@apply px-4 py-2 rounded-lg font-medium transition-colors;
}
.btn-primary {
@apply btn bg-primary hover:bg-blue-700 text-white;
}
.btn-success {
@apply btn bg-success hover:bg-green-700 text-white;
}
.btn-danger {
@apply btn bg-danger hover:bg-red-700 text-white;
}
.btn-secondary {
@apply btn bg-secondary hover:bg-slate-600 text-white;
}
.input {
@apply w-full px-3 py-2 bg-slate-700 border border-slate-600 rounded-lg text-white focus:outline-none focus:ring-2 focus:ring-primary;
}
.label {
@apply block text-sm font-medium text-slate-300 mb-1;
}
}