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
fix(ui): dechud theme list (#2821)
Fake-Userbe723d6f0e57
diff --git a/js/app/packages/block-theme/components/ThemeList.tsx b/js/app/packages/block-theme/components/ThemeList.tsxindex 70450e0900..014eb59325 100644--- a/js/app/packages/block-theme/components/ThemeList.tsx+++ b/js/app/packages/block-theme/components/ThemeList.tsx@@ -2,7 +2,6 @@ import { currentThemeId, isThemeSaved, themes } from '../signals/themeSignals';import { useAnalytics } from 'app/component/analytics-context';import { applyTheme } from '../utils/themeUtils';import { ColorSwatch } from './ColorSwatch';-import { cn } from '@ui/utils/classname';import { For } from 'solid-js';@@ -58,6 +57,7 @@ export function ThemeList() {<divstyle="font-family: var(--font-sans);+ background-color: var(--b1);scrollbar-width: none;position: relative;overflow: hidden;@@ -78,13 +78,17 @@ export function ThemeList() {><divstyle="+ background-color: var(--color-edge-muted);box-sizing: border-box;overflow-x: hidden;display: grid;+ gap: 1px;"><divstyle="+ border-bottom: 1px solid var(--color-edge-muted);+ background-color: var(--b1);align-items: center;position: absolute;padding: 0 20px;@@ -92,19 +96,15 @@ export function ThemeList() {height: 42px;width: 100%;z-index: 1;- border-bottom: 1px solid oklch(from var(--color-edge-muted) l c h / 0.5);"><div style="font-size: var(--text-xs);">Theme List</div></div>- <div style="height: 40px;" />+ <div style="height: 41px;" /><For each={themes()}>{(theme) => (<div- class={cn(- 'theme-list-item font-mono text-xs text-ink-extra-muted',- theme.id === currentThemeId() && isThemeSaved() && 'current-theme'- )}+ class={`theme-list-item ${theme.id === currentThemeId() && isThemeSaved() ? 'current-theme' : ''}`}onClick={() => {analytics.track('theme_changed', {themeId: theme.id})applyTheme(theme.id)@@ -112,6 +112,7 @@ export function ThemeList() {style="grid-template-columns: min-content 1fr min-content;cursor: var(--cursor-pointer);+ background-color: var(--b1);align-items: center;padding: 10px 20px;display: grid;