diff --git a/Makefile b/Makefile index e74cb0d..4350ed0 100644 --- a/Makefile +++ b/Makefile @@ -19,10 +19,10 @@ build: ## Build the application for production build-debug: ## Build in debug mode pnpm tauri build --debug -run: ## Build, kill old instance, and launch the app for quick testing - pnpm tauri build - -pkill -x Timlyzer 2>/dev/null; sleep 1 - open src-tauri/target/release/bundle/macos/Timlyzer.app +run: ## Build release binary (no bundle), kill old instance, and launch + pnpm tauri build --no-bundle + -pkill -x Timlyzer 2>/dev/null; pkill -x timlyzer 2>/dev/null; sleep 1 + ./src-tauri/target/release/timlyzer & # Quality Checks check: ## Check Rust code for errors diff --git a/src/index.css b/src/index.css index f59e2d8..f96e103 100644 --- a/src/index.css +++ b/src/index.css @@ -108,14 +108,21 @@ input[type="range"]::-moz-range-thumb { /* Radio Input */ input[type="radio"] { - @apply w-4 h-4 text-slate-600 border-slate-300 dark:border-slate-600; - @apply focus:ring-slate-500 focus:ring-2; + @apply w-4 h-4 border-slate-300 dark:border-slate-500; + @apply focus:ring-2; + accent-color: theme('colors.slate.600'); } /* Checkbox Input */ input[type="checkbox"] { - @apply w-4 h-4 text-slate-600 border-slate-300 dark:border-slate-600 rounded; - @apply focus:ring-slate-500 focus:ring-2; + @apply w-4 h-4 border-slate-300 dark:border-slate-500 rounded; + @apply focus:ring-2; + accent-color: theme('colors.slate.600'); +} + +.dark input[type="radio"], +.dark input[type="checkbox"] { + accent-color: theme('colors.green.500'); } /* Text Input */ diff --git a/src/pages/SettingsPage.tsx b/src/pages/SettingsPage.tsx index 8a77758..381fe9f 100644 --- a/src/pages/SettingsPage.tsx +++ b/src/pages/SettingsPage.tsx @@ -277,8 +277,8 @@ export function SettingsPage() { className={cn( "relative w-11 h-6 rounded-full transition-colors", autostartEnabled - ? "bg-primary-500" - : "bg-slate-200 dark:bg-slate-700" + ? "bg-primary-500 dark:bg-green-500" + : "bg-slate-300 dark:bg-slate-600 dark:ring-1 dark:ring-slate-400" )} >