Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.
TypeScript agentaiai-agentsall-in-onecrmcrm-systememaillinearmcpmessagingnotesnotionofficerustslackslack-alternativestartupstartup-toolstypescriptworkspace
style(launcher): use item colors not active for selected el (#3228)
Seamusd9d57c8f54a0
diff --git a/js/app/packages/app/component/Launcher.tsx b/js/app/packages/app/component/Launcher.tsxindex e7bdef6637..117a1374f5 100644--- a/js/app/packages/app/component/Launcher.tsx+++ b/js/app/packages/app/component/Launcher.tsx@@ -393,7 +393,7 @@ const LauncherMenuItem = (props: LauncherMenuItemProps) => {' size-28 relative flex flex-col sm:gap-4 gap-2 items-center isolate justify-center bg-surface ring ring-edge-muted transition-transform ease-click duration-200 rounded-sm',`create-menu-${props.creatableBlock.label.toLowerCase()}`,{- '-translate-y-2 text-ink bg-active': props.focused,+ '-translate-y-2 text-ink': props.focused,'text-ink-extra-muted': !props.focused,})}@@ -408,16 +408,16 @@ const LauncherMenuItem = (props: LauncherMenuItemProps) => {><divclass={cn(- 'absolute size-full inset-0 transition-transform origin-top opacity-20 ease duration-200 mix-blend-color',+ 'absolute size-full inset-0 transition-transform origin-top ease duration-200',getIconConfig(props.creatableBlock.blockName).background,{- 'scale-y-0': !props.focused,- 'scale-y-100': props.focused,+ 'opacity-0': !props.focused,+ 'opacity-20': props.focused,})}></div>- <div class="absolute top-1.5 left-2 z-user-highlight p-1 px-1.5 bg-surface text-ink border border-edge-muted rounded-xs text-xs">+ <div class="absolute top-1.5 left-2 z-user-highlight p-1 px-1.5 text-ink border border-edge-muted rounded-xs text-xs"><Hotkey token={props.creatableBlock.hotkeyToken} /></div>@@ -450,8 +450,8 @@ const LauncherMenuItem = (props: LauncherMenuItemProps) => {when={ENABLE_ANIMATED_ICONS && AnimatedIcon}fallback={<Dynamic component={StaticIcon} />}>- {(Icon) => (- <Dynamic component={Icon()} triggerAnimation={props.focused} />+ {(icon) => (+ <Dynamic component={icon()} triggerAnimation={props.focused} />)}</Show></div>diff --git a/js/app/packages/app/index.css b/js/app/packages/app/index.cssindex 7c805c4520..9daa303608 100644--- a/js/app/packages/app/index.css+++ b/js/app/packages/app/index.css@@ -129,7 +129,7 @@--color-task: oklch(from var(--a0) l c 150deg);--color-calendar: oklch(0.8159 0.2849 98.77);--color-contact: oklch(0.8617 0.1837 93.83);- --color-email: var(--theme-email);+ --color-email: var(--c1);--color-default: var(--c1);/* SCUFFED We probably want to let the theme determine 3 or 4 "extra" hue offsets. Rights now these are only being */diff --git a/js/app/packages/core/component/EntityIcon.tsx b/js/app/packages/core/component/EntityIcon.tsxindex 2222591b29..4293fb7398 100644--- a/js/app/packages/core/component/EntityIcon.tsx+++ b/js/app/packages/core/component/EntityIcon.tsx@@ -89,169 +89,169 @@ export const ENTITY_ICON_CONFIGS: Record<EntityWithValidIcon, IconConfig> = {call: {icon: PhoneCall,foreground: 'text-default',- background: 'bg-default-bg',+ background: 'bg-default/20',prettyName: 'Call',},canvas: {icon: Canvas,foreground: 'text-canvas',- background: 'bg-canvas-bg',+ background: 'bg-canvas/20',prettyName: 'Canvas',},html: {icon: FileHtml,foreground: 'text-html',- background: 'bg-html-bg',+ background: 'bg-html/20',prettyName: 'Webpage',},channel: {icon: WideChannel,foreground: 'text-default',- background: 'bg-default-bg',+ background: 'bg-default/20',prettyName: 'Channel',},public: {icon: GlobeIcon,foreground: 'text-default',- background: 'bg-default-bg',+ background: 'bg-default/20',prettyName: 'Public Channel',},organization: {icon: Building,foreground: 'text-default',- background: 'bg-default-bg',+ background: 'bg-default/20',prettyName: 'Organization Channel',},private: {icon: WideChannel,foreground: 'text-default',- background: 'bg-default-bg',+ background: 'bg-default/20',prettyName: 'Private Channel',},direct_message: {icon: Users,foreground: 'text-default',- background: 'bg-default-bg',+ background: 'bg-default/20',prettyName: 'Direct Message',},team: {icon: Users,foreground: 'text-default',- background: 'bg-default-bg',+ background: 'bg-default/20',prettyName: 'Team Channel',},email: {icon: Email,foreground: 'text-email',- background: 'bg-email-bg',+ background: 'bg-email/20',prettyName: 'Email',},code: {icon: FileCode,foreground: 'text-code',- background: 'bg-code-bg',+ background: 'bg-code/20',prettyName: 'Code',},csv: {icon: WideCsv,foreground: 'text-code',- background: 'bg-code-bg',+ background: 'bg-code/20',prettyName: 'CSV',},pdf: {icon: FilePdf,foreground: 'text-pdf',- background: 'bg-pdf-bg',+ background: 'bg-pdf/20',prettyName: 'PDF',},md: {icon: FileMd,foreground: 'text-note',- background: 'bg-note-bg',+ background: 'bg-note/20',prettyName: 'Note',},image: {icon: FileImage,foreground: 'text-image',- background: 'bg-image-bg',+ background: 'bg-image/20',prettyName: 'Image',},write: {icon: FileDoc,foreground: 'text-write',- background: 'bg-write-bg',+ background: 'bg-write/20',prettyName: 'Document',},chat: {icon: Chat,foreground: 'text-chat',- background: 'bg-chat-bg',+ background: 'bg-chat/20',prettyName: 'Chat',},project: {icon: Folder,foreground: 'text-folder',- background: 'bg-folder-bg',+ background: 'bg-folder/20',prettyName: 'Folder',},sharedProject: {icon: FolderUser,foreground: 'text-folder',- background: 'bg-folder-bg',+ background: 'bg-folder/20',prettyName: 'Shared Folder',},unknown: {icon: File,foreground: 'text-default',- background: 'bg-default-bg',+ background: 'bg-default/20',prettyName: 'File',},archive: {icon: FileArchive,foreground: 'text-default',- background: 'bg-default-bg',+ background: 'bg-default/20',prettyName: 'Archive',},video: {icon: FileVideo,foreground: 'text-video',- background: 'bg-video-bg',+ background: 'bg-video/20',prettyName: 'Video',},contact: {icon: User,foreground: 'text-default',- background: 'bg-default-bg',+ background: 'bg-default/20',prettyName: 'Contact',},default: {icon: File,foreground: 'text-default',- background: 'bg-default-bg',+ background: 'bg-default/20',prettyName: 'File',},emailRead: {icon: EmailRead,foreground: 'text-default',- background: 'bg-default-bg',+ background: 'bg-default/20',prettyName: 'Read Email',},emailInvite: {icon: WideCalendar,foreground: 'text-calendar',- background: 'bg-calendar-bg',+ background: 'bg-calendar/20',prettyName: 'Calendar Invite',},task: {icon: Check,foreground: 'text-task',- background: 'bg-task-bg',+ background: 'bg-task/20',prettyName: 'Task',},automation: {icon: Robot,foreground: 'text-default',- background: 'bg-default-bg',+ background: 'bg-default/20',prettyName: 'Automation',},};