mirror of
https://github.com/AutoMaker-Org/automaker.git
synced 2026-01-31 06:42:03 +00:00
feat: enhance worktree listing by scanning external directories
- Implemented a new function to scan the .worktrees directory for worktrees that may exist outside of git's management, allowing for better detection of externally created or corrupted worktrees. - Updated the /list endpoint to include discovered worktrees in the response, improving the accuracy of the worktree listing. - Added logging for discovered worktrees to aid in debugging and tracking. - Cleaned up and organized imports in the list.ts file for better maintainability.
This commit is contained in:
@@ -298,7 +298,14 @@
|
||||
}
|
||||
}
|
||||
|
||||
.light {
|
||||
/* IMPORTANT:
|
||||
* Theme classes like `.light` are applied to `:root` (html).
|
||||
* Some third-party libraries (e.g. React Flow) also add `.light`/`.dark` classes
|
||||
* to nested containers. If we define CSS variables on `.light` broadly, those
|
||||
* nested containers will override the app theme and cause "white cards" in dark themes.
|
||||
* Scoping to `:root.light` ensures only the root theme toggle controls variables.
|
||||
*/
|
||||
:root.light {
|
||||
/* Explicit light mode - same as root but ensures it overrides any dark defaults */
|
||||
--background: oklch(1 0 0); /* White */
|
||||
--background-50: oklch(1 0 0 / 0.5);
|
||||
|
||||
Reference in New Issue
Block a user