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(core): remove optical sizing (#1891)
Seamus63959dc7bc4c
diff --git a/js/app/packages/app/component/HotkeyExample.tsx b/js/app/packages/app/component/HotkeyExample.tsxindex 2b07606ca8..8cfb9d3414 100644--- a/js/app/packages/app/component/HotkeyExample.tsx+++ b/js/app/packages/app/component/HotkeyExample.tsx@@ -42,9 +42,9 @@ export function HotkeyExample(props: HotkeyExampleProps) {showPlusclass="font-mono text-base h-9 min-w-9 px-3 flex items-center justify-center gap-2 border transition-all duration-300"classList={{- "border-accent/75 bg-accent/75 text-panel [font-variation-settings:'wght'_600]":+ 'border-accent/75 bg-accent/75 text-panel':item.executed(),- "bg-input border-edge-muted text-accent/75 [font-variation-settings:'wght'_400]":+ 'bg-input border-edge-muted text-accent/75':!item.executed(),}}/>diff --git a/js/app/packages/block-md/component/TitleEditor.tsx b/js/app/packages/block-md/component/TitleEditor.tsxindex 6cd38a40ab..e4ff6c6a51 100644--- a/js/app/packages/block-md/component/TitleEditor.tsx+++ b/js/app/packages/block-md/component/TitleEditor.tsx@@ -280,7 +280,7 @@ export function TitleEditor(props: { autoFocusOnMount?: boolean } = {}) {<div class="relative"><divcontentEditable={canEdit() ?? false}- class="text-4xl font-semibold **:optical-24!"+ class="text-4xl font-semibold"classList={{'select-auto': !canEdit(),}}@@ -294,7 +294,7 @@ export function TitleEditor(props: { autoFocusOnMount?: boolean } = {}) {useBlockBoundary={true}/><Show when={showFallback()}>- <div class="text-4xl font-semibold optical-32 text-ink-placeholder absolute top-0 pointer-events-none">+ <div class="text-4xl font-semibold text-ink-placeholder absolute top-0 pointer-events-none">{titlePlaceholder() ?? titlePlaceholderFallback}</div></Show>diff --git a/js/app/packages/core/component/LexicalMarkdown/theme.ts b/js/app/packages/core/component/LexicalMarkdown/theme.tsindex d0a783d6bd..b9fa79e3a6 100644--- a/js/app/packages/core/component/LexicalMarkdown/theme.ts+++ b/js/app/packages/core/component/LexicalMarkdown/theme.ts@@ -148,9 +148,9 @@ export function createTheme(export const aiChatTheme = createTheme({heading: {- h1: 'text-2xl font-bold mt-5',- h2: 'text-xl font-bold mt-4',- h3: 'text-l font-bold mt-3',+ h1: 'text-2xl font-semibold mb-5',+ h2: 'text-xl font-semibold mb-4',+ h3: 'text-l font-semibold mb-3',h4: 'text-base font-medium',h5: 'text-base font-medium',h6: 'text-base font-medium',