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(themes): updates themes and shadow styles (#4203)
Aidan Holloway-Bidwell7b0b06cebe6c
diff --git a/js/app/packages/app/index.css b/js/app/packages/app/index.cssindex 8dccba45a0..416fc4abbc 100644--- a/js/app/packages/app/index.css+++ b/js/app/packages/app/index.css@@ -110,7 +110,7 @@--color-accent-hover: oklch(var(--a0) / 0.20);--color-surface: var(--b0);- --color-drop-shadow: oklch(calc(var(--b0l) - 0.01 ) var(--b0c) var(--b0h) / 0.4);+ --color-drop-shadow: oklch(0.15 0 0 / 0.4);--color-message: color-mix(in oklch, var(--b1) 50%, var(--b2));--color-hover: var(--b2);--color-active: var(--b1);diff --git a/js/app/packages/entity/src/composed/ListEntity.tsx b/js/app/packages/entity/src/composed/ListEntity.tsxindex 02d2359d43..37a769e075 100644--- a/js/app/packages/entity/src/composed/ListEntity.tsx+++ b/js/app/packages/entity/src/composed/ListEntity.tsx@@ -202,9 +202,9 @@ export function ListEntity(props: ListEntityProps) {'min-h-10 mx-1': !isMobile(),'bg-accent/8': props.checked,'bg-accent/16': props.checked && props.highlighted,- 'bg-active/60':+ 'bg-hover/30':props.highlighted && !props.checked && !isTouchDevice(),- 'hover:bg-active/30':+ 'hover:bg-hover/30':!props.highlighted && !props.checked && !isTouchDevice(),})}diff --git a/js/app/packages/theme/components/ThemeList.tsx b/js/app/packages/theme/components/ThemeList.tsxindex 8d28f675a8..7c1d57ca8d 100644--- a/js/app/packages/theme/components/ThemeList.tsx+++ b/js/app/packages/theme/components/ThemeList.tsx@@ -34,7 +34,7 @@ function ThemeList() {tabIndex={0}class={cn('flex min-w-0 cursor-pointer items-center gap-2 rounded-lg border bg-surface p-2 transition-colors duration-[var(--transition)]',- selected() ? 'border-accent' : 'border-edge-muted hover:border-ink-muted'+ selected() ? 'border-accent' : 'border-edge-muted hover:bg-hover')}onClick={select}onKeyDown={(e) => {diff --git a/js/app/packages/theme/constants.ts b/js/app/packages/theme/constants.tsindex 40f9723987..84f6d48037 100644--- a/js/app/packages/theme/constants.ts+++ b/js/app/packages/theme/constants.ts@@ -64,10 +64,10 @@ export const DEFAULT_THEMES = [a3: { l: 0.71, c: 0.34, h: 141 },a4: { l: 0.71, c: 0.34, h: 181 },b0: { l: 0.14, c: 0.00, h: 21 },- b1: { l: 0.16, c: 0.00, h: 21 },- b2: { l: 0.18, c: 0.00, h: 21 },- b3: { l: 0.20, c: 0.00, h: 21 },- b4: { l: 0.23, c: 0.00, h: 21 },+ b1: { l: 0.19, c: 0.00, h: 21 },+ b2: { l: 0.23, c: 0.00, h: 21 },+ b3: { l: 0.26, c: 0.00, h: 21 },+ b4: { l: 0.30, c: 0.00, h: 21 },c0: { l: 0.95, c: 0.00, h: 21 },c1: { l: 0.83, c: 0.00, h: 21 },c2: { l: 0.75, c: 0.00, h: 21 },@@ -110,10 +110,10 @@ export const DEFAULT_THEMES = [a3: { l: 0.69, c: 0.17, h: 394 },a4: { l: 0.69, c: 0.17, h: 434 },b0: { l: 0.14, c: 0.01, h: 274 },- b1: { l: 0.16, c: 0.01, h: 274 },- b2: { l: 0.18, c: 0.01, h: 274 },- b3: { l: 0.20, c: 0.01, h: 274 },- b4: { l: 0.23, c: 0.01, h: 274 },+ b1: { l: 0.19, c: 0.01, h: 274 },+ b2: { l: 0.23, c: 0.01, h: 274 },+ b3: { l: 0.26, c: 0.01, h: 274 },+ b4: { l: 0.30, c: 0.01, h: 274 },c0: { l: 0.96, c: 0.01, h: 274 },c1: { l: 0.93, c: 0.01, h: 274 },c2: { l: 0.90, c: 0.01, h: 274 },@@ -227,14 +227,14 @@ export const DEFAULT_THEMES = [a4: { l: 0.60, c: 0.19, h: 310 },b0: { l: 0.98, c: 0.012, h: 292 },b1: { l: 0.96, c: 0.015, h: 292 },- b2: { l: 0.93, c: 0.018, h: 303 },- b3: { l: 0.88, c: 0.04, h: 165 },- b4: { l: 0.82, c: 0.05, h: 180 },- c0: { l: 0.21, c: 0.06, h: 150 },- c1: { l: 0.39, c: 0.05, h: 160 },- c2: { l: 0.51, c: 0.04, h: 170 },- c3: { l: 0.62, c: 0.03, h: 180 },- c4: { l: 0.72, c: 0.02, h: 190 },+ b2: { l: 0.89, c: 0.028, h: 303 },+ b3: { l: 0.93, c: 0.015, h: 300 },+ b4: { l: 0.91, c: 0.016, h: 300 },+ c0: { l: 0.30, c: 0.045, h: 150 },+ c1: { l: 0.39, c: 0.04, h: 150 },+ c2: { l: 0.49, c: 0.035, h: 152 },+ c3: { l: 0.59, c: 0.03, h: 152 },+ c4: { l: 0.69, c: 0.025, h: 155 },},},{@@ -252,9 +252,9 @@ export const DEFAULT_THEMES = [// Surfaces: near-neutral, warm paper highlight cooling to grey-blue edges, widening lightnessb0: { l: 0.98, c: 0.004, h: 80 },b1: { l: 0.96, c: 0.005, h: 80 },- b2: { l: 0.93, c: 0.006, h: 230 },- b3: { l: 0.87, c: 0.008, h: 250 },- b4: { l: 0.80, c: 0.010, h: 260 },+ b2: { l: 0.89, c: 0.012, h: 230 },+ b3: { l: 0.93, c: 0.006, h: 250 },+ b4: { l: 0.91, c: 0.006, h: 260 },// Text: near-black with a faint cool cast, warming slightly as it mutesc0: { l: 0.18, c: 0.006, h: 260 },c1: { l: 0.38, c: 0.006, h: 255 },@@ -278,7 +278,7 @@ export const DEFAULT_THEMES = [// Surfaces: light, multi-hued tints over a desaturated baseb0: { l: 0.913, c: 0.00, h: 123 },b1: { l: 0.875, c: 0.02, h: 215 },- b2: { l: 0.813, c: 0.045, h: 157 },+ b2: { l: 0.813, c: 0.045, h: 289 },b3: { l: 0.86, c: 0.00, h: 339.44 },b4: { l: 0.83, c: 0.00, h: 339.44 },// Text: near-black, neutral