tweak(ui): use new-session icon in sidebar buttons

This commit is contained in:
David Hill
2026-03-13 00:04:43 +00:00
committed by Adam
parent 050d71bcf9
commit 1cbe7b0854
4 changed files with 6 additions and 6 deletions

View File

@@ -2066,7 +2066,7 @@ export default function Layout(props: ParentProps) {
<div class="shrink-0 py-4">
<Button
size="large"
icon="plus-small"
icon="new-session"
class="w-full"
onClick={() => navigateWithSidebarReset(`/${base64Encode(p().worktree)}/session`)}
>

View File

@@ -384,7 +384,7 @@ export const NewSessionItem = (props: {
>
<div class="flex items-center gap-1 w-full">
<div class="shrink-0 size-6 flex items-center justify-center">
<Icon name="plus-small" size="small" class="text-icon-weak" />
<Icon name="new-session" size="small" class="text-icon-weak" />
</div>
<span class="text-14-regular text-text-strong grow-1 min-w-0 overflow-hidden text-ellipsis truncate">
{label}

View File

@@ -217,7 +217,7 @@ const WorkspaceActions = (props: {
<Show when={!props.touch()}>
<Tooltip value={props.language.t("command.session.new")} placement="top">
<IconButton
icon="plus-small"
icon="new-session"
variant="ghost"
class="size-6 rounded-md opacity-0 pointer-events-none group-hover/workspace:opacity-100 group-hover/workspace:pointer-events-auto group-focus-within/workspace:opacity-100 group-focus-within/workspace:pointer-events-auto"
data-action="workspace-new-session"