Skip to content

armgit / macro

Public Imported from GitHub
0

Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.

style(sidebar): sidebar and top bar style tweaks (#3454)

Seamus32f01fb4ebd6
diff --git a/js/app/packages/app/component/app-sidebar/sidebar.tsx b/js/app/packages/app/component/app-sidebar/sidebar.tsx
index 15ef0f523b..6cabf63aca 100644
--- a/js/app/packages/app/component/app-sidebar/sidebar.tsx
+++ b/js/app/packages/app/component/app-sidebar/sidebar.tsx
@@ -826,34 +826,38 @@ export const AppSidebar = (props: AppSidebarProps) => {
<div class="flex items-center gap-1 mr-1">
<Show when={showEnableNotifications()}>
<Button
- class="size-7 rounded-xs p-1 [&_svg]:size-4"
+ class="rounded-md p-1 text-ink-extra-muted"
+ size="icon-sm"
label="Enable Notifications"
onClick={handleEnableNotifications}
>
- <BellIcon class="size-4" />
+ <BellIcon />
</Button>
</Show>
<Button
- class="size-7 rounded-xs p-1 [&_svg]:size-4"
- label="New Split"
- hotkey={TOKENS.global.createNewSplit}
- disabled={!canCreateNewSplit()}
- onClick={handleNewSplitClick}
- >
- <AnimatedNewSplitIcon />
- </Button>
- <Button
- class="size-7 rounded-xs p-1 [&_svg]:size-4"
+ class="rounded-md p-1 text-ink-extra-muted"
+ size="icon-sm"
label="Command"
hotkey={TOKENS.global.commandMenu}
onClick={handleCommandPaletteClick}
>
<CommandKIcon />
</Button>
+ <Button
+ class="rounded-md p-1 text-ink-extra-muted"
+ size="icon-sm"
+ label="New Split"
+ hotkey={TOKENS.global.createNewSplit}
+ disabled={!canCreateNewSplit()}
+ onClick={handleNewSplitClick}
+ >
+ <AnimatedNewSplitIcon class="size-4" />
+ </Button>
</div>
</Show>
<Button
- class="size-7 rounded-xs p-1 [&_svg]:size-4"
+ class="rounded-md p-1 text-ink-extra-muted [&_svg]:size-4"
+ size="icon-sm"
onMouseDown={(e) => {
if (e.button !== 0) return;
e.preventDefault();
diff --git a/js/app/packages/app/component/next-soup/soup-view/filters-bar/soup-view-search-bar.tsx b/js/app/packages/app/component/next-soup/soup-view/filters-bar/soup-view-search-bar.tsx
index d86e903e75..676da812ca 100644
--- a/js/app/packages/app/component/next-soup/soup-view/filters-bar/soup-view-search-bar.tsx
+++ b/js/app/packages/app/component/next-soup/soup-view/filters-bar/soup-view-search-bar.tsx
@@ -142,7 +142,7 @@ export const SoupSearchbar = (props: SoupSearchbarProps) => {
return (
<div
- class="w-full flex items-center shrink-0 grow min-w-0 mobile:-order-2"
+ class="w-full items-center shrink-0 grow min-w-0 mobile:-order-2"
data-search-bar-wrapper
data-no-focus-restore
onFocusOut={(e) => {
@@ -154,7 +154,7 @@ export const SoupSearchbar = (props: SoupSearchbarProps) => {
>
<div
class={cn(
- 'group w-full relative flex items-center gap-1 rounded-lg mobile:h-9 pl-1 pr-1 py-1 mobile:min-w-35 border text-xs',
+ 'group w-full relative flex items-center gap-1 rounded-lg h-7 mobile:h-9 pl-1 pr-1 py-1 mobile:min-w-35 border text-xs',
variantStyles[props.variant ?? 'secondary']
)}
>
diff --git a/js/app/packages/app/component/next-soup/soup-view/soup-view-create-button.tsx b/js/app/packages/app/component/next-soup/soup-view/soup-view-create-button.tsx
index 5a90dabda7..9e7e358d16 100644
--- a/js/app/packages/app/component/next-soup/soup-view/soup-view-create-button.tsx
+++ b/js/app/packages/app/component/next-soup/soup-view/soup-view-create-button.tsx
@@ -11,7 +11,7 @@ import {
openFolderPicker,
} from '@core/util/upload';
import ChevronDownIcon from '@phosphor/caret-down.svg';
-import PlusCircleIcon from '@phosphor/plus.svg';
+import PlusCircleIcon from '@phosphor/plus-circle.svg';
import UploadIcon from '@phosphor/upload-simple.svg';
import { Button, cn, Dropdown } from '@ui';
import { createMemo, For, Show } from 'solid-js';
diff --git a/js/app/packages/app/component/next-soup/soup-view/soup-view.tsx b/js/app/packages/app/component/next-soup/soup-view/soup-view.tsx
index b658da3955..460ac4ef47 100644
--- a/js/app/packages/app/component/next-soup/soup-view/soup-view.tsx
+++ b/js/app/packages/app/component/next-soup/soup-view/soup-view.tsx
@@ -531,7 +531,7 @@ export const SoupView = (props: SoupViewProps) => {
<Tooltip label="Search" hotkey={TOKENS.soup.openSearch}>
<Button
variant="base"
- class="p-1 rounded-lg ml-2 bg-surface"
+ class="p-1 size-7 rounded-lg ml-2 bg-surface"
onClick={() => setNarrowSearchExpanded(true)}
depth={2}
>