- React + Vite + TypeScript + Tailwind + shadcn/ui - AI crop engine (Google Gemini 2.5 Flash) + local edge-detection engine - Pixel size outputs with configurable dimensions per ratio - Import/export config (backward compatible with old Python SmartCrop configs) - Crop editor with fixed-frame zoom/pan - ZIP export with multi-size scaling - Montserrat font, #FFC407 gold theme Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
94 lines
2 KiB
CSS
94 lines
2 KiB
CSS
@tailwind base;
|
|
@tailwind components;
|
|
@tailwind utilities;
|
|
|
|
@layer base {
|
|
:root {
|
|
--background: 40 10% 5%;
|
|
--foreground: 46 100% 51%;
|
|
|
|
--card: 40 10% 8%;
|
|
--card-foreground: 46 100% 51%;
|
|
|
|
--popover: 40 10% 8%;
|
|
--popover-foreground: 46 100% 51%;
|
|
|
|
--primary: 46 100% 41%;
|
|
--primary-foreground: 40 10% 5%;
|
|
|
|
--secondary: 40 15% 12%;
|
|
--secondary-foreground: 46 100% 51%;
|
|
|
|
--muted: 40 10% 12%;
|
|
--muted-foreground: 42 40% 35%;
|
|
|
|
--accent: 40 20% 15%;
|
|
--accent-foreground: 46 100% 51%;
|
|
|
|
--destructive: 0 80% 45%;
|
|
--destructive-foreground: 0 0% 100%;
|
|
|
|
--border: 42 30% 20%;
|
|
--input: 42 30% 20%;
|
|
--ring: 46 100% 51%;
|
|
|
|
--radius: 0.25rem;
|
|
|
|
--sidebar-background: 40 10% 6%;
|
|
--sidebar-foreground: 46 100% 51%;
|
|
--sidebar-primary: 46 100% 41%;
|
|
--sidebar-primary-foreground: 40 10% 5%;
|
|
--sidebar-accent: 40 15% 12%;
|
|
--sidebar-accent-foreground: 46 100% 51%;
|
|
--sidebar-border: 42 30% 20%;
|
|
--sidebar-ring: 46 100% 51%;
|
|
}
|
|
|
|
.dark {
|
|
--background: 40 10% 5%;
|
|
--foreground: 46 100% 51%;
|
|
|
|
--card: 40 10% 8%;
|
|
--card-foreground: 46 100% 51%;
|
|
|
|
--popover: 40 10% 8%;
|
|
--popover-foreground: 46 100% 51%;
|
|
|
|
--primary: 46 100% 41%;
|
|
--primary-foreground: 40 10% 5%;
|
|
|
|
--secondary: 40 15% 12%;
|
|
--secondary-foreground: 46 100% 51%;
|
|
|
|
--muted: 40 10% 12%;
|
|
--muted-foreground: 42 40% 35%;
|
|
|
|
--accent: 40 20% 15%;
|
|
--accent-foreground: 46 100% 51%;
|
|
|
|
--destructive: 0 80% 45%;
|
|
--destructive-foreground: 0 0% 100%;
|
|
|
|
--border: 42 30% 20%;
|
|
--input: 42 30% 20%;
|
|
--ring: 46 100% 51%;
|
|
--sidebar-background: 40 10% 6%;
|
|
--sidebar-foreground: 46 100% 51%;
|
|
--sidebar-primary: 46 100% 41%;
|
|
--sidebar-primary-foreground: 40 10% 5%;
|
|
--sidebar-accent: 40 15% 12%;
|
|
--sidebar-accent-foreground: 46 100% 51%;
|
|
--sidebar-border: 42 30% 20%;
|
|
--sidebar-ring: 46 100% 51%;
|
|
}
|
|
}
|
|
|
|
@layer base {
|
|
* {
|
|
@apply border-border;
|
|
}
|
|
|
|
body {
|
|
@apply bg-background text-foreground;
|
|
}
|
|
}
|