Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions staged/src/lib/features/projects/ProjectHome.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -262,9 +262,9 @@
const branches = branchesByProject.get(project.id) || [];
const repoCount = repoCountsByProject.get(project.id) || 0;

// If no repos, safe to delete
// Don't show red styling for projects with no repos — there's nothing
// to call attention to when no repositories have been added yet.
if (repoCount === 0) {
nextSafe.add(project.id);
continue;
}

Expand Down
5 changes: 5 additions & 0 deletions staged/src/lib/features/projects/ProjectSection.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -308,6 +308,11 @@

.header-action-button.safe-delete {
color: var(--ui-danger);
border: 1px solid var(--ui-danger);
}

.header-action-button.safe-delete .trash-icon {
color: var(--ui-danger);
}

.detecting-status {
Expand Down