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.

feat(ui): flatten tokens (#3224)

Fake-Userfad4eadc2d07
diff --git a/js/app/packages/app/component/ChatWithAgentButton.tsx b/js/app/packages/app/component/ChatWithAgentButton.tsx
index 69f68c2d3d..85343f8522 100644
--- a/js/app/packages/app/component/ChatWithAgentButton.tsx
+++ b/js/app/packages/app/component/ChatWithAgentButton.tsx
@@ -96,7 +96,7 @@ export function ChatWithAgentButton(props: { entity: ChatWithAgentEntity }) {
onMouseLeave={() => setHovering(false)}
onClick={() => openChatWithAgent(props.entity)}
depth={2}
- class="bg-panel text-ink-muted"
+ class="bg-surface text-ink-muted"
>
<AnimatedStarIcon triggerAnimation={hovering()} />
<span class="text-xs">Chat</span>
diff --git a/js/app/packages/app/component/EntityModal/EntityModal.tsx b/js/app/packages/app/component/EntityModal/EntityModal.tsx
index a8e080d1c4..5ca664e2ee 100644
--- a/js/app/packages/app/component/EntityModal/EntityModal.tsx
+++ b/js/app/packages/app/component/EntityModal/EntityModal.tsx
@@ -38,7 +38,7 @@ export const EntityModalActionFooter = (props: {
'uppercase py-1 px-3 font-mono text-sm',
props.isDisabled
? 'bg-edge text-ink-placeholder cursor-not-allowed'
- : 'bg-accent text-menu'
+ : 'bg-accent text-surface'
)}
onClick={props.onConfirm}
disabled={props.isDisabled}
@@ -76,7 +76,7 @@ const EntityModalContent = (props: {
>
<div
ref={entityModalContentRef}
- class="pointer-events-auto w-full max-w-[min(36rem,calc(100%-1rem))] mx-auto mt-16 bg-menu border border-edge h-fit p-2"
+ class="pointer-events-auto w-full max-w-[min(36rem,calc(100%-1rem))] mx-auto mt-16 bg-surface border border-edge h-fit p-2"
>
<div class="w-full my-1">
<Show when={props.view() === 'rename'}>
diff --git a/js/app/packages/app/component/EntityModal/MoveToProjectView.tsx b/js/app/packages/app/component/EntityModal/MoveToProjectView.tsx
index 707250c5db..d8036c26af 100644
--- a/js/app/packages/app/component/EntityModal/MoveToProjectView.tsx
+++ b/js/app/packages/app/component/EntityModal/MoveToProjectView.tsx
@@ -419,7 +419,7 @@ export const MoveToProjectView = (props: {
placeholder="Search folders..."
value={searchQuery()}
onInput={(e) => setSearchQuery(e.currentTarget.value)}
- class="w-full p-2 text-sm border border-edge bg-menu text-ink placeholder:text-ink-placeholder focus:outline-none selection:bg-ink selection:text-panel"
+ class="w-full p-2 text-sm border border-edge bg-surface text-ink placeholder:text-ink-placeholder focus:outline-none selection:bg-ink selection:text-surface"
/>
</div>
<div class="w-full max-h-64 h-75 overflow-hidden">
diff --git a/js/app/packages/app/component/EntityModal/RenameView.tsx b/js/app/packages/app/component/EntityModal/RenameView.tsx
index 6e283d17bc..bca86b1627 100644
--- a/js/app/packages/app/component/EntityModal/RenameView.tsx
+++ b/js/app/packages/app/component/EntityModal/RenameView.tsx
@@ -56,7 +56,7 @@ export const RenameView = (props: {
value={editValue()}
onInput={(e) => setEditValue(e.currentTarget.value)}
onKeyDown={handleKeyDown}
- class="w-full p-2 text-sm border border-edge bg-menu text-ink placeholder:text-ink-placeholder focus:outline-none focus:bg-active selection:bg-ink selection:text-panel"
+ class="w-full p-2 text-sm border border-edge bg-surface text-ink placeholder:text-ink-placeholder focus:outline-none focus:bg-active selection:bg-ink selection:text-surface"
placeholder="Enter title..."
/>
</div>
diff --git a/js/app/packages/app/component/EntitySelectionToolbarModal.tsx b/js/app/packages/app/component/EntitySelectionToolbarModal.tsx
index 8c8de72f6c..45705a178c 100644
--- a/js/app/packages/app/component/EntitySelectionToolbarModal.tsx
+++ b/js/app/packages/app/component/EntitySelectionToolbarModal.tsx
@@ -17,7 +17,7 @@ export const EntitySelectionToolbarModal = (
<ScopedPortal scope="split">
<div class="absolute left-1/2 bottom-16 -translate-x-1/2">
{/*<div class="absolute size-full pattern-edge-muted pattern-diagonal-4 left-1 top-1 -z-1" />*/}
- <div class="text-sm font-bold flex rounded-sm flex-row items-center gap-2 p-2 bg-menu border border-edge-muted">
+ <div class="text-sm font-bold flex rounded-sm flex-row items-center gap-2 p-2 bg-surface border border-edge-muted">
<div class="flex items-center">
<button
type="button"
diff --git a/js/app/packages/app/component/HotkeyDebugger.tsx b/js/app/packages/app/component/HotkeyDebugger.tsx
index c31529f018..f7bc49ab7e 100644
--- a/js/app/packages/app/component/HotkeyDebugger.tsx
+++ b/js/app/packages/app/component/HotkeyDebugger.tsx
@@ -71,11 +71,11 @@ export default function HotkeyDebugger() {
});
return (
- <div class="flex size-full flex-col overflow-hidden bg-dialog font-mono text-xs text-ink">
+ <div class="flex size-full flex-col overflow-hidden bg-surface font-mono text-xs text-ink">
<SplitHeaderLeft>
<StaticSplitLabel label="Hotkey Debugger" />
</SplitHeaderLeft>
- <div class="flex flex-col gap-2 border-b border-edge bg-panel px-4 py-3">
+ <div class="flex flex-col gap-2 border-b border-edge bg-surface px-4 py-3">
<div class="flex items-baseline gap-2">
<span class="text-ink-muted">
active scope:{' '}
@@ -112,7 +112,7 @@ export default function HotkeyDebugger() {
<div class="flex-1 overflow-auto">
<table class="w-full border-collapse">
- <thead class="sticky top-0 z-10 bg-panel">
+ <thead class="sticky top-0 z-10 bg-surface">
<tr class="text-left text-xxs uppercase tracking-wide text-ink-muted">
<th class="border-b border-edge px-3 py-2 font-normal">Lvl</th>
<th class="border-b border-edge px-3 py-2 font-normal">Scope</th>
diff --git a/js/app/packages/app/component/Launcher.tsx b/js/app/packages/app/component/Launcher.tsx
index f389fd378d..e7bdef6637 100644
--- a/js/app/packages/app/component/Launcher.tsx
+++ b/js/app/packages/app/component/Launcher.tsx
@@ -390,7 +390,7 @@ const LauncherMenuItem = (props: LauncherMenuItemProps) => {
<Layer depth={2}>
<button
class={cn(
- ' size-28 relative flex flex-col sm:gap-4 gap-2 items-center isolate justify-center bg-panel ring ring-edge-muted transition-transform ease-click duration-200 rounded-sm',
+ ' 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,
@@ -417,7 +417,7 @@ const LauncherMenuItem = (props: LauncherMenuItemProps) => {
)}
></div>
- <div class="absolute top-1.5 left-2 z-user-highlight p-1 px-1.5 bg-panel 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 bg-surface text-ink border border-edge-muted rounded-xs text-xs">
<Hotkey token={props.creatableBlock.hotkeyToken} />
</div>
@@ -672,7 +672,7 @@ export const LauncherInner = (props: LauncherInnerProps) => {
};
return (
- <div class="bg-menu ring-1 ring-edge-muted rounded-sm">
+ <div class="bg-surface ring-1 ring-edge-muted rounded-sm">
<div class="flex items-center justify-between p-2 px-6 border-b border-edge-muted">
<h1 class="font-bold text-ink-muted">Create New</h1>
<p class="gap-2 text-ink-extra-muted text-xs items-center hidden touch:hidden md:flex">
diff --git a/js/app/packages/app/component/PreviewPanel.tsx b/js/app/packages/app/component/PreviewPanel.tsx
index 71ad9c3b09..ddef1641ca 100644
--- a/js/app/packages/app/component/PreviewPanel.tsx
+++ b/js/app/packages/app/component/PreviewPanel.tsx
@@ -147,7 +147,7 @@ const PreviewPanelContent: Component<NonNullableFields<PreviewPanel>> = (
>
{/* Preview-specific toolbar slots so blocks can render the "share" bar (via SplitToolbarLeft/Right) */}
<div
- class="relative w-full flex items-center justify-between shrink-0 h-10 bg-panel px-2 border-b border-edge-muted"
+ class="relative w-full flex items-center justify-between shrink-0 h-10 bg-surface px-2 border-b border-edge-muted"
data-preview-split-toolbar
>
<div
diff --git a/js/app/packages/app/component/PropertyDisplayControl.tsx b/js/app/packages/app/component/PropertyDisplayControl.tsx
index ec0abc0426..3d0839b3f0 100644
--- a/js/app/packages/app/component/PropertyDisplayControl.tsx
+++ b/js/app/packages/app/component/PropertyDisplayControl.tsx
@@ -61,7 +61,7 @@ const PropertyDropdown: Component<PropertyDropdownProps> = (props) => {
<div
ref={props.dropdownRef}
class="absolute inset-x-0 top-full mt-1 z-full-page-modal-base
- border border-edge bg-menu shadow-lg
+ border border-edge bg-surface shadow-lg
max-h-48 overflow-y-auto
font-mono"
>
diff --git a/js/app/packages/app/component/PropertyFilter/FilterAction.tsx b/js/app/packages/app/component/PropertyFilter/FilterAction.tsx
index f6d0350d9e..0cee6a2df2 100644
--- a/js/app/packages/app/component/PropertyFilter/FilterAction.tsx
+++ b/js/app/packages/app/component/PropertyFilter/FilterAction.tsx
@@ -80,7 +80,7 @@ export const FilterActionSelect: Component<FilterActionSelectProps> = (
<Show when={isOpen()}>
<div
ref={dropdownRef}
- class="absolute left-0 top-full mt-1 border border-edge bg-menu shadow-lg max-h-48 overflow-y-auto font-mono min-w-30 z-user-highlight"
+ class="absolute left-0 top-full mt-1 border border-edge bg-surface shadow-lg max-h-48 overflow-y-auto font-mono min-w-30 z-user-highlight"
>
<Show
when={validActions().length > 0}
diff --git a/js/app/packages/app/component/PropertyFilter/FilterProperty.tsx b/js/app/packages/app/component/PropertyFilter/FilterProperty.tsx
index 3d202c9963..3e7a35f003 100644
--- a/js/app/packages/app/component/PropertyFilter/FilterProperty.tsx
+++ b/js/app/packages/app/component/PropertyFilter/FilterProperty.tsx
@@ -114,7 +114,7 @@ export const FilterPropertySelect: Component<FilterPropertySelectProps> = (
<Show when={isDropdownOpen()}>
<div
ref={dropdownRef}
- class="absolute inset-x-0 top-full mt-1 border border-edge bg-menu shadow-lg max-h-48 overflow-y-auto font-mono z-user-highlight"
+ class="absolute inset-x-0 top-full mt-1 border border-edge bg-surface shadow-lg max-h-48 overflow-y-auto font-mono z-user-highlight"
>
<Show
when={filteredProperties().length > 0}
diff --git a/js/app/packages/app/component/PropertyFilter/FilterValueBoolean.tsx b/js/app/packages/app/component/PropertyFilter/FilterValueBoolean.tsx
index 304d6eedda..50b5633002 100644
--- a/js/app/packages/app/component/PropertyFilter/FilterValueBoolean.tsx
+++ b/js/app/packages/app/component/PropertyFilter/FilterValueBoolean.tsx
@@ -61,7 +61,7 @@ export const FilterValueBoolean: Component<FilterValueBooleanProps> = (
<Show when={isOpen()}>
<div
ref={dropdownRef}
- class="absolute left-0 top-full mt-1 border border-edge bg-menu shadow-lg font-mono min-w-20 z-user-highlight"
+ class="absolute left-0 top-full mt-1 border border-edge bg-surface shadow-lg font-mono min-w-20 z-user-highlight"
>
<button
type="button"
diff --git a/js/app/packages/app/component/PropertyFilter/FilterValueDateMulti.tsx b/js/app/packages/app/component/PropertyFilter/FilterValueDateMulti.tsx
index 741edebb05..756f993763 100644
--- a/js/app/packages/app/component/PropertyFilter/FilterValueDateMulti.tsx
+++ b/js/app/packages/app/component/PropertyFilter/FilterValueDateMulti.tsx
@@ -56,13 +56,13 @@ export const FilterValueDateMulti: Component<FilterValueDateMultiProps> = (
{/* Selected date pills */}
<For each={props.values}>
{(dateStr) => (
- <div class="group relative h-6 px-1.5 text-xxs text-ink border border-edge bg-panel font-mono flex items-center">
+ <div class="group relative h-6 px-1.5 text-xxs text-ink border border-edge bg-surface font-mono flex items-center">
<span class="whitespace-nowrap">{formatDisplayDate(dateStr)}</span>
{/* X shows on hover, overlays the text */}
<button
type="button"
onClick={() => handleRemoveDate(dateStr)}
- class="absolute inset-0 flex items-center justify-end pr-1 bg-linear-to-l from-panel via-panel to-transparent opacity-0 group-hover:opacity-100 hover:text-failure-ink"
+ class="absolute inset-0 flex items-center justify-end pr-1 bg-linear-to-l from-surface via-surface to-transparent opacity-0 group-hover:opacity-100 hover:text-failure-ink"
>
<XIcon class="size-3" />
</button>
diff --git a/js/app/packages/app/component/PropertyFilter/FilterValueEntity.tsx b/js/app/packages/app/component/PropertyFilter/FilterValueEntity.tsx
index 6bcdc91d27..c425da970d 100644
--- a/js/app/packages/app/component/PropertyFilter/FilterValueEntity.tsx
+++ b/js/app/packages/app/component/PropertyFilter/FilterValueEntity.tsx
@@ -51,7 +51,7 @@ const EntityPill: Component<{
);
return (
- <div class="group relative h-6 px-1.5 text-xxs text-ink border border-edge bg-panel font-mono flex items-center gap-1.5">
+ <div class="group relative h-6 px-1.5 text-xxs text-ink border border-edge bg-surface font-mono flex items-center gap-1.5">
<span class="size-3 flex items-center justify-center shrink-0">
{icon()}
</span>
@@ -62,7 +62,7 @@ const EntityPill: Component<{
<button
type="button"
onClick={props.onRemove}
- class="absolute inset-0 flex items-center justify-end pr-1 bg-linear-to-l from-panel via-panel to-transparent opacity-0 group-hover:opacity-100 hover:text-failure-ink"
+ class="absolute inset-0 flex items-center justify-end pr-1 bg-linear-to-l from-surface via-surface to-transparent opacity-0 group-hover:opacity-100 hover:text-failure-ink"
>
<XIcon class="size-3" />
</button>
@@ -318,7 +318,7 @@ export const FilterValueEntity: Component<FilterValueEntityProps> = (props) => {
/>
<div
ref={dropdownRef}
- class="absolute left-0 top-full mt-1 border border-edge bg-menu shadow-lg font-mono min-w-50 max-h-48 overflow-y-auto z-user-highlight"
+ class="absolute left-0 top-full mt-1 border border-edge bg-surface shadow-lg font-mono min-w-50 max-h-48 overflow-y-auto z-user-highlight"
>
<Show
when={availableEntities().length > 0}
diff --git a/js/app/packages/app/component/PropertyFilter/FilterValueNumberMulti.tsx b/js/app/packages/app/component/PropertyFilter/FilterValueNumberMulti.tsx
index 744296118d..da3dd03bc8 100644
--- a/js/app/packages/app/component/PropertyFilter/FilterValueNumberMulti.tsx
+++ b/js/app/packages/app/component/PropertyFilter/FilterValueNumberMulti.tsx
@@ -61,13 +61,13 @@ export const FilterValueNumberMulti: Component<FilterValueNumberMultiProps> = (
{/* Selected value pills */}
<For each={props.values}>
{(value) => (
- <div class="group relative h-6 px-1.5 text-xxs text-ink border border-edge bg-panel font-mono flex items-center">
+ <div class="group relative h-6 px-1.5 text-xxs text-ink border border-edge bg-surface font-mono flex items-center">
<span class="whitespace-nowrap">{String(value)}</span>
{/* X shows on hover, overlays the text */}
<button
type="button"
onClick={() => handleRemoveValue(value)}
- class="absolute inset-0 flex items-center justify-end pr-1 bg-linear-to-l from-panel via-panel to-transparent opacity-0 group-hover:opacity-100 hover:text-failure-ink"
+ class="absolute inset-0 flex items-center justify-end pr-1 bg-linear-to-l from-surface via-surface to-transparent opacity-0 group-hover:opacity-100 hover:text-failure-ink"
>
<XIcon class="size-3" />
</button>
diff --git a/js/app/packages/app/component/PropertyFilter/FilterValueSelect.tsx b/js/app/packages/app/component/PropertyFilter/FilterValueSelect.tsx
index b870d7d336..c45824700b 100644
--- a/js/app/packages/app/component/PropertyFilter/FilterValueSelect.tsx
+++ b/js/app/packages/app/component/PropertyFilter/FilterValueSelect.tsx
@@ -142,7 +142,7 @@ export const FilterValueSelect: Component<FilterValueSelectProps> = (props) => {
/>
<div
ref={dropdownRef}
- class="absolute left-0 top-full mt-1 border border-edge bg-menu shadow-lg font-mono min-w-40 max-h-48 overflow-y-auto z-user-highlight"
+ class="absolute left-0 top-full mt-1 border border-edge bg-surface shadow-lg font-mono min-w-40 max-h-48 overflow-y-auto z-user-highlight"
>
<Show
when={filteredOptions().length > 0}
diff --git a/js/app/packages/app/component/PropertyFilter/FilterValueSelectMulti.tsx b/js/app/packages/app/component/PropertyFilter/FilterValueSelectMulti.tsx
index 08301246ae..ce4c7f31d5 100644
--- a/js/app/packages/app/component/PropertyFilter/FilterValueSelectMulti.tsx
+++ b/js/app/packages/app/component/PropertyFilter/FilterValueSelectMulti.tsx
@@ -140,13 +140,13 @@ export const FilterValueSelectMulti: Component<FilterValueSelectMultiProps> = (
>
<For each={props.values}>
{(optionId) => (
- <div class="group relative h-6 px-1.5 text-xxs text-ink border border-edge bg-panel font-mono flex items-center">
+ <div class="group relative h-6 px-1.5 text-xxs text-ink border border-edge bg-surface font-mono flex items-center">
<span class="whitespace-nowrap">{getDisplayValue(optionId)}</span>
{/* X shows on hover, overlays the text */}
<button
type="button"
onClick={() => handleRemoveValue(optionId)}
- class="absolute inset-0 flex items-center justify-end pr-1 bg-linear-to-l from-panel via-panel to-transparent opacity-0 group-hover:opacity-100 hover:text-failure-ink"
+ class="absolute inset-0 flex items-center justify-end pr-1 bg-linear-to-l from-surface via-surface to-transparent opacity-0 group-hover:opacity-100 hover:text-failure-ink"
>
<XIcon class="size-3" />
</button>
@@ -183,7 +183,7 @@ export const FilterValueSelectMulti: Component<FilterValueSelectMultiProps> = (
/>
<div
ref={dropdownRef}
- class="absolute left-0 top-full mt-1 border border-edge bg-menu shadow-lg font-mono min-w-40 max-h-48 overflow-y-auto z-user-highlight"
+ class="absolute left-0 top-full mt-1 border border-edge bg-surface shadow-lg font-mono min-w-40 max-h-48 overflow-y-auto z-user-highlight"
>
<Show
when={availableOptions().length > 0}
diff --git a/js/app/packages/app/component/ResponsiveBlockToolbar.tsx b/js/app/packages/app/component/ResponsiveBlockToolbar.tsx
index 7987e9d279..63f54357a6 100644
--- a/js/app/packages/app/component/ResponsiveBlockToolbar.tsx
+++ b/js/app/packages/app/component/ResponsiveBlockToolbar.tsx
@@ -43,8 +43,7 @@ export function ToolButton(props: { tool: BlockTool }) {
hotkey={props.tool.hotkeyToken}
class={cn(
'px-1',
- props.tool.isActive?.() &&
- 'bg-accent/20 hover:bg-accent/30 text-accent-ink'
+ props.tool.isActive?.() && 'bg-accent/20 hover:bg-accent/30 text-accent'
)}
size="icon-sm"
>
diff --git a/js/app/packages/app/component/SimpleDropdown.tsx b/js/app/packages/app/component/SimpleDropdown.tsx
index 8ed572a6ef..5ef94bfa49 100644
--- a/js/app/packages/app/component/SimpleDropdown.tsx
+++ b/js/app/packages/app/component/SimpleDropdown.tsx
@@ -94,7 +94,7 @@ function FloatingContent(props: {
ref={ref}
style={{ position: 'fixed', left: `${pos().x}px`, top: `${pos().y}px` }}
class={cn(
- 'bg-menu w-fit p-1 border border-edge-muted rounded-xs shadow z-highlight-menu',
+ 'bg-surface w-fit p-1 border border-edge-muted rounded-xs shadow z-highlight-menu',
props.class
)}
>
diff --git a/js/app/packages/app/component/SoupChatInput.tsx b/js/app/packages/app/component/SoupChatInput.tsx
index 5902199bde..ebe3c402dd 100644
--- a/js/app/packages/app/component/SoupChatInput.tsx
+++ b/js/app/packages/app/component/SoupChatInput.tsx
@@ -138,7 +138,7 @@ function SoupChatInputInner() {
class="absolute bottom-0 inset-x-px pb-2 px-2 flex justify-center pointer-events-none"
classList={{ hidden: !!soup.previewEntity() }}
style={{
- 'background-image': `linear-gradient(transparent, var(--color-panel) 85%)`,
+ 'background-image': `linear-gradient(transparent, var(--color-surface) 85%)`,
}}
>
<div class="w-full max-w-3xl">
diff --git a/js/app/packages/app/component/TeamInviteAcceptance.tsx b/js/app/packages/app/component/TeamInviteAcceptance.tsx
index 2a222946ea..c242d409ed 100644
--- a/js/app/packages/app/component/TeamInviteAcceptance.tsx
+++ b/js/app/packages/app/component/TeamInviteAcceptance.tsx
@@ -96,7 +96,7 @@ function TeamInviteAcceptanceContent() {
}
`}
</style>
- <div class="inset-0 absolute text-edge bg-panel opacity-10 -z-1">
+ <div class="inset-0 absolute text-edge bg-surface opacity-10 -z-1">
<PcNoiseGrid
cellSize={30}
warp={0}
diff --git a/js/app/packages/app/component/app-sidebar/channels-unread-widget.tsx b/js/app/packages/app/component/app-sidebar/channels-unread-widget.tsx
index 0a299517e0..17e26cebb8 100644
--- a/js/app/packages/app/component/app-sidebar/channels-unread-widget.tsx
+++ b/js/app/packages/app/component/app-sidebar/channels-unread-widget.tsx
@@ -215,7 +215,7 @@ function ChannelGroupItem(props: {
/>
</Show>
<Show when={isSlim()}>
- <div class="absolute -top-0.5 -right-0.5 size-1.5 bg-accent rounded-full ring-page ring-2" />
+ <div class="absolute -top-0.5 -right-0.5 size-1.5 bg-accent rounded-full ring-surface ring-2" />
</Show>
</div>
diff --git a/js/app/packages/app/component/app-sidebar/invite-modal.tsx b/js/app/packages/app/component/app-sidebar/invite-modal.tsx
index e1a5b80fab..235ca28ebd 100644
--- a/js/app/packages/app/component/app-sidebar/invite-modal.tsx
+++ b/js/app/packages/app/component/app-sidebar/invite-modal.tsx
@@ -93,7 +93,7 @@ export const InviteModal = () => {
value={value()}
onInput={(e) => setValue(e.currentTarget.value)}
rows={4}
- class="w-full px-3 py-2 text-sm/relaxed border border-edge-muted rounded-xs bg-input text-ink placeholder:text-ink/30 outline-none focus:border-accent/50 resize-none"
+ class="w-full px-3 py-2 text-sm/relaxed border border-edge-muted rounded-xs bg-surface text-ink placeholder:text-ink/30 outline-none focus:border-accent/50 resize-none"
/>
</div>
@@ -124,7 +124,7 @@ export const InviteModal = () => {
type="text"
readOnly
value={url()}
- class="flex-1 px-3 py-1.5 text-xs border border-edge-muted rounded-xs bg-input text-ink/70 outline-none select-all"
+ class="flex-1 px-3 py-1.5 text-xs border border-edge-muted rounded-xs bg-surface text-ink/70 outline-none select-all"
onClick={(e) => e.currentTarget.select()}
/>
<Button
diff --git a/js/app/packages/app/component/app-sidebar/sidebar.tsx b/js/app/packages/app/component/app-sidebar/sidebar.tsx
index a2f4994608..165148b5b3 100644
--- a/js/app/packages/app/component/app-sidebar/sidebar.tsx
+++ b/js/app/packages/app/component/app-sidebar/sidebar.tsx
@@ -556,7 +556,7 @@ export const AppSidebar = (props: AppSidebarProps) => {
</div>
<div class="grow shrink-10 min-w-0" />
<Button
- class="flex items-center justify-center rounded-xs p-0.5 px-2 bg-page [&_svg]:size-4"
+ class="flex items-center justify-center rounded-xs p-0.5 px-2 bg-surface [&_svg]:size-4"
onClick={() => handleSidebarOpenChange(!isExpanded())}
onMouseEnter={() => setSidebarBtnHovering(true)}
onMouseLeave={() => setSidebarBtnHovering(false)}
diff --git a/js/app/packages/app/component/auth/Login.tsx b/js/app/packages/app/component/auth/Login.tsx
index d0c3e817a5..b37dadce24 100644
--- a/js/app/packages/app/component/auth/Login.tsx
+++ b/js/app/packages/app/component/auth/Login.tsx
@@ -162,7 +162,7 @@ export function Login() {
.login-stagger > *:nth-child(5) { animation-delay: 330ms; }
`
}</style>
- <div class="inset-0 absolute text-edge bg-panel opacity-10 -z-1">
+ <div class="inset-0 absolute text-edge bg-surface opacity-10 -z-1">
<PcNoiseGrid
cellSize={30}
warp={0}
diff --git a/js/app/packages/app/component/auth/Signup.tsx b/js/app/packages/app/component/auth/Signup.tsx
index e7e8cfe5ea..7255dd4f0c 100644
--- a/js/app/packages/app/component/auth/Signup.tsx
+++ b/js/app/packages/app/component/auth/Signup.tsx
@@ -66,7 +66,7 @@ export function Signup() {
`
}
</style>
- <div class="inset-0 absolute text-edge bg-panel opacity-10 -z-1">
+ <div class="inset-0 absolute text-edge bg-surface opacity-10 -z-1">
<PcNoiseGrid
cellSize={30}
warp={0}
diff --git a/js/app/packages/app/component/auth/VerifyForm.tsx b/js/app/packages/app/component/auth/VerifyForm.tsx
index 52a4ca1408..ce683fd8dc 100644
--- a/js/app/packages/app/component/auth/VerifyForm.tsx
+++ b/js/app/packages/app/component/auth/VerifyForm.tsx
@@ -131,7 +131,7 @@ export function VerifyForm(props: { setStage: (next: Stage) => void }) {
/>
<button
class={cn(
- 'inline-block font-medium text-accent-ink hover:text-accent-ink/80 transition',
+ 'inline-block font-medium text-accent hover:text-accent/80 transition',
showResendCode()
? 'opacity-100'
: 'opacity-50 pointer-events-none',
diff --git a/js/app/packages/app/component/bulk-edit-entity/BulkMoveToProjectView.tsx b/js/app/packages/app/component/bulk-edit-entity/BulkMoveToProjectView.tsx
index ac90474f43..d66c60ba7a 100644
--- a/js/app/packages/app/component/bulk-edit-entity/BulkMoveToProjectView.tsx
+++ b/js/app/packages/app/component/bulk-edit-entity/BulkMoveToProjectView.tsx
@@ -431,7 +431,7 @@ export const BulkMoveToProjectView = (props: {
finishEditing();
}
}}
- class="w-full px-3 py-2 text-sm bg-menu text-ink focus:outline-none border-b border-edge-muted"
+ class="w-full px-3 py-2 text-sm bg-surface text-ink focus:outline-none border-b border-edge-muted"
/>
<div class="h-64 overflow-auto" ref={listRef}>
<For each={items()}>
diff --git a/js/app/packages/app/component/bulk-edit-entity/BulkRenameEntitiesView.tsx b/js/app/packages/app/component/bulk-edit-entity/BulkRenameEntitiesView.tsx
index 707f5e60e8..72ab9ad417 100644
--- a/js/app/packages/app/component/bulk-edit-entity/BulkRenameEntitiesView.tsx
+++ b/js/app/packages/app/component/bulk-edit-entity/BulkRenameEntitiesView.tsx
@@ -159,9 +159,9 @@ export const BulkRenameEntitiesView = (props: {
value={editValue()}
onInput={(e) => setEditValue(e.currentTarget.value)}
onKeyDown={handleKeyDown}
- class="w-full p-2 text-sm border border-edge bg-menu text-ink
+ class="w-full p-2 text-sm border border-edge bg-surface text-ink
placeholder:text-ink-placeholder focus:outline-none focus:bg-active
- selection:bg-ink selection:text-panel"
+ selection:bg-ink selection:text-surface"
placeholder="Enter new text..."
/>
</div>
@@ -169,13 +169,13 @@ export const BulkRenameEntitiesView = (props: {
<Show when={multi() && mode() === 'replace'}>
<div class="flex flex-col gap-2">
<input
- class="p-1 text-sm border border-edge bg-menu"
+ class="p-1 text-sm border border-edge bg-surface"
placeholder="Find…"
value={replaceFind()}
onInput={(e) => setReplaceFind(e.currentTarget.value)}
/>
<input
- class="p-1 text-sm border border-edge bg-menu"
+ class="p-1 text-sm border border-edge bg-surface"
placeholder="Replace with…"
value={replaceWith()}
onInput={(e) => setReplaceWith(e.currentTarget.value)}
diff --git a/js/app/packages/app/component/command/CommandMenu.tsx b/js/app/packages/app/component/command/CommandMenu.tsx
index b4c23c1660..c318bc29cb 100644
--- a/js/app/packages/app/component/command/CommandMenu.tsx
+++ b/js/app/packages/app/component/command/CommandMenu.tsx
@@ -457,7 +457,7 @@ export function CommandMenuInner(props: {
depth={props.depth}
active
>
- <Panel.Header class="gap-2 px-2 bg-panel">
+ <Panel.Header class="gap-2 px-2 bg-surface">
<Show
when={isInCommandScope()}
fallback={
@@ -486,7 +486,10 @@ export function CommandMenuInner(props: {
<Show when={isEntityActionMode() || !isInCommandScope()}>
<Panel.Toolbar
- class={cn('bg-panel', isEntityActionMode() ? 'px-3 gap-2' : 'px-1.5')}
+ class={cn(
+ 'bg-surface',
+ isEntityActionMode() ? 'px-3 gap-2' : 'px-1.5'
+ )}
>
<Show
when={isEntityActionMode()}
@@ -511,7 +514,7 @@ export function CommandMenuInner(props: {
<Panel.Body>
<div
- class="bg-panel overflow-hidden transition-[height] duration-60 ease-out"
+ class="bg-surface overflow-hidden transition-[height] duration-60 ease-out"
style={{ height: `${resultsHeight()}px` }}
>
<Show
@@ -532,7 +535,7 @@ export function CommandMenuInner(props: {
</div>
</Panel.Body>
- <Panel.Footer class="gap-4 px-4 bg-panel text-xs text-ink-extra-muted/80">
+ <Panel.Footer class="gap-4 px-4 bg-surface text-xs text-ink-extra-muted/80">
<span class="flex items-center gap-1">
<div class="flex gap-1">
<div class="flex border border-edge-muted text-xxs rounded-xs items-center px-1.5 py-px font-normal">
diff --git a/js/app/packages/app/component/import-linear/ImportLinear.tsx b/js/app/packages/app/component/import-linear/ImportLinear.tsx
index cbb5119ca0..6d547b235f 100644
--- a/js/app/packages/app/component/import-linear/ImportLinear.tsx
+++ b/js/app/packages/app/component/import-linear/ImportLinear.tsx
@@ -261,7 +261,7 @@ export default function ImportLinear() {
</div>
</div>
<select
- class="text-sm bg-menu border border-edge rounded-xs px-2 py-1"
+ class="text-sm bg-surface border border-edge rounded-xs px-2 py-1"
value={assigneeMapping[assignee] ?? ''}
onChange={(e) =>
setAssigneeMapping(assignee, e.currentTarget.value)
diff --git a/js/app/packages/app/component/interactive-onboarding/InteractiveOnboarding.tsx b/js/app/packages/app/component/interactive-onboarding/InteractiveOnboarding.tsx
index 22ba021828..d42808e1d6 100644
--- a/js/app/packages/app/component/interactive-onboarding/InteractiveOnboarding.tsx
+++ b/js/app/packages/app/component/interactive-onboarding/InteractiveOnboarding.tsx
@@ -612,7 +612,7 @@ function InteractiveOnboardingInner() {
.onboarding-stagger > *:nth-child(5) { animation-delay: 330ms; }
`
}</style>
- <div class="inset-0 absolute text-edge bg-panel opacity-10 -z-1">
+ <div class="inset-0 absolute text-edge bg-surface opacity-10 -z-1">
<PcNoiseGrid
cellSize={30}
warp={0}
@@ -742,7 +742,7 @@ function InteractiveOnboardingInner() {
{/* Header */}
<div class="p-4">
<div style={headerStyle()}>
- <div class="bg-ink text-panel text-xs font-mono size-4 flex items-center justify-center font-bold rounded-xs">
+ <div class="bg-ink text-surface text-xs font-mono size-4 flex items-center justify-center font-bold rounded-xs">
{lesson().index + 1}
</div>
<Show when={getPreviousLesson()}>
diff --git a/js/app/packages/app/component/interactive-onboarding/MobileWebSignupSent.tsx b/js/app/packages/app/component/interactive-onboarding/MobileWebSignupSent.tsx
index 7362c9ea62..d1919c7ccd 100644
--- a/js/app/packages/app/component/interactive-onboarding/MobileWebSignupSent.tsx
+++ b/js/app/packages/app/component/interactive-onboarding/MobileWebSignupSent.tsx
@@ -34,7 +34,7 @@ export default function MobileWebSignupSent(props: Props) {
return (
<div class="flex flex-col size-full p-6 overflow-hidden relative">
- <div class="inset-0 absolute text-edge bg-panel opacity-10 -z-1">
+ <div class="inset-0 absolute text-edge bg-surface opacity-10 -z-1">
<PcNoiseGrid
cellSize={30}
warp={0}
@@ -63,7 +63,7 @@ export default function MobileWebSignupSent(props: Props) {
onClick={() => {
window.location.href = getWebOrigin();
}}
- class="w-full px-3 py-2.5 text-lg font-bold rounded-xs bg-accent text-panel border-none mt-16"
+ class="w-full px-3 py-2.5 text-lg font-bold rounded-xs bg-accent text-surface border-none mt-16"
>
Back to Home
</button>
diff --git a/js/app/packages/app/component/interactive-onboarding/MobileWebWelcome.tsx b/js/app/packages/app/component/interactive-onboarding/MobileWebWelcome.tsx
index ece933067d..430fb980ed 100644
--- a/js/app/packages/app/component/interactive-onboarding/MobileWebWelcome.tsx
+++ b/js/app/packages/app/component/interactive-onboarding/MobileWebWelcome.tsx
@@ -27,7 +27,7 @@ export default function MobileWebWelcome(props: MobileWebWelcomeProps) {
return (
<div class="flex flex-col size-full p-6 overflow-hidden relative">
- <div class="inset-0 absolute text-edge bg-panel opacity-10 -z-1">
+ <div class="inset-0 absolute text-edge bg-surface opacity-10 -z-1">
<PcNoiseGrid
cellSize={30}
warp={0}
@@ -62,11 +62,11 @@ export default function MobileWebWelcome(props: MobileWebWelcomeProps) {
placeholder="[email protected]"
value={email()}
onInput={(e) => setEmail(e.currentTarget.value)}
- class="w-full px-3 py-2.5 text-base border border-edge-muted rounded-xs bg-panel text-ink placeholder:text-ink/30 outline-none focus:border-accent/50"
+ class="w-full px-3 py-2.5 text-base border border-edge-muted rounded-xs bg-surface text-ink placeholder:text-ink/30 outline-none focus:border-accent/50"
/>
<button
type="submit"
- class="w-full px-3 py-2.5 text-lg font-bold rounded-xs bg-accent text-panel border-none"
+ class="w-full px-3 py-2.5 text-lg font-bold rounded-xs bg-accent text-surface border-none"
>
Sign Up
</button>
diff --git a/js/app/packages/app/component/interactive-onboarding/components-lib.tsx b/js/app/packages/app/component/interactive-onboarding/components-lib.tsx
index 606259c308..7a08416f2f 100644
--- a/js/app/packages/app/component/interactive-onboarding/components-lib.tsx
+++ b/js/app/packages/app/component/interactive-onboarding/components-lib.tsx
@@ -25,7 +25,7 @@ function CalloutShell(props: CalloutShellProps) {
<div class="flex items-center gap-2.5">{props.children}</div>
<span class="text-sm text-muted">{props.label}</span>
<Show when={props.completed}>
- <div class="bg-accent text-panel size-5 rounded xs flex items-center justify-center ml-auto">
+ <div class="bg-accent text-surface size-5 rounded xs flex items-center justify-center ml-auto">
<CheckIcon class="size-4" />
</div>
</Show>
@@ -218,7 +218,7 @@ export function ContinueButton(props: ContinueButtonProps) {
{
'bg-transparent text-ink/40 font-normal ring-1 ring-edge-muted':
props.disabled,
- 'bg-accent text-panel hover:bg-accent hover:ring-2 ring-accent ring-offset-1 ring-offset-panel focus:ring-2':
+ 'bg-accent text-surface hover:bg-accent hover:ring-2 ring-accent ring-offset-1 ring-offset-surface focus:ring-2':
!props.disabled,
}
)}
@@ -227,7 +227,7 @@ export function ContinueButton(props: ContinueButtonProps) {
{props.label ?? 'Continue'}
{/*<span
class={cn(
- 'text-sm px-3 py-1 border rounded-sm flex items-center gap-1 border-panel/50 text-panel',
+ 'text-sm px-3 py-1 border rounded-sm flex items-center gap-1 border-surface/50 text-surface',
{ 'opacity-0': props.disabled }
)}
>
diff --git a/js/app/packages/app/component/interactive-onboarding/components/MockAppChrome.tsx b/js/app/packages/app/component/interactive-onboarding/components/MockAppChrome.tsx
index 22be7d98e5..735f992576 100644
--- a/js/app/packages/app/component/interactive-onboarding/components/MockAppChrome.tsx
+++ b/js/app/packages/app/component/interactive-onboarding/components/MockAppChrome.tsx
@@ -153,7 +153,7 @@ export function MockAppChrome(props: MockAppChromeProps) {
onCleanup(() => group.dispose());
return (
- <div class="size-full p-4 bg-panel">
+ <div class="size-full p-4 bg-surface">
<style>{`
@keyframes sidebar-glow-pulse {
0%, 100% { box-shadow: 0 0 0 0 rgb(from var(--color-accent) r g b / 0.7), 0 0 6px 1px rgb(from var(--color-accent) r g b / 0.7), 0 0 12px 3px rgb(from var(--color-accent) r g b / 0.4); }
@@ -161,7 +161,7 @@ export function MockAppChrome(props: MockAppChromeProps) {
}
.sidebar-glow { animation: sidebar-glow-pulse 1.8s ease-in-out infinite; border-radius: 4px; }
`}</style>
- <div class="flex size-full bg-page rounded-sm border border-edge-muted">
+ <div class="flex size-full bg-surface rounded-sm border border-edge-muted">
<div class="px-2 shrink-0 bg-surface-secondary/50 flex flex-col items-center py-3 gap-1">
<MacroIcon class="size-5 text-accent mb-3" />
<button
@@ -293,7 +293,7 @@ export function MockAppChrome(props: MockAppChromeProps) {
</div>
{/* Main area */}
- <div class="flex-1 min-w-0 flex flex-col m-1 ml-0 bg-panel border border-edge-muted rounded-sm">
+ <div class="flex-1 min-w-0 flex flex-col m-1 ml-0 bg-surface border border-edge-muted rounded-sm">
{/* Mock top bar */}
<Show when={sidebarFilter() !== 'empty'}>
<div class="h-10 shrink-0 border-b border-edge-muted flex items-center px-3">
diff --git a/js/app/packages/app/component/interactive-onboarding/lessons/about-us.tsx b/js/app/packages/app/component/interactive-onboarding/lessons/about-us.tsx
index b5a87948bb..2f96a74a94 100644
--- a/js/app/packages/app/component/interactive-onboarding/lessons/about-us.tsx
+++ b/js/app/packages/app/component/interactive-onboarding/lessons/about-us.tsx
@@ -82,7 +82,7 @@ function AboutUsDemo() {
<For each={PANELS}>
{(panel) => (
<div class="flex-1 w-full flex flex-col">
- <div class="border border-edge-muted bg-panel rounded-xs overflow-hidden">
+ <div class="border border-edge-muted bg-surface rounded-xs overflow-hidden">
<div class="p-6 flex flex-col items-center gap-4 text-center">
{panel.icon()}
<p class="text-sm text-ink/70 font-medium">{panel.label}</p>
diff --git a/js/app/packages/app/component/interactive-onboarding/lessons/choose-plan.tsx b/js/app/packages/app/component/interactive-onboarding/lessons/choose-plan.tsx
index e3bba03956..4599d79cfe 100644
--- a/js/app/packages/app/component/interactive-onboarding/lessons/choose-plan.tsx
+++ b/js/app/packages/app/component/interactive-onboarding/lessons/choose-plan.tsx
@@ -101,7 +101,7 @@ function ChoosePlanDemo(props: LessonContentProps) {
disabled={isPending()}
class="w-full py-2 rounded-xs text-base font-semibold flex items-center justify-center gap-1.5 disabled:opacity-50 disabled:cursor-not-allowed"
classList={{
- 'bg-accent text-panel':
+ 'bg-accent text-surface':
plan.highlighted && selectedPlan() !== plan.tier,
'bg-accent/20 text-accent': selectedPlan() === plan.tier,
'bg-ink/8 text-ink hover:bg-ink/12':
diff --git a/js/app/packages/app/component/interactive-onboarding/lessons/composers-preview.tsx b/js/app/packages/app/component/interactive-onboarding/lessons/composers-preview.tsx
index 594c1e5474..0fba4a8b75 100644
--- a/js/app/packages/app/component/interactive-onboarding/lessons/composers-preview.tsx
+++ b/js/app/packages/app/component/interactive-onboarding/lessons/composers-preview.tsx
@@ -30,7 +30,7 @@ function ComposersPreviewDemo() {
return (
<div class="size-full flex flex-col items-center justify-center gap-6 px-10 py-8">
{/* Task composer */}
- <div class="w-full max-w-lg rounded-sm border border-edge-muted bg-panel flex flex-col overflow-hidden">
+ <div class="w-full max-w-lg rounded-sm border border-edge-muted bg-surface flex flex-col overflow-hidden">
<div class="px-4 pt-3 pb-1">
<div class="flex items-center gap-2">
<div class="size-5 rounded-xs bg-task-bg flex items-center justify-center">
@@ -86,7 +86,7 @@ function ComposersPreviewDemo() {
</div>
{/* Email composer */}
- <div class="w-full max-w-lg rounded-sm border border-edge-muted bg-panel flex flex-col overflow-hidden">
+ <div class="w-full max-w-lg rounded-sm border border-edge-muted bg-surface flex flex-col overflow-hidden">
{/* From line */}
<div class="px-4 py-2.5 flex items-center justify-between text-xs">
<span class="text-ink/40">from [email protected]</span>
diff --git a/js/app/packages/app/component/interactive-onboarding/lessons/invite-team.tsx b/js/app/packages/app/component/interactive-onboarding/lessons/invite-team.tsx
index 78eb8184ba..f245477dde 100644
--- a/js/app/packages/app/component/interactive-onboarding/lessons/invite-team.tsx
+++ b/js/app/packages/app/component/interactive-onboarding/lessons/invite-team.tsx
@@ -268,7 +268,7 @@ function InviteTeamDemo(props: LessonContentProps) {
disabled={false}
aria-describedby="team-name-counter"
class={cn(
- 'w-[calc(100%-36px)] px-3 py-2 text-base rounded-xs border bg-panel text-ink placeholder:text-ink/40 focus:outline-none focus-visible:ring-2 focus-visible:ring-offset-1 focus-visible:ring-offset-panel',
+ 'w-[calc(100%-36px)] px-3 py-2 text-base rounded-xs border bg-surface text-ink placeholder:text-ink/40 focus:outline-none focus-visible:ring-2 focus-visible:ring-offset-1 focus-visible:ring-offset-surface',
errors().teamName
? 'border-failure focus-visible:ring-failure'
: 'border-edge focus-visible:ring-accent',
@@ -322,7 +322,7 @@ function InviteTeamDemo(props: LessonContentProps) {
aria-describedby="invite-members-description"
aria-invalid={!!errors().emails?.[index]}
class={cn(
- 'flex-1 px-3 py-2 text-base rounded-xs border bg-panel text-ink placeholder:text-ink/40 focus:outline-none focus-visible:ring-2 focus-visible:ring-offset-1 focus-visible:ring-offset-panel',
+ 'flex-1 px-3 py-2 text-base rounded-xs border bg-surface text-ink placeholder:text-ink/40 focus:outline-none focus-visible:ring-2 focus-visible:ring-offset-1 focus-visible:ring-offset-surface',
errors().emails?.[index]
? 'border-failure focus-visible:ring-failure'
: 'border-edge focus-visible:ring-accent',
@@ -334,7 +334,7 @@ function InviteTeamDemo(props: LessonContentProps) {
value={entry().tier}
onChange={(tier) => updateTier(index, tier)}
disabled={false}
- triggerClass="flex items-center justify-between gap-1 w-28 px-3 py-2 text-base border border-edge rounded-xs bg-panel text-ink outline-none shrink-0 hover:bg-ink/5 data-[expanded]:bg-ink/5 focus:outline-none focus-visible:ring-2 focus-visible:ring-accent/50 focus-visible:ring-offset-1 focus-visible:ring-offset-panel [&>svg]:data-[expanded]:rotate-180 [&>svg]:transition-transform"
+ triggerClass="flex items-center justify-between gap-1 w-28 px-3 py-2 text-base border border-edge rounded-xs bg-surface text-ink outline-none shrink-0 hover:bg-ink/5 data-[expanded]:bg-ink/5 focus:outline-none focus-visible:ring-2 focus-visible:ring-accent/50 focus-visible:ring-offset-1 focus-visible:ring-offset-surface [&>svg]:data-[expanded]:rotate-180 [&>svg]:transition-transform"
/>
</Show>
<Tooltip
@@ -355,7 +355,7 @@ function InviteTeamDemo(props: LessonContentProps) {
: 'Clear email'
}
class={cn(
- 'shrink-0 p-1.5 text-ink/40 hover:text-ink hover:bg-ink/5 rounded-xs focus:outline-none focus-visible:ring-2 focus-visible:ring-accent/50 focus-visible:ring-offset-1 focus-visible:ring-offset-panel'
+ 'shrink-0 p-1.5 text-ink/40 hover:text-ink hover:bg-ink/5 rounded-xs focus:outline-none focus-visible:ring-2 focus-visible:ring-accent/50 focus-visible:ring-offset-1 focus-visible:ring-offset-surface'
)}
>
<Show
@@ -382,7 +382,7 @@ function InviteTeamDemo(props: LessonContentProps) {
disabled={!canAddEmail()}
aria-label="Add another email invite"
class={cn(
- 'mx-2 flex items-center gap-2 px-3 py-2 text-sm rounded-xs focus:outline-none focus-visible:ring-2 focus-visible:ring-accent/50 focus-visible:ring-offset-1 focus-visible:ring-offset-panel shrink-0',
+ 'mx-2 flex items-center gap-2 px-3 py-2 text-sm rounded-xs focus:outline-none focus-visible:ring-2 focus-visible:ring-accent/50 focus-visible:ring-offset-1 focus-visible:ring-offset-surface shrink-0',
canAddEmail()
? 'text-ink bg-ink/8 hover:bg-ink/12'
: 'text-ink/30 bg-ink/4 cursor-not-allowed'
diff --git a/js/app/packages/app/component/interactive-onboarding/lessons/team-choice.tsx b/js/app/packages/app/component/interactive-onboarding/lessons/team-choice.tsx
index 3e2ad729b2..e087602e3c 100644
--- a/js/app/packages/app/component/interactive-onboarding/lessons/team-choice.tsx
+++ b/js/app/packages/app/component/interactive-onboarding/lessons/team-choice.tsx
@@ -78,7 +78,7 @@ function TeamChoiceDemo(props: LessonContentProps) {
type="button"
onClick={handleChooseTeam}
disabled={isPending()}
- class="flex items-center gap-4 p-5 rounded-md border border-accent/50 bg-accent/5 hover:bg-accent/10 text-left bracket-never focus:outline-none focus-visible:ring-2 focus-visible:ring-accent focus-visible:ring-offset-2 focus-visible:ring-offset-panel disabled:opacity-50 disabled:cursor-not-allowed"
+ class="flex items-center gap-4 p-5 rounded-md border border-accent/50 bg-accent/5 hover:bg-accent/10 text-left bracket-never focus:outline-none focus-visible:ring-2 focus-visible:ring-accent focus-visible:ring-offset-2 focus-visible:ring-offset-surface disabled:opacity-50 disabled:cursor-not-allowed"
>
<div class="shrink-0 size-11 rounded-full bg-accent/20 flex items-center justify-center">
<UsersIcon class="size-5 text-accent" />
@@ -95,7 +95,7 @@ function TeamChoiceDemo(props: LessonContentProps) {
type="button"
onClick={handleChooseSolo}
disabled={isPending()}
- class="flex items-center gap-4 p-5 rounded-md border border-edge bg-panel hover:bg-ink/5 text-left bracket-never focus:outline-none focus-visible:ring-2 focus-visible:ring-accent focus-visible:ring-offset-2 focus-visible:ring-offset-panel disabled:opacity-50 disabled:cursor-not-allowed"
+ class="flex items-center gap-4 p-5 rounded-md border border-edge bg-surface hover:bg-ink/5 text-left bracket-never focus:outline-none focus-visible:ring-2 focus-visible:ring-accent focus-visible:ring-offset-2 focus-visible:ring-offset-surface disabled:opacity-50 disabled:cursor-not-allowed"
>
<div class="shrink-0 size-11 rounded-full bg-ink/10 flex items-center justify-center">
{isPending() ? (
diff --git a/js/app/packages/app/component/ios-share-sheet/IosShareSheet.tsx b/js/app/packages/app/component/ios-share-sheet/IosShareSheet.tsx
index 52b73ecd74..208efcc628 100644
--- a/js/app/packages/app/component/ios-share-sheet/IosShareSheet.tsx
+++ b/js/app/packages/app/component/ios-share-sheet/IosShareSheet.tsx
@@ -187,7 +187,7 @@ function ShareSheetHeaderActions(props: {
function ShareSheetComposerError(_props: { error: unknown }) {
return (
- <div class="macro-message-width flex min-h-32 w-full flex-col items-center justify-center gap-2 rounded-[5px] border border-edge-muted bg-input px-4 py-6 text-center">
+ <div class="macro-message-width flex min-h-32 w-full flex-col items-center justify-center gap-2 rounded-[5px] border border-edge-muted bg-surface px-4 py-6 text-center">
<p class="text-sm text-ink">Couldn&apos;t load the composer.</p>
<p class="text-xs text-ink-muted">
Close the sheet and try sharing again.
diff --git a/js/app/packages/app/component/mobile/EntityRow.tsx b/js/app/packages/app/component/mobile/EntityRow.tsx
index 45b8b1bf8b..23bed7c284 100644
--- a/js/app/packages/app/component/mobile/EntityRow.tsx
+++ b/js/app/packages/app/component/mobile/EntityRow.tsx
@@ -533,7 +533,7 @@ export function EntityRow(
{/* Swipe Content */}
<div
data-swipe-content
- class="size-full min-h-0 overflow-hidden flex items-center p-0 bg-panel"
+ class="size-full min-h-0 overflow-hidden flex items-center p-0 bg-surface"
>
{props.children}
</div>
diff --git a/js/app/packages/app/component/mobile/MobileDock.tsx b/js/app/packages/app/component/mobile/MobileDock.tsx
index 7bfe497506..ee0d37eb7c 100644
--- a/js/app/packages/app/component/mobile/MobileDock.tsx
+++ b/js/app/packages/app/component/mobile/MobileDock.tsx
@@ -49,7 +49,7 @@ function MobileDockButton(props: MobileDockButtonProps) {
onTouchMove={props.onTouchMove}
onTouchEnd={props.onTouchEnd}
class={cn(
- 'flex flex-col items-center justify-center flex-1 pt-3 pb-2 bg-panel border-t border-edge-muted',
+ 'flex flex-col items-center justify-center flex-1 pt-3 pb-2 bg-surface border-t border-edge-muted',
props.active && 'text-accent'
)}
>
@@ -80,7 +80,7 @@ function SearchDockButton(props: { active: boolean; onClick: () => void }) {
props.onClick();
}}
class={cn(
- 'flex flex-col items-center justify-center flex-1 pt-3 pb-2 bg-panel border-t border-edge-muted',
+ 'flex flex-col items-center justify-center flex-1 pt-3 pb-2 bg-surface border-t border-edge-muted',
props.active && 'text-accent'
)}
>
@@ -120,7 +120,7 @@ export function MobileDock() {
return (
<Layer depth={1}>
<div class="relative z-mobile-nav-bar flex flex-row justify-between">
- <div class="-z-1 absolute inset-x-0 top-0 w-screen h-40 bg-panel" />
+ <div class="-z-1 absolute inset-x-0 top-0 w-screen h-40 bg-surface" />
<MobileDockButton
icon={AnimatedInboxIcon}
active={isActive('inbox')}
diff --git a/js/app/packages/app/component/mobile/MobileDrawer.tsx b/js/app/packages/app/component/mobile/MobileDrawer.tsx
index dad7eb966f..574ee41ec9 100644
--- a/js/app/packages/app/component/mobile/MobileDrawer.tsx
+++ b/js/app/packages/app/component/mobile/MobileDrawer.tsx
@@ -62,7 +62,7 @@ function MobileDrawerContent(props: ComponentProps<typeof Drawer.Content>) {
scrollToFocusedInput(e);
}}
class={cn(
- 'bottom-(--virtual-keyboard-height,0) fixed inset-x-0 z-modal bg-panel rounded-t-2xl flex flex-col max-h-[80vh] data-transitioning:transition-transform data-transitioning:duration-200 ease-out',
+ 'bottom-(--virtual-keyboard-height,0) fixed inset-x-0 z-modal bg-surface rounded-t-2xl flex flex-col max-h-[80vh] data-transitioning:transition-transform data-transitioning:duration-200 ease-out',
virtualKeyboardVisible()
? 'pb-0 max-h-[calc(80vh-var(--virtual-keyboard-height))] overflow-y-auto'
: 'pb-(--safe-bottom)',
diff --git a/js/app/packages/app/component/mobile/MobileSearch.tsx b/js/app/packages/app/component/mobile/MobileSearch.tsx
index 1ff34f05ed..38d9d1af8c 100644
--- a/js/app/packages/app/component/mobile/MobileSearch.tsx
+++ b/js/app/packages/app/component/mobile/MobileSearch.tsx
@@ -146,7 +146,7 @@ export function MobileSearchInner() {
};
return (
- <div class="flex flex-col h-full bg-panel">
+ <div class="flex flex-col h-full bg-surface">
<ResultsContainer
nameMatchItems={filteredItems()}
fullTextItems={fullTextResults()}
@@ -164,7 +164,7 @@ export function MobileSearchInner() {
<CategoryFilterTabs />
</Show>
{/* Search Input */}
- <div class="flex items-center gap-2 bg-page px-2 border-t border-edge-muted">
+ <div class="flex items-center gap-2 bg-surface px-2 border-t border-edge-muted">
<button
class="text-ink-muted flex flex-col items-center justify-center pl-2 pt-3 pb-2"
onClick={handleBack}
@@ -218,7 +218,7 @@ function ResultsContainer(props: {
};
return (
- <div class="flex-1 min-h-0 bg-panel" ref={ref}>
+ <div class="flex-1 min-h-0 bg-surface" ref={ref}>
<Switch>
<Match when={props.isLoading?.()}>
<div class="flex items-center gap-2 text-ink-muted h-10 px-2">
@@ -379,7 +379,7 @@ function FullTextResultItem(props: {
function CategoryFilterTabs() {
return (
- <div class="bg-panel border-t border-edge-muted h-11 px-1 overflow-x-auto scrollbar-hidden">
+ <div class="bg-surface border-t border-edge-muted h-11 px-1 overflow-x-auto scrollbar-hidden">
<Tabs
list={CATEGORIES.map((c) => ({ value: c.id, label: c.label }))}
value={SearchState.categoryFilter()}
diff --git a/js/app/packages/app/component/next-soup/soup-view/SoupEntityActionDrawer.tsx b/js/app/packages/app/component/next-soup/soup-view/SoupEntityActionDrawer.tsx
index dc2eb5b2d4..9f371188f1 100644
--- a/js/app/packages/app/component/next-soup/soup-view/SoupEntityActionDrawer.tsx
+++ b/js/app/packages/app/component/next-soup/soup-view/SoupEntityActionDrawer.tsx
@@ -70,7 +70,7 @@ export function SoupEntityActionDrawer() {
<button
type="button"
class={cn(
- 'flex items-center gap-3 px-4 py-3 text-sm hover:bg-hover hover-transition-bg text-left not-last:mb-px bg-panel',
+ 'flex items-center gap-3 px-4 py-3 text-sm hover:bg-hover hover-transition-bg text-left not-last:mb-px bg-surface',
action.destructive ? 'text-failure-ink' : 'text-ink'
)}
onClick={async (e: MouseEvent) => {
diff --git a/js/app/packages/app/component/next-soup/soup-view/filters-bar/active-filter-chips.tsx b/js/app/packages/app/component/next-soup/soup-view/filters-bar/active-filter-chips.tsx
index 2ca10e7dac..5af79d5078 100644
--- a/js/app/packages/app/component/next-soup/soup-view/filters-bar/active-filter-chips.tsx
+++ b/js/app/packages/app/component/next-soup/soup-view/filters-bar/active-filter-chips.tsx
@@ -212,7 +212,7 @@ const FilterChip = (props: {
<DropdownMenu.Portal>
<Layer depth={2}>
- <DropdownMenu.Content class="z-action-menu bg-menu border border-edge-muted rounded-sm shadow-xl min-w-40 p-1">
+ <DropdownMenu.Content class="z-action-menu bg-surface border border-edge-muted rounded-sm shadow-xl min-w-40 p-1">
<For each={props.filter.categoryOptions}>
{(option) => {
const active = () =>
@@ -245,7 +245,7 @@ const FilterChip = (props: {
)}
>
<Show when={active()}>
- <CheckIcon class="size-2.5 text-page" />
+ <CheckIcon class="size-2.5 text-surface" />
</Show>
</span>
}
@@ -259,7 +259,7 @@ const FilterChip = (props: {
)}
>
<Show when={active()}>
- <CheckIcon class="size-2.5 text-page" />
+ <CheckIcon class="size-2.5 text-surface" />
</Show>
</span>
</Show>
diff --git a/js/app/packages/app/component/next-soup/soup-view/filters-bar/mobile-filter-drawer.tsx b/js/app/packages/app/component/next-soup/soup-view/filters-bar/mobile-filter-drawer.tsx
index e16e1c18ae..8f07ac84c3 100644
--- a/js/app/packages/app/component/next-soup/soup-view/filters-bar/mobile-filter-drawer.tsx
+++ b/js/app/packages/app/component/next-soup/soup-view/filters-bar/mobile-filter-drawer.tsx
@@ -209,7 +209,7 @@ export const MobileFilterDrawer = () => {
>
<SlidersHorizontalIcon />
<Show when={activeCount() > 0}>
- <span class="absolute -top-0.5 right-0 translate-x-1/2 size-4 flex items-center justify-center rounded-full bg-accent text-page text-xxs font-medium leading-none">
+ <span class="absolute -top-0.5 right-0 translate-x-1/2 size-4 flex items-center justify-center rounded-full bg-accent text-surface text-xxs font-medium leading-none">
{activeCount()}
</span>
</Show>
@@ -249,7 +249,7 @@ export const MobileFilterDrawer = () => {
type="button"
role="radio"
aria-checked={active()}
- class="w-full bg-panel flex items-center gap-3 px-3 py-2.5 text-sm hover:bg-hover transition-colors text-left not-last:mb-px"
+ class="w-full bg-surface flex items-center gap-3 px-3 py-2.5 text-sm hover:bg-hover transition-colors text-left not-last:mb-px"
onClick={() => setSort(option.value)}
>
<Show when={option.icon}>
@@ -308,7 +308,7 @@ export const MobileFilterDrawer = () => {
>
<Accordion.Header>
<Accordion.Trigger
- class="w-full flex bg-panel items-center justify-between p-3 text-sm text-ink hover:bg-hover transition-colors outline-none group mb-px"
+ class="w-full flex bg-surface items-center justify-between p-3 text-sm text-ink hover:bg-hover transition-colors outline-none group mb-px"
onClick={(e) =>
scrollAccordionItemToTop(e, scrollRef())
}
@@ -318,7 +318,7 @@ export const MobileFilterDrawer = () => {
</span>
<div class="flex items-center gap-2">
<Show when={activeCount() > 0}>
- <span class="group-data-expanded:hidden size-4 flex items-center justify-center rounded-full bg-accent text-page text-xxs font-medium leading-none">
+ <span class="group-data-expanded:hidden size-4 flex items-center justify-center rounded-full bg-accent text-surface text-xxs font-medium leading-none">
{activeCount()}
</span>
</Show>
@@ -336,7 +336,7 @@ export const MobileFilterDrawer = () => {
type="button"
role="checkbox"
aria-checked={active()}
- class="w-full flex items-center gap-3 px-3 py-2.5 text-sm hover:bg-hover transition-colors text-left bg-panel not-last:mb-px"
+ class="w-full flex items-center gap-3 px-3 py-2.5 text-sm hover:bg-hover transition-colors text-left bg-surface not-last:mb-px"
onClick={() => toggleFilter(option.id)}
>
<span
@@ -348,7 +348,7 @@ export const MobileFilterDrawer = () => {
)}
>
<Show when={active()}>
- <CheckIcon class="size-2.5 text-page" />
+ <CheckIcon class="size-2.5 text-surface" />
</Show>
</span>
<Show when={option.icon}>
@@ -377,7 +377,7 @@ export const MobileFilterDrawer = () => {
<MobileDrawer.Section as={Accordion.Item} value="assignee">
<Accordion.Header>
<Accordion.Trigger
- class="w-full flex items-center justify-between p-3 text-sm text-ink hover:bg-hover transition-colors outline-none group bg-panel mb-px"
+ class="w-full flex items-center justify-between p-3 text-sm text-ink hover:bg-hover transition-colors outline-none group bg-surface mb-px"
onClick={(e) =>
scrollAccordionItemToTop(e, scrollRef())
}
@@ -385,7 +385,7 @@ export const MobileFilterDrawer = () => {
<span class="font-medium">Assignee</span>
<div class="flex items-center gap-2">
<Show when={assigneeFilter().length > 0}>
- <span class="group-data-expanded:hidden size-4 flex items-center justify-center rounded-full bg-accent text-page text-xxs font-medium leading-none">
+ <span class="group-data-expanded:hidden size-4 flex items-center justify-center rounded-full bg-accent text-surface text-xxs font-medium leading-none">
{assigneeFilter().length}
</span>
</Show>
@@ -395,7 +395,7 @@ export const MobileFilterDrawer = () => {
</Accordion.Header>
<Accordion.Content>
{/* Search */}
- <div class="flex items-center gap-2 px-3 py-2 muted bg-panel mb-px">
+ <div class="flex items-center gap-2 px-3 py-2 muted bg-surface mb-px">
<SearchIcon class="size-3.5 text-ink-muted shrink-0" />
<input
type="text"
@@ -418,7 +418,7 @@ export const MobileFilterDrawer = () => {
type="button"
role="checkbox"
aria-checked={active()}
- class="w-full flex items-center gap-3 px-4 py-2.5 text-sm hover:bg-hover transition-colors text-left bg-panel not-last:mb-px"
+ class="w-full flex items-center gap-3 px-4 py-2.5 text-sm hover:bg-hover transition-colors text-left bg-surface not-last:mb-px"
onClick={() => toggleAssignee(option.id)}
>
<span
@@ -430,7 +430,7 @@ export const MobileFilterDrawer = () => {
)}
>
<Show when={active()}>
- <CheckIcon class="size-2.5 text-page" />
+ <CheckIcon class="size-2.5 text-surface" />
</Show>
</span>
<span class="size-4 flex items-center justify-center shrink-0">
@@ -471,7 +471,7 @@ export const MobileFilterDrawer = () => {
onReplace={replaceFilter}
onClearAll={resetToTabDefaults}
isOptionActive={isOptionActive}
- chipClass="min-h-11 bg-menu border-none rounded-lg"
+ chipClass="min-h-11 bg-surface border-none rounded-lg"
hideCategoryLabel
/>
</div>
diff --git a/js/app/packages/app/component/next-soup/soup-view/filters-bar/search-operator-autocomplete.tsx b/js/app/packages/app/component/next-soup/soup-view/filters-bar/search-operator-autocomplete.tsx
index 541598ccd3..8681eb0bdc 100644
--- a/js/app/packages/app/component/next-soup/soup-view/filters-bar/search-operator-autocomplete.tsx
+++ b/js/app/packages/app/component/next-soup/soup-view/filters-bar/search-operator-autocomplete.tsx
@@ -92,7 +92,7 @@ export const SearchOperatorAutocomplete = (
<Show when={filteredOptions().length > 0}>
<div
data-operator-dropdown
- class="absolute left-0 top-full mt-1 z-action-menu bg-panel border border-edge-muted rounded-sm shadow-md min-w-50 max-w-[320px] max-h-60 overflow-y-auto p-1"
+ class="absolute left-0 top-full mt-1 z-action-menu bg-surface border border-edge-muted rounded-sm shadow-md min-w-50 max-w-[320px] max-h-60 overflow-y-auto p-1"
onMouseDown={(e) => e.preventDefault()}
>
<div class="px-2 py-1 text-xxs text-ink-faint uppercase tracking-wider">
diff --git a/js/app/packages/app/component/next-soup/soup-view/filters-bar/searchable-multi-select.tsx b/js/app/packages/app/component/next-soup/soup-view/filters-bar/searchable-multi-select.tsx
index 460331e2af..af5efc8717 100644
--- a/js/app/packages/app/component/next-soup/soup-view/filters-bar/searchable-multi-select.tsx
+++ b/js/app/packages/app/component/next-soup/soup-view/filters-bar/searchable-multi-select.tsx
@@ -46,7 +46,7 @@ const SearchableMultiSelectItem = (itemProps: {
>
<span class="size-4 flex items-center justify-center shrink-0 rounded-xs border border-edge group-data-selected:bg-accent group-data-selected:border-accent">
<Combobox.ItemIndicator>
- <CheckIcon class="size-2.5 text-page" />
+ <CheckIcon class="size-2.5 text-surface" />
</Combobox.ItemIndicator>
</span>
<Show when={itemProps.item.rawValue.icon}>
@@ -178,7 +178,7 @@ export const SearchableMultiSelect = (props: SearchableMultiSelectProps) => {
<Combobox.Portal>
<Combobox.Content
class={cn(
- 'z-action-menu bg-menu border border-edge-muted rounded-sm shadow-md w-65 max-w-[90vw] overflow-hidden',
+ 'z-action-menu bg-surface border border-edge-muted rounded-sm shadow-md w-65 max-w-[90vw] overflow-hidden',
props.contentClass
)}
>
diff --git a/js/app/packages/app/component/next-soup/soup-view/filters-bar/sort-dropdown.tsx b/js/app/packages/app/component/next-soup/soup-view/filters-bar/sort-dropdown.tsx
index f1ab4dfb8f..53bc7a8b4a 100644
--- a/js/app/packages/app/component/next-soup/soup-view/filters-bar/sort-dropdown.tsx
+++ b/js/app/packages/app/component/next-soup/soup-view/filters-bar/sort-dropdown.tsx
@@ -39,7 +39,7 @@ export const SortDropdown: Component<SortDropdownProps> = (props) => {
</Tooltip>
<Dropdown.Portal>
<Layer depth={2}>
- <Dropdown.Content class="z-action-menu bg-menu border border-edge-muted rounded-sm shadow-sm min-w-35 p-1">
+ <Dropdown.Content class="z-action-menu bg-surface border border-edge-muted rounded-sm shadow-sm min-w-35 p-1">
<For each={options()}>
{(option) => (
<Dropdown.Item
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 dd709dd646..314257ab3a 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
@@ -38,7 +38,7 @@ const variantStyles: Record<SearchbarVariant, string> = {
filled:
'bg-ink/5 text-ink-muted hover:bg-ink/7 hover:text-ink border-edge-muted focus-within:bg-ink/7 focus-within:text-ink',
secondary:
- 'bg-transparent text-ink-muted border-edge-muted hover:bg-input hover:text-ink focus-within:bg-input focus-within:text-ink',
+ 'bg-transparent text-ink-muted border-edge-muted hover:bg-surface hover:text-ink focus-within:bg-surface focus-within:text-ink',
};
export const SoupSearchbar = (props: SoupSearchbarProps) => {
diff --git a/js/app/packages/app/component/next-soup/soup-view/filters-bar/unified-filter-dropdown.tsx b/js/app/packages/app/component/next-soup/soup-view/filters-bar/unified-filter-dropdown.tsx
index a61b3e6a5f..f5fb958ea0 100644
--- a/js/app/packages/app/component/next-soup/soup-view/filters-bar/unified-filter-dropdown.tsx
+++ b/js/app/packages/app/component/next-soup/soup-view/filters-bar/unified-filter-dropdown.tsx
@@ -56,7 +56,7 @@ const TypeIndicator = (props: { active: boolean }) => (
)}
>
<Show when={props.active}>
- <CheckIcon class="size-2.5 text-page" />
+ <CheckIcon class="size-2.5 text-surface" />
</Show>
</span>
);
@@ -416,7 +416,7 @@ const SearchableFilterSubmenu = (props: {
<Dropdown.Portal>
<Layer depth={2}>
- <Dropdown.SubContent class="z-action-menu bg-menu border border-edge-muted rounded-sm shadow-xl w-65 max-w-[90vw] overflow-hidden">
+ <Dropdown.SubContent class="z-action-menu bg-surface border border-edge-muted rounded-sm shadow-xl w-65 max-w-[90vw] overflow-hidden">
<SearchableMultiSelectInline
options={props.options}
activeIds={props.activeIds}
@@ -447,7 +447,7 @@ function SingleValueSubmenu<T>(props: {
</Dropdown.SubTrigger>
<Dropdown.Portal>
<Layer depth={2}>
- <Dropdown.SubContent class="z-action-menu bg-menu border border-edge-muted rounded-sm shadow-xl min-w-40 p-1">
+ <Dropdown.SubContent class="z-action-menu bg-surface border border-edge-muted rounded-sm shadow-xl min-w-40 p-1">
<For each={props.options}>
{(option) => {
const active = () => props.current() === option.value;
@@ -649,7 +649,7 @@ const SearchIndexSubRow = (props: {
</Dropdown.SubTrigger>
<Dropdown.Portal>
<Layer depth={2}>
- <Dropdown.SubContent class="z-action-menu bg-menu border border-edge-muted rounded-sm shadow-xl min-w-45 p-1">
+ <Dropdown.SubContent class="z-action-menu bg-surface border border-edge-muted rounded-sm shadow-xl min-w-45 p-1">
{props.children}
</Dropdown.SubContent>
</Layer>
@@ -810,7 +810,7 @@ export const UnifiedFilterDropdown = () => {
<Dropdown.Portal>
<Layer depth={2}>
- <Dropdown.Content class="z-action-menu bg-menu border border-edge-muted rounded-sm shadow-xl min-w-45 p-1">
+ <Dropdown.Content class="z-action-menu bg-surface border border-edge-muted rounded-sm shadow-xl min-w-45 p-1">
<Show
when={
categories().length === 1 && !isTasksView() && !isSearchView()
@@ -827,7 +827,7 @@ export const UnifiedFilterDropdown = () => {
<Dropdown.Portal>
<Layer depth={2}>
- <Dropdown.SubContent class="z-action-menu bg-menu border border-edge-muted rounded-sm shadow-xl min-w-40 p-1">
+ <Dropdown.SubContent class="z-action-menu bg-surface border border-edge-muted rounded-sm shadow-xl min-w-40 p-1">
<For each={category.options}>
{(option) => {
const active = () =>
@@ -847,7 +847,7 @@ export const UnifiedFilterDropdown = () => {
)}
>
<Show when={active()}>
- <CheckIcon class="size-2.5 text-page" />
+ <CheckIcon class="size-2.5 text-surface" />
</Show>
</span>
@@ -971,7 +971,7 @@ export const UnifiedFilterDropdown = () => {
)}
>
<Show when={active()}>
- <CheckIcon class="size-2.5 text-page" />
+ <CheckIcon class="size-2.5 text-surface" />
</Show>
</span>
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 6efe735928..eb4b723188 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
@@ -147,7 +147,7 @@ export const SoupViewCreateButton = () => {
</Dropdown.Trigger>
<Dropdown.Portal>
<Layer depth={2}>
- <Dropdown.Content class="z-action-menu bg-menu border border-edge-muted rounded-sm shadow-sm min-w-35 p-1">
+ <Dropdown.Content class="z-action-menu bg-surface border border-edge-muted rounded-sm shadow-sm min-w-35 p-1">
<For each={options()}>
{(item) => (
<Dropdown.Item
diff --git a/js/app/packages/app/component/next-soup/soup-view/soup-view-file-dropzone.tsx b/js/app/packages/app/component/next-soup/soup-view/soup-view-file-dropzone.tsx
index a3fb796721..010ce6cdd0 100644
--- a/js/app/packages/app/component/next-soup/soup-view/soup-view-file-dropzone.tsx
+++ b/js/app/packages/app/component/next-soup/soup-view/soup-view-file-dropzone.tsx
@@ -14,7 +14,7 @@ export const SoupViewFileDropzone: FlowComponent = (props) => {
return (
<div
- class="relative flex flex-col bg-panel size-full"
+ class="relative flex flex-col bg-surface size-full"
use:fileFolderDrop={{
onDrop: (fileEntries, folderEntries) => {
handleFileFolderDrop(fileEntries, folderEntries, handleFileUpload);
diff --git a/js/app/packages/app/component/next-soup/soup-view/soup-view-mobile-create-button.tsx b/js/app/packages/app/component/next-soup/soup-view/soup-view-mobile-create-button.tsx
index bb46d63b3d..1d314a0ab8 100644
--- a/js/app/packages/app/component/next-soup/soup-view/soup-view-mobile-create-button.tsx
+++ b/js/app/packages/app/component/next-soup/soup-view/soup-view-mobile-create-button.tsx
@@ -95,7 +95,7 @@ export function SoupViewMobileCreateButton(props: {
<Layer depth={1}>
<button
type="button"
- class="absolute bottom-4 right-4 z-10 pl-3 pr-4 py-2 rounded-full bg-panel ring text-accent flex items-center justify-center gap-2 shadow-md ring-accent/20"
+ class="absolute bottom-4 right-4 z-10 pl-3 pr-4 py-2 rounded-full bg-surface ring text-accent flex items-center justify-center gap-2 shadow-md ring-accent/20"
onClick={() => {
hapticImpact('light');
setAnimating(true);
diff --git a/js/app/packages/app/component/next-soup/soup-view/soup-view-tabs.tsx b/js/app/packages/app/component/next-soup/soup-view/soup-view-tabs.tsx
index a4ed216330..7a01a63934 100644
--- a/js/app/packages/app/component/next-soup/soup-view/soup-view-tabs.tsx
+++ b/js/app/packages/app/component/next-soup/soup-view/soup-view-tabs.tsx
@@ -167,7 +167,7 @@ export const CollapsedSoupViewTabs = () => {
</Dropdown.Trigger>
<Dropdown.Portal>
<Layer depth={2}>
- <Dropdown.Content class="z-action-menu bg-page border border-edge-muted rounded-sm shadow-sm p-1">
+ <Dropdown.Content class="z-action-menu bg-surface border border-edge-muted rounded-sm shadow-sm p-1">
<For each={list()}>
{(item) => (
<Dropdown.Item
@@ -195,7 +195,7 @@ export const MobileSoupViewTabs = () => {
const listView = useCurrentListView();
return (
- <div class="bg-panel border-t border-edge-muted h-11 px-1">
+ <div class="bg-surface border-t border-edge-muted h-11 px-1">
<Switch>
<For
each={Object.keys(VIEW_TAB_LISTS) as (keyof typeof VIEW_TAB_LISTS)[]}
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 6bba35157d..6a25d286b4 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
@@ -1038,7 +1038,7 @@ export const SoupViewList = (props: SoupViewListProps) => {
entityRowConfig={{
swipeLeftColor: 'bg-success',
swipeLeftRevealedComponent: (
- <CheckIcon class="size-8 text-panel" />
+ <CheckIcon class="size-8 text-surface" />
),
}}
/>
diff --git a/js/app/packages/app/component/next-soup/soup-view/views/tasks/TaskListHeader.tsx b/js/app/packages/app/component/next-soup/soup-view/views/tasks/TaskListHeader.tsx
index 95411c8596..7c1bfd4fd9 100644
--- a/js/app/packages/app/component/next-soup/soup-view/views/tasks/TaskListHeader.tsx
+++ b/js/app/packages/app/component/next-soup/soup-view/views/tasks/TaskListHeader.tsx
@@ -61,7 +61,7 @@ export function TaskListHeader(props: { class?: string }) {
class={cn(
'task-grid-row w-full grid items-center gap-2 px-2 h-10',
'text-xs font-medium text-ink-extra-muted',
- 'bg-panel border-b border-edge-muted',
+ 'bg-surface border-b border-edge-muted',
props.class
)}
style={{
diff --git a/js/app/packages/app/component/paywall/PaywallComponent.tsx b/js/app/packages/app/component/paywall/PaywallComponent.tsx
index b275275bc5..616b863fe8 100644
--- a/js/app/packages/app/component/paywall/PaywallComponent.tsx
+++ b/js/app/packages/app/component/paywall/PaywallComponent.tsx
@@ -171,7 +171,7 @@ const PaywallComponent = (props: PaywallComponent) => {
onClick={() => setUserSelectedTier(plan.tier)}
class={cn(
selectedTier() === plan.tier
- ? 'border-accent-ink bg-active'
+ ? 'border-accent bg-active'
: 'border-edge hover:border-edge',
'p-4 sm:p-5 border flex flex-col transition-all relative text-left rounded-sm'
)}
diff --git a/js/app/packages/app/component/property-edit-modal/PropertyEditorModal.tsx b/js/app/packages/app/component/property-edit-modal/PropertyEditorModal.tsx
index f2d51e0032..9156851ee3 100644
--- a/js/app/packages/app/component/property-edit-modal/PropertyEditorModal.tsx
+++ b/js/app/packages/app/component/property-edit-modal/PropertyEditorModal.tsx
@@ -152,7 +152,7 @@ export function PropertyEditorModal() {
<Surface depth={2} active>
<div class="*:max-h-[75vh]">
<div class="flex flex-col max-h-108 overflow-hidden text-sm">
- <div class="flex items-center gap-2 bg-panel px-2 h-10 border-b border-edge-muted shrink-0">
+ <div class="flex items-center gap-2 bg-surface px-2 h-10 border-b border-edge-muted shrink-0">
<span class="pl-2 pointer-events-none">❯</span>
<SearchInput
placeHolder={placeholder() || defaultPlaceholder}
diff --git a/js/app/packages/app/component/settings/Account.tsx b/js/app/packages/app/component/settings/Account.tsx
index 23394864b1..b6224f0b7a 100644
--- a/js/app/packages/app/component/settings/Account.tsx
+++ b/js/app/packages/app/component/settings/Account.tsx
@@ -190,7 +190,7 @@ export function Account() {
<Panel.Toolbar class="h-full w-full">
<Show when={permissions()?.includes('write:stripe_subscription') && !isNativeMobilePlatform()}>
- <div class="bg-panel px-6 py-2 w-full">
+ <div class="bg-surface px-6 py-2 w-full">
<PaywallComponent
hideCloseButton
cb={() => {}}
@@ -504,7 +504,7 @@ export function Account() {
function Row(props: { label: string; children?: any }) {
return (
- <div class="bg-panel flex items-center justify-between h-15.25 px-6">
+ <div class="bg-surface flex items-center justify-between h-15.25 px-6">
<div class="text-sm">{props.label}</div>
<div class="text-right">{props.children}</div>
</div>
@@ -546,7 +546,7 @@ function NameInput(props: {
};
return (
- <div class="ph-no-capture group relative flex items-center gap-1 rounded-sm h-7 mobile:h-9 px-2 border text-xs bg-transparent text-ink-muted border-edge-muted hover:bg-input hover:text-ink focus-within:bg-input focus-within:text-ink">
+ <div class="ph-no-capture group relative flex items-center gap-1 rounded-sm h-7 mobile:h-9 px-2 border text-xs bg-transparent text-ink-muted border-edge-muted hover:bg-surface hover:text-ink focus-within:bg-surface focus-within:text-ink">
<input
type="text"
class="flex-1 min-w-0 bg-transparent outline-none border-0 p-0 text-xs placeholder:text-ink-extra-muted"
diff --git a/js/app/packages/app/component/settings/Settings.tsx b/js/app/packages/app/component/settings/Settings.tsx
index ebf54bdfc2..0038409958 100644
--- a/js/app/packages/app/component/settings/Settings.tsx
+++ b/js/app/packages/app/component/settings/Settings.tsx
@@ -159,7 +159,7 @@ export function SettingsPanel(props: SettingsPanelProps) {
function BottomTabs() {
return (
- <div class="bg-panel border-t border-edge-muted h-11 shrink-0 px-1">
+ <div class="bg-surface border-t border-edge-muted h-11 shrink-0 px-1">
<Tabs
list={settingsTabs()}
value={activeTabId()}
@@ -263,7 +263,7 @@ function CollapsedSettingsTabs(props: CollapsedSettingsTabsProps) {
</Dropdown.Trigger>
<Dropdown.Portal>
<Layer depth={2}>
- <Dropdown.Content class="z-action-menu bg-page border border-edge-muted rounded-sm shadow-sm p-1">
+ <Dropdown.Content class="z-action-menu bg-surface border border-edge-muted rounded-sm shadow-sm p-1">
<For each={props.tabs}>
{(item) => (
<Dropdown.Item
diff --git a/js/app/packages/app/component/settings/Shortcuts.tsx b/js/app/packages/app/component/settings/Shortcuts.tsx
index f4965aefdd..630813dbe8 100644
--- a/js/app/packages/app/component/settings/Shortcuts.tsx
+++ b/js/app/packages/app/component/settings/Shortcuts.tsx
@@ -84,7 +84,7 @@ function Kbd(props: { shortcut: string; class?: string }) {
function ShortcutRow(props: { item: ShortcutItem; spacer?: string }) {
return (
<div
- class="group flex items-center gap-2 py-1.5 rounded-md hover:bg-panel-secondary/50 transition-colors"
+ class="group flex items-center gap-2 py-1.5 rounded-md hover:bg-surface-secondary/50 transition-colors"
onMouseEnter={() => setHoveredCodes(props.item.codes)}
onMouseLeave={() => setHoveredCodes([])}
>
diff --git a/js/app/packages/app/component/settings/ShortcutsHelper.tsx b/js/app/packages/app/component/settings/ShortcutsHelper.tsx
index 7e419598c3..15cae2007b 100644
--- a/js/app/packages/app/component/settings/ShortcutsHelper.tsx
+++ b/js/app/packages/app/component/settings/ShortcutsHelper.tsx
@@ -31,7 +31,7 @@ export function ShortcutsHelper() {
<button
type="button"
onClick={handleClick}
- class="flex items-center gap-1.5 rounded-xs px-3 py-1.5 bg-panel border border-edge-muted ring-accent text-ink text-sm font-medium shadow hover:bg-panel-secondary hover:border-accent/50 transition-colors"
+ class="flex items-center gap-1.5 rounded-xs px-3 py-1.5 bg-surface border border-edge-muted ring-accent text-ink text-sm font-medium shadow hover:bg-surface-secondary hover:border-accent/50 transition-colors"
>
<KeyboardIcon class="size-4 text-accent" />
<span>Shortcuts</span>
diff --git a/js/app/packages/app/component/settings/Team.tsx b/js/app/packages/app/component/settings/Team.tsx
index f31cb7fa58..df4e24473a 100644
--- a/js/app/packages/app/component/settings/Team.tsx
+++ b/js/app/packages/app/component/settings/Team.tsx
@@ -130,7 +130,7 @@ function RoleSelect(props: {
<CaretDownIcon class="size-3 text-ink-muted shrink-0" />
</Select.Trigger>
<Select.Portal>
- <Select.Content class="z-50 bg-menu border border-edge rounded shadow-lg min-w-25 p-1">
+ <Select.Content class="z-50 bg-surface border border-edge rounded shadow-lg min-w-25 p-1">
<Select.Listbox />
</Select.Content>
</Select.Portal>
@@ -182,7 +182,7 @@ function TierSelect(props: {
<CaretDownIcon class="size-3 text-ink-muted shrink-0" />
</Select.Trigger>
<Select.Portal>
- <Select.Content class="z-50 bg-menu border border-edge rounded shadow-lg min-w-55 p-1">
+ <Select.Content class="z-50 bg-surface border border-edge rounded shadow-lg min-w-55 p-1">
<Select.Listbox />
</Select.Content>
</Select.Portal>
@@ -216,7 +216,7 @@ function InviteEntryRow(props: {
onBlur={() => props.onBlur()}
placeholder="Enter email address"
class={cn(
- 'flex-1 min-w-0 px-3 py-2 text-sm border rounded-xs bg-input text-ink placeholder:text-ink/30 outline-none',
+ 'flex-1 min-w-0 px-3 py-2 text-sm border rounded-xs bg-surface text-ink placeholder:text-ink/30 outline-none',
props.error
? 'border-failure focus:border-failure'
: 'border-edge-muted focus:border-accent/50'
@@ -226,7 +226,7 @@ function InviteEntryRow(props: {
<TierSelect
value={props.entry.tier}
onChange={props.onTierChange}
- triggerClass="flex items-center justify-between w-24 px-3 py-2 text-sm border border-edge-muted rounded-xs bg-input text-ink outline-none focus:border-accent/50 shrink-0"
+ triggerClass="flex items-center justify-between w-24 px-3 py-2 text-sm border border-edge-muted rounded-xs bg-surface text-ink outline-none focus:border-accent/50 shrink-0"
/>
</Show>
<Show when={props.showRemove}>
@@ -710,7 +710,7 @@ function CreateTeamDialog(props: { open: boolean; onClose: () => void }) {
onBlur={() => validateTeamName()}
placeholder="My Team"
class={cn(
- 'w-full px-3 py-2 text-sm border rounded-xs bg-input text-ink placeholder:text-ink/30 outline-none',
+ 'w-full px-3 py-2 text-sm border rounded-xs bg-surface text-ink placeholder:text-ink/30 outline-none',
teamNameError()
? 'border-failure focus:border-failure'
: 'border-edge-muted focus:border-accent/50'
@@ -1023,7 +1023,7 @@ function TeamManagement(props: {
value={teamNameValue()}
onInput={(e) => setEditingTeamName(e.currentTarget.value)}
placeholder="Enter team name"
- class="text-sm bg-input border-none outline-none text-ink text-right w-48"
+ class="text-sm bg-surface border-none outline-none text-ink text-right w-48"
/>
<Show when={hasTeamNameChanged()}>
<div class="flex items-center gap-1 shrink-0">
@@ -1169,7 +1169,7 @@ function TeamManagement(props: {
value={deleteConfirmation()}
onInput={(e) => setDeleteConfirmation(e.currentTarget.value)}
placeholder={deleteConfirmationPhrase()}
- class="w-full px-3 py-2 text-sm border border-edge-muted rounded-xs bg-input text-ink placeholder:text-ink/30 outline-none focus:border-accent/50"
+ class="w-full px-3 py-2 text-sm border border-edge-muted rounded-xs bg-surface text-ink placeholder:text-ink/30 outline-none focus:border-accent/50"
/>
<div class="flex justify-end gap-1 pt-2">
<Button
diff --git a/js/app/packages/app/component/split-layout/components/SplitContainer.tsx b/js/app/packages/app/component/split-layout/components/SplitContainer.tsx
index fe43f3dba3..b96da263c8 100644
--- a/js/app/packages/app/component/split-layout/components/SplitContainer.tsx
+++ b/js/app/packages/app/component/split-layout/components/SplitContainer.tsx
@@ -62,7 +62,7 @@ export function SplitContainer(
class="fixed inset-0 w-screen h-screen z-modal-overlay bg-modal-overlay pattern-diagonal-4 pattern-edge-muted"
onClick={() => panel.handle.toggleSpotlight(false)}
/>
- <div class="fixed inset-16 bg-panel shadow-xl" />
+ <div class="fixed inset-16 bg-surface shadow-xl" />
</Show>
<div
@@ -85,7 +85,7 @@ export function SplitContainer(
when={!isMobile()}
fallback={
<Layer depth={1}>
- <div class="flex flex-col min-h-0 size-full bg-panel overflow-hidden">
+ <div class="flex flex-col min-h-0 size-full bg-surface overflow-hidden">
<SplitHeader ref={setHeaderRef} />
<SplitToolbar ref={setToolbarRef} />
<div class="@container/split size-full overflow-hidden relative">
@@ -103,7 +103,7 @@ export function SplitContainer(
}
depth={1}
>
- <div class="flex flex-col min-h-0 size-full bg-panel overflow-hidden">
+ <div class="flex flex-col min-h-0 size-full bg-surface overflow-hidden">
<SplitHeader ref={setHeaderRef} />
<SplitToolbar ref={setToolbarRef} />
<div class="@container/split size-full overflow-hidden relative">
diff --git a/js/app/packages/app/component/split-layout/components/SplitDrawer.tsx b/js/app/packages/app/component/split-layout/components/SplitDrawer.tsx
index ff4fba45e7..74c5882f47 100644
--- a/js/app/packages/app/component/split-layout/components/SplitDrawer.tsx
+++ b/js/app/packages/app/component/split-layout/components/SplitDrawer.tsx
@@ -64,7 +64,7 @@ export function SplitDrawer(
};
const getPositionClasses = () => {
- const baseClasses = `absolute bg-panel border-edge-muted z-annotation-layer flex flex-col`;
+ const baseClasses = `absolute bg-surface border-edge-muted z-annotation-layer flex flex-col`;
let positionClasses = '';
switch (props.side) {
case 'top':
diff --git a/js/app/packages/app/component/split-layout/components/SplitFileMenu.tsx b/js/app/packages/app/component/split-layout/components/SplitFileMenu.tsx
index a122afaec2..397cb3eecf 100644
--- a/js/app/packages/app/component/split-layout/components/SplitFileMenu.tsx
+++ b/js/app/packages/app/component/split-layout/components/SplitFileMenu.tsx
@@ -190,7 +190,7 @@ export function SplitFileMenu(props: {
as={Button}
class={cn(
'px-1',
- open() && 'bg-accent/20 hover:bg-accent/30 text-accent-ink',
+ open() && 'bg-accent/20 hover:bg-accent/30 text-accent',
props.buttonClass
)}
size="icon-sm"
@@ -199,7 +199,7 @@ export function SplitFileMenu(props: {
</ResponsiveDropdown.Trigger>
<ResponsiveDropdown.Portal>
<Layer depth={2}>
- <ResponsiveDropdown.Content class="bg-menu w-fit p-1 border border-edge-muted rounded-xs shadow">
+ <ResponsiveDropdown.Content class="bg-surface w-fit p-1 border border-edge-muted rounded-xs shadow">
<For each={ops()}>
{(op, i) => (
<>
diff --git a/js/app/packages/app/component/split-layout/components/SplitHeader.tsx b/js/app/packages/app/component/split-layout/components/SplitHeader.tsx
index 3bc11b15df..1d1abc44ec 100644
--- a/js/app/packages/app/component/split-layout/components/SplitHeader.tsx
+++ b/js/app/packages/app/component/split-layout/components/SplitHeader.tsx
@@ -169,8 +169,8 @@ export function SplitHeader(props: { ref: Setter<HTMLDivElement | null> }) {
data-split-header
ref={props.ref}
>
- <div class="absolute inset-0 flex justify-start items-center bg-panel">
- <div class="z-annotation-layer relative flex items-center bg-panel pl-2 mobile:pl-0 h-full">
+ <div class="absolute inset-0 flex justify-start items-center bg-surface">
+ <div class="z-annotation-layer relative flex items-center bg-surface pl-2 mobile:pl-0 h-full">
<div class="mobile:hidden">
<SplitCloseButton />
</div>
diff --git a/js/app/packages/app/component/split-layout/components/SplitTabs.tsx b/js/app/packages/app/component/split-layout/components/SplitTabs.tsx
index 0d7ba11313..f179cc90d6 100644
--- a/js/app/packages/app/component/split-layout/components/SplitTabs.tsx
+++ b/js/app/packages/app/component/split-layout/components/SplitTabs.tsx
@@ -108,7 +108,7 @@ export function SplitTabs(props: {
/>
<Tabs.List
- class="flex flex-row h-full bg-panel overflow-x-scroll overscroll-none scrollbar-hidden scroll-shadows-x relative"
+ class="flex flex-row h-full bg-surface overflow-x-scroll overscroll-none scrollbar-hidden scroll-shadows-x relative"
as="div"
ref={(r) => {
scrollRef = r;
diff --git a/js/app/packages/app/component/teams/TierSelect.tsx b/js/app/packages/app/component/teams/TierSelect.tsx
index cac66fe967..9696852b48 100644
--- a/js/app/packages/app/component/teams/TierSelect.tsx
+++ b/js/app/packages/app/component/teams/TierSelect.tsx
@@ -83,7 +83,7 @@ export function TierSelect(props: {
<CaretDownIcon class="size-3 text-ink-muted shrink-0" />
</Select.Trigger>
<Select.Portal>
- <Select.Content class="flex flex-col justify-start items-start bg-menu shadow-lg ring-1 ring-edge-muted rounded-sm p-1 cursor-default select-none max-w-full max-h-[calc(100dvh-10rem)] overflow-y-auto z-modal">
+ <Select.Content class="flex flex-col justify-start items-start bg-surface shadow-lg ring-1 ring-edge-muted rounded-sm p-1 cursor-default select-none max-w-full max-h-[calc(100dvh-10rem)] overflow-y-auto z-modal">
<Select.Listbox />
</Select.Content>
</Select.Portal>
diff --git a/js/app/packages/app/index.css b/js/app/packages/app/index.css
index 499ebec420..7c805c4520 100644
--- a/js/app/packages/app/index.css
+++ b/js/app/packages/app/index.css
@@ -78,18 +78,11 @@
--transition: 0s; /* defualt 0.15, used for transition jamming, currently disabled */
/* Semantic Color names, use these when writing tailwind */
- --color-accent-ink: var(--a0);
--color-accent: var(--a0);
- --color-focus: var(--a0);
--color-accent-bg: oklch(var(--a0) / 0.08);
--color-accent-hover: oklch(var(--a0) / 0.20); /* hover, e.g. hover state for buttons/items */
- --color-panel: var(--b0); /* block background */
- --color-page: var(--b0); /* page background */
- --color-menu: var(--b0); /* menu background */
- --color-dialog: var(--b0); /* dialog, e.g. dialog background */
- --color-input: var(--b0); /* input, e.g. chat/channel input */
- --color-button: var(--b0); /* dialog, e.g. dialog background */
+ --color-surface: var(--b0); /* surface background (panels, pages, menus, dialogs, inputs, buttons) */
--color-drop-shadow: oklch(calc(var(--b0l) - 0.01 ) var(--b0c) var(--b0h) / 0.4);
--color-message: color-mix(in oklch, var(--b1) 50%, var(--b2)); /* message background */
--color-hover: var(--b2); /* hover, e.g. hover state for buttons/items */
@@ -170,8 +163,6 @@
}
:root {
- --color-focus: var(--color-accent);
-
/* Cursor variables — override these to use custom cursors */
--cursor-nesw-resize: nesw-resize;
--cursor-nwse-resize: nwse-resize;
@@ -189,13 +180,7 @@
--cursor-text: text;
}
-.bg-accent {
- --color-focus: var(--color-panel);
-}
-.bg-panel, .bg-dialog {
- --color-focus: var(--color-accent);
-}
/* Big hammer fix for cursor pointer. */
@utility cursor-pointer {
@@ -267,7 +252,7 @@
/* Used when you need to use a color defined via transparency, e.g. `accent-bg` in a context where it needs to be opaque, e.g. when it is floating over other elements. Use this with any of our macro colors, e.g. floating-accent-bg */
@utility floating-* {
- background-color: var(--color-dialog);
+ background-color: var(--color-surface);
box-shadow: inset 400px 400px --value(--color-*);
}
@@ -444,7 +429,7 @@
@apply overflow-clip overscroll-none relative m-0 p-0 font-sans optical-auto;
/* SCUFFED; surface might change to surface2 */
- background-color: var(--color-page);
+ background-color: var(--color-surface);
width: 100dvw;
height: 100dvh;
diff --git a/js/app/packages/block-automation/component/AutomationPromptEditor.tsx b/js/app/packages/block-automation/component/AutomationPromptEditor.tsx
index b0e2695ef7..34e38ab89a 100644
--- a/js/app/packages/block-automation/component/AutomationPromptEditor.tsx
+++ b/js/app/packages/block-automation/component/AutomationPromptEditor.tsx
@@ -13,7 +13,7 @@ export function AutomationPromptEditor(props: {
.onChange(props.onChange);
return (
- <div class="min-h-45 border border-edge-muted rounded-sm bg-input **:[[contenteditable]]:px-2 **:[[contenteditable]]:py-1.5 **:[[contenteditable]]:text-sm **:[[contenteditable]]:outline-none cursor-default">
+ <div class="min-h-45 border border-edge-muted rounded-sm bg-surface **:[[contenteditable]]:px-2 **:[[contenteditable]]:py-1.5 **:[[contenteditable]]:text-sm **:[[contenteditable]]:outline-none cursor-default">
<MarkdownShell
config={editor}
initialValue={props.initialValue}
diff --git a/js/app/packages/block-automation/component/AutomationRenameModal.tsx b/js/app/packages/block-automation/component/AutomationRenameModal.tsx
index e8a5a5affe..7e686aea54 100644
--- a/js/app/packages/block-automation/component/AutomationRenameModal.tsx
+++ b/js/app/packages/block-automation/component/AutomationRenameModal.tsx
@@ -74,7 +74,7 @@ function AutomationRenameModalContent(props: {
/>
<div class="absolute z-modal pointer-events-none px-2 inset-px">
<Dialog.Content class="pointer-events-none!">
- <div class="pointer-events-auto w-full max-w-[min(36rem,calc(100%-1rem))] mx-auto mt-16 bg-menu border border-edge h-fit p-2">
+ <div class="pointer-events-auto w-full max-w-[min(36rem,calc(100%-1rem))] mx-auto mt-16 bg-surface border border-edge h-fit p-2">
<div class="w-full my-1">
<EntityModalTitle title="Rename" />
<div class="w-full">
@@ -91,7 +91,7 @@ function AutomationRenameModalContent(props: {
value={editValue()}
onInput={(e) => setEditValue(e.currentTarget.value)}
onKeyDown={handleKeyDown}
- class="w-full p-2 text-sm border border-edge bg-menu text-ink placeholder:text-ink-placeholder focus:outline-none focus:bg-active selection:bg-ink selection:text-panel"
+ class="w-full p-2 text-sm border border-edge bg-surface text-ink placeholder:text-ink-placeholder focus:outline-none focus:bg-active selection:bg-ink selection:text-surface"
placeholder="Enter title..."
/>
</div>
diff --git a/js/app/packages/block-automation/component/AutomationTimePicker.tsx b/js/app/packages/block-automation/component/AutomationTimePicker.tsx
index 89a13063fb..3b45f46f30 100644
--- a/js/app/packages/block-automation/component/AutomationTimePicker.tsx
+++ b/js/app/packages/block-automation/component/AutomationTimePicker.tsx
@@ -90,7 +90,7 @@ export function AutomationTimePicker(props: {
</button>
<Show when={open()}>
<div
- class="absolute inset-x-0 top-full mt-1 z-action-menu bg-dialog border border-edge-muted rounded-sm p-3"
+ class="absolute inset-x-0 top-full mt-1 z-action-menu bg-surface border border-edge-muted rounded-sm p-3"
use:clickOutside={() => setOpen(false)}
>
<div class="flex items-center gap-2">
@@ -150,7 +150,7 @@ export function AutomationTimePicker(props: {
type="button"
class="px-2 py-1 transition-colors"
classList={{
- 'bg-accent text-dialog': period() === 'AM',
+ 'bg-accent text-surface': period() === 'AM',
'hover:bg-active': period() !== 'AM',
}}
onClick={() => {
@@ -164,7 +164,7 @@ export function AutomationTimePicker(props: {
type="button"
class="px-2 py-1 transition-colors"
classList={{
- 'bg-accent text-dialog': period() === 'PM',
+ 'bg-accent text-surface': period() === 'PM',
'hover:bg-active': period() !== 'PM',
}}
onClick={() => {
diff --git a/js/app/packages/block-automation/component/automationUtils.ts b/js/app/packages/block-automation/component/automationUtils.ts
index 562ea0ac4c..4c3f01961a 100644
--- a/js/app/packages/block-automation/component/automationUtils.ts
+++ b/js/app/packages/block-automation/component/automationUtils.ts
@@ -11,7 +11,7 @@ import type {
import type { ScheduleDraft, ScheduleFrequency } from './types';
export const INPUT_CLASS =
- 'w-full border border-edge-muted rounded-sm bg-input px-2 py-1.5 text-sm text-ink outline-none placeholder:text-ink/30 focus:border-accent/20 cursor-default';
+ 'w-full border border-edge-muted rounded-sm bg-surface px-2 py-1.5 text-sm text-ink outline-none placeholder:text-ink/30 focus:border-accent/20 cursor-default';
export const DEFAULT_TIME = '09:00';
export const FREQUENCY_OPTIONS: Array<{
diff --git a/js/app/packages/block-call/component/CallRecording/CallRecordingSectionShell.tsx b/js/app/packages/block-call/component/CallRecording/CallRecordingSectionShell.tsx
index 6e20ff985e..5b1a94c71c 100644
--- a/js/app/packages/block-call/component/CallRecording/CallRecordingSectionShell.tsx
+++ b/js/app/packages/block-call/component/CallRecording/CallRecordingSectionShell.tsx
@@ -63,7 +63,7 @@ export function CallRecordingSectionShell(props: {
<Show
when={props.accordion && props.onToggle}
fallback={
- <div class="isolate flex shrink-0 items-center gap-2 sticky top-0 bg-panel z-10 px-4 py-2 @[860px]:py-4 border-b border-edge-muted/50">
+ <div class="isolate flex shrink-0 items-center gap-2 sticky top-0 bg-surface z-10 px-4 py-2 @[860px]:py-4 border-b border-edge-muted/50">
{props.icon}
<p class="font-semibold text-ink select-none text-sm shrink-0">
{props.title}
@@ -96,7 +96,7 @@ export function CallRecordingSectionShell(props: {
>
<button
type="button"
- class="isolate sticky top-0 z-10 flex w-full min-w-0 shrink-0 items-center gap-2 border-b border-edge-muted/50 bg-panel px-4 py-2 text-left @[860px]:py-4 hover:bg-hover focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-accent/40 focus-visible:ring-offset-0"
+ class="isolate sticky top-0 z-10 flex w-full min-w-0 shrink-0 items-center gap-2 border-b border-edge-muted/50 bg-surface px-4 py-2 text-left @[860px]:py-4 hover:bg-hover focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-accent/40 focus-visible:ring-offset-0"
aria-expanded={props.open}
aria-label={toggleLabel()}
title={toggleLabel()}
diff --git a/js/app/packages/block-call/component/CallRecording/call-recording-utils.ts b/js/app/packages/block-call/component/CallRecording/call-recording-utils.ts
index e6ab70ecdd..6173255eb2 100644
--- a/js/app/packages/block-call/component/CallRecording/call-recording-utils.ts
+++ b/js/app/packages/block-call/component/CallRecording/call-recording-utils.ts
@@ -53,7 +53,7 @@ export function shouldCoalesceSeekGenerationBump(
/** Transcript / participants meta strip toggles when the panel is open (stacked or wide). */
export const CALL_META_STRIP_TOGGLE_ACTIVE =
- 'inline-flex items-center justify-center font-medium focus-visible:outline-none data-[disabled]:cursor-not-allowed data-[disabled]:opacity-50 bg-ink text-page not-disabled:hover:bg-ink/90 not-disabled:active:bg-ink/80 py-1 text-xs gap-1 rounded-xs [&_svg]:size-4 px-1 border border-transparent';
+ 'inline-flex items-center justify-center font-medium focus-visible:outline-none data-[disabled]:cursor-not-allowed data-[disabled]:opacity-50 bg-ink text-surface not-disabled:hover:bg-ink/90 not-disabled:active:bg-ink/80 py-1 text-xs gap-1 rounded-xs [&_svg]:size-4 px-1 border border-transparent';
export const CALL_META_STRIP_TOGGLE_IDLE =
'flex shrink-0 items-center gap-1.5 rounded-xs border border-edge-muted px-2 py-1.5 text-xs font-medium text-ink-muted transition-colors hover:bg-hover hover:text-ink focus-visible:outline-none';
diff --git a/js/app/packages/block-call/component/CallTranscript.tsx b/js/app/packages/block-call/component/CallTranscript.tsx
index f40b2fb57a..e37c74a042 100644
--- a/js/app/packages/block-call/component/CallTranscript.tsx
+++ b/js/app/packages/block-call/component/CallTranscript.tsx
@@ -317,7 +317,7 @@ export function CallTranscript(props: {
}}
>
<Show when={!props.hideHeader}>
- <div class="isolate flex items-center gap-2 sticky top-0 bg-panel z-10 px-4 py-2 @[860px]:py-4 border-b border-edge-muted/50">
+ <div class="isolate flex items-center gap-2 sticky top-0 bg-surface z-10 px-4 py-2 @[860px]:py-4 border-b border-edge-muted/50">
<Subtitles class="size-4 text-ink shrink-0" />
<p class="font-semibold text-ink select-none text-sm shrink-0">
Transcript
@@ -375,12 +375,12 @@ export function CallTranscript(props: {
class="absolute bottom-0 inset-x-px px-2 pb-2 flex justify-center pointer-events-none z-20"
style={{
'background-image':
- 'linear-gradient(transparent, var(--color-panel) 85%)',
+ 'linear-gradient(transparent, var(--color-surface) 85%)',
}}
>
<button
type="button"
- class="pointer-events-auto isolate overflow-hidden relative bg-panel border border-accent/30 flex h-8 px-2 items-center justify-center text-xs/5 font-mono uppercase font-medium whitespace-nowrap text-accent before:absolute before:inset-0 before:bg-accent/10 hover:before:bg-accent/20 before:content-[''] before:transition-colors"
+ class="pointer-events-auto isolate overflow-hidden relative bg-surface border border-accent/30 flex h-8 px-2 items-center justify-center text-xs/5 font-mono uppercase font-medium whitespace-nowrap text-accent before:absolute before:inset-0 before:bg-accent/10 hover:before:bg-accent/20 before:content-[''] before:transition-colors"
onClick={() => {
setSyncToVideoTime(true);
scrollActiveIntoView('smooth');
diff --git a/js/app/packages/block-canvas/component/Block.tsx b/js/app/packages/block-canvas/component/Block.tsx
index 98879a25cc..9432eb56bb 100644
--- a/js/app/packages/block-canvas/component/Block.tsx
+++ b/js/app/packages/block-canvas/component/Block.tsx
@@ -286,7 +286,7 @@ export default function BlockCanvas(props: BlockCanvasProps) {
return (
<DocumentBlockContainer>
<div
- class="size-full select-none flex flex-col bg-panel"
+ class="size-full select-none flex flex-col bg-surface"
// TODO: we need a more robust solution for preventing parent blocks from stealing clicks
// This is a temporary fix for canvas in markdown but it doesn't necessarily generalize well
on:click={(e) => {
diff --git a/js/app/packages/block-canvas/component/CanvasController.tsx b/js/app/packages/block-canvas/component/CanvasController.tsx
index bc73636948..b05e0463c1 100644
--- a/js/app/packages/block-canvas/component/CanvasController.tsx
+++ b/js/app/packages/block-canvas/component/CanvasController.tsx
@@ -985,7 +985,7 @@ export function CanvasController(props: ParentProps) {
use:observedSize={{ setSize: setDomRect }}
// SCUFFED THEMING? The color-mix below is a little rough, not necessarily ideal
class={cn(
- 'relative size-full overflow-hidden z-0 bg-[oklch(from_color-mix(in_oklch,var(--color-panel)_75%,var(--color-ink)_25%)_l_0_var(--surface-h))]',
+ 'relative size-full overflow-hidden z-0 bg-[oklch(from_color-mix(in_oklch,var(--color-surface)_75%,var(--color-ink)_25%)_l_0_var(--surface-h))]',
cursor()
)}
use:fileDrop={{
diff --git a/js/app/packages/block-canvas/component/FloatingMenu.tsx b/js/app/packages/block-canvas/component/FloatingMenu.tsx
index c871e54e47..731317a2dc 100644
--- a/js/app/packages/block-canvas/component/FloatingMenu.tsx
+++ b/js/app/packages/block-canvas/component/FloatingMenu.tsx
@@ -228,7 +228,7 @@ function MobileDeleteButton() {
return (
<Show when={selection.active() && isMobileWidth()}>
- <div class="max-h-12 flex p-2 bg-menu cursor-auto justify-center items-center rounded shadow-md ring ring-edge">
+ <div class="max-h-12 flex p-2 bg-surface cursor-auto justify-center items-center rounded shadow-md ring ring-edge">
<Button
variant="ghost"
size="icon-md"
@@ -485,7 +485,7 @@ export function FloatingMenu() {
>
<div
class={cn(
- 'flex bg-menu rounded-lg shadow-lg ring ring-edge',
+ 'flex bg-surface rounded-lg shadow-lg ring ring-edge',
isMobileWidth() ? 'flex-row p-2 mr-2' : 'flex-col w-54 p-3',
selectedNodes().length + selectedEdges().length <= 1 &&
validMenus().size === 0 &&
diff --git a/js/app/packages/block-canvas/component/MediaSelector.tsx b/js/app/packages/block-canvas/component/MediaSelector.tsx
index 1f77cf6402..aaa3d6048f 100644
--- a/js/app/packages/block-canvas/component/MediaSelector.tsx
+++ b/js/app/packages/block-canvas/component/MediaSelector.tsx
@@ -190,8 +190,8 @@ export function MediaSelector() {
},
}}
>
- <UploadSimple class="size-3.5 shrink-0 text-accent-ink" />
- <span class="text-sm font-medium text-accent-ink">
+ <UploadSimple class="size-3.5 shrink-0 text-accent" />
+ <span class="text-sm font-medium text-accent">
Upload File
</span>
</div>
diff --git a/js/app/packages/block-canvas/component/SelectionRenderer.tsx b/js/app/packages/block-canvas/component/SelectionRenderer.tsx
index 63defddc8b..0940daf29c 100644
--- a/js/app/packages/block-canvas/component/SelectionRenderer.tsx
+++ b/js/app/packages/block-canvas/component/SelectionRenderer.tsx
@@ -74,7 +74,7 @@ function CornerHandle(props: {
const select = useSelect();
return (
<div
- class="absolute border-accent bg-panel"
+ class="absolute border-accent bg-surface"
style={{
cursor: cornerToCursor(props.corner),
width: safeSize() + 'px',
diff --git a/js/app/packages/block-canvas/component/ToolBar.tsx b/js/app/packages/block-canvas/component/ToolBar.tsx
index a0488f628a..556716686e 100644
--- a/js/app/packages/block-canvas/component/ToolBar.tsx
+++ b/js/app/packages/block-canvas/component/ToolBar.tsx
@@ -168,7 +168,7 @@ export function ToolBar() {
return (
<ScopedPortal scope="block">
- <div class="absolute left-1/2 bottom-2 flex flex-row p-1 bg-menu border border-edge -translate-x-1/2">
+ <div class="absolute left-1/2 bottom-2 flex flex-row p-1 bg-surface border border-edge -translate-x-1/2">
<div
class={cn(
'flex flex-row items-center space-x-2',
diff --git a/js/app/packages/block-canvas/component/nodes/DSSMedia.tsx b/js/app/packages/block-canvas/component/nodes/DSSMedia.tsx
index af5b2f00f9..3f26a3e24e 100644
--- a/js/app/packages/block-canvas/component/nodes/DSSMedia.tsx
+++ b/js/app/packages/block-canvas/component/nodes/DSSMedia.tsx
@@ -48,11 +48,11 @@ function ErrorMessage(props: {
const bottomMargin = !tooSmall() ? 8 : 0;
const textColor = 'text-ink';
const visibilityScreen =
- 'w-full h-full bg-menu/50 flex flex-col items-center justify-center';
+ 'w-full h-full bg-surface/50 flex flex-col items-center justify-center';
return (
<div
- class="flex flex-col size-full text-center bg-menu/40 rounded border border-dashed border-edge items-center justify-center"
+ class="flex flex-col size-full text-center bg-surface/40 rounded border border-dashed border-edge items-center justify-center"
style={{
'border-radius': getBorderRadius(props.node),
'font-size': TOOLTIP_FONTSIZE / currentScale() + 'px',
@@ -70,7 +70,7 @@ function ErrorMessage(props: {
<div class={visibilityScreen}>
<LockKey
width={iconSize / currentScale() + 'px'}
- class="fill-ink bg-menu rounded-full"
+ class="fill-ink bg-surface rounded-full"
style={{
'margin-bottom': bottomMargin / currentScale() + 'px',
}}
@@ -87,7 +87,7 @@ function ErrorMessage(props: {
<div class={visibilityScreen}>
<Question
width={iconSize / currentScale() + 'px'}
- class="fill-ink bg-menu rounded-full"
+ class="fill-ink bg-surface rounded-full"
style={{
'margin-bottom': bottomMargin / currentScale() + 'px',
}}
@@ -101,7 +101,7 @@ function ErrorMessage(props: {
<div class={visibilityScreen}>
<Question
width={iconSize / currentScale() + 'px'}
- class="fill-ink bg-menu rounded-full"
+ class="fill-ink bg-surface rounded-full"
style={{
'margin-bottom': bottomMargin / currentScale() + 'px',
}}
@@ -330,7 +330,7 @@ export function DSSMedia(props: { node: MediaNode; mode: RenderMode }) {
<div class="absolute top-1/2 left-1/2 -translate-1/2 z-10 flex pointer-events-auto cursor-auto">
<div
onPointerDown={handleVideoRewind}
- class="text-panel bg-edge rounded-full flex items-center justify-center"
+ class="text-surface bg-edge rounded-full flex items-center justify-center"
style={{
'margin-right': 10 / currentScale() + 'px',
...size(),
@@ -340,7 +340,7 @@ export function DSSMedia(props: { node: MediaNode; mode: RenderMode }) {
</div>
<div
onPointerDown={handleVideoClick}
- class="text-panel bg-edge rounded-full flex items-center justify-center"
+ class="text-surface bg-edge rounded-full flex items-center justify-center"
style={size()}
>
{controlIcon}
diff --git a/js/app/packages/block-canvas/component/nodes/EntityMention.tsx b/js/app/packages/block-canvas/component/nodes/EntityMention.tsx
index 5f6880a618..9bc72e18e8 100644
--- a/js/app/packages/block-canvas/component/nodes/EntityMention.tsx
+++ b/js/app/packages/block-canvas/component/nodes/EntityMention.tsx
@@ -33,7 +33,7 @@ function ErrorMessage(props: {
const { currentScale } = useRenderState();
return (
<div
- class="size-full bg-menu/40 rounded border border-dashed border-edge"
+ class="size-full bg-surface/40 rounded border border-dashed border-edge"
style={{
'font-size': 12 * (props.node.width / fileWidth) + 'px',
'background-size':
@@ -50,7 +50,7 @@ function ErrorMessage(props: {
<div class="size-full flex flex-row items-center">
<LockKey
width={18 * (props.node.width / fileWidth) + 'px'}
- class="mx-1 fill-failure bg-menu rounded-full"
+ class="mx-1 fill-failure bg-surface rounded-full"
/>
Unauthorized: Invalid file permissions
</div>
@@ -59,7 +59,7 @@ function ErrorMessage(props: {
<div class="size-full flex flex-row items-center px-2">
<Question
width={18 * (props.node.width / fileWidth) + 'px'}
- class="mx-1 fill-ink-extra-muted bg-menu rounded-full"
+ class="mx-1 fill-ink-extra-muted bg-surface rounded-full"
/>
Error: Missing file
</div>
@@ -68,7 +68,7 @@ function ErrorMessage(props: {
<div class="size-full flex flex-row items-center px-2">
<Question
width={18 * (props.node.width / fileWidth) + 'px'}
- class="mx-1 fill-ink-extra-muted bg-menu rounded-full"
+ class="mx-1 fill-ink-extra-muted bg-surface rounded-full"
/>
Error: Invalid file
</div>
@@ -203,7 +203,7 @@ export function File(props: { node: EntityMentionNode; mode: RenderMode }) {
>
<div
ref={setFileRef}
- class="size-full bg-panel rounded-lg shadow-md flex items-center"
+ class="size-full bg-surface rounded-lg shadow-md flex items-center"
>
<div class="flex flex-row p-2 truncate">
<div
diff --git a/js/app/packages/block-chat/component/Chat.tsx b/js/app/packages/block-chat/component/Chat.tsx
index 3048671fdb..d7034dfd37 100644
--- a/js/app/packages/block-chat/component/Chat.tsx
+++ b/js/app/packages/block-chat/component/Chat.tsx
@@ -252,7 +252,7 @@ function ChatInner(props: {
return (
<DragDropWrapper
- class="size-full bg-panel overscroll-none overflow-hidden flex flex-col"
+ class="size-full bg-surface overscroll-none overflow-hidden flex flex-col"
isEntityDraggingOver={isDraggingOver}
>
<Show when={!isNestedBlock}>
@@ -276,7 +276,7 @@ function ChatInner(props: {
</Show>
</SplitToolbarLeft>
<Show when={showStreamDebug()}>
- <div class="px-2 py-1 bg-menu border-b border-edge text-ink font-mono text-sm">
+ <div class="px-2 py-1 bg-surface border-b border-edge text-ink font-mono text-sm">
<Show when={chat.stream()} fallback={<div>No active stream</div>}>
{(stream) => (
<div class="flex gap-x-4">
diff --git a/js/app/packages/block-code/component/Block.tsx b/js/app/packages/block-code/component/Block.tsx
index ae811867da..fc4e679093 100644
--- a/js/app/packages/block-code/component/Block.tsx
+++ b/js/app/packages/block-code/component/Block.tsx
@@ -41,7 +41,7 @@ export default function BlockCode() {
return (
<DocumentBlockContainer usesCenterBar>
<Show when={!isNestedBlock} fallback={<CodeMarkdown />}>
- <div class="size-full bg-panel select-none overscroll-none overflow-hidden flex flex-col items-end relative">
+ <div class="size-full bg-surface select-none overscroll-none overflow-hidden flex flex-col items-end relative">
<ModalsProvider>
<TopBar
isHtmlFile={isHtmlFile()}
diff --git a/js/app/packages/block-code/component/CodeFileTypeChip.tsx b/js/app/packages/block-code/component/CodeFileTypeChip.tsx
index be5f10ba20..101e5fd9a2 100644
--- a/js/app/packages/block-code/component/CodeFileTypeChip.tsx
+++ b/js/app/packages/block-code/component/CodeFileTypeChip.tsx
@@ -89,7 +89,7 @@ export function CodeFileTypeChip() {
{fileType()}
</Popover.Trigger>
<Popover.Portal>
- <Popover.Content class="z-50 w-48 rounded shadow-md ring-1 ring-edge bg-dialog text-ink text-sm overflow-hidden">
+ <Popover.Content class="z-50 w-48 rounded shadow-md ring-1 ring-edge bg-surface text-ink text-sm overflow-hidden">
<div class="p-1.5 border-b border-edge">
<input
ref={searchRef}
diff --git a/js/app/packages/block-code/component/HtmlPreview.tsx b/js/app/packages/block-code/component/HtmlPreview.tsx
index 28aa6d89aa..e2e2213131 100644
--- a/js/app/packages/block-code/component/HtmlPreview.tsx
+++ b/js/app/packages/block-code/component/HtmlPreview.tsx
@@ -8,7 +8,7 @@ export function HtmlPreview() {
});
return (
- <div class="size-full bg-panel overflow-auto">
+ <div class="size-full bg-surface overflow-auto">
<iframe
title="HTML preview"
class="size-full border-0"
diff --git a/js/app/packages/block-code/component/cmTheme.ts b/js/app/packages/block-code/component/cmTheme.ts
index bc0486add0..e92231e72e 100644
--- a/js/app/packages/block-code/component/cmTheme.ts
+++ b/js/app/packages/block-code/component/cmTheme.ts
@@ -16,14 +16,14 @@ const mono = [
].join(', ');
const base = {
- bg: 'var(--color-page)',
+ bg: 'var(--color-surface)',
fg: 'var(--color-ink)',
- panel: 'var(--color-panel)',
+ panel: 'var(--color-surface)',
- fg70: 'color-mix(in oklch, var(--color-ink), var(--color-page) 30%)',
- fg50: 'color-mix(in oklch, var(--color-ink), var(--color-page) 50%)',
- fg30: 'color-mix(in oklch, var(--color-ink), var(--color-page) 70%)',
- fg10: 'color-mix(in oklch, var(--color-ink), var(--color-page) 90%)',
+ fg70: 'color-mix(in oklch, var(--color-ink), var(--color-surface) 30%)',
+ fg50: 'color-mix(in oklch, var(--color-ink), var(--color-surface) 50%)',
+ fg30: 'color-mix(in oklch, var(--color-ink), var(--color-surface) 70%)',
+ fg10: 'color-mix(in oklch, var(--color-ink), var(--color-surface) 90%)',
success50: 'rgb(from var(--color-success) r g b / 0.5)',
failure50: 'rgb(from var(--color-failure) r g b / 0.5)',
@@ -34,7 +34,7 @@ const base = {
alt: 'var(--color-ink-extra-muted)',
edge: 'var(--color-edge)',
- edge50: 'color-mix(in oklch, var(--color-edge), var(--color-page) 50%)',
+ edge50: 'color-mix(in oklch, var(--color-edge), var(--color-surface) 50%)',
accent: 'var(--color-accent)',
error: 'var(--color-failure)',
link: 'var(--color-accent)',
diff --git a/js/app/packages/block-email/component/AttachmentPill.tsx b/js/app/packages/block-email/component/AttachmentPill.tsx
index dd89ecf28a..24be40db25 100644
--- a/js/app/packages/block-email/component/AttachmentPill.tsx
+++ b/js/app/packages/block-email/component/AttachmentPill.tsx
@@ -49,7 +49,7 @@ export function EmailAttachmentPill(props: EmailAttachmentPillProps) {
if (props.onRemove) props.onRemove();
}}
onPointerEnter={() => {
- parentDiv.style.backgroundColor = 'var(--color-panel)';
+ parentDiv.style.backgroundColor = 'var(--color-surface)';
}}
onPointerLeave={() => {
parentDiv.style.backgroundColor = '';
diff --git a/js/app/packages/block-email/component/BaseInput.tsx b/js/app/packages/block-email/component/BaseInput.tsx
index c4b7c950f3..1d82166a05 100644
--- a/js/app/packages/block-email/component/BaseInput.tsx
+++ b/js/app/packages/block-email/component/BaseInput.tsx
@@ -1299,7 +1299,7 @@ export function BaseInput(props: {
ref={(el) => {
composeContainerRef = el;
}}
- class="relative flex flex-col flex-1 bg-input border border-edge rounded-md max-w-full"
+ class="relative flex flex-col flex-1 bg-surface border border-edge rounded-md max-w-full"
>
{/* Top Bar */}
<div class="relative flex items-start gap-2 p-2">
@@ -1745,7 +1745,7 @@ export function BaseInput(props: {
}
>
<div class="group hover:bg-accent transition ease-in-out size-6 border border-accent rounded-full flex items-center justify-center p-0">
- <ArrowUp class="group-hover:text-input! group-hover:fill-input! text-accent-ink! fill-accent! size-4 transition ease-in-out" />
+ <ArrowUp class="group-hover:text-surface! group-hover:fill-surface! text-accent! fill-accent! size-4 transition ease-in-out" />
</div>
</Show>
</button>
diff --git a/js/app/packages/block-email/component/Email.tsx b/js/app/packages/block-email/component/Email.tsx
index 8a44c18447..f5762de4e0 100644
--- a/js/app/packages/block-email/component/Email.tsx
+++ b/js/app/packages/block-email/component/Email.tsx
@@ -484,7 +484,7 @@ function EmailContent(props: EmailViewProps) {
onRecipientsChange: context.onRecipientsChange,
}}
>
- <div class="size-full bg-panel select-none overscroll-none overflow-hidden flex flex-col">
+ <div class="size-full bg-surface select-none overscroll-none overflow-hidden flex flex-col">
<TopBar
id={props.threadId()}
title={props.title}
@@ -531,7 +531,7 @@ function EmailContent(props: EmailViewProps) {
>
{(info) => (
<div class="shrink-0 w-full pb-2">
- <div class="relative w-full flex flex-row justify-center bg-panel macro-message-width macro-message-padding mx-auto">
+ <div class="relative w-full flex flex-row justify-center bg-surface macro-message-width macro-message-padding mx-auto">
<FloatingInputLoader
isLoading={context.query.isFetching}
loadingText="Loading messages"
diff --git a/js/app/packages/block-email/component/EmailMessageBody.tsx b/js/app/packages/block-email/component/EmailMessageBody.tsx
index a62dd292c5..e224c9c759 100644
--- a/js/app/packages/block-email/component/EmailMessageBody.tsx
+++ b/js/app/packages/block-email/component/EmailMessageBody.tsx
@@ -340,7 +340,9 @@ export function EmailMessageBody(props: EmailMessageBodyProps) {
variant="ghost"
size="icon-sm"
onClick={() => setShowFullHTML(true)}
- class={cn(props.isFocused ? 'hover:bg-panel' : 'hover:bg-active')}
+ class={cn(
+ props.isFocused ? 'hover:bg-surface' : 'hover:bg-active'
+ )}
>
<DotsThree />
</Button>
diff --git a/js/app/packages/block-email/component/TopBar.tsx b/js/app/packages/block-email/component/TopBar.tsx
index 98ff852e93..e6fe9e5cc4 100644
--- a/js/app/packages/block-email/component/TopBar.tsx
+++ b/js/app/packages/block-email/component/TopBar.tsx
@@ -179,7 +179,7 @@ export function TopBar(props: {
onMouseLeave={() => setHovering(false)}
onClick={openTaskCompose}
depth={2}
- class="bg-panel text-ink-muted"
+ class="bg-surface text-ink-muted"
>
<AnimatedTaskIcon triggerAnimation={hovering()} />
<span class="text-xs text-ink-extra-muted">Task</span>
diff --git a/js/app/packages/block-email/component/compose/Compose.tsx b/js/app/packages/block-email/component/compose/Compose.tsx
index deac50ad3c..e345a10172 100644
--- a/js/app/packages/block-email/component/compose/Compose.tsx
+++ b/js/app/packages/block-email/component/compose/Compose.tsx
@@ -658,7 +658,7 @@ export function EmailCompose(props: EmailComposeProps) {
>
<ComposeLayout
toolbar={<EmailComposeToolbar editor={editor} />}
- class="size-full p-4 bg-input max-h-full mobile:max-h-none overflow-y-auto flex flex-col min-h-0 mobile:min-h-full"
+ class="size-full p-4 bg-surface max-h-full mobile:max-h-none overflow-y-auto flex flex-col min-h-0 mobile:min-h-full"
/>
</WrapUnlessMobile>
</div>
diff --git a/js/app/packages/block-email/component/compose/ComposeToolbar.tsx b/js/app/packages/block-email/component/compose/ComposeToolbar.tsx
index abc5917b4c..60ec985000 100644
--- a/js/app/packages/block-email/component/compose/ComposeToolbar.tsx
+++ b/js/app/packages/block-email/component/compose/ComposeToolbar.tsx
@@ -168,7 +168,7 @@ export function EmailComposeToolbar(props: {
fallback={<Spinner class="size-6 animate-spin" />}
>
<div class="group hover:bg-accent transition ease-in-out size-6 border border-accent rounded-full flex items-center justify-center p-0">
- <ArrowUp class="group-hover:text-input! group-hover:fill-input! text-accent-ink! fill-accent! size-4 transition ease-in-out" />
+ <ArrowUp class="group-hover:text-surface! group-hover:fill-surface! text-accent! fill-accent! size-4 transition ease-in-out" />
</div>
</Show>
</button>
diff --git a/js/app/packages/block-email/component/date-selector.tsx b/js/app/packages/block-email/component/date-selector.tsx
index b692a58c45..fd3c89915e 100644
--- a/js/app/packages/block-email/component/date-selector.tsx
+++ b/js/app/packages/block-email/component/date-selector.tsx
@@ -305,7 +305,7 @@ export const DateSelector = (props: DateSelectorProps) => {
<DateSelectorPortalWrapper disabled={props.disablePortal}>
<Layer depth={3}>
<Combobox.Content
- class="w-full max-w-sm bg-dialog text-ink border border-edge"
+ class="w-full max-w-sm bg-surface text-ink border border-edge"
on:keydown={handleKeyDown}
>
<WithCustomDateMode
diff --git a/js/app/packages/block-email/component/email-date-selector.tsx b/js/app/packages/block-email/component/email-date-selector.tsx
index b39220c4fd..53d7623f23 100644
--- a/js/app/packages/block-email/component/email-date-selector.tsx
+++ b/js/app/packages/block-email/component/email-date-selector.tsx
@@ -57,7 +57,7 @@ export const EmailDateSelector: VoidComponent<EmailDateSelectorProps> = (
<Button
size="icon-sm"
disabled={props.disabled}
- class="size-auto gap-1 bg-accent/20 text-accent-ink hover:bg-accent/15! hover:text-accent-ink!"
+ class="size-auto gap-1 bg-accent/20 text-accent hover:bg-accent/15! hover:text-accent!"
>
<ClockIcon />
<span class="text-sm">{formattedDate()}</span>
diff --git a/js/app/packages/block-image/component/Block.tsx b/js/app/packages/block-image/component/Block.tsx
index f9262d6341..b40f22d987 100644
--- a/js/app/packages/block-image/component/Block.tsx
+++ b/js/app/packages/block-image/component/Block.tsx
@@ -59,7 +59,7 @@ export default function BlockImage() {
return (
<DocumentBlockContainer>
- <div class="size-full bg-panel select-none overscroll-none overflow-hidden flex flex-col">
+ <div class="size-full bg-surface select-none overscroll-none overflow-hidden flex flex-col">
<ModalsProvider>
<TopBar />
<Show
diff --git a/js/app/packages/block-md/component/DispatchAgentMenu.tsx b/js/app/packages/block-md/component/DispatchAgentMenu.tsx
index 4d998ff959..249b9ea818 100644
--- a/js/app/packages/block-md/component/DispatchAgentMenu.tsx
+++ b/js/app/packages/block-md/component/DispatchAgentMenu.tsx
@@ -195,7 +195,7 @@ export function DispatchAgentButton() {
variant="base"
size="icon-sm"
depth={2}
- class="bg-panel text-ink-muted"
+ class="bg-surface text-ink-muted"
>
<Button
onClick={handlePrimaryClick}
diff --git a/js/app/packages/block-md/component/FindAndReplace.tsx b/js/app/packages/block-md/component/FindAndReplace.tsx
index 825b5a1f40..03ff7ae311 100644
--- a/js/app/packages/block-md/component/FindAndReplace.tsx
+++ b/js/app/packages/block-md/component/FindAndReplace.tsx
@@ -283,7 +283,7 @@ export function FindAndReplace() {
return (
<Show when={findAndReplaceStore.searchIsOpen}>
- <div class="flex items-center justify-start rounded-md border border-edge bg-menu p-1 shadow w-fit">
+ <div class="flex items-center justify-start rounded-md border border-edge bg-surface p-1 shadow w-fit">
<div class="flex items-center px-1">
<Tooltip
label={`${findAndReplaceStore.replaceInputOpen ? 'Collapse' : 'Expand'} Search Bar`}
@@ -303,7 +303,7 @@ export function FindAndReplace() {
class={cn(
'size-4',
findAndReplaceStore.isSearching
- ? 'animate-pulse text-accent-ink'
+ ? 'animate-pulse text-accent'
: 'text-ink'
)}
/>
@@ -313,7 +313,7 @@ export function FindAndReplace() {
<div class="flex flex-col w-fit">
<div class="flex items-center px-1">
- <div class="flex rounded-md border bg-input border-edge px-1 mx-1 w-58">
+ <div class="flex rounded-md border bg-surface border-edge px-1 mx-1 w-58">
<input
class="mx-0.5 flex-1 h-6 border-0 text-sm text-ink focus:outline-none focus:ring-0"
type="text"
@@ -373,7 +373,7 @@ export function FindAndReplace() {
<Show when={findAndReplaceStore.replaceInputOpen && canEdit()}>
<div class="flex items-center px-1">
- <div class="flex rounded-md border bg-input border-edge px-1 mx-1 mt-1 w-58">
+ <div class="flex rounded-md border bg-surface border-edge px-1 mx-1 mt-1 w-58">
<input
class="mx-0.5 flex-1 h-6 border-0 text-sm text-ink focus:outline-none focus:ring-0"
type="text"
diff --git a/js/app/packages/block-md/component/MarkdownPopup.tsx b/js/app/packages/block-md/component/MarkdownPopup.tsx
index a1b7657df1..beadbf7a73 100644
--- a/js/app/packages/block-md/component/MarkdownPopup.tsx
+++ b/js/app/packages/block-md/component/MarkdownPopup.tsx
@@ -476,7 +476,7 @@ export function MarkdownPopup(props: {
width={20}
height={20}
color="var(--color-accent)"
- class="text-accent-ink fill-accent!"
+ class="text-accent fill-accent!"
/>
</button>
</div>
diff --git a/js/app/packages/block-md/component/MediaSelector.tsx b/js/app/packages/block-md/component/MediaSelector.tsx
index e67bb4ebcc..86f9ff1a3f 100644
--- a/js/app/packages/block-md/component/MediaSelector.tsx
+++ b/js/app/packages/block-md/component/MediaSelector.tsx
@@ -139,7 +139,7 @@ export function MediaSelector(props: MediaSelectorProps) {
editor()?.focus();
}}
>
- <div class="w-72 text-ink bg-menu">
+ <div class="w-72 text-ink bg-surface">
<div
class="w-72 flex rounded select-none items-center"
onmousedown={(e) => {
@@ -148,7 +148,7 @@ export function MediaSelector(props: MediaSelectorProps) {
}}
>
<div
- class="w-full mt-0 p-2 m-1 bg-menu text-ink flex justify-center items-center gap-2 rounded hover:bg-hover hover-transition-bg hover:text-accent-ink @container"
+ class="w-full mt-0 p-2 m-1 bg-surface text-ink flex justify-center items-center gap-2 rounded hover:bg-hover hover-transition-bg hover:text-accent @container"
use:fileSelector={{
acceptedFileExtensions: acceptedFileExtensions(),
acceptedMimeTypes: acceptedMimeTypes(),
diff --git a/js/app/packages/block-md/component/TableInsert.tsx b/js/app/packages/block-md/component/TableInsert.tsx
index caf52e540c..6904914ce8 100644
--- a/js/app/packages/block-md/component/TableInsert.tsx
+++ b/js/app/packages/block-md/component/TableInsert.tsx
@@ -86,7 +86,7 @@ const TableGrid = ({
{isHovering() && (
<Portal>
<div
- class="fixed bg-dialog text-ink text-xs px-2 py-1 rounded pointer-events-none"
+ class="fixed bg-surface text-ink text-xs px-2 py-1 rounded pointer-events-none"
style={{
left: `${cursorPos().x + 10}px`,
top: `${cursorPos().y + 10}px;`,
@@ -133,7 +133,7 @@ export function TableInsert(
});
return (
- <div class="size-fit flex flex-col items-center justify-center rounded select-none border border-edge bg-dialog py-1 text-ink">
+ <div class="size-fit flex flex-col items-center justify-center rounded select-none border border-edge bg-surface py-1 text-ink">
<div class="size-full mx-2 flex justify-center rounded">
<TableGrid handleInsertTable={handleInsertTable} />
</div>
@@ -153,7 +153,7 @@ export function TableInsert(
<div class="w-18 h-10 p-1.5 text-ink">
<input
type="number"
- class="size-full p-2 border border-edge bg-input text-sm rounded"
+ class="size-full p-2 border border-edge bg-surface text-sm rounded"
placeholder="cols"
value={`${cols()}`}
onInput={(e) => setCols(Number(e.target.value))}
diff --git a/js/app/packages/block-md/component/TemplateSelector.tsx b/js/app/packages/block-md/component/TemplateSelector.tsx
index b13433ef56..737533802d 100644
--- a/js/app/packages/block-md/component/TemplateSelector.tsx
+++ b/js/app/packages/block-md/component/TemplateSelector.tsx
@@ -117,7 +117,7 @@ export function TemplateSelector(props: {
<>
<Show when={showTemplatePreviewSignal() && selectedTemplateSignal()}>
<Portal mount={props.editorContainerRef}>
- <div class="absolute inset-0 size-full text-ink-disabled bg-dialog overflow-hidden">
+ <div class="absolute inset-0 size-full text-ink-disabled bg-surface overflow-hidden">
<StaticMarkdown
markdown={`${previewMarkdown()}`}
theme={{
diff --git a/js/app/packages/block-pdf/PdfViewer/InternalPDFViewer.ts b/js/app/packages/block-pdf/PdfViewer/InternalPDFViewer.ts
index 16f9c650aa..f202f01e19 100644
--- a/js/app/packages/block-pdf/PdfViewer/InternalPDFViewer.ts
+++ b/js/app/packages/block-pdf/PdfViewer/InternalPDFViewer.ts
@@ -137,7 +137,7 @@ export class InternalPDFViewer {
this._interceptLinks = popupViewer != null;
this._popupViewer = popupViewer;
const container = document.createElement('div');
- container.className = 'pdfViewerContainer bg-panel';
+ container.className = 'pdfViewerContainer bg-surface';
container.tabIndex = 0;
const viewerDiv = document.createElement('div');
viewerDiv.className = 'pdfViewer';
diff --git a/js/app/packages/block-pdf/component/Block.tsx b/js/app/packages/block-pdf/component/Block.tsx
index 874ce36d5c..7059419c40 100644
--- a/js/app/packages/block-pdf/component/Block.tsx
+++ b/js/app/packages/block-pdf/component/Block.tsx
@@ -184,7 +184,7 @@ export default function BlockPdf() {
return (
<DocumentBlockContainer>
<div
- class="size-full bg-panel select-none overscroll-none overflow-hidden flex flex-col"
+ class="size-full bg-surface select-none overscroll-none overflow-hidden flex flex-col"
onContextMenu={(e) => e.preventDefault()}
data-tut="App"
>
diff --git a/js/app/packages/block-pdf/component/PageNumberInput.tsx b/js/app/packages/block-pdf/component/PageNumberInput.tsx
index 7d651b1bd3..c2e317f833 100644
--- a/js/app/packages/block-pdf/component/PageNumberInput.tsx
+++ b/js/app/packages/block-pdf/component/PageNumberInput.tsx
@@ -67,7 +67,7 @@ export function PageNumberInput() {
<div class="px-1 hover:bg-hover hover-transition-bg cursor-default focus-within:bg-active">
<input
class={cn(
- 'py-0.5 px-0 text-sm bg-transparent text-ink font-medium cursor-default text-center border-none flex-initial focus:bg-input',
+ 'py-0.5 px-0 text-sm bg-transparent text-ink font-medium cursor-default text-center border-none flex-initial focus:bg-surface',
getWidthClass(currentPageNumber())
)}
step="1"
diff --git a/js/app/packages/block-pdf/component/placeables/Signature.tsx b/js/app/packages/block-pdf/component/placeables/Signature.tsx
index dd45c4d5c7..93a23058e5 100644
--- a/js/app/packages/block-pdf/component/placeables/Signature.tsx
+++ b/js/app/packages/block-pdf/component/placeables/Signature.tsx
@@ -133,7 +133,7 @@ function SignatureEditor(props: SignatureEditorProps) {
class={cn(
'absolute z-modal min-w-[calc(100vw-2rem)]',
'@sm:min-w-96 p-3',
- 'bg-dialog shadow',
+ 'bg-surface shadow',
'rounded-lg border border-edge',
'flex-col justify-start inline-flex gap-3',
'duration-slow',
diff --git a/js/app/packages/block-project/component/Block.tsx b/js/app/packages/block-project/component/Block.tsx
index fccc3a68f0..f054a6ce5e 100644
--- a/js/app/packages/block-project/component/Block.tsx
+++ b/js/app/packages/block-project/component/Block.tsx
@@ -127,7 +127,7 @@ const Block: Component = () => {
<DocumentBlockContainer>
<div
ref={attachHotkeys}
- class="size-full bg-panel flex flex-col relative"
+ class="size-full bg-surface flex flex-col relative"
use:fileFolderDrop={{
onDragStart: () => setIsDragging(true),
onDragEnd: () => setIsDragging(false),
diff --git a/js/app/packages/block-project/component/ProjectCreateMenu.tsx b/js/app/packages/block-project/component/ProjectCreateMenu.tsx
index daa4a7885d..9ddbc2608d 100644
--- a/js/app/packages/block-project/component/ProjectCreateMenu.tsx
+++ b/js/app/packages/block-project/component/ProjectCreateMenu.tsx
@@ -292,7 +292,7 @@ function MenuContent(props: { projectId: string }) {
}));
return (
- <DropdownMenu.Content class="isolate relative flex flex-col gap-2 bg-dialog -mb-1 p-2 border-2 border-accent min-w-max">
+ <DropdownMenu.Content class="isolate relative flex flex-col gap-2 bg-surface -mb-1 p-2 border-2 border-accent min-w-max">
<For each={items}>
{(item, index) => <MenuItem {...item} index={index() + 1} />}
</For>
diff --git a/js/app/packages/block-unknown/component/Block.tsx b/js/app/packages/block-unknown/component/Block.tsx
index 6e26077f1b..d3e2fe2c03 100644
--- a/js/app/packages/block-unknown/component/Block.tsx
+++ b/js/app/packages/block-unknown/component/Block.tsx
@@ -17,7 +17,7 @@ import { TopBar } from './TopBar';
export default function BlockUnknown() {
return (
<DocumentBlockContainer>
- <div class="size-full bg-panel select-none overscroll-none overflow-hidden flex flex-col relative">
+ <div class="size-full bg-surface select-none overscroll-none overflow-hidden flex flex-col relative">
<ModalsProvider>
<div class="relative">
<TopBar />
diff --git a/js/app/packages/block-video/component/Block.tsx b/js/app/packages/block-video/component/Block.tsx
index a89bf5c58c..d524a6db0e 100644
--- a/js/app/packages/block-video/component/Block.tsx
+++ b/js/app/packages/block-video/component/Block.tsx
@@ -10,7 +10,7 @@ export default function BlockVideo() {
useBlockEntityCommands();
return (
<DocumentBlockContainer>
- <div class="size-full bg-panel select-none overscroll-none overflow-hidden flex flex-col relative">
+ <div class="size-full bg-surface select-none overscroll-none overflow-hidden flex flex-col relative">
<ModalsProvider>
<div class="relative">
<TopBar />
diff --git a/js/app/packages/channel/Call/CallOverlay.tsx b/js/app/packages/channel/Call/CallOverlay.tsx
index 81d36f8cdb..c5aac1a3f1 100644
--- a/js/app/packages/channel/Call/CallOverlay.tsx
+++ b/js/app/packages/channel/Call/CallOverlay.tsx
@@ -17,7 +17,7 @@ function VideoTag(props: {
return (
<div
class={cn(
- 'absolute bottom-1 left-1 px-1.5 py-0.5 rounded bg-panel/70 text-ink text-xs',
+ 'absolute bottom-1 left-1 px-1.5 py-0.5 rounded bg-surface/70 text-ink text-xs',
props.variant === 'truncated' ? 'truncate max-w-[80%]' : '',
props.class
)}
@@ -82,7 +82,7 @@ function LocalParticipantTile(props: {
</Show>
<Show when={props.isConnecting} fallback={<VideoTag>You</VideoTag>}>
- <div class="absolute bottom-1 left-1 px-1.5 py-0.5 rounded bg-panel/70 text-ink-muted text-xs">
+ <div class="absolute bottom-1 left-1 px-1.5 py-0.5 rounded bg-surface/70 text-ink-muted text-xs">
Connecting...
</div>
</Show>
diff --git a/js/app/packages/channel/Call/ChannelCallButton.tsx b/js/app/packages/channel/Call/ChannelCallButton.tsx
index 265f61c772..f26c55569f 100644
--- a/js/app/packages/channel/Call/ChannelCallButton.tsx
+++ b/js/app/packages/channel/Call/ChannelCallButton.tsx
@@ -48,7 +48,7 @@ export function ChannelCallButton(props: { channelId: string }) {
tooltip={tooltip()}
class={
isHighlighted()
- ? 'px-1 bg-accent/20 hover:bg-accent/30 text-accent-ink'
+ ? 'px-1 bg-accent/20 hover:bg-accent/30 text-accent'
: 'px-1'
}
size={isTouchDevice() ? 'icon-md' : 'icon-sm'}
diff --git a/js/app/packages/channel/Call/InCallPanel/InCallAvatarPlaceholder.tsx b/js/app/packages/channel/Call/InCallPanel/InCallAvatarPlaceholder.tsx
index 6d00aa691b..ff31d85c15 100644
--- a/js/app/packages/channel/Call/InCallPanel/InCallAvatarPlaceholder.tsx
+++ b/js/app/packages/channel/Call/InCallPanel/InCallAvatarPlaceholder.tsx
@@ -7,7 +7,7 @@ import { type Component, Show } from 'solid-js';
export function inCallAvatarPlaceholderClasses(size: UserIconProps['size']) {
const s = size ?? 'sm';
const container = cn(
- 'flex shrink-0 items-center justify-center rounded-full bg-ink-extra-muted text-panel leading-none',
+ 'flex shrink-0 items-center justify-center rounded-full bg-ink-extra-muted text-surface leading-none',
s === 'sm' && 'size-4',
s === 'md' && 'size-6',
s === 'lg' && 'size-10',
diff --git a/js/app/packages/channel/Call/InCallPanel/InCallPanelView.tsx b/js/app/packages/channel/Call/InCallPanel/InCallPanelView.tsx
index 84ad6aa46f..76145f4231 100644
--- a/js/app/packages/channel/Call/InCallPanel/InCallPanelView.tsx
+++ b/js/app/packages/channel/Call/InCallPanel/InCallPanelView.tsx
@@ -180,7 +180,7 @@ export const InCallPanel: Component<InCallPanelProps> = (props) => {
<div
class={cn(
- 'px-2 py-3 bg-panel rounded-b-lg w-full',
+ 'px-2 py-3 bg-surface rounded-b-lg w-full',
slim() && 'px-2 pt-2 pb-1 flex flex-col items-center gap-2'
)}
>
@@ -228,7 +228,7 @@ export const InCallPanel: Component<InCallPanelProps> = (props) => {
<div
class={cn(
- !slim() && 'bg-panel border-t border-edge-muted',
+ !slim() && 'bg-surface border-t border-edge-muted',
slim() && 'px-2 pt-1 pb-2'
)}
>
diff --git a/js/app/packages/channel/Channel/ScrollToBottomOverlay.tsx b/js/app/packages/channel/Channel/ScrollToBottomOverlay.tsx
index 2dceb27abb..e792b420f7 100644
--- a/js/app/packages/channel/Channel/ScrollToBottomOverlay.tsx
+++ b/js/app/packages/channel/Channel/ScrollToBottomOverlay.tsx
@@ -26,7 +26,7 @@ export function ScrollToBottomOverlay(props: ScrollToBottomOverlayProps) {
<button
type="button"
class={cn(
- 'absolute top-4 left-1/2 -translate-x-1/2 z-10 px-3 py-1.5 text-xs bg-menu border border-edge-muted hover:bg-hover hover-transition-bg',
+ 'absolute top-4 left-1/2 -translate-x-1/2 z-10 px-3 py-1.5 text-xs bg-surface border border-edge-muted hover:bg-hover hover-transition-bg',
props.class
)}
onClick={() => {
diff --git a/js/app/packages/channel/Input/Attachments.tsx b/js/app/packages/channel/Input/Attachments.tsx
index a8331cfccb..fc3c41121e 100644
--- a/js/app/packages/channel/Input/Attachments.tsx
+++ b/js/app/packages/channel/Input/Attachments.tsx
@@ -71,7 +71,7 @@ function MediaAttachmentItem(props: {
<RemoveButton
attachment={props.attachment}
onRemove={props.onRemove}
- class="absolute -top-2 -right-2 z-10 rounded-full bg-menu border border-edge-muted opacity-0 group-hover:opacity-100 focus-visible:opacity-100 [@media(hover:none)]:opacity-100"
+ class="absolute -top-2 -right-2 z-10 rounded-full bg-surface border border-edge-muted opacity-0 group-hover:opacity-100 focus-visible:opacity-100 [@media(hover:none)]:opacity-100"
/>
);
@@ -87,7 +87,7 @@ function MediaAttachmentItem(props: {
<div class="ph-no-capture relative group">
<Switch
fallback={
- <div class="size-23 rounded-2xl border border-edge bg-menu" />
+ <div class="size-23 rounded-2xl border border-edge bg-surface" />
}
>
<Match
@@ -113,7 +113,7 @@ function MediaAttachmentItem(props: {
<Match when={props.attachment.kind === 'video' && !isPending()}>
<button type="button" onClick={() => props.onOpen?.()}>
- <MediaVideo.Root class="size-23 group overflow-hidden border border-edge bg-menu">
+ <MediaVideo.Root class="size-23 group overflow-hidden border border-edge bg-surface">
<MediaVideo.Preview
src={mediaSrc()}
class="size-full object-cover"
diff --git a/js/app/packages/channel/Input/DropOverlay.tsx b/js/app/packages/channel/Input/DropOverlay.tsx
index 432e384727..ff1f7f0abb 100644
--- a/js/app/packages/channel/Input/DropOverlay.tsx
+++ b/js/app/packages/channel/Input/DropOverlay.tsx
@@ -34,7 +34,7 @@ export function DropOverlay(props: DropOverlayProps) {
data-input-drop-overlay
{...rest}
>
- <div class="bg-menu border border-edge px-8 py-4 text-xs text-ink-muted shadow-md font-mono">
+ <div class="bg-surface border border-edge px-8 py-4 text-xs text-ink-muted shadow-md font-mono">
<Show
when={valid()}
fallback={local.invalidMessage ?? 'Invalid file'}
diff --git a/js/app/packages/channel/Media/MediaGrid.tsx b/js/app/packages/channel/Media/MediaGrid.tsx
index 279e1a3351..c99475e3da 100644
--- a/js/app/packages/channel/Media/MediaGrid.tsx
+++ b/js/app/packages/channel/Media/MediaGrid.tsx
@@ -79,7 +79,7 @@ function MessageVideoTile(props: { item: MediaItem; onOpen: () => void }) {
const videoHeight = () => props.item.height ?? undefined;
return (
- <div class="group relative flex min-h-20 max-h-120 max-w-120 min-w-0 overflow-hidden rounded-2xl border border-edge bg-menu">
+ <div class="group relative flex min-h-20 max-h-120 max-w-120 min-w-0 overflow-hidden rounded-2xl border border-edge bg-surface">
<Show
when={isInlinePlaying()}
fallback={
@@ -100,7 +100,7 @@ function MessageVideoTile(props: { item: MediaItem; onOpen: () => void }) {
</button>
<button
type="button"
- class="absolute bottom-2 left-2 rounded-md bg-dialog/90 px-2 py-1 text-xs font-medium text-ink shadow-sm"
+ class="absolute bottom-2 left-2 rounded-md bg-surface/90 px-2 py-1 text-xs font-medium text-ink shadow-sm"
onClick={(event) => {
event.stopPropagation();
setIsInlinePlaying(true);
@@ -140,7 +140,7 @@ function MessageVideoTile(props: { item: MediaItem; onOpen: () => void }) {
function AttachmentVideoTile(props: { item: MediaItem; onOpen?: () => void }) {
return (
- <MediaVideo.Root class="size-23 group overflow-hidden border border-edge bg-menu">
+ <MediaVideo.Root class="size-23 group overflow-hidden border border-edge bg-surface">
<MediaVideo.Preview
src={props.item.src}
class="size-full object-cover"
diff --git a/js/app/packages/channel/Media/MediaImage.tsx b/js/app/packages/channel/Media/MediaImage.tsx
index 1c862ddd35..c6e266291d 100644
--- a/js/app/packages/channel/Media/MediaImage.tsx
+++ b/js/app/packages/channel/Media/MediaImage.tsx
@@ -19,7 +19,7 @@ function ImagePlaceholder(props: {
}) {
return (
<div
- class="flex items-center justify-center rounded-2xl border border-edge bg-menu"
+ class="flex items-center justify-center rounded-2xl border border-edge bg-surface"
style={
props.square
? {
diff --git a/js/app/packages/channel/Media/MediaVideo.tsx b/js/app/packages/channel/Media/MediaVideo.tsx
index 3aff97b0cd..3ed3098882 100644
--- a/js/app/packages/channel/Media/MediaVideo.tsx
+++ b/js/app/packages/channel/Media/MediaVideo.tsx
@@ -46,7 +46,7 @@ function PlayOverlay(props: { onOpen?: () => void; class?: string }) {
)}
onClick={() => props.onOpen?.()}
>
- <PlayIcon class="size-5 text-page drop-shadow" />
+ <PlayIcon class="size-5 text-surface drop-shadow" />
</div>
);
}
diff --git a/js/app/packages/channel/Media/MediaViewerDialog.tsx b/js/app/packages/channel/Media/MediaViewerDialog.tsx
index 2d3ccae394..b45097478a 100644
--- a/js/app/packages/channel/Media/MediaViewerDialog.tsx
+++ b/js/app/packages/channel/Media/MediaViewerDialog.tsx
@@ -26,7 +26,7 @@ function VideoViewerContent(props: {
navigationHidden?: boolean;
}) {
const navButtonClass =
- 'absolute top-1/2 -translate-y-1/2 bg-dialog backdrop-blur-sm rounded-lg border border-edge p-2 shadow-md hover:bg-button transition-colors disabled:cursor-not-allowed disabled:opacity-50';
+ 'absolute top-1/2 -translate-y-1/2 bg-surface backdrop-blur-sm rounded-lg border border-edge p-2 shadow-md hover:bg-surface transition-colors disabled:cursor-not-allowed disabled:opacity-50';
let swipeTouchStartX = 0;
let swipeTouchEndX = 0;
@@ -72,7 +72,7 @@ function VideoViewerContent(props: {
onTouchMove={handleTouchMove}
onTouchEnd={handleTouchEnd}
>
- <Dialog.Content class="flex items-center justify-center bg-panel">
+ <Dialog.Content class="flex items-center justify-center bg-surface">
<LightboxToolbar isVisible={true}>
<Dialog.CloseButton>
<Button variant="ghost" size="icon-md" label="Close">
@@ -83,7 +83,7 @@ function VideoViewerContent(props: {
<Show when={props.indexLabel}>
<div
- class="absolute top-4 left-4 rounded-lg border border-edge bg-dialog px-3 py-1.5 shadow-md"
+ class="absolute top-4 left-4 rounded-lg border border-edge bg-surface px-3 py-1.5 shadow-md"
style={{ 'z-index': stackingContext.zModal + 1 }}
>
<span class="text-sm font-medium text-ink">
diff --git a/js/app/packages/channel/Message/ActionMenu.tsx b/js/app/packages/channel/Message/ActionMenu.tsx
index d7bce859ce..a7e8f2ef1c 100644
--- a/js/app/packages/channel/Message/ActionMenu.tsx
+++ b/js/app/packages/channel/Message/ActionMenu.tsx
@@ -122,7 +122,7 @@ export function ActionMenu(props: ActionMenuProps) {
<HoverActions class={props.class} persistentVisible={emojiMenuOpen()}>
<Layer depth={2}>
<div
- class="flex flex-row bg-panel ring ring-edge p-1 shadow items-center rounded-md"
+ class="flex flex-row bg-surface ring ring-edge p-1 shadow items-center rounded-md"
onClick={(e) => e.stopPropagation()}
>
<Show when={hasReactAction()}>
diff --git a/js/app/packages/channel/Message/ChannelMessage.tsx b/js/app/packages/channel/Message/ChannelMessage.tsx
index b3980391c1..df756f8fa5 100644
--- a/js/app/packages/channel/Message/ChannelMessage.tsx
+++ b/js/app/packages/channel/Message/ChannelMessage.tsx
@@ -85,7 +85,7 @@ function _GroupedMeta(props: { messageEditor?: MessageEditor }) {
<div
class={cn(
'absolute right-4 -top-9 z-10',
- 'items-center gap-2 shrink-0 bg-panel p-1',
+ 'items-center gap-2 shrink-0 bg-surface p-1',
'hidden group-hover/message:flex',
isTouchDevice() && 'hidden'
)}
diff --git a/js/app/packages/channel/Message/EmojiReactionPopover.tsx b/js/app/packages/channel/Message/EmojiReactionPopover.tsx
index 57d0538375..c82f1acff7 100644
--- a/js/app/packages/channel/Message/EmojiReactionPopover.tsx
+++ b/js/app/packages/channel/Message/EmojiReactionPopover.tsx
@@ -39,9 +39,9 @@ export function EmojiReactionPopover(props: EmojiReactionPopoverProps) {
<Popover.Portal>
<Layer depth={3}>
<Popover.Content class="z-modal">
- <Popover.Arrow class="fill-menu" />
+ <Popover.Arrow class="fill-surface" />
<div
- class="w-64.5 h-78.75 pl-2 pt-2 rounded-md flex flex-col bg-menu shadow-lg border border-edge"
+ class="w-64.5 h-78.75 pl-2 pt-2 rounded-md flex flex-col bg-surface shadow-lg border border-edge"
role="dialog"
aria-label="Emoji search"
>
diff --git a/js/app/packages/channel/Message/ReactionChip.tsx b/js/app/packages/channel/Message/ReactionChip.tsx
index 85560a5849..b6eef3c6a9 100644
--- a/js/app/packages/channel/Message/ReactionChip.tsx
+++ b/js/app/packages/channel/Message/ReactionChip.tsx
@@ -114,7 +114,7 @@ export function ReactionChip(props: ReactionChipProps) {
</HoverCard>
</Popover.Anchor>
<Popover.Portal>
- <Popover.Content class="z-modal bg-panel p-1.5 text-ink-muted text-xs rounded-sm border border-edge-muted">
+ <Popover.Content class="z-modal bg-surface p-1.5 text-ink-muted text-xs rounded-sm border border-edge-muted">
<ReactionTooltipContent
users={props.users}
currentUserId={props.currentUserId}
diff --git a/js/app/packages/channel/Mobile/ActionDrawer.tsx b/js/app/packages/channel/Mobile/ActionDrawer.tsx
index 60b56175a8..177456cc84 100644
--- a/js/app/packages/channel/Mobile/ActionDrawer.tsx
+++ b/js/app/packages/channel/Mobile/ActionDrawer.tsx
@@ -117,7 +117,7 @@ function EmojiSearchView(props: {
<div class="flex flex-col flex-1 min-h-0 pb-2">
{/* Search input */}
<div class="flex items-center gap-2 px-3 pb-2 shrink-0">
- <div class="flex flex-1 items-center bg-input border border-edge-muted rounded-sm px-2 py-1.5 text-sm gap-1">
+ <div class="flex flex-1 items-center bg-surface border border-edge-muted rounded-sm px-2 py-1.5 text-sm gap-1">
<input
ref={inputRef}
value={query()}
@@ -253,7 +253,7 @@ export function ActionDrawer() {
<button
type="button"
data-message-action={action.id}
- class="flex items-center gap-3 px-4 py-3 text-sm text-ink hover:bg-hover hover-transition-bg text-left not-last:mb-px bg-panel"
+ class="flex items-center gap-3 px-4 py-3 text-sm text-ink hover:bg-hover hover-transition-bg text-left not-last:mb-px bg-surface"
ref={(el) => {
const getTarget = action.getFocusTarget;
if (getTarget) focusInput(el, () => ({ getTarget }));
@@ -278,7 +278,7 @@ export function ActionDrawer() {
<button
type="button"
data-message-action={action.id}
- class="flex items-center gap-3 px-4 py-3 text-sm text-failure-ink hover:bg-hover hover-transition-bg text-left not-last:mb-px bg-panel"
+ class="flex items-center gap-3 px-4 py-3 text-sm text-failure-ink hover:bg-hover hover-transition-bg text-left not-last:mb-px bg-surface"
ref={(el) => {
const getTarget = action.getFocusTarget;
if (getTarget) focusInput(el, () => ({ getTarget }));
diff --git a/js/app/packages/channel/Participants/ChannelParticipantsTab.tsx b/js/app/packages/channel/Participants/ChannelParticipantsTab.tsx
index 3090fe0825..35510f75da 100644
--- a/js/app/packages/channel/Participants/ChannelParticipantsTab.tsx
+++ b/js/app/packages/channel/Participants/ChannelParticipantsTab.tsx
@@ -25,7 +25,7 @@ function ParticipantsSection(props: {
return (
<div
class={cn(
- 'rounded-sm border border-edge-muted bg-menu py-3',
+ 'rounded-sm border border-edge-muted bg-surface py-3',
props.class
)}
>
diff --git a/js/app/packages/channel/Participants/ParticipantsAddPanel.tsx b/js/app/packages/channel/Participants/ParticipantsAddPanel.tsx
index 9afbfd0053..b500896470 100644
--- a/js/app/packages/channel/Participants/ParticipantsAddPanel.tsx
+++ b/js/app/packages/channel/Participants/ParticipantsAddPanel.tsx
@@ -37,7 +37,7 @@ export function ParticipantsAddPanel(props: {
return (
<div class="flex flex-col gap-2 md:flex-row md:items-center">
- <div class="min-w-0 flex-1 rounded-xs border border-edge-muted bg-input px-3 py-2 text-sm text-ink outline-none focus-within:border-accent/50">
+ <div class="min-w-0 flex-1 rounded-xs border border-edge-muted bg-surface px-3 py-2 text-sm text-ink outline-none focus-within:border-accent/50">
<RecipientSelector<'user'>
setSelectedOptions={setSelectedUsers}
selectedOptions={selectedUsers()}
@@ -51,7 +51,7 @@ export function ParticipantsAddPanel(props: {
type="button"
disabled={selectedUsers().length === 0}
onClick={handleAddParticipants}
- class="w-full shrink-0 rounded-xs bg-accent px-3 py-1.5 text-sm font-medium text-menu transition-colors hover:bg-accent/90 disabled:opacity-50 md:w-auto"
+ class="w-full shrink-0 rounded-xs bg-accent px-3 py-1.5 text-sm font-medium text-surface transition-colors hover:bg-accent/90 disabled:opacity-50 md:w-auto"
>
{selectedUsers().length > 1 ? 'Add Participants' : 'Add Participant'}
</button>
diff --git a/js/app/packages/channel/Participants/ParticipantsSearchInput.tsx b/js/app/packages/channel/Participants/ParticipantsSearchInput.tsx
index 520d4d1a7f..dfb67d16de 100644
--- a/js/app/packages/channel/Participants/ParticipantsSearchInput.tsx
+++ b/js/app/packages/channel/Participants/ParticipantsSearchInput.tsx
@@ -7,7 +7,7 @@ export function ParticipantsSearchInput(props: {
value={props.value}
onInput={(event) => props.onInput(event.currentTarget.value)}
placeholder="Search participants"
- class="h-10 w-full rounded-sm border border-edge-muted bg-panel px-3 text-sm text-ink placeholder:text-ink-muted focus:outline-none"
+ class="h-10 w-full rounded-sm border border-edge-muted bg-surface px-3 text-sm text-ink placeholder:text-ink-muted focus:outline-none"
/>
);
}
diff --git a/js/app/packages/channel/Thread/ThreadCollapsedIndicator.tsx b/js/app/packages/channel/Thread/ThreadCollapsedIndicator.tsx
index 830a0592b7..4b0e81f8d8 100644
--- a/js/app/packages/channel/Thread/ThreadCollapsedIndicator.tsx
+++ b/js/app/packages/channel/Thread/ThreadCollapsedIndicator.tsx
@@ -41,7 +41,7 @@ export function ThreadCollapsedIndicator(props: ThreadCollapsedIndicatorProps) {
<button
type="button"
class={cn(
- 'flex flex-row gap-2 items-center text-xs w-fit h-(--user-icon-width) touch:min-h-(--user-icon-width) border bg-menu hover:bg-hover hover-transition-bg pr-2 pl-1 mb-2 select-none outline-none focus:bg-active',
+ 'flex flex-row gap-2 items-center text-xs w-fit h-(--user-icon-width) touch:min-h-(--user-icon-width) border bg-surface hover:bg-hover hover-transition-bg pr-2 pl-1 mb-2 select-none outline-none focus:bg-active',
local.hasNewMessages ? 'border-accent' : 'border-edge-muted',
local.class
)}
@@ -80,7 +80,7 @@ export function ThreadCollapsedIndicator(props: ThreadCollapsedIndicatorProps) {
</Show>
</div>
</Show>
- <p class="text-accent-ink font-medium whitespace-nowrap">
+ <p class="text-accent font-medium whitespace-nowrap">
{getThreadReplyCountLabel(local.collapsedRepliesCount)}
</p>
<div class="hidden @min-[40rem]:block min-w-[15ch]">
diff --git a/js/app/packages/channel/Thread/ThreadReplyButton.tsx b/js/app/packages/channel/Thread/ThreadReplyButton.tsx
index 9739c66bae..8c7e065c87 100644
--- a/js/app/packages/channel/Thread/ThreadReplyButton.tsx
+++ b/js/app/packages/channel/Thread/ThreadReplyButton.tsx
@@ -14,7 +14,7 @@ export function ThreadReplyButton(props: ThreadReplyButtonProps) {
<button
type="button"
class={cn(
- 'w-min rounded icon-plus mb-2 border border-edge-muted bg-menu hover:bg-hover hover-transition-bg flex flex-row justify-center items-center size-(--user-icon-width) touch:min-h-(--user-icon-width) touch:min-w-(--user-icon-width) text-ink-muted',
+ 'w-min rounded icon-plus mb-2 border border-edge-muted bg-surface hover:bg-hover hover-transition-bg flex flex-row justify-center items-center size-(--user-icon-width) touch:min-h-(--user-icon-width) touch:min-w-(--user-icon-width) text-ink-muted',
local.class
)}
ref={(el) => {
diff --git a/js/app/packages/channel/Thread/ThreadReplyRailDecorations.tsx b/js/app/packages/channel/Thread/ThreadReplyRailDecorations.tsx
index 94cb84910d..4a715a9895 100644
--- a/js/app/packages/channel/Thread/ThreadReplyRailDecorations.tsx
+++ b/js/app/packages/channel/Thread/ThreadReplyRailDecorations.tsx
@@ -32,7 +32,7 @@ export function ThreadReplyRailDecorations(props: ThreadReplyRailProps) {
</div>
</div>
{/* THIS IS A HACKY ELEMENT POSITIONED TO BLOCK THE STUB END OF THE RAIL THAT POKE UP ABOVE THE USER ICON */}
- <div class="pointer-events-none absolute bg-panel left-[calc(var(--left-of-connector)+var(--thread-shift))] top-(--regular-message-padding-t) min-h-(--message-padding-x) min-w-4 -translate-x-1/2 z-0" />
+ <div class="pointer-events-none absolute bg-surface left-[calc(var(--left-of-connector)+var(--thread-shift))] top-(--regular-message-padding-t) min-h-(--message-padding-x) min-w-4 -translate-x-1/2 z-0" />
</>
);
}
diff --git a/js/app/packages/core/comments/Inputs.tsx b/js/app/packages/core/comments/Inputs.tsx
index 35b99b26bc..3777ea9b11 100644
--- a/js/app/packages/core/comments/Inputs.tsx
+++ b/js/app/packages/core/comments/Inputs.tsx
@@ -83,7 +83,7 @@ export function EditInput(props: {
return (
<div class="relative">
<div
- class="px-2 pt-1 pb-8 bg-input rounded-sm relative border border-edge focus-within:ring-accent focus-within:ring"
+ class="px-2 pt-1 pb-8 bg-surface rounded-sm relative border border-edge focus-within:ring-accent focus-within:ring"
on:click={(e) => {
e.stopPropagation();
focusEditor();
@@ -135,7 +135,7 @@ export function NewReplyInput(props: {
when={props.isEditing}
fallback={
<div
- class="p-2 mt-2 cursor-default text-sm text-ink-extra-muted bg-input border border-edge-muted rounded-sm"
+ class="p-2 mt-2 cursor-default text-sm text-ink-extra-muted bg-surface border border-edge-muted rounded-sm"
on:click={(e) => {
e.stopPropagation();
props.setEditing(true);
diff --git a/js/app/packages/core/comments/MessageTopRow.tsx b/js/app/packages/core/comments/MessageTopRow.tsx
index 3c02addace..13d8166c87 100644
--- a/js/app/packages/core/comments/MessageTopRow.tsx
+++ b/js/app/packages/core/comments/MessageTopRow.tsx
@@ -136,7 +136,7 @@ export function MessageTopRow(props: {
hideBottomMargin={props.hideBottomMargin}
isActive={props.isActive}
>
- <div class="absolute top-0 right-0 flex flex-row bg-menu border border-edge-muted p-1 rounded-sm z-user-highlight">
+ <div class="absolute top-0 right-0 flex flex-row bg-surface border border-edge-muted p-1 rounded-sm z-user-highlight">
<Show when={props.copyLink}>
<Button
tooltip="Copy link to comment"
diff --git a/js/app/packages/core/comments/MinimizedThreads.tsx b/js/app/packages/core/comments/MinimizedThreads.tsx
index 2c40b0bf13..26dbcba86a 100644
--- a/js/app/packages/core/comments/MinimizedThreads.tsx
+++ b/js/app/packages/core/comments/MinimizedThreads.tsx
@@ -97,7 +97,7 @@ export function MinimizedThread(props: {
<Layer depth={2}>
<div
class={cn(
- 'flex flex-row justify-between p-0.5 gap-1 bg-panel transition-transform shadow-md shadow-drop-shadow items-center text-ink-muted ring-edge ring relative overflow-clip rounded-sm pointer-events-auto',
+ 'flex flex-row justify-between p-0.5 gap-1 bg-surface transition-transform shadow-md shadow-drop-shadow items-center text-ink-muted ring-edge ring relative overflow-clip rounded-sm pointer-events-auto',
props.isActive && '-translate-x-4'
)}
onClick={clickHandler}
@@ -106,7 +106,7 @@ export function MinimizedThread(props: {
class={cn(
'size-6 flex items-center justify-center rounded-xs',
props.isActive
- ? 'bg-comment text-page'
+ ? 'bg-comment text-surface'
: 'bg-comment-bg text-comment-fg'
)}
>
diff --git a/js/app/packages/core/comments/Thread.tsx b/js/app/packages/core/comments/Thread.tsx
index cc0d4fc513..e420b3bfa4 100644
--- a/js/app/packages/core/comments/Thread.tsx
+++ b/js/app/packages/core/comments/Thread.tsx
@@ -202,7 +202,7 @@ export function Thread(props: {
<div
// note: pdf-pointer-event-reset is a strange one-off class that mostly normalizes
// pointer-events: none vs. all inside the .pdfOverlayInner div.
- class="shrink-0 bg-panel p-2 ring ring-edge shadow-md rounded-sm shadow-drop-shadow portal-scope pointer-events-auto pdf-pointer-event-reset"
+ class="shrink-0 bg-surface p-2 ring ring-edge shadow-md rounded-sm shadow-drop-shadow portal-scope pointer-events-auto pdf-pointer-event-reset"
classList={{
'transition-transform duration-100': true,
'-translate-x-8': props.isActive,
diff --git a/js/app/packages/core/component/AI/component/AIChatEmptyState.tsx b/js/app/packages/core/component/AI/component/AIChatEmptyState.tsx
index 42ce19f56a..29e4396d71 100644
--- a/js/app/packages/core/component/AI/component/AIChatEmptyState.tsx
+++ b/js/app/packages/core/component/AI/component/AIChatEmptyState.tsx
@@ -26,7 +26,7 @@ export function AiChatEmptyState() {
<div class="grid gap-3">
<For each={CLI_COMMANDS}>
{(item) => (
- <div class="overflow-hidden rounded-md border border-edge-muted bg-input/70">
+ <div class="overflow-hidden rounded-md border border-edge-muted bg-surface/70">
<div class="flex items-center justify-between gap-3 border-b border-edge-muted px-4 py-2">
<span class="text-sm text-ink-muted">{item.label}</span>
<Button
@@ -56,7 +56,7 @@ export function AiChatEmptyState() {
</For>
</div>
- <div class="overflow-hidden rounded-md border border-edge-muted bg-input/70">
+ <div class="overflow-hidden rounded-md border border-edge-muted bg-surface/70">
<div class="flex items-center justify-between gap-3 border-b border-edge-muted px-4 py-2">
<span class="text-sm text-ink-muted">
Or configure in your favorite IDE
diff --git a/js/app/packages/core/component/AI/component/InlineAi.tsx b/js/app/packages/core/component/AI/component/InlineAi.tsx
index d5c3dc6d01..192d1bb949 100644
--- a/js/app/packages/core/component/AI/component/InlineAi.tsx
+++ b/js/app/packages/core/component/AI/component/InlineAi.tsx
@@ -104,7 +104,7 @@ export function InlineInputReady(props: InlineInputReadyProps) {
class={cn(
isEmpty()
? 'text-ink-extra-muted/30 fill-ink-disabled'
- : 'text-accent-ink fill-accent!'
+ : 'text-accent fill-accent!'
)}
/>
</button>
diff --git a/js/app/packages/core/component/AI/component/McpSetupCards.tsx b/js/app/packages/core/component/AI/component/McpSetupCards.tsx
index fc44c232d8..9047aac747 100644
--- a/js/app/packages/core/component/AI/component/McpSetupCards.tsx
+++ b/js/app/packages/core/component/AI/component/McpSetupCards.tsx
@@ -23,7 +23,7 @@ function CollapsibleCard(props: {
const isCopied = () => props.copiedKey() === props.copyKey;
return (
- <div class="overflow-hidden rounded-md border border-edge-muted bg-input/70">
+ <div class="overflow-hidden rounded-md border border-edge-muted bg-surface/70">
<button
type="button"
class="flex items-center gap-2 w-full px-4 py-2 text-left"
diff --git a/js/app/packages/core/component/AI/component/debug/HttpStream.tsx b/js/app/packages/core/component/AI/component/debug/HttpStream.tsx
index 9dea260b45..d6af55240e 100644
--- a/js/app/packages/core/component/AI/component/debug/HttpStream.tsx
+++ b/js/app/packages/core/component/AI/component/debug/HttpStream.tsx
@@ -160,7 +160,7 @@ export default function HttpStreamDebug() {
onInput={(e) => setMessageContent(e.currentTarget.value)}
placeholder="Enter message..."
rows={3}
- class="w-full px-3 py-2 border border-edge rounded bg-panel resize-none"
+ class="w-full px-3 py-2 border border-edge rounded bg-surface resize-none"
/>
</div>
<div class="flex gap-2">
@@ -188,14 +188,14 @@ export default function HttpStreamDebug() {
{/* Chat ID */}
<Show when={chatId()}>
- <div class="text-sm p-2 bg-panel rounded font-mono break-all">
+ <div class="text-sm p-2 bg-surface rounded font-mono break-all">
Chat ID: {chatId()}
</div>
</Show>
{/* Stream ID */}
<Show when={streamId()}>
- <div class="text-sm p-2 bg-panel rounded font-mono break-all">
+ <div class="text-sm p-2 bg-surface rounded font-mono break-all">
Stream ID: {streamId()}
</div>
</Show>
diff --git a/js/app/packages/core/component/AI/component/debug/stream/StreamDebugger.tsx b/js/app/packages/core/component/AI/component/debug/stream/StreamDebugger.tsx
index b3516366c6..7ed7618b59 100644
--- a/js/app/packages/core/component/AI/component/debug/stream/StreamDebugger.tsx
+++ b/js/app/packages/core/component/AI/component/debug/stream/StreamDebugger.tsx
@@ -93,7 +93,7 @@ function StreamDebuggerInner(props: { stream: ChatMessageStream }) {
data-chat-scroll
class="size-full flex flex-col gap-y-2 overflow-y-auto"
>
- <div class="p-2 bg-menu border border-edge text-ink font-mono text-sm">
+ <div class="p-2 bg-surface border border-edge text-ink font-mono text-sm">
<span>chunks: {props.stream.data().length}</span>
{' | '}
<span>isDone: {String(props.stream.isDone())}</span>
diff --git a/js/app/packages/core/component/AI/component/debug/stream/StreamStatus.tsx b/js/app/packages/core/component/AI/component/debug/stream/StreamStatus.tsx
index 8d1e43190c..3b98cb3230 100644
--- a/js/app/packages/core/component/AI/component/debug/stream/StreamStatus.tsx
+++ b/js/app/packages/core/component/AI/component/debug/stream/StreamStatus.tsx
@@ -9,7 +9,7 @@ type Props = {
export function StreamStatus(props: Props) {
console.log('status');
return (
- <div class="p-2 bg-menu border border-edge text-ink font-mono space-y-2 text-sm">
+ <div class="p-2 bg-surface border border-edge text-ink font-mono space-y-2 text-sm">
<Switch>
<Match when={props.stream()}>
{(stream) => (
diff --git a/js/app/packages/core/component/AI/component/input/Attachment.tsx b/js/app/packages/core/component/AI/component/input/Attachment.tsx
index 587e0ba510..207c8efe63 100644
--- a/js/app/packages/core/component/AI/component/input/Attachment.tsx
+++ b/js/app/packages/core/component/AI/component/input/Attachment.tsx
@@ -44,7 +44,7 @@ function UploadingAttachment(props: AttachmentPreview) {
return (
<Switch>
<Match when={isImageAttachment(props)}>
- <div class="flex flex-col items-center justify-center gap-2 size-15 border border-edge rounded-md bg-menu">
+ <div class="flex flex-col items-center justify-center gap-2 size-15 border border-edge rounded-md bg-surface">
<Spinner class="size-4 animate-spin" />
</div>
</Match>
@@ -74,7 +74,7 @@ function ImageAttachment(props: {
>
<Show when={hover()}>
<XIcon
- class="size-6 text-ink absolute -top-2 -right-2 rounded-full bg-menu p-1 border border-edge z-10"
+ class="size-6 text-ink absolute -top-2 -right-2 rounded-full bg-surface p-1 border border-edge z-10"
onClick={() => props.onRemove()}
/>
</Show>
diff --git a/js/app/packages/core/component/AI/component/input/ChatInput.tsx b/js/app/packages/core/component/AI/component/input/ChatInput.tsx
index fd687c5b99..8bc83d76c1 100644
--- a/js/app/packages/core/component/AI/component/input/ChatInput.tsx
+++ b/js/app/packages/core/component/AI/component/input/ChatInput.tsx
@@ -187,7 +187,7 @@ export function ChatInput(props: ChatInputComponentProps) {
onClick={() => sendMessage({ modelOverride: 'claude-opus-4-6' })}
>
<div class="group hover:bg-accent transition ease-in-out size-6 p-0.5 border border-accent rounded-full flex items-center justify-center">
- <ArrowUp class="group-hover:text-input! group-hover:fill-input! text-accent-ink! fill-accent! size-4 transition ease-in-out" />
+ <ArrowUp class="group-hover:text-surface! group-hover:fill-surface! text-accent! fill-accent! size-4 transition ease-in-out" />
</div>
</Button>
</Show>
diff --git a/js/app/packages/core/component/AI/component/input/SendMessageButton.tsx b/js/app/packages/core/component/AI/component/input/SendMessageButton.tsx
index 32d11641d0..107eb4e2f8 100644
--- a/js/app/packages/core/component/AI/component/input/SendMessageButton.tsx
+++ b/js/app/packages/core/component/AI/component/input/SendMessageButton.tsx
@@ -16,7 +16,7 @@ export function SendMessageButton(props: {
class="text-ink-muted bg-transparent rounded-full hover:scale-110! transition ease-in-out delay-150 flex flex-col justify-center items-center"
>
<div class="group hover:bg-accent transition ease-in-out size-6 border border-accent rounded-full flex items-center justify-center">
- <PaperPlaneRight class="group-hover:text-input! group-hover:fill-input! text-accent-ink! fill-accent! size-4 transition ease-in-out" />
+ <PaperPlaneRight class="group-hover:text-surface! group-hover:fill-surface! text-accent! fill-accent! size-4 transition ease-in-out" />
</div>
</button>
);
diff --git a/js/app/packages/core/component/AI/component/message/AssistantMessage.tsx b/js/app/packages/core/component/AI/component/message/AssistantMessage.tsx
index 78a9c9d0a1..cbebf992ac 100644
--- a/js/app/packages/core/component/AI/component/message/AssistantMessage.tsx
+++ b/js/app/packages/core/component/AI/component/message/AssistantMessage.tsx
@@ -215,7 +215,7 @@ export function AssistantMessage(props: {
</button>
</div>
<Show when={props.ttft && ENABLE_TTFT}>
- <div class="flex flex-row items-center space-x-1 text-xs font-mono bg-panel px-2 py-1">
+ <div class="flex flex-row items-center space-x-1 text-xs font-mono bg-surface px-2 py-1">
<span class="text-ink-muted">Time to first token:</span>
<span class="text-ink font-medium">
{props.ttft! / 1000}s
diff --git a/js/app/packages/core/component/AI/component/tool/SendEmail.tsx b/js/app/packages/core/component/AI/component/tool/SendEmail.tsx
index debb340b85..0b4d6c3f97 100644
--- a/js/app/packages/core/component/AI/component/tool/SendEmail.tsx
+++ b/js/app/packages/core/component/AI/component/tool/SendEmail.tsx
@@ -94,7 +94,7 @@ function DraftPreviewButton(props: {
return (
<button
- class="text-ink-base text-sm ring-1 ring-edge-muted rounded-xs hover:bg-panel-hover flex flex-row h-6 px-2 justify-center items-center"
+ class="text-ink-base text-sm ring-1 ring-edge-muted rounded-xs hover:bg-surface-hover flex flex-row h-6 px-2 justify-center items-center"
onClick={() =>
replaceOrInsertSplit({
...(props.threadId
diff --git a/js/app/packages/core/component/AI/component/tool/email/ChatCompose.tsx b/js/app/packages/core/component/AI/component/tool/email/ChatCompose.tsx
index 708224682f..0113ca771c 100644
--- a/js/app/packages/core/component/AI/component/tool/email/ChatCompose.tsx
+++ b/js/app/packages/core/component/AI/component/tool/email/ChatCompose.tsx
@@ -361,7 +361,7 @@ export function ComposeTool(props: ComposeToolProps) {
<ComposeLayout
bodyDebugName={`chat-compose:${props.chatId}:${props.messageId}:${props.toolCallId}`}
class={cn(
- 'flex flex-col w-full text-sm border border-edge-muted rounded-lg p-4 bg-input',
+ 'flex flex-col w-full text-sm border border-edge-muted rounded-lg p-4 bg-surface',
uiDisabled() &&
'[&_button:disabled]:opacity-50 [&_button:disabled]:text-ink-disabled [&_input:disabled]:text-ink-muted'
)}
diff --git a/js/app/packages/core/component/AccessErrorViews/Gone.tsx b/js/app/packages/core/component/AccessErrorViews/Gone.tsx
index d86cd1e1c2..785989dec0 100644
--- a/js/app/packages/core/component/AccessErrorViews/Gone.tsx
+++ b/js/app/packages/core/component/AccessErrorViews/Gone.tsx
@@ -12,7 +12,7 @@ export default function Gone() {
<p class="text-ink-muted text-center max-w-xs">
Whoops! It looks like the file was not successfully uploaded.
</p>
- <span class="text-accent-ink">410</span>
+ <span class="text-accent">410</span>
</div>
);
}
diff --git a/js/app/packages/core/component/AccessErrorViews/NotFound.tsx b/js/app/packages/core/component/AccessErrorViews/NotFound.tsx
index d16ecf481e..d37defe98c 100644
--- a/js/app/packages/core/component/AccessErrorViews/NotFound.tsx
+++ b/js/app/packages/core/component/AccessErrorViews/NotFound.tsx
@@ -12,7 +12,7 @@ export default function NotFound() {
<p class="text-ink-muted">
Whoops! It doesn't look like a file exists at this link.
</p>
- <span class="text-accent-ink">404</span>
+ <span class="text-accent">404</span>
</div>
);
}
diff --git a/js/app/packages/core/component/AccessErrorViews/Unauthorized.tsx b/js/app/packages/core/component/AccessErrorViews/Unauthorized.tsx
index c1dfb87dbb..03bd8a21bb 100644
--- a/js/app/packages/core/component/AccessErrorViews/Unauthorized.tsx
+++ b/js/app/packages/core/component/AccessErrorViews/Unauthorized.tsx
@@ -26,7 +26,7 @@ export default function Unauthorized() {
You {currentUserEmail() ? `(${currentUserEmail()})` : ''} do not have
permission to view this file.
</p>
- <span class="text-accent-ink">401</span>
+ <span class="text-accent">401</span>
</div>
);
}
diff --git a/js/app/packages/core/component/BetaBadge.tsx b/js/app/packages/core/component/BetaBadge.tsx
index b0628556d7..41f6d72416 100644
--- a/js/app/packages/core/component/BetaBadge.tsx
+++ b/js/app/packages/core/component/BetaBadge.tsx
@@ -2,7 +2,7 @@ export function BetaBadge() {
return (
<div class="hidden sm:flex px-2 rounded-lg border border-accent/50 py-0.5 bg-accent/10 justify-center items-center">
<p
- class="text-accent-ink text-xs font-medium whitespace-nowrap"
+ class="text-accent text-xs font-medium whitespace-nowrap"
aria-label="Beta Badge"
>
Beta
diff --git a/js/app/packages/core/component/DatePicker/DatePickerUI.tsx b/js/app/packages/core/component/DatePicker/DatePickerUI.tsx
index a4e09f0f87..4337c37462 100644
--- a/js/app/packages/core/component/DatePicker/DatePickerUI.tsx
+++ b/js/app/packages/core/component/DatePicker/DatePickerUI.tsx
@@ -234,7 +234,7 @@ export function DatePickerUI(props: DatePickerUIProps) {
type="button"
class="size-8 transition-colors disabled:opacity-40"
classList={{
- 'bg-accent text-dialog': isSelected(day!),
+ 'bg-accent text-surface': isSelected(day!),
'hover:bg-active': !isSelected(day!),
'ring-1 ring-accent': isToday(day!),
}}
@@ -279,7 +279,7 @@ export function DatePickerUI(props: DatePickerUIProps) {
type="button"
class="px-3 py-2 hover:bg-active transition-colors"
classList={{
- 'bg-accent text-dialog hover:bg-accent-ink':
+ 'bg-accent text-surface hover:bg-accent':
displayMonth() === index(),
}}
onClick={() => handleMonthSelect(index())}
@@ -305,7 +305,7 @@ export function DatePickerUI(props: DatePickerUIProps) {
type="button"
class="px-3 py-2 hover:bg-active transition-colors"
classList={{
- 'bg-accent text-dialog hover:bg-accent-ink':
+ 'bg-accent text-surface hover:bg-accent':
displayYear() === year,
}}
onClick={() => handleYearSelect(year)}
@@ -376,7 +376,7 @@ export function DatePickerUI(props: DatePickerUIProps) {
type="button"
class="px-2 py-1 transition-colors"
classList={{
- 'bg-accent text-dialog': period() === 'AM',
+ 'bg-accent text-surface': period() === 'AM',
'hover:bg-active': period() !== 'AM',
}}
onClick={() => setPeriod('AM')}
@@ -387,7 +387,7 @@ export function DatePickerUI(props: DatePickerUIProps) {
type="button"
class="px-2 py-1 transition-colors"
classList={{
- 'bg-accent text-dialog': period() === 'PM',
+ 'bg-accent text-surface': period() === 'PM',
'hover:bg-active': period() !== 'PM',
}}
onClick={() => setPeriod('PM')}
@@ -398,7 +398,7 @@ export function DatePickerUI(props: DatePickerUIProps) {
<button
type="button"
aria-label="Confirm scheduled time"
- class="p-1 bg-dialog text-accent hover:bg-active transition-colors disabled:opacity-40 disabled:cursor-not-allowed"
+ class="p-1 bg-surface text-accent hover:bg-active transition-colors disabled:opacity-40 disabled:cursor-not-allowed"
disabled={isTimeInPast()}
onClick={() => props.onChange(buildDateWithTime(selectedDate()))}
>
diff --git a/js/app/packages/core/component/DatePicker/index.tsx b/js/app/packages/core/component/DatePicker/index.tsx
index 6414defbac..0491c4eb3f 100644
--- a/js/app/packages/core/component/DatePicker/index.tsx
+++ b/js/app/packages/core/component/DatePicker/index.tsx
@@ -15,7 +15,7 @@ export type DatePickerProps = {
export function DatePicker(props: DatePickerProps) {
return (
<div
- class="absolute z-action-menu bg-dialog ring-1 ring-edge-muted font-mono text-sm"
+ class="absolute z-action-menu bg-surface ring-1 ring-edge-muted font-mono text-sm"
use:floatWithElement={{ element: () => props.anchorRef }}
use:clickOutside={props.onClose}
>
diff --git a/js/app/packages/core/component/DeleteConfimationDialog.tsx b/js/app/packages/core/component/DeleteConfimationDialog.tsx
index a1a2948a39..4ce093f49a 100644
--- a/js/app/packages/core/component/DeleteConfimationDialog.tsx
+++ b/js/app/packages/core/component/DeleteConfimationDialog.tsx
@@ -13,7 +13,7 @@ export function DeleteConfimationDialog(props: DeleteConfimationDialogProps) {
<Dialog open={props.open} onOpenChange={props.setOpen}>
<Dialog.Portal>
<Dialog.Overlay class="fixed flex inset-0 z-modal bg-modal-overlay items-center justify-content" />
- <Dialog.Content class="fixed left-1/2 top-1/2 z-modal -translate-1/2 bg-dialog rounded-xl p-4 shadow-lg w-80">
+ <Dialog.Content class="fixed left-1/2 top-1/2 z-modal -translate-1/2 bg-surface rounded-xl p-4 shadow-lg w-80">
<Dialog.Title class="font-bold mb-2 text-ink">
Delete Items?
</Dialog.Title>
diff --git a/js/app/packages/core/component/FileDropOverlay.tsx b/js/app/packages/core/component/FileDropOverlay.tsx
index 2369a124b3..6ca60bb4fa 100644
--- a/js/app/packages/core/component/FileDropOverlay.tsx
+++ b/js/app/packages/core/component/FileDropOverlay.tsx
@@ -13,7 +13,7 @@ export const FileDropOverlay = (props: ParentProps<{ valid?: boolean }>) => {
'pattern-failure-bg': !valid(),
}}
>
- <div class="bg-menu border border-edge px-8 py-4 text-xs text-ink-muted shadow-md font-mono">
+ <div class="bg-surface border border-edge px-8 py-4 text-xs text-ink-muted shadow-md font-mono">
{props.children}
</div>
</div>
diff --git a/js/app/packages/core/component/FileList/HoverButtonWrapper.tsx b/js/app/packages/core/component/FileList/HoverButtonWrapper.tsx
index 8ce195ffc7..2dc309d1c5 100644
--- a/js/app/packages/core/component/FileList/HoverButtonWrapper.tsx
+++ b/js/app/packages/core/component/FileList/HoverButtonWrapper.tsx
@@ -14,17 +14,17 @@ export function HoverButtonWrapper(props: ButtonWrapperProps) {
return (
<button
class={cn(
- props.showOnHover ? 'hidden' : 'ring-1 ring-edge bg-button',
+ props.showOnHover ? 'hidden' : 'ring-1 ring-edge bg-surface',
ICON_SIZES[props.size ?? 'sm'],
'flex flex-none',
props.size === 'sm' ? 'p-px' : 'p-1.5',
'rounded-full justify-center items-center',
'text-ink-muted',
'transition-scale duration-200',
- 'hover:text-ink hover:scale-105 hover:bg-panel hover-transition-bg',
- 'group-hover/item:flex group-hover/item:bg-panel/50 group-hover/item:ring-1',
+ 'hover:text-ink hover:scale-105 hover:bg-surface hover-transition-bg',
+ 'group-hover/item:flex group-hover/item:bg-surface/50 group-hover/item:ring-1',
'group-hover/item:ring-edge group-hover/item:shadow',
- 'group-focus-within/item:flex group-focus-within/item:bg-panel/50 group-focus-within/item:ring-1',
+ 'group-focus-within/item:flex group-focus-within/item:bg-surface/50 group-focus-within/item:ring-1',
'group-focus-within/item:ring-edge group-focus-within/item:shadow',
props.class
)}
diff --git a/js/app/packages/core/component/FindBar.tsx b/js/app/packages/core/component/FindBar.tsx
index 125a2f6203..3f1fdfadfe 100644
--- a/js/app/packages/core/component/FindBar.tsx
+++ b/js/app/packages/core/component/FindBar.tsx
@@ -58,7 +58,7 @@ export function FindBar(props: FindBarProps) {
>
<div
class={cn(
- 'flex items-center gap-1 rounded-md border border-edge bg-panel p-1 shadow-md focus-within:border-accent',
+ 'flex items-center gap-1 rounded-md border border-edge bg-surface p-1 shadow-md focus-within:border-accent',
props.class
)}
>
diff --git a/js/app/packages/core/component/FloatingInputLoader.tsx b/js/app/packages/core/component/FloatingInputLoader.tsx
index 20d4a402a4..f0a7ea6d09 100644
--- a/js/app/packages/core/component/FloatingInputLoader.tsx
+++ b/js/app/packages/core/component/FloatingInputLoader.tsx
@@ -89,7 +89,7 @@ export function FloatingInputLoader(props: FloatingInputLoaderProps) {
props.class
)}
>
- <div class="flex items-center gap-2 px-3 py-1.5 rounded-md bg-panel border border-edge-muted shadow-sm">
+ <div class="flex items-center gap-2 px-3 py-1.5 rounded-md bg-surface border border-edge-muted shadow-sm">
<Show
when={showSuccess()}
fallback={
diff --git a/js/app/packages/core/component/FormControls/ActionSequence.tsx b/js/app/packages/core/component/FormControls/ActionSequence.tsx
index 77dbd8b81c..f2f44a7d91 100644
--- a/js/app/packages/core/component/FormControls/ActionSequence.tsx
+++ b/js/app/packages/core/component/FormControls/ActionSequence.tsx
@@ -98,7 +98,7 @@ function Step(props: ButtonProps) {
return (
<button
type="button"
- class="relative flex items-stretch bg-accent text-dialog font-mono border-2 border-accent font-medium uppercase leading-none translate-y-0.5 transition py-1 px-2 disabled:cursor-not-allowed"
+ class="relative flex items-stretch bg-accent text-surface font-mono border-2 border-accent font-medium uppercase leading-none translate-y-0.5 transition py-1 px-2 disabled:cursor-not-allowed"
disabled={props.disabled || props.completed}
onClick={props.onClick}
classList={{
diff --git a/js/app/packages/core/component/FormControls/DropdownMenu.tsx b/js/app/packages/core/component/FormControls/DropdownMenu.tsx
index be6f618335..e23c8ef371 100644
--- a/js/app/packages/core/component/FormControls/DropdownMenu.tsx
+++ b/js/app/packages/core/component/FormControls/DropdownMenu.tsx
@@ -126,7 +126,7 @@ const DropdownMenu: ParentComponent<
when={props.shadowTheme === 'Base' || props.shadowTheme == null}
>
<div
- class="absolute bg-panel"
+ class="absolute bg-surface"
style={{
width: `calc(100% - ${triggerSize().width - (props.dropdownCutout ?? 2)}px)`,
'--dropdown-cutout': `${props.dropdownCutout ?? 4}px`,
@@ -159,7 +159,7 @@ const DropdownMenu: ParentComponent<
</Show>
</div>
<div
- class="relative bg-panel"
+ class="relative bg-surface"
classList={{
'border-accent border-2': props.shadowAccent ?? true,
}}
diff --git a/js/app/packages/core/component/FormControls/MiniToggleSwitch.tsx b/js/app/packages/core/component/FormControls/MiniToggleSwitch.tsx
index b83e0ce9b4..5604603011 100644
--- a/js/app/packages/core/component/FormControls/MiniToggleSwitch.tsx
+++ b/js/app/packages/core/component/FormControls/MiniToggleSwitch.tsx
@@ -101,7 +101,7 @@ export const MiniToggleSwitch: Component<
aria-hidden
>
<div
- class="absolute top-0.5 rounded-full bg-panel transition-transform duration-200 ease-click"
+ class="absolute top-0.5 rounded-full bg-surface transition-transform duration-200 ease-click"
classList={{
'size-2 touch:size-7': !props.compact,
'size-1.5': !!props.compact,
diff --git a/js/app/packages/core/component/FormControls/SegmentControls.tsx b/js/app/packages/core/component/FormControls/SegmentControls.tsx
index 45752fb67b..8cb7bcdcbb 100644
--- a/js/app/packages/core/component/FormControls/SegmentControls.tsx
+++ b/js/app/packages/core/component/FormControls/SegmentControls.tsx
@@ -96,7 +96,7 @@ export const SegmentedControl: ParentComponent<
class="flex justify-center items-center border border-ink p-1 font-bold uppercase font-mono text-[11px]"
classList={{
// [`${sizeClass[props.size || 'Base']}`]: true,
- 'bg-ink text-panel': value() === item,
+ 'bg-ink text-surface': value() === item,
'text-ink': value() !== item,
[`${props.itemLabelClass}`]: !!props.itemLabelClass,
// 'animate-[flicker_50ms_2]': showFlicker(),
diff --git a/js/app/packages/core/component/FormControls/ToggleSwitch.tsx b/js/app/packages/core/component/FormControls/ToggleSwitch.tsx
index eac535891c..c070ec03c7 100644
--- a/js/app/packages/core/component/FormControls/ToggleSwitch.tsx
+++ b/js/app/packages/core/component/FormControls/ToggleSwitch.tsx
@@ -148,7 +148,7 @@ export const ToggleSwitch: Component<
<div
class="absolute inset-0 flex justify-center items-center mr-[100cqh] transition-[clip-path] duration-100"
classList={{
- 'font-bold bg-ink text-panel':
+ 'font-bold bg-ink text-surface':
!props.switchRootClass?.includes('subtle'),
'font-medium bg-ink/20 text-ink/80':
props.switchRootClass?.includes('subtle'),
diff --git a/js/app/packages/core/component/ForwardToChannel.tsx b/js/app/packages/core/component/ForwardToChannel.tsx
index e837055873..7f70e27c90 100644
--- a/js/app/packages/core/component/ForwardToChannel.tsx
+++ b/js/app/packages/core/component/ForwardToChannel.tsx
@@ -94,7 +94,7 @@ function MobileForwardToChannelLayout(
<div
class={`size-4 border ${
!props.canSendAsGroup()
- ? 'border-edge peer-checked:bg-menu/20'
+ ? 'border-edge peer-checked:bg-surface/20'
: 'border-edge hover:border-accent/30 peer-checked:bg-accent/10 peer-checked:border-accent/30'
}`}
>
@@ -517,7 +517,7 @@ export function ForwardToChannel(props: ForwardToChannelProps) {
class={cn(
'size-4 border',
!canSendAsGroup()
- ? 'border-edge peer-checked:bg-menu/20'
+ ? 'border-edge peer-checked:bg-surface/20'
: 'border-edge hover:border-accent/30 peer-checked:bg-accent/10 peer-checked:border-accent/30'
)}
>
diff --git a/js/app/packages/core/component/GeneralizedPopup/Popup.tsx b/js/app/packages/core/component/GeneralizedPopup/Popup.tsx
index e5c7d7ea27..674b797e1f 100644
--- a/js/app/packages/core/component/GeneralizedPopup/Popup.tsx
+++ b/js/app/packages/core/component/GeneralizedPopup/Popup.tsx
@@ -68,7 +68,7 @@ export function GeneralizedPopup(props: GeneralizedPopupProps) {
<div
ref={mergeRefs(setPopupRef, props.ref)}
id="generalized-popup"
- class="absolute bg-menu shadow-xl ring-1 ring-edge z-highlight-menu rounded-xs inline-flex items-start flex-col p-1"
+ class="absolute bg-surface shadow-xl ring-1 ring-edge z-highlight-menu rounded-xs inline-flex items-start flex-col p-1"
style={{
left: `${position().x}px`,
top: `${position().y}px`,
diff --git a/js/app/packages/core/component/GlobalNotificationBell.tsx b/js/app/packages/core/component/GlobalNotificationBell.tsx
index c0fe138989..2ba73c3184 100644
--- a/js/app/packages/core/component/GlobalNotificationBell.tsx
+++ b/js/app/packages/core/component/GlobalNotificationBell.tsx
@@ -49,8 +49,8 @@ export function GlobalNotificationBell(props: GlobalNotificationBellProps) {
return (
<Show when={unreadCount() > 0}>
<button class="flex items-center group" onClick={handleNotificationClick}>
- <div class="relative shrink-0 border border-ink-muted group-hover:border-accent flex items-center justify-center text-xs bg-ink-muted group-hover:bg-accent text-page p-1">
- <Bell class="size-4 text-page" />
+ <div class="relative shrink-0 border border-ink-muted group-hover:border-accent flex items-center justify-center text-xs bg-ink-muted group-hover:bg-accent text-surface p-1">
+ <Bell class="size-4 text-surface" />
<Show when={unreadCount() > 0}>
<p>{unreadCount() > 99 ? '99+' : unreadCount()}</p>
</Show>
diff --git a/js/app/packages/core/component/ImageGalleryPreview.tsx b/js/app/packages/core/component/ImageGalleryPreview.tsx
index f383369f84..e936ecf9ce 100644
--- a/js/app/packages/core/component/ImageGalleryPreview.tsx
+++ b/js/app/packages/core/component/ImageGalleryPreview.tsx
@@ -57,7 +57,7 @@ function GalleryImagePlaceholder(props: {
}) {
return (
<div
- class="flex items-center justify-center border border-edge rounded-2xl bg-menu"
+ class="flex items-center justify-center border border-edge rounded-2xl bg-surface"
style={
props.dims
? {
@@ -132,7 +132,7 @@ export const ImageGalleryPreview: Component<ImageGalleryPreviewProps> = (
<div class={props.variant === 'dynamic' ? 'max-w-50 w-fit' : ''}>
<div class="flex group relative">
<Show when={props.variant !== 'small'}>
- <div class="group-hover:visible invisible absolute top-2 right-2 bg-button rounded-2xl border border-edge flex flex-row items-center gap-1 z-10">
+ <div class="group-hover:visible invisible absolute top-2 right-2 bg-surface rounded-2xl border border-edge flex flex-row items-center gap-1 z-10">
<Dialog.Trigger
onClick={() => setClickedIndex(index())}
disabled={props.isContext}
diff --git a/js/app/packages/core/component/ImagePreview.tsx b/js/app/packages/core/component/ImagePreview.tsx
index 09189fc48f..d00b7c1992 100644
--- a/js/app/packages/core/component/ImagePreview.tsx
+++ b/js/app/packages/core/component/ImagePreview.tsx
@@ -74,7 +74,7 @@ function ImagePlaceholder(props: {
}) {
return (
<div
- class="flex items-center justify-center border border-edge rounded-2xl bg-menu"
+ class="flex items-center justify-center border border-edge rounded-2xl bg-surface"
style={
props.dims
? {
@@ -154,7 +154,7 @@ export function ImagePreview(props: ImagePreviewProps) {
<Dialog modal={true}>
<div class="flex group relative">
<Show when={props.variant !== 'small'}>
- <div class="group-hover:visible invisible absolute top-2 right-2 bg-button rounded-2xl border border-edge flex flex-row items-center gap-1 z-10">
+ <div class="group-hover:visible invisible absolute top-2 right-2 bg-surface rounded-2xl border border-edge flex flex-row items-center gap-1 z-10">
<Dialog.Trigger disabled={props.isContext}>
<Button variant="ghost" size="icon-md">
<ExpandIcon />
diff --git a/js/app/packages/core/component/ItemPreview.tsx b/js/app/packages/core/component/ItemPreview.tsx
index f7e33f1525..0b904fcf07 100644
--- a/js/app/packages/core/component/ItemPreview.tsx
+++ b/js/app/packages/core/component/ItemPreview.tsx
@@ -117,7 +117,7 @@ export function useItemPreviewData(entity: Accessor<ItemEntity>) {
}
const DEFAULT_BUTTON_CLASS =
- 'text-ink-base text-sm ring-1 ring-edge-muted rounded-xs hover:bg-panel-hover flex flex-row h-6 px-2 justify-center items-center';
+ 'text-ink-base text-sm ring-1 ring-edge-muted rounded-xs hover:bg-surface-hover flex flex-row h-6 px-2 justify-center items-center';
const DEFAULT_ICON_CLASS = 'flex justify-start items-center w-3.5 h-3.5 mr-2';
const DEFAULT_TEXT_CLASS = 'flex-1 text-left leading-5 min-w-0 truncate';
diff --git a/js/app/packages/core/component/LexicalMarkdown/builder/BuilderTestPage.tsx b/js/app/packages/core/component/LexicalMarkdown/builder/BuilderTestPage.tsx
index ac3bdb2fef..74dacd0202 100644
--- a/js/app/packages/core/component/LexicalMarkdown/builder/BuilderTestPage.tsx
+++ b/js/app/packages/core/component/LexicalMarkdown/builder/BuilderTestPage.tsx
@@ -11,7 +11,7 @@ function Container(props: {
footer?: JSX.Element;
}) {
return (
- <div class="flex flex-col gap-2 w-full max-w-4xl p-4 bg-panel rounded-lg border border-edge min-h-100">
+ <div class="flex flex-col gap-2 w-full max-w-4xl p-4 bg-surface rounded-lg border border-edge min-h-100">
<div class="flex flex-col gap-1">
<label class="text-sm font-medium text-ink">{props.label}</label>
{props.description && (
diff --git a/js/app/packages/core/component/LexicalMarkdown/collaboration/remote-cursor.tsx b/js/app/packages/core/component/LexicalMarkdown/collaboration/remote-cursor.tsx
index 519ac5e7dc..44074fe088 100644
--- a/js/app/packages/core/component/LexicalMarkdown/collaboration/remote-cursor.tsx
+++ b/js/app/packages/core/component/LexicalMarkdown/collaboration/remote-cursor.tsx
@@ -283,7 +283,7 @@ function RemoteCursorsOverlay(props: RemoteCursorsOverlayProps) {
const overlayColor = `var(--color-${startStyle.color})`;
const tagName = `var(--color-${startStyle.color})`;
- const textColor = `var(--color-panel)`;
+ const textColor = `var(--color-surface)`;
const userTagHeight = 20;
diff --git a/js/app/packages/core/component/LexicalMarkdown/component/accessory/CodeBoxAccessory.tsx b/js/app/packages/core/component/LexicalMarkdown/component/accessory/CodeBoxAccessory.tsx
index ad7ad65a74..8fcad00212 100644
--- a/js/app/packages/core/component/LexicalMarkdown/component/accessory/CodeBoxAccessory.tsx
+++ b/js/app/packages/core/component/LexicalMarkdown/component/accessory/CodeBoxAccessory.tsx
@@ -250,7 +250,7 @@ export function CodeBoxAccessory(props: {
>
<Switch.Input class="sr-only" />
<Switch.Control class="inline-flex h-4 w-8 hover:ring-1 hover:ring-edge rounded-full border-2 border-transparent transition-colors bg-edge focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-accent focus-visible:ring-offset-2 data-checked:bg-accent">
- <Switch.Thumb class="block size-3 rounded-full bg-dialog transition-transform data-checked:translate-x-4" />
+ <Switch.Thumb class="block size-3 rounded-full bg-surface transition-transform data-checked:translate-x-4" />
</Switch.Control>
</Switch>
</div>
@@ -417,7 +417,7 @@ export const StaticCodeBoxAccessory = (props: {
<Switch checked={isPreviewMode()} onChange={setIsPreviewMode}>
<Switch.Input class="sr-only" />
<Switch.Control class="inline-flex h-4 w-8 hover:ring-1 hover:ring-edge rounded-full border-2 border-transparent transition-colors bg-edge focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-accent focus-visible:ring-offset-2 data-checked:bg-accent">
- <Switch.Thumb class="block size-3 rounded-full transition-transform data-checked:translate-x-4 bg-dialog" />
+ <Switch.Thumb class="block size-3 rounded-full transition-transform data-checked:translate-x-4 bg-surface" />
</Switch.Control>
</Switch>
</div>
diff --git a/js/app/packages/core/component/LexicalMarkdown/component/core/LinkWithPreview.tsx b/js/app/packages/core/component/LexicalMarkdown/component/core/LinkWithPreview.tsx
index 3dda5d136b..45f2cf5123 100644
--- a/js/app/packages/core/component/LexicalMarkdown/component/core/LinkWithPreview.tsx
+++ b/js/app/packages/core/component/LexicalMarkdown/component/core/LinkWithPreview.tsx
@@ -48,7 +48,7 @@ export function LinkWithPreview(props: UnfurlLinkProps) {
<Show when={previewOpen()}>
<ScopedPortal>
<div
- class="absolute bg-panel rounded-xs ring ring-edge-muted border-edge left-0 z-10 shadow-lg max-w-72"
+ class="absolute bg-surface rounded-xs ring ring-edge-muted border-edge left-0 z-10 shadow-lg max-w-72"
style={{
transform: 'translateY(0)',
}}
diff --git a/js/app/packages/core/component/LexicalMarkdown/component/debug/EditorTestPage.tsx b/js/app/packages/core/component/LexicalMarkdown/component/debug/EditorTestPage.tsx
index 1b54790050..7cae36fb6c 100644
--- a/js/app/packages/core/component/LexicalMarkdown/component/debug/EditorTestPage.tsx
+++ b/js/app/packages/core/component/LexicalMarkdown/component/debug/EditorTestPage.tsx
@@ -80,7 +80,7 @@ console.log(a + b);
function Container(props: { label: string; children: JSX.Element }) {
return (
- <div class="flex flex-col gap-4 w-full max-w-xl p-4 bg-panel rounded-lg border border-edge h-64">
+ <div class="flex flex-col gap-4 w-full max-w-xl p-4 bg-surface rounded-lg border border-edge h-64">
<label class="text-xs text-ink-muted">{props.label}</label>
<div class="h-px bg-edge"></div>
<div class="h-full overflow-y-auto">{props.children}</div>
diff --git a/js/app/packages/core/component/LexicalMarkdown/component/debug/LexicalStateDebugger.tsx b/js/app/packages/core/component/LexicalMarkdown/component/debug/LexicalStateDebugger.tsx
index 923cfcf237..5bb9aec50f 100644
--- a/js/app/packages/core/component/LexicalMarkdown/component/debug/LexicalStateDebugger.tsx
+++ b/js/app/packages/core/component/LexicalMarkdown/component/debug/LexicalStateDebugger.tsx
@@ -328,7 +328,7 @@ export function LexicalStateDebugger(props: { state: EditorState }) {
<Show when={blockElement()}>
<Portal mount={blockElement()}>
<div
- class="absolute font-mono bottom-6 right-6 size-1/2 p-2 text-ink bg-panel text-xs rounded-sm border border-edge opacity-95 z-30 flex flex-col space-y-1"
+ class="absolute font-mono bottom-6 right-6 size-1/2 p-2 text-ink bg-surface text-xs rounded-sm border border-edge opacity-95 z-30 flex flex-col space-y-1"
classList={{
'size-12 overflow-hidden overflow-y-hidden': collapsed(),
}}
@@ -337,7 +337,7 @@ export function LexicalStateDebugger(props: { state: EditorState }) {
}}
>
<div
- class="top-2 left-2 size-4 flex items-center justify-center bg-panel rounded-sm shadow-sm"
+ class="top-2 left-2 size-4 flex items-center justify-center bg-surface rounded-sm shadow-sm"
role="button"
onClick={() => {
setCollapsed((prev) => !prev);
@@ -352,7 +352,7 @@ export function LexicalStateDebugger(props: { state: EditorState }) {
</Show>
</div>
<Show when={!collapsed()}>
- <div class="overflow-y-auto h-full bg-panel rounded-sm border-edge border select-children">
+ <div class="overflow-y-auto h-full bg-surface rounded-sm border-edge border select-children">
<For each={state().nodeList}>
{(node) => {
return (
diff --git a/js/app/packages/core/component/LexicalMarkdown/component/debug/MarkdownParseTestPage.tsx b/js/app/packages/core/component/LexicalMarkdown/component/debug/MarkdownParseTestPage.tsx
index 71a14504d1..7a9c4c1f09 100644
--- a/js/app/packages/core/component/LexicalMarkdown/component/debug/MarkdownParseTestPage.tsx
+++ b/js/app/packages/core/component/LexicalMarkdown/component/debug/MarkdownParseTestPage.tsx
@@ -316,7 +316,7 @@ export default function MarkdownParseTestPage() {
<button
class={cn(
'px-2 py-0.5 text-xs border-r border-edge',
- inputType() === 'markdown' && 'bg-accent text-panel'
+ inputType() === 'markdown' && 'bg-accent text-surface'
)}
onClick={() => setInputType('markdown')}
>
@@ -325,7 +325,7 @@ export default function MarkdownParseTestPage() {
<button
class={cn(
'px-2 py-0.5 text-xs',
- inputType() === 'lexical-json' && 'bg-accent text-panel'
+ inputType() === 'lexical-json' && 'bg-accent text-surface'
)}
onClick={() => setInputType('lexical-json')}
>
@@ -334,7 +334,7 @@ export default function MarkdownParseTestPage() {
</div>
</div>
<textarea
- class="size-full p-4 resize-none border border-edge rounded font-mono text-ink text-sm bg-input"
+ class="size-full p-4 resize-none border border-edge rounded font-mono text-ink text-sm bg-surface"
placeholder={
inputType() === 'markdown'
? 'Test markdown here...'
@@ -357,7 +357,7 @@ export default function MarkdownParseTestPage() {
<button
class={cn(
'px-3 py-1 text-sm border-r border-edge',
- outputType() === 'static' && 'bg-accent text-panel'
+ outputType() === 'static' && 'bg-accent text-surface'
)}
onClick={() => setOutputType('static')}
>
@@ -366,7 +366,7 @@ export default function MarkdownParseTestPage() {
<button
class={cn(
'px-3 py-1 text-sm',
- outputType() === 'editor' && 'bg-accent text-panel'
+ outputType() === 'editor' && 'bg-accent text-surface'
)}
onClick={() => setOutputType('editor')}
>
@@ -381,7 +381,7 @@ export default function MarkdownParseTestPage() {
<button
class={cn(
'px-3 py-1 text-sm border-r border-edge',
- targetType() === 'internal' && 'bg-accent text-panel'
+ targetType() === 'internal' && 'bg-accent text-surface'
)}
onClick={() => setTargetType('internal')}
>
@@ -390,7 +390,7 @@ export default function MarkdownParseTestPage() {
<button
class={cn(
'px-3 py-1 text-sm',
- targetType() === 'external' && 'bg-accent text-panel'
+ targetType() === 'external' && 'bg-accent text-surface'
)}
onClick={() => setTargetType('external')}
>
@@ -399,7 +399,7 @@ export default function MarkdownParseTestPage() {
<button
class={cn(
'px-3 py-1 text-sm',
- targetType() === 'both' && 'bg-accent text-panel'
+ targetType() === 'both' && 'bg-accent text-surface'
)}
onClick={() => setTargetType('both')}
>
@@ -439,7 +439,7 @@ export default function MarkdownParseTestPage() {
</div>
</Show>
- <div class="flex-1 overflow-auto bg-input border border-edge rounded p-4">
+ <div class="flex-1 overflow-auto bg-surface border border-edge rounded p-4">
<Show when={outputType() === 'static'}>
<StaticMarkdownContext theme={getThemeByType(themeType())}>
<Show when={inputType() === 'markdown'}>
diff --git a/js/app/packages/core/component/LexicalMarkdown/component/decorator/ContactMention.tsx b/js/app/packages/core/component/LexicalMarkdown/component/decorator/ContactMention.tsx
index 833fd8f49b..67b74579fe 100644
--- a/js/app/packages/core/component/LexicalMarkdown/component/decorator/ContactMention.tsx
+++ b/js/app/packages/core/component/LexicalMarkdown/component/decorator/ContactMention.tsx
@@ -105,7 +105,7 @@ export function ContactMention(props: ContactMentionDecoratorProps) {
<span
ref={mentionRef}
class={cn(
- 'relative p-0.5 cursor-default rounded-xs bg-accent/8 hover:bg-accent/20 focus:bg-accent/20 text-accent-ink',
+ 'relative p-0.5 cursor-default rounded-xs bg-accent/8 hover:bg-accent/20 focus:bg-accent/20 text-accent',
isSelectedAsNode() && 'bg-active'
)}
{...navHandlers}
@@ -131,7 +131,7 @@ export function ContactMention(props: ContactMentionDecoratorProps) {
<Show when={popupOpen()}>
<Portal>
<div
- class="absolute select-none overflow-hidden z-toast-region w-64 bg-dialog ring-1 ring-edge text-ink rounded-lg p-3"
+ class="absolute select-none overflow-hidden z-toast-region w-64 bg-surface ring-1 ring-edge text-ink rounded-lg p-3"
use:floatWithElement={{ element: () => mentionRef }}
>
<div class="flex items-center gap-2">
diff --git a/js/app/packages/core/component/LexicalMarkdown/component/decorator/DateMention.tsx b/js/app/packages/core/component/LexicalMarkdown/component/decorator/DateMention.tsx
index 7c2e8cc4b8..635b71838b 100644
--- a/js/app/packages/core/component/LexicalMarkdown/component/decorator/DateMention.tsx
+++ b/js/app/packages/core/component/LexicalMarkdown/component/decorator/DateMention.tsx
@@ -113,7 +113,7 @@ export function DateMention(props: DateMentionDecoratorProps) {
<>
<span
ref={mentionRef}
- class="relative p-0.5 rounded-xs bg-accent/8 hover:bg-accent/20 focus:bg-accent/20 text-accent-ink cursor-default"
+ class="relative p-0.5 rounded-xs bg-accent/8 hover:bg-accent/20 focus:bg-accent/20 text-accent cursor-default"
classList={{
'bg-active': isSelectedAsNode(),
}}
@@ -137,7 +137,7 @@ export function DateMention(props: DateMentionDecoratorProps) {
<Show when={hovered() && !datePickerOpen()}>
<Portal>
<div
- class="absolute select-none z-tool-tip bg-panel p-1.5 text-ink-muted text-xs wrap-break-word rounded-sm border border-edge-muted shadow-md shadow-[#000]/5"
+ class="absolute select-none z-tool-tip bg-surface p-1.5 text-ink-muted text-xs wrap-break-word rounded-sm border border-edge-muted shadow-md shadow-[#000]/5"
use:floatWithElement={{ element: () => mentionRef }}
>
{formatTooltipDate(new Date(props.date))}
diff --git a/js/app/packages/core/component/LexicalMarkdown/component/decorator/DocumentCard.tsx b/js/app/packages/core/component/LexicalMarkdown/component/decorator/DocumentCard.tsx
index a1ae14c777..3c61fc024c 100644
--- a/js/app/packages/core/component/LexicalMarkdown/component/decorator/DocumentCard.tsx
+++ b/js/app/packages/core/component/LexicalMarkdown/component/decorator/DocumentCard.tsx
@@ -425,7 +425,7 @@ function DocumentCardInner(props: DocumentCardDecoratorProps) {
}}
contentEditable={false}
class={cn(
- 'relative my-2 rounded border border-edge bg-panel no-select-children select-none overflow-hidden flex flex-col',
+ 'relative my-2 rounded border border-edge bg-surface no-select-children select-none overflow-hidden flex flex-col',
isSelectedAsNode() &&
!channelMessageId() &&
'bg-active outline-edge outline-4',
diff --git a/js/app/packages/core/component/LexicalMarkdown/component/decorator/GroupMention.tsx b/js/app/packages/core/component/LexicalMarkdown/component/decorator/GroupMention.tsx
index b6dd185c70..8040823e77 100644
--- a/js/app/packages/core/component/LexicalMarkdown/component/decorator/GroupMention.tsx
+++ b/js/app/packages/core/component/LexicalMarkdown/component/decorator/GroupMention.tsx
@@ -16,7 +16,7 @@ export function GroupMention(props: GroupMentionDecoratorProps) {
return (
<span
class={cn(
- 'relative p-0.5 cursor-default rounded-xs bg-accent/8 hover:bg-accent/20 focus:bg-accent/20 text-accent-ink',
+ 'relative p-0.5 cursor-default rounded-xs bg-accent/8 hover:bg-accent/20 focus:bg-accent/20 text-accent',
isSelectedAsNode() && 'bg-active'
)}
>
diff --git a/js/app/packages/core/component/LexicalMarkdown/component/decorator/MarkdownImage.tsx b/js/app/packages/core/component/LexicalMarkdown/component/decorator/MarkdownImage.tsx
index 681c518b65..f33a0cdbd8 100644
--- a/js/app/packages/core/component/LexicalMarkdown/component/decorator/MarkdownImage.tsx
+++ b/js/app/packages/core/component/LexicalMarkdown/component/decorator/MarkdownImage.tsx
@@ -379,7 +379,7 @@ export function MarkdownImage(props: ImageDecoratorProps) {
<Dialog.Overlay class="fixed inset-0 z-modal bg-modal-overlay items-center justify-center" />
<div class="fixed inset-0 z-modal w-screen h-screen flex items-center justify-center bg-transparent">
<Dialog.Content class="relative max-w-[65%] max-h-[80vh] flex items-center justify-center">
- <div class="absolute bg-dialog top-2 right-2 flex flex-row">
+ <div class="absolute bg-surface top-2 right-2 flex flex-row">
<Dialog.CloseButton>
<Button variant="ghost" size="icon-md">
<XIcon />
diff --git a/js/app/packages/core/component/LexicalMarkdown/component/decorator/MarkdownVideo.tsx b/js/app/packages/core/component/LexicalMarkdown/component/decorator/MarkdownVideo.tsx
index 3adb48057f..53f04bcefe 100644
--- a/js/app/packages/core/component/LexicalMarkdown/component/decorator/MarkdownVideo.tsx
+++ b/js/app/packages/core/component/LexicalMarkdown/component/decorator/MarkdownVideo.tsx
@@ -356,7 +356,7 @@ export function MarkdownVideo(props: VideoDecoratorProps) {
<Dialog.Overlay class="fixed inset-0 z-modal bg-modal-overlay items-center justify-center" />
<div class="fixed inset-0 z-modal w-screen h-screen flex items-center justify-center bg-transparent">
<Dialog.Content class="relative max-w-[65%] max-h-[80vh] flex items-center justify-center">
- <div class="absolute bg-dialog top-2 right-2 flex flex-row z-10">
+ <div class="absolute bg-surface top-2 right-2 flex flex-row z-10">
<Dialog.CloseButton>
<Button variant="ghost" size="icon-md">
<XIcon />
diff --git a/js/app/packages/core/component/LexicalMarkdown/component/decorator/MediaButtons.tsx b/js/app/packages/core/component/LexicalMarkdown/component/decorator/MediaButtons.tsx
index dc4440c45e..3e211dc0db 100644
--- a/js/app/packages/core/component/LexicalMarkdown/component/decorator/MediaButtons.tsx
+++ b/js/app/packages/core/component/LexicalMarkdown/component/decorator/MediaButtons.tsx
@@ -96,7 +96,7 @@ export function MediaButtons(props: MediaButtonsProps) {
return (
<Layer depth={3}>
- <div class="absolute bg-panel ring ring-edge rounded-md top-2 right-2 flex flex-row p-1">
+ <div class="absolute bg-surface ring ring-edge rounded-md top-2 right-2 flex flex-row p-1">
<Show when={!collapsed()}>
<ButtonContent />
</Show>
diff --git a/js/app/packages/core/component/LexicalMarkdown/component/decorator/MentionTooltip.tsx b/js/app/packages/core/component/LexicalMarkdown/component/decorator/MentionTooltip.tsx
index b1554f9896..a1e0e1893a 100644
--- a/js/app/packages/core/component/LexicalMarkdown/component/decorator/MentionTooltip.tsx
+++ b/js/app/packages/core/component/LexicalMarkdown/component/decorator/MentionTooltip.tsx
@@ -4,8 +4,8 @@ import { Show } from 'solid-js';
export function MentionTooltip(props: { show: boolean; text: string }) {
return (
<Show when={props.show}>
- <div class="select-none pointer-events-none absolute z-action-menu top-full flex gap-1 left-0 mt-2 p-1 w-fit whitespace-pre text-panel bg-ink text-xs rounded-xs font-mono">
- <div class="h-4 w-6 text-panel flex flex-row">
+ <div class="select-none pointer-events-none absolute z-action-menu top-full flex gap-1 left-0 mt-2 p-1 w-fit whitespace-pre text-surface bg-ink text-xs rounded-xs font-mono">
+ <div class="h-4 w-6 text-surface flex flex-row">
[<KeyReturn />]
</div>
{props.text}
diff --git a/js/app/packages/core/component/LexicalMarkdown/component/decorator/ResizeHandle.tsx b/js/app/packages/core/component/LexicalMarkdown/component/decorator/ResizeHandle.tsx
index d6c85ca9a9..40f504dfd0 100644
--- a/js/app/packages/core/component/LexicalMarkdown/component/decorator/ResizeHandle.tsx
+++ b/js/app/packages/core/component/LexicalMarkdown/component/decorator/ResizeHandle.tsx
@@ -121,7 +121,7 @@ export function ResizeHandle(props: ResizeHandleProps) {
}}
>
<div
- class="w-1 h-[50%] min-h-8 absolute top-1/2 bg-ink ring-2 ring-panel rounded-full transition-all duration-200 pointer-events-none"
+ class="w-1 h-[50%] min-h-8 absolute top-1/2 bg-ink ring-2 ring-surface rounded-full transition-all duration-200 pointer-events-none"
classList={{
'right-3': props.side === 'right',
'left-3': props.side === 'left',
diff --git a/js/app/packages/core/component/LexicalMarkdown/component/decorator/UserMention.tsx b/js/app/packages/core/component/LexicalMarkdown/component/decorator/UserMention.tsx
index f6c7daff7d..5e6ca24eb8 100644
--- a/js/app/packages/core/component/LexicalMarkdown/component/decorator/UserMention.tsx
+++ b/js/app/packages/core/component/LexicalMarkdown/component/decorator/UserMention.tsx
@@ -43,7 +43,7 @@ export function UserMention(props: UserMentionDecoratorProps) {
trigger={
<span
class={cn(
- 'relative p-0.5 cursor-default rounded-xs bg-accent/8 hover:bg-accent/20 focus:bg-accent/20 text-accent-ink',
+ 'relative p-0.5 cursor-default rounded-xs bg-accent/8 hover:bg-accent/20 focus:bg-accent/20 text-accent',
isSelectedAsNode() && 'bg-active'
)}
>
diff --git a/js/app/packages/core/component/LexicalMarkdown/component/menu/FloatingEquationMenu.tsx b/js/app/packages/core/component/LexicalMarkdown/component/menu/FloatingEquationMenu.tsx
index 56c6fcdd74..0aca9c4301 100644
--- a/js/app/packages/core/component/LexicalMarkdown/component/menu/FloatingEquationMenu.tsx
+++ b/js/app/packages/core/component/LexicalMarkdown/component/menu/FloatingEquationMenu.tsx
@@ -219,7 +219,7 @@ export function FloatingEquationMenu() {
return (
<Show when={menuOpen()}>
<div
- class="p-4 fixed bg-menu top-0 left-0 z-action-menu rounded-lg shadow-lg w-96 border border-edge"
+ class="p-4 fixed bg-surface top-0 left-0 z-action-menu rounded-lg shadow-lg w-96 border border-edge"
use:floatWithElement={{ element: getElement }}
use:floatWithSelection={{
selection: untrack(getSelection),
@@ -274,7 +274,7 @@ export function FloatingEquationMenu() {
<button
onClick={handleSubmit}
disabled={!equation()}
- class="px-3 py-1.5 bg-accent/80 text-menu rounded-md hover:bg-accent transition disabled:bg-edge disabled:cursor-not-allowed flex items-center gap-1.5 text-sm font-medium"
+ class="px-3 py-1.5 bg-accent/80 text-surface rounded-md hover:bg-accent transition disabled:bg-edge disabled:cursor-not-allowed flex items-center gap-1.5 text-sm font-medium"
>
<Check class="size-4" />
{isNewEquation() ? 'Insert' : 'Update'}
diff --git a/js/app/packages/core/component/LexicalMarkdown/component/menu/FloatingLinkMenu.tsx b/js/app/packages/core/component/LexicalMarkdown/component/menu/FloatingLinkMenu.tsx
index 50e0e9bac5..bef2ecd791 100644
--- a/js/app/packages/core/component/LexicalMarkdown/component/menu/FloatingLinkMenu.tsx
+++ b/js/app/packages/core/component/LexicalMarkdown/component/menu/FloatingLinkMenu.tsx
@@ -350,7 +350,7 @@ export function FloatingLinkMenu(props: { closePopup?: () => void }) {
<Show when={linkInfo()?.linkRef || linkInfo()?.selection}>
<ScopedPortal scope="block">
<div
- class="p-2 fixed bg-menu top-0 left-0 text-sm z-modal-content ring ring-edge-muted rounded-sm shadow-lg min-w-80"
+ class="p-2 fixed bg-surface top-0 left-0 text-sm z-modal-content ring ring-edge-muted rounded-sm shadow-lg min-w-80"
use:floatWithElement={floatWithElementProps()}
use:floatWithSelection={floatWithSelectionProps()}
use:clickOutside={() => {
@@ -373,7 +373,7 @@ export function FloatingLinkMenu(props: { closePopup?: () => void }) {
{(link) => (
<ScopedPortal>
<div
- class="p-2 absolute top-0 left-0 z-10 bg-menu w-80 shadow-lg ring-edge-muted rounded-sm ring-1"
+ class="p-2 absolute top-0 left-0 z-10 bg-surface w-80 shadow-lg ring-edge-muted rounded-sm ring-1"
use:floatWithElement={{
element: () => link().linkRef,
useBlockBoundary: true,
diff --git a/js/app/packages/core/component/LexicalMarkdown/component/menu/GenerateMenu.tsx b/js/app/packages/core/component/LexicalMarkdown/component/menu/GenerateMenu.tsx
index 8600c1db3d..081279ea74 100644
--- a/js/app/packages/core/component/LexicalMarkdown/component/menu/GenerateMenu.tsx
+++ b/js/app/packages/core/component/LexicalMarkdown/component/menu/GenerateMenu.tsx
@@ -101,7 +101,7 @@ function GenerateActionMenu(props: GenerateMenuProps) {
});
return (
- <div class="w-fit flex flex-col ring-1 ring-edge rounded-md p-1 bg-menu shadow-md space-y-1">
+ <div class="w-fit flex flex-col ring-1 ring-edge rounded-md p-1 bg-surface shadow-md space-y-1">
<MenuItem
onClick={() => {
props.editor.dispatchCommand(ACCEPT_COMPLETION, undefined);
diff --git a/js/app/packages/core/component/LexicalMarkdown/component/menu/MentionsMenu/MentionsMenu.tsx b/js/app/packages/core/component/LexicalMarkdown/component/menu/MentionsMenu/MentionsMenu.tsx
index fc255baece..1d6dbac581 100644
--- a/js/app/packages/core/component/LexicalMarkdown/component/menu/MentionsMenu/MentionsMenu.tsx
+++ b/js/app/packages/core/component/LexicalMarkdown/component/menu/MentionsMenu/MentionsMenu.tsx
@@ -573,7 +573,7 @@ function MentionsMenuInner(props: MentionsMenuProps) {
handleBackToAll();
}}
>
- <div class="p-0.5 px-1 -my-2 bg-panel text-ink border border-edge-muted rounded-xs text-xs">
+ <div class="p-0.5 px-1 -my-2 bg-surface text-ink border border-edge-muted rounded-xs text-xs">
←
</div>
Back to everything
diff --git a/js/app/packages/core/component/LexicalMarkdown/component/menu/MentionsMenu/components/ItemBin.tsx b/js/app/packages/core/component/LexicalMarkdown/component/menu/MentionsMenu/components/ItemBin.tsx
index fcc220aa4d..3848bc4a0f 100644
--- a/js/app/packages/core/component/LexicalMarkdown/component/menu/MentionsMenu/components/ItemBin.tsx
+++ b/js/app/packages/core/component/LexicalMarkdown/component/menu/MentionsMenu/components/ItemBin.tsx
@@ -60,7 +60,7 @@ export function ItemBin(
}}
>
<Show when={props.isSelected && showViewAllButton()}>
- <div class="p-0.5 px-1 -my-2 bg-panel text-ink border border-edge-muted rounded-xs text-xs">
+ <div class="p-0.5 px-1 -my-2 bg-surface text-ink border border-edge-muted rounded-xs text-xs">
→
</div>
</Show>
diff --git a/js/app/packages/core/component/LexicalMarkdown/component/menu/TableActionMenu.tsx b/js/app/packages/core/component/LexicalMarkdown/component/menu/TableActionMenu.tsx
index 140cc97030..55962e8133 100644
--- a/js/app/packages/core/component/LexicalMarkdown/component/menu/TableActionMenu.tsx
+++ b/js/app/packages/core/component/LexicalMarkdown/component/menu/TableActionMenu.tsx
@@ -356,7 +356,7 @@ function ActionMenu({
<DropdownMenu placement="right-start">
<DropdownMenu.Trigger class="dropdown-menu__trigger">
<Tooltip label="Table Options">
- <div class="size-6 rounded-md p-0 bg-button hover:bg-hover hover-transition-bg flex items-center justify-center">
+ <div class="size-6 rounded-md p-0 bg-surface hover:bg-hover hover-transition-bg flex items-center justify-center">
<CaretDown class="size-4" />
</div>
</Tooltip>
diff --git a/js/app/packages/core/component/LexicalMarkdown/styles.css b/js/app/packages/core/component/LexicalMarkdown/styles.css
index e01d3f2c24..7f033f6d58 100644
--- a/js/app/packages/core/component/LexicalMarkdown/styles.css
+++ b/js/app/packages/core/component/LexicalMarkdown/styles.css
@@ -18,7 +18,7 @@
::selection {
background-color: var(--color-ink);
- color: var(--color-page);
+ color: var(--color-surface);
}
}
@@ -91,8 +91,8 @@
}
.md-list.md-check > li.checked::after {
- border-bottom: 2px solid var(--color-panel);
- border-left: 2px solid var(--color-panel);
+ border-bottom: 2px solid var(--color-surface);
+ border-left: 2px solid var(--color-surface);
content: " ";
width: 0.7em;
height: 0.4em;
diff --git a/js/app/packages/core/component/LexicalMarkdown/theme.ts b/js/app/packages/core/component/LexicalMarkdown/theme.ts
index ab7a2ff803..e86ba2e8e5 100644
--- a/js/app/packages/core/component/LexicalMarkdown/theme.ts
+++ b/js/app/packages/core/component/LexicalMarkdown/theme.ts
@@ -66,7 +66,7 @@ export const theme: EditorThemeClasses = {
checklist: 'md-list md-check',
listitemChecked: 'checked md-strike text-ink-extra-muted',
},
- link: 'text-accent-ink underline hover:underline cursor-default underline-offset-[0.15em]',
+ link: 'text-accent underline hover:underline cursor-default underline-offset-[0.15em]',
quote: 'md-quote border-l-2 border-edge pl-4 py-2 italic text-ink-muted my-4',
code: 'bg-message font-mono p-3 rounded block md-code-box before:text-ink-extra-muted/70 whitespace-pre mb-4',
static: {
diff --git a/js/app/packages/core/component/Lightbox.tsx b/js/app/packages/core/component/Lightbox.tsx
index d3fceae843..fd59563e2d 100644
--- a/js/app/packages/core/component/Lightbox.tsx
+++ b/js/app/packages/core/component/Lightbox.tsx
@@ -267,7 +267,7 @@ export function Lightbox(props: LightboxProps) {
});
const navButtonClass =
- 'absolute top-1/2 -translate-y-1/2 bg-dialog backdrop-blur-sm rounded-lg border border-edge p-2 shadow-md hover:bg-button transition-opacity duration-300 disabled:cursor-not-allowed disabled:opacity-50';
+ 'absolute top-1/2 -translate-y-1/2 bg-surface backdrop-blur-sm rounded-lg border border-edge p-2 shadow-md hover:bg-surface transition-opacity duration-300 disabled:cursor-not-allowed disabled:opacity-50';
const navVisible = () => true;
@@ -281,7 +281,7 @@ export function Lightbox(props: LightboxProps) {
'margin-right': 'max(var(--safe-right), 0.5rem)',
}}
>
- <Dialog.Content class="flex items-center justify-center bg-panel">
+ <Dialog.Content class="flex items-center justify-center bg-surface">
{/* Toolbar */}
<LightboxToolbar isVisible={true}>
<Button
@@ -346,7 +346,7 @@ export function Lightbox(props: LightboxProps) {
<Show when={props.indexLabel}>
<div
class={cn(
- 'absolute top-4 left-4 bg-dialog backdrop-blur-sm rounded-lg border border-edge px-3 py-1.5 shadow-md transition-opacity duration-300',
+ 'absolute top-4 left-4 bg-surface backdrop-blur-sm rounded-lg border border-edge px-3 py-1.5 shadow-md transition-opacity duration-300',
navVisible() ? 'opacity-100' : 'opacity-0 pointer-events-none'
)}
style={{ 'z-index': stackingContext.zModal + 1 }}
@@ -362,7 +362,7 @@ export function Lightbox(props: LightboxProps) {
<Show
when={props.src()}
fallback={
- <div class="flex flex-col items-center justify-center gap-2 size-15 border border-edge rounded-md bg-menu">
+ <div class="flex flex-col items-center justify-center gap-2 size-15 border border-edge rounded-md bg-surface">
<Spinner class="size-4 animate-spin" />
</div>
}
@@ -401,7 +401,7 @@ type LightboxToolbarProps = {
export function LightboxToolbar(props: LightboxToolbarProps) {
return (
<div
- class="absolute top-4 right-4 bg-dialog backdrop-blur-sm rounded-lg border border-edge p-1 flex flex-row items-center gap-1 shadow-md transition-opacity duration-300"
+ class="absolute top-4 right-4 bg-surface backdrop-blur-sm rounded-lg border border-edge p-1 flex flex-row items-center gap-1 shadow-md transition-opacity duration-300"
classList={{
'opacity-100': isMobile() || props.isVisible,
'opacity-0 pointer-events-none': !isMobile() && !props.isVisible,
diff --git a/js/app/packages/core/component/Link.tsx b/js/app/packages/core/component/Link.tsx
index 24b015407d..de33b64d33 100644
--- a/js/app/packages/core/component/Link.tsx
+++ b/js/app/packages/core/component/Link.tsx
@@ -96,7 +96,7 @@ export function UnfurledLinkCollection(props: UnfurledLinkCollection) {
: ''}
</p>
<Show when={props.links.length > 1}>
- <p class="font-medium text-accent-ink">
+ <p class="font-medium text-accent">
+{props.links.length - 1} More
</p>
</Show>
diff --git a/js/app/packages/core/component/LoadingSpinner.tsx b/js/app/packages/core/component/LoadingSpinner.tsx
index 711c066dad..b7d982e9ad 100644
--- a/js/app/packages/core/component/LoadingSpinner.tsx
+++ b/js/app/packages/core/component/LoadingSpinner.tsx
@@ -4,7 +4,7 @@ import { PcNoiseGrid } from './PcNoiseGrid';
export function LoadingSpinner() {
return (
- <div class="bg-panel text-accent size-48 relative p-2">
+ <div class="bg-surface text-accent size-48 relative p-2">
<PcNoiseGrid
cellSize={12}
warp={1}
@@ -15,7 +15,7 @@ export function LoadingSpinner() {
speed={[0.3, 0]}
circleMask={0.4}
/>
- <Macro class="text-panel size-48 inset-0 absolute p-14" />
+ <Macro class="text-surface size-48 inset-0 absolute p-14" />
</div>
);
}
diff --git a/js/app/packages/core/component/Menu.tsx b/js/app/packages/core/component/Menu.tsx
index 925f0e325a..35232270c2 100644
--- a/js/app/packages/core/component/Menu.tsx
+++ b/js/app/packages/core/component/Menu.tsx
@@ -248,7 +248,7 @@ export function MenuItem(props: MenuItemProps) {
</Show>
<Show when={props.hotkeyToken} keyed>
{(hotkeyToken) => (
- <div class="ml-auto text-page text-xs">
+ <div class="ml-auto text-surface text-xs">
<Hotkey token={hotkeyToken} class="text-ink-muted" showPlus />
</div>
)}
@@ -359,7 +359,7 @@ const menuWidths: Record<MenuWidth, string> = {
screen: 'w-screen',
};
-export const MENU_CONTENT_CLASS = `flex flex-col justify-start items-start bg-menu shadow-lg ring-1 ring-edge-muted rounded-sm p-1 cursor-default select-none max-w-full max-h-[calc(100dvh-10rem)] overflow-y-auto z-modal`;
+export const MENU_CONTENT_CLASS = `flex flex-col justify-start items-start bg-surface shadow-lg ring-1 ring-edge-muted rounded-sm p-1 cursor-default select-none max-w-full max-h-[calc(100dvh-10rem)] overflow-y-auto z-modal`;
type MenuContentProps = ParentProps<{
class?: string;
diff --git a/js/app/packages/core/component/Message.tsx b/js/app/packages/core/component/Message.tsx
index 9dc8be5383..e5fe16f522 100644
--- a/js/app/packages/core/component/Message.tsx
+++ b/js/app/packages/core/component/Message.tsx
@@ -360,14 +360,14 @@ const Root: Component<MessageRootProps> = (props) => {
>
<Show when={props.timestamp}>
{(timestamp) => (
- <div class="absolute top-0 -translate-y-full bg-panel pl-2 pt-2 text-xs text-ink-muted font-mono mb-0.5 select-text cursor-default">
+ <div class="absolute top-0 -translate-y-full bg-surface pl-2 pt-2 text-xs text-ink-muted font-mono mb-0.5 select-text cursor-default">
{formatDate(timestamp(), {
showTime: true,
})}
</div>
)}
</Show>
- <div class="border border-edge bg-panel">
+ <div class="border border-edge bg-surface">
{props.hoverActions?.()}
</div>
</div>
@@ -394,7 +394,7 @@ const Root: Component<MessageRootProps> = (props) => {
tabIndex={0}
class="text-ink-muted flex flex-row justify-center items-center relative p-0 hover:bg-transparent active:border-transparent active:bg-transparent active:text-inherit hover:opacity-100"
>
- <div class="border border-edge-muted bg-menu hover:bg-hover hover-transition-bg flex flex-row justify-center items-center mx-2 mb-2 size-(--user-icon-width) touch:min-h-(--user-icon-width) touch:min-w-(--user-icon-width)">
+ <div class="border border-edge-muted bg-surface hover:bg-hover hover-transition-bg flex flex-row justify-center items-center mx-2 mb-2 size-(--user-icon-width) touch:min-h-(--user-icon-width) touch:min-w-(--user-icon-width)">
<IconPlus class="size-1/2" />
</div>
</Button>
diff --git a/js/app/packages/core/component/Notifications.tsx b/js/app/packages/core/component/Notifications.tsx
index 6b00197a23..4eabd95140 100644
--- a/js/app/packages/core/component/Notifications.tsx
+++ b/js/app/packages/core/component/Notifications.tsx
@@ -57,7 +57,7 @@ export function Notifications(props: NotificationsProps) {
<button
class={cn(
'w-full p-2 pb-3 border-b border-edge-muted hover:bg-hover text-left',
- isUnread ? 'bg-menu-hover' : 'bg-menu'
+ isUnread ? 'bg-surface-hover' : 'bg-surface'
)}
{...navHandlers}
>
diff --git a/js/app/packages/core/component/NotificationsModal.tsx b/js/app/packages/core/component/NotificationsModal.tsx
index 8c410de52a..45350a4a3f 100644
--- a/js/app/packages/core/component/NotificationsModal.tsx
+++ b/js/app/packages/core/component/NotificationsModal.tsx
@@ -34,7 +34,7 @@ export function NotificationsButton(props: {
class={cn(
'px-1',
drawerControl.isOpen() &&
- 'bg-accent/20 hover:bg-accent/30 text-accent-ink'
+ 'bg-accent/20 hover:bg-accent/30 text-accent'
)}
tooltip="View notifications"
onClick={() => {
@@ -47,7 +47,7 @@ export function NotificationsButton(props: {
</Button>
<Suspense fallback={null}>
<Show when={unreadCount() > 0}>
- <div class="text-[6pt] bg-accent text-page font-semibold rounded-full absolute top-0 right-0 px-1 pointer-events-none">
+ <div class="text-[6pt] bg-accent text-surface font-semibold rounded-full absolute top-0 right-0 px-1 pointer-events-none">
{unreadCount()}
</div>
</Show>
diff --git a/js/app/packages/core/component/OldMenu.tsx b/js/app/packages/core/component/OldMenu.tsx
index 8d46384003..b5f7a96960 100644
--- a/js/app/packages/core/component/OldMenu.tsx
+++ b/js/app/packages/core/component/OldMenu.tsx
@@ -157,7 +157,7 @@ export function OldMenuItem(props: OldMenuItemProps) {
class={cn(
'flex justify-center items-center shrink-0',
isMobile() ? 'size-5' : 'size-4',
- selected() && 'text-accent-ink',
+ selected() && 'text-accent',
props.iconClass
)}
>
@@ -242,7 +242,7 @@ export function OldMenu(props: ParentProps<OldMenuProps>) {
return (
<div
class={cn(
- 'flex flex-col py-1 justify-start items-start bg-menu shadow-lg rounded-md ring-1 ring-edge cursor-default select-none',
+ 'flex flex-col py-1 justify-start items-start bg-surface shadow-lg rounded-md ring-1 ring-edge cursor-default select-none',
props.width && (oldMenuWidths[props.width] ?? props.width),
isTouchDevice() && 'relative',
props.hide && 'hidden',
diff --git a/js/app/packages/core/component/Properties/component/modal/CreatePropertyModal.tsx b/js/app/packages/core/component/Properties/component/modal/CreatePropertyModal.tsx
index 118583ebce..19f2c97994 100644
--- a/js/app/packages/core/component/Properties/component/modal/CreatePropertyModal.tsx
+++ b/js/app/packages/core/component/Properties/component/modal/CreatePropertyModal.tsx
@@ -89,7 +89,7 @@ const OptionInput: Component<OptionInputProps<string | number>> = (props) => {
}}
onKeyDown={(e) => handleKeyDown(e, option().id, option().value)}
placeholder={props.placeholder}
- class="flex-1 p-1.5 border border-edge-muted text-sm rounded-sm bg-input placeholder:text-ink-placeholder"
+ class="flex-1 p-1.5 border border-edge-muted text-sm rounded-sm bg-surface placeholder:text-ink-placeholder"
data-option-id={option().id}
/>
<button
@@ -412,7 +412,7 @@ export const CreatePropertyModal: Component<CreatePropertyModalProps> = (
>
<Surface depth={2} class="*:max-h-[75vh]">
<div class="flex flex-col text-sm">
- <div class="flex items-center justify-between gap-2 bg-panel px-2 h-10 border-b border-edge-muted shrink-0">
+ <div class="flex items-center justify-between gap-2 bg-surface px-2 h-10 border-b border-edge-muted shrink-0">
<Dialog.Title class="pl-2 text-sm font-medium">
Create New Property
</Dialog.Title>
@@ -447,7 +447,7 @@ export const CreatePropertyModal: Component<CreatePropertyModalProps> = (
value={newPropertyName()}
onInput={(e) => setNewPropertyName(e.currentTarget.value)}
placeholder="Enter property name"
- class="w-full p-1.5 border border-edge-muted text-sm rounded-sm bg-input placeholder:text-ink-placeholder"
+ class="w-full p-1.5 border border-edge-muted text-sm rounded-sm bg-surface placeholder:text-ink-placeholder"
/>
</div>
diff --git a/js/app/packages/core/component/Properties/component/modal/EditPropertyValueModal.tsx b/js/app/packages/core/component/Properties/component/modal/EditPropertyValueModal.tsx
index 25357f5854..b75cc382d2 100644
--- a/js/app/packages/core/component/Properties/component/modal/EditPropertyValueModal.tsx
+++ b/js/app/packages/core/component/Properties/component/modal/EditPropertyValueModal.tsx
@@ -226,7 +226,7 @@ export function EditPropertyValueModal(props: PropertyEditorProps) {
onClick={(e) => e.stopPropagation()}
>
<Show when={!isLoading()}>
- <div class="bg-dialog text-ink">
+ <div class="bg-surface text-ink">
<div>
<Show
when={
diff --git a/js/app/packages/core/component/Properties/component/modal/SelectPropertyModal.tsx b/js/app/packages/core/component/Properties/component/modal/SelectPropertyModal.tsx
index c878323078..4269c77c4d 100644
--- a/js/app/packages/core/component/Properties/component/modal/SelectPropertyModal.tsx
+++ b/js/app/packages/core/component/Properties/component/modal/SelectPropertyModal.tsx
@@ -158,7 +158,7 @@ export function SelectPropertyModal(props: PropertySelectorProps) {
>
<Surface depth={2} class="*:max-h-[75vh]">
<div class="flex flex-col text-sm">
- <div class="flex items-center gap-2 bg-panel px-2 h-10 border-b border-edge-muted shrink-0">
+ <div class="flex items-center gap-2 bg-surface px-2 h-10 border-b border-edge-muted shrink-0">
<span class="pl-2 pointer-events-none text-ink-extra-muted">❯</span>
<input
ref={searchInputRef}
diff --git a/js/app/packages/core/component/Properties/component/modal/shared/Dropdown.tsx b/js/app/packages/core/component/Properties/component/modal/shared/Dropdown.tsx
index 49afa7c845..ed5b0ad7a7 100644
--- a/js/app/packages/core/component/Properties/component/modal/shared/Dropdown.tsx
+++ b/js/app/packages/core/component/Properties/component/modal/shared/Dropdown.tsx
@@ -117,7 +117,7 @@ export const Dropdown = <T extends string | number>(
ref={buttonRef}
type="button"
onClick={() => setIsOpen(!isOpen())}
- class="w-full p-1.5 border border-edge-muted bg-input text-sm text-ink text-left flex items-center gap-2 hover:bg-hover rounded-sm"
+ class="w-full p-1.5 border border-edge-muted bg-surface text-sm text-ink text-left flex items-center gap-2 hover:bg-hover rounded-sm"
>
{props.renderValue?.(selectedOption()) ??
defaultRenderValue(selectedOption())}
@@ -128,7 +128,7 @@ export const Dropdown = <T extends string | number>(
<Layer depth={2}>
<div
ref={menuRef}
- class="z-toast-region border border-edge bg-menu shadow-lg max-h-64 overflow-y-auto p-1"
+ class="z-toast-region border border-edge bg-surface shadow-lg max-h-64 overflow-y-auto p-1"
style={getMenuStyle()}
>
<For each={props.options}>
diff --git a/js/app/packages/core/component/Properties/component/modal/shared/OptionCheckBox.tsx b/js/app/packages/core/component/Properties/component/modal/shared/OptionCheckBox.tsx
index 7c52994bc2..3e1530cfd8 100644
--- a/js/app/packages/core/component/Properties/component/modal/shared/OptionCheckBox.tsx
+++ b/js/app/packages/core/component/Properties/component/modal/shared/OptionCheckBox.tsx
@@ -22,7 +22,7 @@ export const OptionCheckBox: Component<{
}}
>
<Show when={props.checked && props.multiselect !== false}>
- <CheckIcon class="size-3 text-panel" />
+ <CheckIcon class="size-3 text-surface" />
</Show>
</div>
);
diff --git a/js/app/packages/core/component/Properties/component/panel/PropertyLabel.tsx b/js/app/packages/core/component/Properties/component/panel/PropertyLabel.tsx
index fd3088e4de..f66243e591 100644
--- a/js/app/packages/core/component/Properties/component/panel/PropertyLabel.tsx
+++ b/js/app/packages/core/component/Properties/component/panel/PropertyLabel.tsx
@@ -157,7 +157,7 @@ export const PropertyLabel: Component<PropertyLabelProps> = (props) => {
<Surface depth={2} active>
<div class="*:max-h-[75vh]">
<div class="flex flex-col overflow-hidden text-sm">
- <div class="flex items-center justify-between gap-2 bg-panel px-2 h-10 border-b border-edge-muted shrink-0">
+ <div class="flex items-center justify-between gap-2 bg-surface px-2 h-10 border-b border-edge-muted shrink-0">
<Dialog.Title class="pl-2 text-sm font-medium">
Delete Property
</Dialog.Title>
diff --git a/js/app/packages/core/component/Properties/component/propertyValue/BooleanValue.tsx b/js/app/packages/core/component/Properties/component/propertyValue/BooleanValue.tsx
index 75455d7299..fac1897768 100644
--- a/js/app/packages/core/component/Properties/component/propertyValue/BooleanValue.tsx
+++ b/js/app/packages/core/component/Properties/component/propertyValue/BooleanValue.tsx
@@ -47,7 +47,7 @@ export const BooleanValue: Component<PropertyValueProps> = (props) => {
}}
>
<Show when={isChecked()}>
- <CheckIcon class="size-3 text-panel" />
+ <CheckIcon class="size-3 text-surface" />
</Show>
</div>
</button>
diff --git a/js/app/packages/core/component/Properties/styles/styles.ts b/js/app/packages/core/component/Properties/styles/styles.ts
index 24e1467073..111b145d62 100644
--- a/js/app/packages/core/component/Properties/styles/styles.ts
+++ b/js/app/packages/core/component/Properties/styles/styles.ts
@@ -6,7 +6,7 @@
export const PROPERTY_STYLES = {
input: {
search:
- 'w-full pl-10 pr-3 py-1 border border-edge text-sm focus:outline-none focus:ring-2 focus:ring-accent/50 focus:border-accent bg-input text-ink placeholder-ink-muted',
+ 'w-full pl-10 pr-3 py-1 border border-edge text-sm focus:outline-none focus:ring-2 focus:ring-accent/50 focus:border-accent bg-surface text-ink placeholder-ink-muted',
},
button: {
diff --git a/js/app/packages/core/component/RecipientSelector.tsx b/js/app/packages/core/component/RecipientSelector.tsx
index 8e6ca4e054..9ce83ae41d 100644
--- a/js/app/packages/core/component/RecipientSelector.tsx
+++ b/js/app/packages/core/component/RecipientSelector.tsx
@@ -498,7 +498,7 @@ export function RecipientSelector<K extends CombinedRecipientKind>(
: undefined
}
class={cn(
- 'ph-no-capture w-full text-sm offset-2 bg-input focus-within:bg-active',
+ 'ph-no-capture w-full text-sm offset-2 bg-surface focus-within:bg-active',
!props.hideBorder && 'border border-edge',
!props.noPadding && 'py-2',
props.class
@@ -687,7 +687,7 @@ export function RecipientSelector<K extends CombinedRecipientKind>(
</Combobox.Control>
<Combobox.Portal>
- <Combobox.Content class="z-modal-content bg-menu border translate-y-1 border-edge p-1">
+ <Combobox.Content class="z-modal-content bg-surface border translate-y-1 border-edge p-1">
<Combobox.Listbox
ref={setListboxRef}
class="flex flex-col gap-1"
diff --git a/js/app/packages/core/component/References.tsx b/js/app/packages/core/component/References.tsx
index d6ce0751b6..6d6fd3c6a3 100644
--- a/js/app/packages/core/component/References.tsx
+++ b/js/app/packages/core/component/References.tsx
@@ -196,7 +196,7 @@ export function References(props: ReferenceProps) {
return (
<button
- class="bg-menu hover:bg-hover p-2 pb-3 border-edge-muted border-b w-full text-left"
+ class="bg-surface hover:bg-hover p-2 pb-3 border-edge-muted border-b w-full text-left"
{...navHandlers}
>
<div class="flex justify-start items-center gap-2 mb-4 font-mono text-ink-muted text-xs uppercase">
@@ -237,7 +237,7 @@ export function References(props: ReferenceProps) {
return (
<button
- class="bg-menu hover:bg-hover p-2 pb-3 border-edge-muted border-b w-full text-left"
+ class="bg-surface hover:bg-hover p-2 pb-3 border-edge-muted border-b w-full text-left"
{...navHandlers}
>
<div class="flex justify-start items-center gap-2 mb-4 font-mono text-ink-muted text-xs uppercase">
diff --git a/js/app/packages/core/component/SlidableNumberInput.tsx b/js/app/packages/core/component/SlidableNumberInput.tsx
index 0f7ed01619..9d10ee6ea6 100644
--- a/js/app/packages/core/component/SlidableNumberInput.tsx
+++ b/js/app/packages/core/component/SlidableNumberInput.tsx
@@ -164,7 +164,7 @@ export function SlidableNumberInput(props: SlidableNumberInputProps) {
<OptionalTooltipWrapper tooltip={props.tooltip}>
<div
class={cn(
- 'flex flex-row items-center bg-input rounded px-1.5 h-8',
+ 'flex flex-row items-center bg-surface rounded px-1.5 h-8',
props.labelPosition === 'top' &&
(props.width === 'sm'
? 'w-22'
diff --git a/js/app/packages/core/component/StackedAvatarsRow.tsx b/js/app/packages/core/component/StackedAvatarsRow.tsx
index d88d3f34e3..dde74e5311 100644
--- a/js/app/packages/core/component/StackedAvatarsRow.tsx
+++ b/js/app/packages/core/component/StackedAvatarsRow.tsx
@@ -51,41 +51,41 @@ const STACK_STYLE: Record<
sm: {
overlap: '-mr-1.5',
overflowChip:
- 'size-4 shrink-0 rounded-full border-2 border-panel bg-menu flex flex-col items-center justify-center',
+ 'size-4 shrink-0 rounded-full border-2 border-surface bg-surface flex flex-col items-center justify-center',
overflowChipText:
'text-[8px] font-semibold tabular-nums leading-none text-ink',
inner:
- 'bg-panel size-4 rounded-full p-[1px] border-2 border-panel box-border',
+ 'bg-surface size-4 rounded-full p-[1px] border-2 border-surface box-border',
defaultEmptyIcon: 'w-2 h-2',
},
md: {
overlap: '-mr-2',
overflowChip:
- 'size-6 shrink-0 rounded-full border-2 border-panel bg-menu flex flex-col items-center justify-center',
+ 'size-6 shrink-0 rounded-full border-2 border-surface bg-surface flex flex-col items-center justify-center',
overflowChipText:
'text-[10px] font-semibold tabular-nums leading-none text-ink',
inner:
- 'bg-panel size-6 rounded-full p-[2px] border-2 border-panel box-border',
+ 'bg-surface size-6 rounded-full p-[2px] border-2 border-surface box-border',
defaultEmptyIcon: 'w-3 h-3',
},
lg: {
overlap: '-mr-4',
overflowChip:
- 'size-10 shrink-0 rounded-full border-2 border-panel bg-menu flex flex-col items-center justify-center',
+ 'size-10 shrink-0 rounded-full border-2 border-surface bg-surface flex flex-col items-center justify-center',
overflowChipText:
'text-sm font-semibold tabular-nums leading-none text-ink',
inner:
- 'bg-panel size-10 rounded-full p-[2px] border-2 border-panel box-border',
+ 'bg-surface size-10 rounded-full p-[2px] border-2 border-surface box-border',
defaultEmptyIcon: 'w-5 h-5',
},
fill: {
overlap: '-mr-2',
overflowChip:
- 'size-6 shrink-0 rounded-full border-2 border-panel bg-menu flex flex-col items-center justify-center',
+ 'size-6 shrink-0 rounded-full border-2 border-surface bg-surface flex flex-col items-center justify-center',
overflowChipText:
'text-[10px] font-semibold tabular-nums leading-none text-ink',
inner:
- 'bg-panel size-6 rounded-full p-[2px] border-2 border-panel box-border',
+ 'bg-surface size-6 rounded-full p-[2px] border-2 border-surface box-border',
defaultEmptyIcon: 'w-3 h-3',
},
};
@@ -118,7 +118,7 @@ export function StackedAvatarsDefaultEmptyPlaceholder(props: {
const s = () => props.size ?? 'md';
return (
<div class={stackedAvatarInnerClass(s())}>
- <div class="flex size-full min-h-0 min-w-0 items-center justify-center overflow-hidden rounded-full bg-ink-extra-muted text-panel leading-none">
+ <div class="flex size-full min-h-0 min-w-0 items-center justify-center overflow-hidden rounded-full bg-ink-extra-muted text-surface leading-none">
<User
class={cn(STACK_STYLE[s()].defaultEmptyIcon, 'block shrink-0')}
aria-hidden
diff --git a/js/app/packages/core/component/Themes.tsx b/js/app/packages/core/component/Themes.tsx
index 67ddcf7511..f1de0ca2ba 100644
--- a/js/app/packages/core/component/Themes.tsx
+++ b/js/app/packages/core/component/Themes.tsx
@@ -20,11 +20,11 @@ export type Theme =
// it would be better if we also defined --accent-l-surface, --accent-l-contrast
export const themeColors: Record<Theme, string> = {
base: 'text-ink border-edge!',
- accent: 'text-accent-ink border-accent/30',
- accentFill: 'text-dialog border-accent/30',
+ accent: 'text-accent border-accent/30',
+ accentFill: 'text-surface border-accent/30',
accentOpaque:
- 'text-accent-ink border-[oklch(from_var(--color-accent)_calc(l*0.9)_calc(c*0.8)_h)]',
- contrast: 'text-menu border-ink-extra-muted',
+ 'text-accent border-[oklch(from_var(--color-accent)_calc(l*0.9)_calc(c*0.8)_h)]',
+ contrast: 'text-surface border-ink-extra-muted',
clear: 'text-ink border-transparent',
selected: 'text-ink border-edge',
disabled: 'text-ink-disabled/50 border-edge',
@@ -38,7 +38,7 @@ export const themeColors: Record<Theme, string> = {
};
export const themeStyles: Record<Theme, string> = {
- base: 'bg-menu hover:bg-hover hover-transition-bg border border-inherit',
+ base: 'bg-surface hover:bg-hover hover-transition-bg border border-inherit',
accent:
'bg-accent/10 hover:bg-accent/20 hover-transition-bg border border-inherit',
accentFill: 'bg-accent hover-transition-bg border border-inherit',
@@ -49,7 +49,7 @@ export const themeStyles: Record<Theme, string> = {
clear:
'bg-transparent hover:bg-hover hover-transition-bg border border-transparent',
selected: 'bg-hover hover:bg-hover hover-transition-bg border border-inherit',
- disabled: 'bg-menu/20 border border-inherit',
+ disabled: 'bg-surface/20 border border-inherit',
green: 'bg-success-bg hover:bg-success border border-inherit',
red: 'bg-failure-bg hover:bg-failure border border-inherit',
muted:
@@ -82,7 +82,7 @@ export const themeSelectedColors: Record<Theme, string> = {
};
export const shortcutBadgeStyles: Record<Theme, string> = {
- base: 'bg-dialog border border-ink',
+ base: 'bg-surface border border-ink',
accent: 'bg-accent/10',
accentFill: 'bg-accent/90',
accentOpaque:
diff --git a/js/app/packages/core/component/Toast/Toast.tsx b/js/app/packages/core/component/Toast/Toast.tsx
index 80e8ed46f9..32a44c7539 100644
--- a/js/app/packages/core/component/Toast/Toast.tsx
+++ b/js/app/packages/core/component/Toast/Toast.tsx
@@ -100,7 +100,7 @@ const TOAST_STYLES: Record<ToastType, ToastStyle> = {
button: {
background: 'bg-accent',
hover: 'hover:bg-accent/80',
- text: 'text-panel',
+ text: 'text-surface',
},
closeButtonHover: 'hover:text-accent hover:bg-accent/10',
},
@@ -373,7 +373,7 @@ function ToastContent(props: {
<Dynamic
component={s().icon}
class={cn(
- 'size-3.5 text-panel',
+ 'size-3.5 text-surface',
props.toastType === ToastType.LOADING
? 'animate-spin'
: ''
diff --git a/js/app/packages/core/component/TopBar/Badge.tsx b/js/app/packages/core/component/TopBar/Badge.tsx
index d86491359a..53b3b7ab77 100644
--- a/js/app/packages/core/component/TopBar/Badge.tsx
+++ b/js/app/packages/core/component/TopBar/Badge.tsx
@@ -2,7 +2,7 @@ export function ViewOnlyBadge() {
return (
<div class="hidden sm:flex px-2 rounded-lg border border-accent/30 py-0.5 bg-accent/10 justify-center items-center">
<p
- class="text-accent-ink text-xs font-medium whitespace-nowrap"
+ class="text-accent text-xs font-medium whitespace-nowrap"
aria-label="View Only Badge"
>
View Only
diff --git a/js/app/packages/core/component/TopBar/Bar.tsx b/js/app/packages/core/component/TopBar/Bar.tsx
index 3b3f4d3ae3..33a179c930 100644
--- a/js/app/packages/core/component/TopBar/Bar.tsx
+++ b/js/app/packages/core/component/TopBar/Bar.tsx
@@ -276,7 +276,7 @@ function BarContent(props: BarProps) {
<div
use:observedSize={{ setSize: context.setBarSize }}
style={{ 'container-type': 'inline-size' }}
- class="w-full bg-panel"
+ class="w-full bg-surface"
>
<div
class={cn(
diff --git a/js/app/packages/core/component/TopBar/ShareButton.tsx b/js/app/packages/core/component/TopBar/ShareButton.tsx
index 1a5db41e4f..ef7374d9e7 100644
--- a/js/app/packages/core/component/TopBar/ShareButton.tsx
+++ b/js/app/packages/core/component/TopBar/ShareButton.tsx
@@ -483,7 +483,7 @@ function MobileShareDrawer(props: MobileShareDrawerProps) {
class={cn(
'text-xs font-medium whitespace-nowrap',
props.publicAccessLevel != null
- ? 'text-accent-ink'
+ ? 'text-accent'
: 'text-ink-extra-muted'
)}
>
@@ -1132,7 +1132,7 @@ export function ShareModal(props: ShareModalProps) {
class={cn(
'text-xs font-medium whitespace-nowrap',
publicAccessLevel() != null
- ? 'text-accent-ink'
+ ? 'text-accent'
: 'text-ink-extra-muted'
)}
>
@@ -1267,7 +1267,7 @@ export function ShareTrigger(props: { copyLink?: () => void }) {
.otherwise(() => 'This item has been shared with you');
return (
- <ButtonGroup variant="base" size="sm" class="bg-panel" depth={2}>
+ <ButtonGroup variant="base" size="sm" class="bg-surface" depth={2}>
<Tooltip label={shareAccessTooltip()}>
<Button
onClick={() => {
diff --git a/js/app/packages/core/component/UserGroup.tsx b/js/app/packages/core/component/UserGroup.tsx
index 82923c81a3..8a439c7f11 100644
--- a/js/app/packages/core/component/UserGroup.tsx
+++ b/js/app/packages/core/component/UserGroup.tsx
@@ -15,7 +15,7 @@ export type UserGroupProps = {
/**
* Displays a group of user avatars in an overlapping style with an overflow indicator.
*
- * Uses --avatar-group-separator CSS variable for ring color (defaults to --color-panel).
+ * Uses --avatar-group-separator CSS variable for ring color (defaults to --color-surface).
* Parent containers can override to match hover backgrounds:
*
* @example
diff --git a/js/app/packages/core/component/VideoPreview.tsx b/js/app/packages/core/component/VideoPreview.tsx
index 004dfd4fc4..ea0d177dd4 100644
--- a/js/app/packages/core/component/VideoPreview.tsx
+++ b/js/app/packages/core/component/VideoPreview.tsx
@@ -13,7 +13,7 @@ export type VideoPreviewProps = {
const CONTAINER_THEMES = {
small:
- 'size-15 overflow-hidden rounded-2xl border border-edge-muted bg-menu select-none',
+ 'size-15 overflow-hidden rounded-2xl border border-edge-muted bg-surface select-none',
dynamic: 'flex min-h-20 max-w-[480px] max-h-[480px] not-first:mt-2',
};
diff --git a/js/app/packages/core/internal/IconGallery.tsx b/js/app/packages/core/internal/IconGallery.tsx
index c5a312220c..04e9be08bf 100644
--- a/js/app/packages/core/internal/IconGallery.tsx
+++ b/js/app/packages/core/internal/IconGallery.tsx
@@ -204,7 +204,7 @@ export default function IconGallery() {
};
return (
- <div class="size-full overflow-auto bg-panel p-8 font-mono">
+ <div class="size-full overflow-auto bg-surface p-8 font-mono">
<style>{`
.icon-gallery-slider {
-webkit-appearance: none;
diff --git a/js/app/packages/core/internal/PcNoiseGridDemo.tsx b/js/app/packages/core/internal/PcNoiseGridDemo.tsx
index 48a9e98a3c..e93c688a6a 100644
--- a/js/app/packages/core/internal/PcNoiseGridDemo.tsx
+++ b/js/app/packages/core/internal/PcNoiseGridDemo.tsx
@@ -43,9 +43,9 @@ export default function PcNoiseGridDemo() {
></Bar>
<div class="flex flex-row size-full">
{/* Left side - PcNoiseGrid preview */}
- <div class="flex-1 relative bg-panel flex items-center justify-center p-4">
+ <div class="flex-1 relative bg-surface flex items-center justify-center p-4">
<div class="size-full flex items-center justify-center border border-edge">
- <div class="size-full relative bg-panel text-accent">
+ <div class="size-full relative bg-surface text-accent">
<PcNoiseGrid
cellSize={cellSize()}
warp={warp()}
@@ -63,7 +63,7 @@ export default function PcNoiseGridDemo() {
</div>
{/* Right side - Controls */}
- <div class="w-[50%] max-w-lg bg-panel p-4 overflow-y-auto border-l border-edge border-dashed">
+ <div class="w-[50%] max-w-lg bg-surface p-4 overflow-y-auto border-l border-edge border-dashed">
<h2 class="font-mono mb-6">PcNoiseGrid Generator</h2>
<div class="space-y-6">
@@ -193,7 +193,7 @@ export default function PcNoiseGridDemo() {
onClick={() =>
navigator.clipboard.writeText(generateComponentCode())
}
- class="w-full px-4 py-2 bg-ink-extra-muted text-page font-medium"
+ class="w-full px-4 py-2 bg-ink-extra-muted text-surface font-medium"
>
Copy Component Code
</button>
diff --git a/js/app/packages/core/internal/PixelArtIconDemo.tsx b/js/app/packages/core/internal/PixelArtIconDemo.tsx
index 02982cccf9..1114386dbf 100644
--- a/js/app/packages/core/internal/PixelArtIconDemo.tsx
+++ b/js/app/packages/core/internal/PixelArtIconDemo.tsx
@@ -516,7 +516,7 @@ function GlyphGrid(props: GlyphGridProps) {
/>
</div>
- <div class="absolute top-1 right-1 flex gap-0 opacity-0 bg-panel group-hover:opacity-100">
+ <div class="absolute top-1 right-1 flex gap-0 opacity-0 bg-surface group-hover:opacity-100">
<Button
variant="base"
size="icon-md"
@@ -794,7 +794,7 @@ function GlyphEditor(props: GlyphEditorProps) {
<Show when={props.isOpen}>
<div class="absolute inset-0 bg-modal-overlay flex items-center justify-center z-action-menu">
<div
- class="bg-menu border border-edge max-w-4xl w-full max-h-[90vh] overflow-hidden flex flex-col"
+ class="bg-surface border border-edge max-w-4xl w-full max-h-[90vh] overflow-hidden flex flex-col"
use:clickOutside={() => props.onClose()}
>
<div class="p-2 border-b border-edge flex items-center justify-between">
@@ -1035,7 +1035,7 @@ function GlyphSidebar(props: GlyphSidebarProps) {
});
return (
- <div class="w-100 bg-panel p-4 overflow-y-auto border-l border-edge border-dashed shrink-0">
+ <div class="w-100 bg-surface p-4 overflow-y-auto border-l border-edge border-dashed shrink-0">
<div class="space-y-4">
<h3 class="font-mono text-sm text-ink">[ Global Settings ]</h3>
diff --git a/js/app/packages/core/internal/ResizeDemo.tsx b/js/app/packages/core/internal/ResizeDemo.tsx
index 6ba6acf682..9d4596ebb3 100644
--- a/js/app/packages/core/internal/ResizeDemo.tsx
+++ b/js/app/packages/core/internal/ResizeDemo.tsx
@@ -20,10 +20,10 @@ function PanelCard(
) {
return (
<div
- class="size-full bg-panel flex overflow-hidden flex-col border border-edge focus-within:border-accent -ring-offset-2 focus-within:ring-2 focus-within:ring-accent group"
+ class="size-full bg-surface flex overflow-hidden flex-col border border-edge focus-within:border-accent -ring-offset-2 focus-within:ring-2 focus-within:ring-accent group"
id={props.id}
>
- <div class="bg-edge flex-0 p-2 text-ink flex items-center justify-between group-focus-within:bg-accent group-focus-within:text-panel">
+ <div class="bg-edge flex-0 p-2 text-ink flex items-center justify-between group-focus-within:bg-accent group-focus-within:text-surface">
<div class="flex items-center gap-2">
<EntityIcon targetType={props.entityType} theme="monochrome" />
@@ -78,10 +78,10 @@ function VerticalPanelCard(
) {
return (
<div
- class="size-full bg-panel flex overflow-hidden flex-col border border-edge focus-within:border-accent -ring-offset-2 focus-within:ring-2 focus-within:ring-accent group"
+ class="size-full bg-surface flex overflow-hidden flex-col border border-edge focus-within:border-accent -ring-offset-2 focus-within:ring-2 focus-within:ring-accent group"
id={props.id}
>
- <div class="bg-edge flex-0 p-2 text-ink flex items-center justify-between group-focus-within:bg-accent group-focus-within:text-panel">
+ <div class="bg-edge flex-0 p-2 text-ink flex items-center justify-between group-focus-within:bg-accent group-focus-within:text-surface">
<div class="flex items-center gap-2">
<EntityIcon targetType={props.entityType} theme="monochrome" />
<div class="font-mono">
@@ -287,7 +287,7 @@ export default function ResizeDemo() {
}
center={<div />}
/>
- <div class="bg-panel size-full p-2">
+ <div class="bg-surface size-full p-2">
<div class="h-[95%] w-full">
<Resize.Zone gutter={8} direction="horizontal">
<For each={selectedConfigs()}>
diff --git a/js/app/packages/core/internal/SvgNoiseGridDemo.tsx b/js/app/packages/core/internal/SvgNoiseGridDemo.tsx
index 4e58a7f0d4..3c85d51f4f 100644
--- a/js/app/packages/core/internal/SvgNoiseGridDemo.tsx
+++ b/js/app/packages/core/internal/SvgNoiseGridDemo.tsx
@@ -168,7 +168,7 @@ export default function SvgNoiseGridDemo() {
center={<div></div>}
></Bar>
<div class="flex size-full">
- <div class="flex-1 relative bg-panel flex items-center justify-center">
+ <div class="flex-1 relative bg-surface flex items-center justify-center">
<div class="size-64 flex items-center justify-center border border-edge">
<div
id="svg-preview"
@@ -179,7 +179,7 @@ export default function SvgNoiseGridDemo() {
</div>
</div>
- <div class="w-[50%] max-w-lg bg-panel p-4 overflow-y-auto border-l border-edge border-dashed">
+ <div class="w-[50%] max-w-lg bg-surface p-4 overflow-y-auto border-l border-edge border-dashed">
<h2 class="font-mono mb-6">SVG Noise Grid Generator</h2>
<div class="space-y-6">
@@ -254,14 +254,14 @@ export default function SvgNoiseGridDemo() {
<div class="mt-8 space-y-3">
<button
onClick={downloadSvg}
- class="w-full px-4 py-2 bg-ink-extra-muted text-page font-medium"
+ class="w-full px-4 py-2 bg-ink-extra-muted text-surface font-medium"
>
Download SVG
</button>
<button
onClick={() => navigator.clipboard.writeText(generateSvg())}
- class="w-full px-4 py-2 bg-ink-extra-muted text-page font-medium"
+ class="w-full px-4 py-2 bg-ink-extra-muted text-surface font-medium"
>
Copy SVG Code
</button>
diff --git a/js/app/packages/core/internal/ThemeDebug.tsx b/js/app/packages/core/internal/ThemeDebug.tsx
index 78729aec7d..5f352b14d5 100644
--- a/js/app/packages/core/internal/ThemeDebug.tsx
+++ b/js/app/packages/core/internal/ThemeDebug.tsx
@@ -27,7 +27,7 @@ const BUTTON_SIZES = ['sm', 'md', 'lg'] as const;
function ThemeDebug() {
return (
- <div class="size-full overflow-auto bg-panel p-6">
+ <div class="size-full overflow-auto bg-surface p-6">
<div class="flex flex-col gap-8 max-w-6xl mx-auto">
<h1 class="text-2xl font-bold text-ink">Theme Debug</h1>
diff --git a/js/app/packages/core/internal/UserIconDemo.tsx b/js/app/packages/core/internal/UserIconDemo.tsx
index 3aa29f088d..73c4db46fa 100644
--- a/js/app/packages/core/internal/UserIconDemo.tsx
+++ b/js/app/packages/core/internal/UserIconDemo.tsx
@@ -41,7 +41,7 @@ function SizeLabel(props: { size: string }) {
export default function UserIconDemo() {
return (
- <div class="p-8 space-y-12 bg-panel min-h-full overflow-auto">
+ <div class="p-8 space-y-12 bg-surface min-h-full overflow-auto">
<div>
<h1 class="text-xl font-bold text-ink mb-2">
UserIcon & UserGroup Demo
diff --git a/js/app/packages/entity/src/components/MultiSelectCheckbox.tsx b/js/app/packages/entity/src/components/MultiSelectCheckbox.tsx
index ee4ebb75e4..4f6ea19d30 100644
--- a/js/app/packages/entity/src/components/MultiSelectCheckbox.tsx
+++ b/js/app/packages/entity/src/components/MultiSelectCheckbox.tsx
@@ -36,7 +36,7 @@ export function MultiSelectCheckbox(props: MultiSelectCheckboxProps) {
)}
>
<Show when={props.checked}>
- <CheckIcon class="size-full text-panel" />
+ <CheckIcon class="size-full text-surface" />
</Show>
</div>
</button>
diff --git a/js/app/packages/entity/src/extractors-notification/notification-content.tsx b/js/app/packages/entity/src/extractors-notification/notification-content.tsx
index 835e1159db..d1899aec88 100644
--- a/js/app/packages/entity/src/extractors-notification/notification-content.tsx
+++ b/js/app/packages/entity/src/extractors-notification/notification-content.tsx
@@ -50,7 +50,7 @@ function DocumentMentionPill(props: { notification: UnifiedNotification }) {
return (
<div
- class="group relative flex items-center gap-1.5 px-2 py-1 rounded border border-edge-muted bg-panel hover:bg-hover text-xs min-w-0 max-w-48 shrink-0"
+ class="group relative flex items-center gap-1.5 px-2 py-1 rounded border border-edge-muted bg-surface hover:bg-hover text-xs min-w-0 max-w-48 shrink-0"
onClick={handleClick}
role="button"
tabIndex={0}
@@ -58,7 +58,7 @@ function DocumentMentionPill(props: { notification: UnifiedNotification }) {
<EntityIcon targetType={targetType()} size="xs" />
<span class="truncate min-w-0">{documentName()}</span>
<Button
- class="absolute -top-2 -right-2 size-6 rounded-full bg-panel border border-edge-muted p-0 place-items-center hidden group-hover:grid hover:bg-accent! hover:text-panel!"
+ class="absolute -top-2 -right-2 size-6 rounded-full bg-surface border border-edge-muted p-0 place-items-center hidden group-hover:grid hover:bg-accent! hover:text-surface!"
tooltip="Mark as done"
onClick={(e) => {
e.stopPropagation();
@@ -181,7 +181,7 @@ function DocumentMentionPills(props: { stack: NotificationStack }) {
</For>
<Show when={overflow() > 0}>
<button
- class="text-xs text-ink-muted border border-edge-muted rounded px-2 py-1 bg-panel hover:bg-edge shrink-0"
+ class="text-xs text-ink-muted border border-edge-muted rounded px-2 py-1 bg-surface hover:bg-edge shrink-0"
onClick={(e) => {
e.stopPropagation();
setExpanded(true);
diff --git a/js/app/packages/macro-icons/arcanum/arcanum-001.svg b/js/app/packages/macro-icons/arcanum/arcanum-001.svg
index be5202df34..332b0bba33 100644
--- a/js/app/packages/macro-icons/arcanum/arcanum-001.svg
+++ b/js/app/packages/macro-icons/arcanum/arcanum-001.svg
@@ -1,14 +1,14 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 200" width="100%" height="100%" fill="none">
<path fill="currentColor"
d="m191.176 189.953.211.094 2.602 1.031 2.601-1.031.211-.094.211.094c1.946.773 2.93 1.172 2.953 1.172l-.398 1.054c-.07-.023-.984-.398-2.766-1.101l-2.601 1.031-.211.094-.211-.094-2.602-1.031c-1.757.703-2.671 1.078-2.742 1.101l-.422-1.054c.024 0 1.008-.399 2.953-1.172zm0 3.375.211.094 2.602 1.031 2.601-1.031.211-.094.211.094c1.946.773 2.93 1.172 2.953 1.172l-.398 1.054c-.07-.023-.984-.398-2.766-1.101l-2.601 1.031-.211.094-.211-.094-2.602-1.031c-1.757.703-2.671 1.078-2.742 1.101l-.422-1.054c.024 0 1.008-.399 2.953-1.172zm.211 3.469 2.602 1.031 2.601-1.031.211-.094.211.094c1.946.773 2.93 1.172 2.953 1.172l-.398 1.054c-.07-.023-.984-.398-2.766-1.101l-2.601 1.031-.211.094-.211-.094-2.602-1.031c-1.757.703-2.671 1.078-2.742 1.101l-.422-1.054c.024 0 1.008-.399 2.953-1.172l.211-.094z" />
- <mask id="a" width="11" height="10" x="38.8962" y="154.022" fill="var(--color-panel)" maskUnits="userSpaceOnUse">
+ <mask id="a" width="11" height="10" x="38.8962" y="154.022" fill="var(--color-surface)" maskUnits="userSpaceOnUse">
<path fill="#fff" d="M38.8962 154.022h11v10h-11z" />
<path
d="M44.8869 155.772c-1.7968 0-3.25 1.454-3.25 3.25 0 1.797 1.4532 3.25 3.25 3.25s3.25-1.453 3.25-3.25c0-1.796-1.4531-3.25-3.25-3.25m0 7.25c-2.2031 0-4-1.796-4-4 0-2.203 1.7969-4 4-4s4 1.797 4 4c0 2.204-1.7968 4-4 4m.875-5.75v.75h-1.125c-.2031 0-.375.172-.375.375v.188c.125-.047.25-.063.375-.063h.5c.625 0 1.125.5 1.125 1.125s-.5 1.125-1.125 1.125h-.5c-.625 0-1.125-.5-1.125-1.125v-1.25c0-.625.5-1.125 1.125-1.125zm-1.125 2.75h.5c.2032 0 .375-.171.375-.375 0-.203-.1718-.375-.375-.375h-.5c-.2031 0-.375.172-.375.375 0 .204.1719.375.375.375" />
</mask>
<path fill="currentColor"
d="M44.8869 155.772c-1.7968 0-3.25 1.454-3.25 3.25 0 1.797 1.4532 3.25 3.25 3.25s3.25-1.453 3.25-3.25c0-1.796-1.4531-3.25-3.25-3.25m0 7.25c-2.2031 0-4-1.796-4-4 0-2.203 1.7969-4 4-4s4 1.797 4 4c0 2.204-1.7968 4-4 4m.875-5.75v.75h-1.125c-.2031 0-.375.172-.375.375v.188c.125-.047.25-.063.375-.063h.5c.625 0 1.125.5 1.125 1.125s-.5 1.125-1.125 1.125h-.5c-.625 0-1.125-.5-1.125-1.125v-1.25c0-.625.5-1.125 1.125-1.125zm-1.125 2.75h.5c.2032 0 .375-.171.375-.375 0-.203-.1718-.375-.375-.375h-.5c-.2031 0-.375.172-.375.375 0 .204.1719.375.375.375" />
- <path class="stroke" fill="var(--color-panel)"
+ <path class="stroke" fill="var(--color-surface)"
d="M45.7619 157.272h1v-1h-1zm0 .75v1h1v-1zm-1.5.563h-1v1.443l1.3512-.507zm.625-2.813v-1c-2.3491 0-4.25 1.901-4.25 4.25h2c0-1.244 1.0055-2.25 2.25-2.25zm-3.25 3.25h-1c0 2.35 1.9009 4.25 4.25 4.25v-2c-1.2445 0-2.25-1.005-2.25-2.25zm3.25 3.25v1c2.3492 0 4.25-1.9 4.25-4.25h-2c0 1.245-1.0054 2.25-2.25 2.25zm3.25-3.25h1c0-2.349-1.9008-4.25-4.25-4.25v2c1.2446 0 2.25 1.006 2.25 2.25zm-3.25 4v-1c-1.6508 0-3-1.349-3-3h-2c0 2.756 2.2446 5 5 5zm-4-4h1c0-1.65 1.3492-3 3-3v-2c-2.7554 0-5 2.245-5 5zm4-4v1c1.6509 0 3 1.35 3 3h2c0-2.755-2.2445-5-5-5zm4 4h-1c0 1.651-1.3491 3-3 3v2c2.7555 0 5-2.244 5-5zm-3.125-1.75h-1v.75h2v-.75zm0 .75v-1h-1.125v2h1.125zm-1.125 0v-1c-.7554 0-1.375.62-1.375 1.375h2c0 .35-.2758.625-.625.625zm-.375.375h-1v.188h2v-.188zm0 .188.3512.936c-.0068.003-.0108.003-.0093.003.0023 0 .0121-.002.0331-.002v-2c-.2096 0-.4599.027-.7261.127zm.375-.063v1h.5v-2h-.5zm.5 0v1c.0728 0 .125.053.125.125h2c0-1.177-.9477-2.125-2.125-2.125zm1.125 1.125h-1c0 .073-.0522.125-.125.125v2c1.1773 0 2.125-.947 2.125-2.125zm-1.125 1.125v-1h-.5v2h.5zm-.5 0v-1c-.0727 0-.125-.052-.125-.125h-2a2.12 2.12 0 0 0 2.125 2.125zm-1.125-1.125h1v-1.25h-2v1.25zm0-1.25h1c0-.072.0523-.125.125-.125v-2c-1.1772 0-2.125.948-2.125 2.125zm1.125-1.125v1h1.125v-2h-1.125zm0 2.75v1h.5v-2h-.5zm.5 0v1c.7555 0 1.375-.619 1.375-1.375h-2c0-.349.2759-.625.625-.625zm.375-.375h1c0-.755-.6195-1.375-1.375-1.375v2c-.3491 0-.625-.275-.625-.625zm-.375-.375v-1h-.5v2h.5zm-.5 0v-1c-.7554 0-1.375.62-1.375 1.375h2c0 .35-.2758.625-.625.625zm-.375.375h-1c0 .756.6196 1.375 1.375 1.375v-2c.3492 0 .625.276.625.625z"
mask="url(#a)" />
<path fill="currentColor"
@@ -64,12 +64,12 @@
<path d="M185.41 95.18h-2.05" />
<path d="m57.25 21.25 40.18 79.84-77.4-44.7" />
</g>
- <mask id="c" width="24.0176" height="24.0657" x="45.0099" y="113.424" fill="var(--color-panel)" maskUnits="userSpaceOnUse">
+ <mask id="c" width="24.0176" height="24.0657" x="45.0099" y="113.424" fill="var(--color-surface)" maskUnits="userSpaceOnUse">
<path fill="#fff" d="M45.0099 113.424h24.0176v24.0657H45.0099z" />
<path
d="m54.807 133.513-5.8278-5.84c-.4305-.431-.4305-1.161 0-1.592l.8278-.83c.6788-.68 1.5066-1.144 2.4337-1.377l4.2384-1.061.3146-.316c1.1424-1.144 2.6159-1.858 4.3212-1.609l.4139.05.0497.415c.2483 1.708-.4636 3.185-1.606 4.33l-.3146.315-1.0596 4.247c-.2318.929-.6953 1.758-1.3741 2.438l-.8278.83c-.4305.431-1.1424.448-1.5894 0m3.3112-5.972-1.8543 1.858-.0662.729.894.896c.1987-.331.3311-.696.4305-1.061zm-1.7218 4.379-.7947-.796-.7947.796.7947.796zm-1.457-7.565-2.4172.598c-.3642.099-.7285.232-1.0596.431l.894.896.7285-.067zm-5.1655 2.522.7947.796.7947-.796-.7947-.796zm1.7218 1.725 2.5166 2.522 1.0596-1.062.0993-.995.0331-.199 3.9735-3.982c.5464-.547.9271-1.128 1.1589-1.758l-.9933-.996c-.6292.233-1.2086.614-1.755 1.162l-3.9735 3.981-.1987.033-.9933.1-1.0596 1.062zm6.7549-5.441c.1491-.149.3808-.149.5298 0l.5298.531c.1491.149.1491.381 0 .531-.149.149-.3807.149-.5298 0l-.5298-.531c-.149-.15-.149-.382 0-.531" />
</mask>
- <path class="stroke" fill="var(--color-panel)"
+ <path class="stroke" fill="var(--color-surface)"
d="m56.4791 122.813.4846 1.942.5369-.135.3913-.392zm4.6358-1.925-.288 1.981.0249.004.025.003zm.4139.05 1.9837-.239-.187-1.561-1.5587-.188zm.0497.415-1.9838.238.003.025.0036.025zm-1.9206 4.645-1.4128-1.416-.3913.392-.1342.538zm-1.5397 1.543 1.9399.479 1.7162-6.974-5.0689 5.079zm-1.8543 1.858-1.4128-1.416-.5115.512-.0655.722zm-.0662.729-1.9898-.181-.0847.934.6617.663zm.894.896-1.4128 1.416 1.8095 1.813 1.3166-2.199zm.4305-1.061 1.9276.526.0064-.023.0059-.024zm-1.1258 1.957 1.4127 1.416 1.4128-1.416-1.4128-1.416zm-.7947-.796 1.4128-1.416-1.4128-1.415-1.4128 1.415zm-.7947.796-1.4128-1.416-1.4128 1.416 1.4128 1.416zm.7947.796-1.4128 1.416 1.4128 1.416 1.4128-1.416zm-.6623-8.361 1.4128 1.416 5.0689-5.079-6.96 1.72zm-2.4172.598-.4783-1.944-.0238.006-.0236.006zm-1.0596.431-1.028-1.717-2.1943 1.319 1.8095 1.814zm.894.896-1.4128 1.415.6618.663.9319-.084zm.7285-.067.1809 1.994.7204-.065.5115-.513zm-3.3112.664-1.4128-1.416-1.4128 1.416 1.4128 1.416zm.7947.796-1.4128 1.416 1.4128 1.415 1.4128-1.415zm.7947-.796 1.4128 1.416 1.4128-1.416-1.4128-1.416zm-.7947-.796 1.4128-1.416-1.4128-1.416-1.4128 1.416zm3.4437 5.043-1.4128 1.415 1.4128 1.416 1.4128-1.416zm1.0596-1.062 1.4128 1.416.5043-.506.0709-.711zm.0993-.995-1.9708-.329-.0108.064-.0065.066zm.0331-.199-1.4128-1.416-.4527.454-.1053.633zm5.1324-5.74 1.8748.692.442-1.202-.904-.906zm-.9933-.996 1.4128-1.415-.904-.906-1.1996.443zm-5.7285 5.143.3285 1.975.6316-.106.4527-.453zm-.1987.033.1988 1.992.0652-.006.0645-.011zm-.9933.1-.1989-1.992-.7096.071-.5043.505zm-1.0596 1.062-1.4128-1.416-1.4128 1.416 1.4128 1.415zm3.4437 5.043 1.4128-1.416-5.8278-5.839-1.4128 1.415-1.4128 1.416 5.8278 5.839zm-5.8278-5.84 1.4128-1.415c.1891.189.2623.422.2623.619s-.0732.43-.2623.619l-1.4128-1.415-1.4128-1.416c-1.2108 1.213-1.2108 3.211 0 4.424zm0-1.592 1.4128 1.415.8278-.829-1.4128-1.416-1.4128-1.415-.8278.829zm.8278-.83 1.4128 1.416c.4187-.42.9241-.705 1.5055-.851l-.4846-1.942-.4845-1.942c-1.2729.319-2.4231.963-3.362 1.904zm2.4337-1.377.4846 1.942 4.2384-1.061-.4846-1.942-.4846-1.943-4.2383 1.062zm4.2384-1.061 1.4128 1.415.3146-.315-1.4128-1.416-1.4128-1.415-.3146.315zm.3146-.316 1.4128 1.416c.8305-.832 1.7059-1.177 2.6204-1.044l.288-1.981.2879-1.981c-2.4961-.364-4.5677.718-6.0219 2.175zm4.3212-1.609-.2381 1.988.4139.05.2381-1.988.238-1.988-.4139-.05zm.4139.05-1.9838.238.0497.415 1.9838-.238 1.9837-.239-.0497-.415zm.0497.415-1.9772.288c.1332.917-.2111 1.794-1.0416 2.626l1.4128 1.416 1.4128 1.415c1.4542-1.457 2.5338-3.533 2.1703-6.034zm-1.606 4.33-1.4128-1.416-.3146.315 1.4128 1.416 1.4128 1.415.3146-.315zm-.3146.315-1.9383-.486-1.0596 4.247 1.9383.486 1.9384.485 1.0596-4.247zm-1.0596 4.247-1.9383-.486c-.1454.583-.4299 1.089-.8486 1.509l1.4128 1.415 1.4128 1.416c.9389-.941 1.5815-2.093 1.8997-3.369zm-1.3741 2.438-1.4128-1.415-.8278.829 1.4128 1.416 1.4127 1.415.8279-.829zm-.8278.83-1.4128-1.416c.3305-.331.8838-.353 1.2362 0l-1.4128 1.416-1.4128 1.415c1.2463 1.249 3.2235 1.194 4.4149 0zm1.7218-5.972-1.4128-1.416-1.8543 1.858 1.4128 1.416 1.4128 1.415 1.8543-1.858zm-1.8543 1.858-1.9898-.182-.0662.73 1.9898.181 1.9898.182.0662-.73zm-.0662.729-1.4128 1.416.894.896 1.4128-1.416 1.4128-1.415-.894-.896zm.894.896 1.7133 1.03c.3263-.545.5182-1.099.6448-1.565l-1.9276-.526-1.9276-.527c-.0721.265-.1451.44-.2162.558zm.4305-1.061 1.9399.479.596-2.422-1.9399-.479-1.9399-.48-.596 2.422zm-1.1258 1.957 1.4127-1.416-.7946-.796-1.4128 1.416-1.4128 1.415.7947.797zm-.7947-.796-1.4128-1.416-.7947.796 1.4128 1.416 1.4128 1.416.7947-.797zm-.7947.796-1.4128 1.416.7947.796 1.4128-1.416 1.4128-1.415-.7947-.797zm.7947.796 1.4128 1.416.7946-.796-1.4127-1.416-1.4128-1.416-.7947.797zm-.6623-8.361-.4783-1.943-2.4172.597.4783 1.944.4783 1.943 2.4172-.597zm-2.4172.598-.5257-1.932c-.4643.127-1.018.319-1.5619.646l1.028 1.717 1.028 1.717c.1184-.072.2931-.145.5573-.217zm-1.0596.431-1.4128 1.416.894.895 1.4128-1.415 1.4128-1.416-.894-.896zm.894.896.1809 1.994.7285-.067-.1809-1.994-.1809-1.993-.7285.066zm.7285-.067 1.4128 1.416 1.8543-1.858-1.4128-1.416-1.4128-1.415-1.8543 1.858zm-3.3112.664-1.4128 1.416.7947.796 1.4128-1.416 1.4128-1.415-.7947-.797zm.7947.796 1.4128 1.416.7947-.796-1.4128-1.416-1.4128-1.416-.7947.797zm.7947-.796 1.4128-1.416-.7947-.796-1.4128 1.416-1.4128 1.415.7947.797zm-.7947-.796-1.4128-1.416-.7947.796 1.4128 1.416 1.4128 1.416.7947-.797zm.9271 2.521-1.4128 1.416 2.5166 2.521 1.4128-1.415 1.4128-1.416-2.5166-2.521zm2.5166 2.522 1.4128 1.415 1.0596-1.061-1.4128-1.416-1.4128-1.416-1.0596 1.062zm1.0596-1.062 1.988.199.0994-.995-1.9881-.199-1.9881-.199-.0993.995zm.0993-.995 1.9708.329.0331-.199-1.9708-.329-1.9708-.329-.0331.199zm.0331-.199 1.4128 1.415 3.9735-3.981-1.4128-1.416-1.4128-1.415-3.9735 3.981zm3.9735-3.982 1.4128 1.416c.7232-.725 1.2765-1.545 1.6209-2.482l-1.8748-.692-1.8748-.692c-.1191.324-.3274.664-.6969 1.035zm1.1589-1.758 1.4128-1.416-.9933-.995-1.4128 1.415-1.4128 1.416.9933.995zm-.9933-.996-.6908-1.878c-.9348.345-1.7538.899-2.477 1.624l1.4128 1.416 1.4128 1.415c.3695-.37.7094-.579 1.0329-.698zm-1.755 1.162-1.4128-1.416-3.9735 3.981 1.4128 1.416 1.4128 1.416 3.9735-3.982zm-3.9735 3.981-.3285-1.975-.1986.034.3284 1.974.3285 1.975.1987-.033zm-.1987.033-.1988-1.992-.9934.1.1989 1.992.1988 1.992.9933-.1zm-.9933.1-1.4128-1.416-1.0596 1.062 1.4128 1.416 1.4128 1.415 1.0596-1.062zm-1.0596 1.062-1.4128 1.415.1324.133 1.4128-1.416 1.4128-1.415-.1324-.133zm6.8873-5.309 1.4128 1.416c-.6312.632-1.6645.632-2.2957 0l1.4127-1.416 1.4128-1.416a2.3645 2.3645 0 0 0-3.3553 0zm.5298 0-1.4127 1.416.5297.53 1.4128-1.415 1.4128-1.416-.5298-.531zm.5298.531-1.4128 1.415c-.6312-.632-.6312-1.667 0-2.3l1.4128 1.416 1.4128 1.415c.9293-.931.9293-2.431 0-3.362zm0 .531-1.4128-1.416c.6313-.633 1.6646-.633 2.2958 0l-1.4128 1.416-1.4127 1.415a2.3645 2.3645 0 0 0 3.3553 0zm-.5298 0 1.4128-1.416-.5298-.531-1.4128 1.416-1.4127 1.415.5298.531zm-.5298-.531 1.4128-1.416c.6313.633.6313 1.668 0 2.301l-1.4128-1.416-1.4127-1.416c-.9293.931-.9293 2.431 0 3.362z"
mask="url(#c)" />
<path fill="currentColor"
diff --git a/js/app/packages/macro-icons/arcanum/arcanum-002.svg b/js/app/packages/macro-icons/arcanum/arcanum-002.svg
index 59d1ef8496..4503444feb 100644
--- a/js/app/packages/macro-icons/arcanum/arcanum-002.svg
+++ b/js/app/packages/macro-icons/arcanum/arcanum-002.svg
@@ -48,7 +48,7 @@
d="M119.13 71.16c-6.78-6.78-17.76-6.78-24.54 0s-6.78 17.76 0 24.54l24.54 24.54c6.78 6.78 17.76 6.78 24.54 0s6.78-17.76 0-24.54z" />
<path stroke="currentColor" stroke-miterlimit="10"
d="M158.27 71.56c-4.2 2.79-23.88 8.88-23.88 8.88s6.03-21.34 10.26-25.56 11.08-4.23 15.31 0 4.23 11.08 0 15.31c-.52.52-1.09.98-1.68 1.38" />
- <path class="stroke" fill="var(--color-panel)"
+ <path class="stroke" fill="var(--color-surface)"
d="m158.866 131.196-1.94.485.134.538.392.391zm1.923 4.641-1.98-.289-.003.025-.003.025zm-.05.414.238 1.986 1.56-.187.188-1.561zm-.414.05-.239-1.986-.025.003-.025.004zm-4.641-1.923 1.414-1.414-.391-.392-.538-.134zm-1.541-1.541-.479 1.942 6.967 1.718-5.074-5.074zm-1.856-1.856 1.414-1.414-.512-.512-.721-.066zm-.729-.066.181-1.992-.933-.085-.663.662zm-.895.894-1.415-1.414-1.811 1.812 2.197 1.317zm1.06.431-.526 1.93.024.006.023.006zm-1.955-1.127-1.415 1.415 1.415 1.414 1.414-1.414zm.795-.795 1.414 1.414 1.415-1.414-1.415-1.414zm-.795-.796 1.414-1.414-1.414-1.414-1.415 1.414zm-.796.796-1.414-1.414-1.414 1.414 1.414 1.414zm8.353-.663-1.414 1.414 5.074 5.074-1.718-6.967zm-.597-2.42 1.942-.478-.006-.024-.006-.024zm-.431-1.06 1.715-1.029-1.318-2.197-1.811 1.812zm-.895.895-1.414-1.415-.662.663.085.933zm.067.729-1.992.181.066.721.512.512zm-.663-3.315 1.414-1.414-1.414-1.414-1.414 1.414zm-.796.796-1.414-1.414-1.414 1.414 1.414 1.414zm.796.795-1.414 1.414 1.414 1.415 1.414-1.415zm.795-.795 1.415 1.414 1.414-1.414-1.414-1.414zm-5.038 3.447-1.414-1.414-1.414 1.414 1.414 1.414zm1.061 1.061-1.414 1.414.504.505.711.071zm.994.099.329-1.973-.065-.011-.065-.006zm.199.033 1.414-1.414-.453-.453-.632-.106zm5.734 5.138-.691 1.876 1.201.443.905-.905zm.995-.995 1.414 1.415.905-.905-.443-1.201zm-5.138-5.734-1.973.329.106.632.453.453zm-.033-.199-1.99.199.006.065.011.065zm-.099-.994 1.99-.199-.071-.71-.505-.505zm-1.061-1.061 1.414-1.414-1.414-1.414-1.414 1.414zm-5.038 3.447 1.414 1.415 5.834-5.834-1.415-1.414-1.414-1.414-5.834 5.833zm5.833-5.833 1.415 1.414c-.19.189-.422.263-.619.263s-.43-.074-.619-.263l1.414-1.414 1.415-1.414c-1.212-1.212-3.208-1.212-4.42 0zm1.591 0-1.414 1.414.829.829 1.414-1.415 1.414-1.414-.828-.828zm.829.828-1.414 1.415c.419.419.704.925.849 1.507l1.941-.485 1.94-.485c-.319-1.275-.962-2.426-1.902-3.366zm1.376 2.437-1.941.485 1.061 4.242 1.94-.485 1.94-.485-1.06-4.242zm1.06 4.242-1.414 1.414.315.315 1.414-1.414 1.414-1.414-.315-.315zm.315.315-1.414 1.414c.831.832 1.176 1.708 1.042 2.623l1.98.289 1.979.288c.364-2.499-.717-4.572-2.173-6.028zm1.608 4.326-1.986-.239-.05.415 1.986.238 1.986.238.049-.414zm-.05.414-.238-1.986-.415.05.239 1.986.238 1.985.414-.049zm-.414.05-.289-1.979c-.915.133-1.791-.212-2.623-1.043l-1.414 1.414-1.414 1.414c1.456 1.456 3.529 2.537 6.028 2.173zm-4.326-1.608 1.414-1.414-.315-.315-1.414 1.414-1.414 1.414.315.315zm-.315-.315.485-1.94-4.242-1.061-.485 1.941-.486 1.94 4.243 1.061zm-4.242-1.06.485-1.941c-.582-.145-1.088-.43-1.507-.849l-1.415 1.414-1.414 1.414c.94.94 2.091 1.583 3.365 1.902zm-2.437-1.376 1.415-1.414-.829-.829-1.414 1.414-1.415 1.415.829.828zm-.828-.829 1.414-1.414c.331.331.353.885 0 1.238l-1.414-1.415-1.415-1.414c-1.247 1.248-1.192 3.227 0 4.42zm5.966 1.724 1.414-1.414-1.856-1.856-1.414 1.414-1.414 1.414 1.856 1.856zm-1.856-1.856.181-1.992-.729-.066-.181 1.992-.182 1.991.73.067zm-.729-.066-1.415-1.415-.895.895 1.415 1.414 1.414 1.415.895-.895zm-.895.894-1.029 1.715c.544.327 1.098.519 1.563.646l.526-1.93.527-1.929c-.265-.072-.44-.145-.558-.217zm1.06.431-.479 1.942 2.42.597.479-1.942.479-1.942-2.42-.596zm-1.955-1.127 1.414 1.415.795-.796-1.414-1.414-1.414-1.414-.796.795zm.795-.795 1.414-1.414-.795-.796-1.414 1.414-1.415 1.415.796.795zm-.795-.796-1.415-1.414-.795.796 1.414 1.414 1.414 1.414.796-.795zm-.796.796-1.414 1.414.795.796 1.415-1.415 1.414-1.414-.796-.795zm8.353-.663 1.942-.479-.597-2.419-1.942.478-1.942.479.597 2.42zm-.597-2.42 1.93-.526c-.127-.465-.319-1.019-.646-1.563l-1.715 1.029-1.715 1.029c.072.118.145.293.217.558zm-.431-1.06-1.414-1.414-.895.894 1.414 1.415 1.415 1.414.895-.895zm-.895.895-1.991.181.066.729 1.992-.181 1.992-.181-.067-.729zm.067.729-1.414 1.414 1.856 1.856 1.414-1.414 1.414-1.414-1.856-1.856zm-.663-3.315-1.414-1.414-.796.796 1.414 1.414 1.415 1.414.795-.795zm-.796.796-1.414 1.414.796.795 1.414-1.414 1.414-1.414-.795-.795zm.796.795 1.414 1.414.796-.795-1.415-1.414-1.414-1.414-.795.795zm.795-.795 1.415-1.414-.796-.796-1.414 1.414-1.414 1.415.795.795zm-2.519.928-1.414-1.414-2.519 2.519 1.414 1.414 1.414 1.414 2.519-2.519zm-2.519 2.519-1.414 1.414 1.061 1.061 1.414-1.414 1.414-1.415-1.061-1.06zm1.061 1.061-.199 1.99.994.099.199-1.99.199-1.99-.994-.099zm.994.099-.329 1.973.199.033.329-1.973.329-1.973-.199-.033zm.199.033-1.414 1.414 3.977 3.978 1.415-1.414 1.414-1.415-3.978-3.977zm3.978 3.978-1.415 1.414c.724.724 1.544 1.278 2.48 1.622l.691-1.876.692-1.877c-.324-.119-.664-.328-1.034-.698zm1.756 1.16 1.415 1.414.994-.994-1.414-1.415-1.415-1.414-.994.995zm.995-.995 1.876-.691c-.344-.936-.898-1.756-1.622-2.48l-1.414 1.415-1.415 1.414c.37.37.579.71.698 1.034zm-1.16-1.756 1.414-1.415-3.978-3.977-1.414 1.414-1.414 1.414 3.977 3.978zm-3.978-3.978 1.973-.329-.033-.198-1.973.328-1.973.329.033.199zm-.033-.199 1.99-.199-.099-.994-1.99.199-1.991.199.1.994zm-.099-.994 1.414-1.414-1.061-1.061-1.414 1.414-1.414 1.414 1.06 1.061zm-1.061-1.061-1.414-1.414-.133.133 1.414 1.414 1.414 1.414.133-.133zm5.303 6.895-1.414 1.414c-.632-.632-.632-1.666 0-2.298l1.414 1.414 1.414 1.414c.931-.93.931-2.428 0-3.359zm0 .53-1.414-1.414-.53.53 1.414 1.414 1.414 1.414.53-.53zm-.53.53-1.414-1.414c.631-.632 1.666-.632 2.298 0l-1.415 1.414-1.414 1.414c.93.931 2.429.931 3.359 0zm-.531 0 1.415-1.414c.632.632.632 1.666 0 2.298l-1.415-1.414-1.414-1.414c-.93.93-.93 2.428 0 3.358zm0-.53 1.415 1.414.53-.53-1.414-1.414-1.414-1.415-.531.531zm.531-.53 1.414 1.414c-.632.632-1.666.632-2.298 0l1.414-1.414 1.414-1.415c-.93-.93-2.428-.93-3.358 0z" />
<path fill="currentColor"
d="m148.177 129.522 5.833-5.833c.431-.431 1.16-.431 1.591 0l.829.828c.679.68 1.143 1.509 1.376 2.437l1.06 4.242.315.315c1.144 1.144 1.856 2.619 1.608 4.326l-.05.414-.414.05c-1.707.248-3.182-.464-4.326-1.608l-.315-.315-4.242-1.06c-.929-.232-1.757-.696-2.437-1.376l-.828-.829c-.431-.43-.448-1.143 0-1.591m5.966 3.315-1.856-1.856-.729-.066-.895.894c.331.199.696.332 1.06.431zm-4.375-1.724.795-.795-.795-.796-.796.796zm7.557-1.458-.597-2.42c-.099-.364-.232-.729-.431-1.06l-.895.895.067.729zm-2.519-5.171-.796.796.796.795.795-.795zm-1.724 1.724-2.519 2.519 1.061 1.061.994.099.199.033 3.978 3.978c.546.547 1.127.928 1.756 1.16l.995-.995c-.232-.629-.614-1.209-1.16-1.756l-3.978-3.978-.033-.199-.099-.994-1.061-1.061zm5.436 6.762c.149.149.149.381 0 .53l-.53.53c-.149.149-.381.149-.531 0-.149-.149-.149-.381 0-.53l.531-.53c.149-.15.381-.15.53 0" />
diff --git a/js/app/packages/macro-icons/arcanum/arcanum-003.svg b/js/app/packages/macro-icons/arcanum/arcanum-003.svg
index e4330a6307..96460b4954 100644
--- a/js/app/packages/macro-icons/arcanum/arcanum-003.svg
+++ b/js/app/packages/macro-icons/arcanum/arcanum-003.svg
@@ -89,7 +89,7 @@
<path
d="m160.889 131.5 4.787-6.719c.353-.496 1.072-.617 1.569-.263l.954.68c.783.557 1.378 1.297 1.76 2.174l1.749 4.009.363.258c1.317.938 2.264 2.275 2.301 3.999l.02.417-.4.118c-1.643.528-3.215.069-4.532-.869l-.363-.258-4.36-.344c-.953-.075-1.848-.395-2.63-.953l-.955-.68c-.496-.353-.63-1.053-.263-1.569m6.433 2.281-2.138-1.523-.73.055-.735 1.031c.36.141.742.212 1.118.249zm-4.601-.975.653-.916-.916-.653-.653.916zm7.212-2.69-.99-2.287c-.158-.344-.349-.681-.6-.975l-.734 1.031.186.708zm-3.341-4.682-.653.916.916.653.653-.916zm-1.414 1.985-2.067 2.902 1.221.87.997-.067h.202l4.581 3.264c.63.449 1.266.728 1.925.853l.816-1.145c-.333-.583-.805-1.092-1.435-1.541l-4.581-3.263-.066-.191-.263-.964-1.222-.871zm6.48 5.768c.172.122.211.351.088.523l-.435.611c-.122.172-.351.21-.523.088-.172-.123-.21-.351-.088-.523l.435-.611c.123-.172.352-.21.523-.088" />
</mask>
- <path class="stroke" fill="var(--color-panel)"
+ <path class="stroke" fill="var(--color-surface)"
d="m171.708 131.381-1.833.799.221.508.451.322zm2.664 4.257-1.999.044v.025l.002.025zm.02.417.564 1.919 1.508-.443-.074-1.57zm-.4.118-.564-1.919-.024.007-.024.008zm-4.895-1.127 1.16-1.629-.451-.322-.552-.043zm-1.775-1.265-.151 1.994 7.155.54-5.844-4.163zm-2.138-1.523 1.16-1.629-.59-.42-.722.055zm-.73.055-.152-1.994-.934.071-.543.763zm-.735 1.031-1.629-1.16-1.486 2.086 2.385.936zm1.118.249-.2 1.99.025.003.024.002zm-2.116-.787-1.16 1.629 1.629 1.16 1.16-1.629zm.653-.916 1.629 1.16 1.161-1.629-1.629-1.16zm-.916-.653 1.16-1.629-1.629-1.16-1.16 1.629zm-.653.916-1.629-1.16-1.16 1.629 1.629 1.16zm8.128-2.037-1.161 1.629 5.845 4.163-2.849-6.586zm-.99-2.287 1.836-.794-.01-.023-.01-.022zm-.6-.975 1.521-1.299-1.664-1.948-1.486 2.086zm-.734 1.031-1.629-1.161-.544.763.238.906zm.186.708-1.935.508.184.701.59.42zm-1.203-3.159 1.16-1.629-1.629-1.16-1.16 1.628zm-.653.916-1.629-1.16-1.16 1.629 1.629 1.16zm.916.653-1.16 1.629 1.629 1.16 1.16-1.629zm.653-.916 1.629 1.16 1.161-1.629-1.629-1.16zm-4.397 4.234-1.629-1.161-1.161 1.629 1.629 1.161zm1.221.87-1.16 1.629.581.414.713-.047zm.997-.067-.002-2h-.066l-.065.005zm.202 0 1.16-1.629-.522-.372-.64.001zm6.506 4.117-.371 1.965 1.257.238.743-1.043zm.816-1.145 1.629 1.16.742-1.042-.635-1.111zm-6.016-4.804-1.892.651.209.606.522.371zm-.066-.191-1.93.526.017.063.022.062zm-.263-.964 1.93-.526-.188-.689-.581-.414zm-1.222-.871 1.161-1.629-1.629-1.16-1.161 1.629zm-4.397 4.234 1.629 1.161 4.787-6.719-1.629-1.161-1.629-1.16-4.787 6.719zm4.787-6.719 1.629 1.161c-.156.218-.373.328-.567.361s-.436-.001-.654-.156l1.161-1.629 1.16-1.629c-1.396-.995-3.364-.664-4.358.732zm1.569-.263-1.161 1.629.955.679 1.16-1.628 1.161-1.629-.955-.68zm.954.68-1.16 1.628c.482.344.847.796 1.087 1.346l1.833-.8 1.833-.8c-.525-1.203-1.35-2.232-2.432-3.003zm1.76 2.174-1.833.8 1.749 4.008 1.833-.799 1.833-.8-1.749-4.009zm1.749 4.009-1.161 1.629.363.258 1.161-1.629 1.16-1.629-.363-.258zm.363.258-1.161 1.629c.958.682 1.443 1.489 1.463 2.414l1.999-.044 2-.043c-.055-2.524-1.464-4.391-3.141-5.585zm2.301 3.999-1.997.094.019.417 1.998-.094 1.998-.094-.02-.416zm.02.417-.564-1.919-.4.118.564 1.919.564 1.919.4-.118zm-.4.118-.612-1.904c-.881.283-1.802.088-2.76-.594l-1.16 1.629-1.161 1.629c1.677 1.194 3.901 1.917 6.305 1.144zm-4.532-.869 1.16-1.629-.363-.258-1.16 1.629-1.16 1.629.362.258zm-.363-.258.157-1.994-4.36-.343-.157 1.993-.157 1.994 4.36.344zm-4.36-.344.157-1.993c-.598-.047-1.144-.245-1.627-.589l-1.16 1.629-1.161 1.629c1.083.772 2.325 1.215 3.634 1.318zm-2.63-.953 1.16-1.629-.954-.679-1.161 1.628-1.16 1.629.954.68zm-.955-.68 1.161-1.628c.381.271.494.814.205 1.22l-1.629-1.161-1.629-1.16c-1.024 1.437-.642 3.38.732 4.358zm6.17.712 1.16-1.629-2.138-1.523-1.16 1.629-1.161 1.629 2.138 1.523zm-2.138-1.523-.152-1.994-.73.055.152 1.994.151 1.995.73-.056zm-.73.055-1.629-1.16-.735 1.031 1.629 1.16 1.629 1.161.735-1.031zm-.735 1.031-.73 1.862c.591.232 1.169.329 1.648.377l.2-1.99.199-1.99c-.273-.027-.457-.07-.586-.121zm1.118.249-.151 1.995 2.485.187.151-1.994.15-1.994-2.485-.188zm-2.116-.787 1.629 1.16.653-.916-1.629-1.16-1.629-1.161-.653.917zm.653-.916 1.161-1.629-.917-.653-1.16 1.629-1.161 1.629.917.653zm-.916-.653-1.629-1.16-.653.916 1.629 1.16 1.629 1.161.653-.917zm-.653.916-1.16 1.629.916.653 1.16-1.629 1.161-1.629-.916-.653zm8.128-2.037 1.835-.794-.989-2.287-1.836.794-1.835.793.989 2.288zm-.99-2.287 1.816-.839c-.202-.437-.483-.952-.895-1.435l-1.521 1.299-1.521 1.299c.09.105.191.265.306.514zm-.6-.975-1.629-1.161-.734 1.031 1.629 1.161 1.628 1.16.735-1.031zm-.734 1.031-1.935.508.186.708 1.935-.508 1.934-.509-.186-.708zm.186.708-1.161 1.629 2.138 1.523 1.161-1.629 1.16-1.629-2.138-1.523zm-1.203-3.159-1.629-1.161-.653.917 1.629 1.16 1.629 1.161.653-.917zm-.653.916-1.16 1.629.916.653 1.16-1.629 1.161-1.629-.916-.653zm.916.653 1.629 1.16.653-.916-1.629-1.16-1.629-1.161-.652.916zm.653-.916 1.161-1.629-.917-.653-1.16 1.629-1.161 1.629.917.653zm-2.33 1.332-1.629-1.16-2.067 2.901 1.629 1.161 1.629 1.16 2.067-2.901zm-2.067 2.902-1.161 1.629 1.222.87 1.16-1.629 1.161-1.629-1.222-.87zm1.221.87.134 1.996.997-.067-.134-1.996-.133-1.995-.997.066zm.997-.067.003 2h.202l-.003-2-.002-2h-.202zm.202 0-1.16 1.629 4.581 3.264 1.16-1.629 1.161-1.629-4.582-3.264zm4.581 3.264-1.16 1.629c.834.594 1.734 1.004 2.714 1.189l.371-1.965.371-1.965c-.339-.064-.709-.214-1.135-.517zm1.925.853 1.629 1.16.816-1.145-1.629-1.16-1.629-1.161-.816 1.145zm.816-1.145 1.736-.993c-.495-.866-1.177-1.583-2.011-2.177l-1.16 1.629-1.161 1.629c.427.304.688.605.86.904zm-1.435-1.541 1.16-1.629-4.581-3.263-1.16 1.629-1.161 1.628 4.581 3.264zm-4.581-3.263 1.891-.651-.066-.191-1.891.651-1.891.651.065.191zm-.066-.191 1.93-.526-.263-.964-1.93.526-1.93.526.263.964zm-.263-.964 1.161-1.629-1.222-.871-1.161 1.629-1.16 1.629 1.222.871zm-1.222-.871-1.629-1.16-.108.153 1.629 1.16 1.629 1.161.108-.153zm6.372 5.921-1.16 1.629c-.728-.519-.899-1.539-.381-2.266l1.629 1.16 1.629 1.16c.763-1.071.515-2.549-.556-3.312zm.088.523-1.629-1.16-.435.61 1.629 1.161 1.629 1.16.435-.611zm-.435.611-1.629-1.161c.519-.727 1.539-.899 2.267-.38l-1.161 1.629-1.16 1.629c1.071.763 2.549.515 3.312-.557zm-.523.088 1.161-1.629c.727.518.899 1.538.38 2.266l-1.629-1.16-1.629-1.161a2.371 2.371 0 0 0 .557 3.313zm-.088-.523 1.629 1.16.435-.611-1.629-1.16-1.629-1.161-.435.611zm.435-.611 1.629 1.16c-.518.728-1.538.899-2.266.381l1.16-1.629 1.161-1.629a2.3715 2.3715 0 0 0-3.313.556z"
mask="url(#b)" />
<path fill="currentColor"
diff --git a/js/app/packages/macro-icons/arcanum/arcanum-004.svg b/js/app/packages/macro-icons/arcanum/arcanum-004.svg
index 2640c63b2b..98c703d7d6 100644
--- a/js/app/packages/macro-icons/arcanum/arcanum-004.svg
+++ b/js/app/packages/macro-icons/arcanum/arcanum-004.svg
@@ -28,7 +28,7 @@
<path
d="M159.702 12.225v-8.25c0-.6093.515-1.125 1.125-1.125h1.172c.961 0 1.875.2578 2.695.75l3.75 2.25h.445c1.618 0 3.164.5391 4.196 1.922l.257.328-.257.3282c-1.032 1.3828-2.578 1.9218-4.196 1.9218h-.445l-3.75 2.25c-.82.4922-1.734.75-2.695.75h-1.172c-.61 0-1.125-.4922-1.125-1.125m6.562-1.875h-2.625l-.562.4688v1.2656c.375-.0937.726-.2578 1.055-.4453zm-4.312 1.875V11.1h-1.125v1.125zm4.312-6.375-2.132-1.289c-.329-.1875-.68-.3516-1.055-.4453v1.2656l.562.4687zm-5.437-1.875V5.1h1.125V3.975zm0 2.4375V9.975h1.5l.773-.6328.164-.1172h5.625c.774 0 1.453-.1406 2.063-.4218V7.3969c-.61-.2812-1.289-.4219-2.063-.4219h-5.625l-.164-.1171-.773-.6329h-1.5zm8.625.9375c.211 0 .375.1641.375.375v.75c0 .211-.164.375-.375.375s-.375-.164-.375-.375v-.75c0-.2109.164-.375.375-.375" />
</mask>
- <path class="stroke" fill="var(--color-panel)"
+ <path class="stroke" fill="var(--color-surface)"
d="m168.444 5.85-1.029 1.715.475.285h.554zm4.641 1.922-1.604 1.1956.015.0202.016.0198zm.257.328 1.573 1.2357.971-1.2357-.971-1.2356zm-.257.3282-1.573-1.2357-.016.0198-.015.0202zm-4.641 1.9218v-2h-.554l-.475.285zm-2.18 0 1.035 1.7117L173.44 8.35h-7.176zm-2.625 0v-2h-.724l-.556.4636zm-.562.4688-1.281-1.5365-.719.5997v.9368zm0 1.2656h-2v2.5616l2.485-.6213zm1.055-.4453.992 1.7365.021-.0122.021-.0126zm-2.18.5859v2h2v-2zm0-1.125h2v-2h-2zm-1.125 0v-2h-2v2zm0 1.125h-2v2h2zm5.437-6.375v2h7.176l-6.141-3.7116zm-2.132-1.289 1.034-1.7117-.021-.0127-.021-.0121zm-1.055-.4453.485-1.9403-2.485-.6213v2.5616zm0 1.2656h-2v.9367l.719.5997zm.562.4687-1.28 1.5365.556.4635h.724zm-2.812-1.875v-2h-2v2zm0 1.125h-2v2h2zm1.125 0v2h2v-2zm0-1.125h2v-2h-2zm-1.125 6h-2v2h2zm1.5 0v2h.714l.552-.452zm.773-.6328-1.162-1.6274-.053.038-.051.0415zm.164-.1172v-2h-.641l-.521.3726zm7.688-.4218.838 1.8159 1.162-.5363V8.8032zm0-1.4063h2V6.1173l-1.162-.5363zm-7.688-.4219-1.162 1.6275.521.3725h.641zm-.164-.1171-1.266 1.5479.051.0414.053.0381zm-.773-.6329 1.266-1.5479-.552-.452h-.714zm-1.5 0v-2h-2v2zm-1.125 6h2v-8.25h-4v8.25zm0-8.25h2c0 .2678-.113.484-.252.6232s-.355.2518-.623.2518v-4c-1.714 0-3.125 1.411-3.125 3.125zm1.125-1.125v2h1.172v-4h-1.172zm1.172 0v2c.592 0 1.152.1564 1.666.465l1.029-1.715 1.029-1.715c-1.126-.6757-2.395-1.035-3.724-1.035zm2.695.75-1.029 1.715 3.75 2.25 1.029-1.715 1.029-1.715-3.75-2.25zm3.75 2.25v2h.445v-4h-.445zm.445 0v2c1.176 0 2.039.376 2.592 1.1176l1.604-1.1957 1.603-1.1956c-1.51-2.024-3.74-2.7263-5.799-2.7263zm4.196 1.922-1.573 1.2356.258.328L173.342 8.1l1.573-1.2356-.258-.3281zm.257.328-1.572-1.2356-.258.3281 1.573 1.2357 1.572 1.2356.258-.3281zm-.257.3282-1.604-1.1957c-.553.7416-1.416 1.1175-2.592 1.1175v4c2.059 0 4.289-.7021 5.799-2.7262zm-4.196 1.9218v-2h-.445v4h.445zm-.445 0-1.029-1.715-3.75 2.2501 1.029 1.7149 1.029 1.715 3.75-2.25zm-3.75 2.25-1.029-1.7149c-.514.3086-1.074.4649-1.666.4649v4c1.329 0 2.598-.3593 3.724-1.035zm-2.695.75v-2h-1.172v4h1.172zm-1.172 0v-2c.468 0 .875.3762.875.875h-4c0 1.7645 1.438 3.125 3.125 3.125zm5.437-3v-2h-2.625v4h2.625zm-2.625 0-1.28-1.5364-.563.4687 1.281 1.5365 1.28 1.5364.563-.4687zm-.562.4688h-2v1.2656h4v-1.2656zm0 1.2656.485 1.9403c.616-.154 1.144-.4101 1.562-.6491l-.992-1.7365-.993-1.7365c-.238.136-.413.208-.547.2415zm1.055-.4453 1.034 1.7117 2.133-1.2891-1.035-1.7117-1.034-1.7116-2.133 1.289zm-2.18.5859h2V11.1h-4v1.125zm0-1.125v-2h-1.125v4h1.125zm-1.125 0h-2v1.125h4V11.1zm0 1.125v2h1.125v-4h-1.125zm5.437-6.375 1.035-1.7116-2.133-1.289-1.034 1.7116-1.035 1.7116 2.133 1.289zm-2.132-1.289.992-1.7365c-.418-.239-.946-.4952-1.562-.6491l-.485 1.9403-.485 1.9402c.134.0336.309.1056.547.2416zm-1.055-.4453h-2v1.2656h4V4.1157zm0 1.2656-1.281 1.5364.563.4688 1.28-1.5365 1.281-1.5364-.563-.4688zm.562.4687v2h2.625v-4h-2.625zm-2.812-1.875h-2V5.1h4V3.975zm0 1.125v2h1.125v-4h-1.125zm1.125 0h2V3.975h-4V5.1zm0-1.125v-2h-1.125v4h1.125zm-1.125 2.4375h-2V9.975h4V6.4125zm0 3.5625v2h1.5v-4h-1.5zm1.5 0 1.266 1.548.774-.6329-1.267-1.5479-1.266-1.5479-.774.6328zm.773-.6328 1.163 1.6275.164-.1172-1.163-1.6275-1.162-1.6274-.164.1172zm.164-.1172v2h5.625v-4h-5.625zm5.625 0v2c1.024 0 1.995-.188 2.901-.6059l-.838-1.816-.838-1.8159c-.314.1446-.702.2378-1.225.2378zm2.063-.4218h2V7.3969h-4v1.4063zm0-1.4063.838-1.816c-.906-.4178-1.877-.6059-2.901-.6059v4c.523 0 .911.0932 1.225.2378zm-2.063-.4219v-2h-5.625v4h5.625zm-5.625 0 1.163-1.6274-.164-.1172-1.163 1.6274-1.162 1.6275.164.1172zm-.164-.1171 1.267-1.548-.774-.6328-1.266 1.548-1.267 1.5478.774.6329zm-.773-.6329v-2h-1.5v4h1.5zm-1.5 0h-2v.1875h4V6.225zm8.625 1.125v2c-.894 0-1.625-.7313-1.625-1.625h4c0-1.3155-1.06-2.375-2.375-2.375zm.375.375h-2v.75h4v-.75zm0 .75h-2c0-.8936.731-1.625 1.625-1.625v4c1.315 0 2.375-1.0595 2.375-2.375zm-.375.375v-2c.893 0 1.625.7314 1.625 1.625h-4a2.37 2.37 0 0 0 2.375 2.375zm-.375-.375h2v-.75h-4v.75zm0-.75h2c0 .8937-.732 1.625-1.625 1.625v-4a2.37 2.37 0 0 0-2.375 2.375z"
mask="url(#b)" />
<path fill="currentColor"
diff --git a/js/app/packages/macro-icons/arcanum/arcanum-005.svg b/js/app/packages/macro-icons/arcanum/arcanum-005.svg
index 9137feb1ad..77cd702d39 100644
--- a/js/app/packages/macro-icons/arcanum/arcanum-005.svg
+++ b/js/app/packages/macro-icons/arcanum/arcanum-005.svg
@@ -61,7 +61,7 @@
<path stroke="currentColor" stroke-miterlimit="10" d="M200 37.0377h-5.759" />
<path stroke="currentColor" stroke-miterlimit="10" d="M200 48.2437h-5.759" />
<path stroke="currentColor" stroke-miterlimit="10" d="M200 59.4598h-11.518" />
- <path class="stroke" fill="var(--color-panel)"
+ <path class="stroke" fill="var(--color-surface)"
d="m46.6063 49.7889.4851 1.9403.5374-.1344.3917-.3917zm4.6404-1.9224-.2883 1.9791.025.0036.025.003zm.4143.0497 1.9857-.2383-.1872-1.5602-1.5602-.1873zm.0497.4143-1.9857.2383.003.025.0036.0249zm-1.9224 4.6404-1.4143-1.4142-.3917.3917-.1343.5374zm-1.5413 1.5413 1.9418.4788 1.7179-6.967-5.0739 5.074zm-1.8562 1.8561-1.4142-1.4142-.512.512-.0656.7211zm-.0663.7292-1.9917-.181-.0849.9329.6624.6623zm.895.895-1.4142 1.4142 1.8113 1.8113 1.3179-2.1966zm.4309-1.0607 1.9295.5262.0064-.0236.0059-.0238zm-1.127 1.9556 1.4142 1.4142 1.4142-1.4142-1.4142-1.4142zm-.7955-.7955 1.4142-1.4142-1.4142-1.4142-1.4142 1.4142zm-.7955.7955-1.4142-1.4142-1.4142 1.4142 1.4142 1.4142zm.7955.7955-1.4142 1.4142 1.4142 1.4142 1.4142-1.4142zm-.6629-8.3527 1.4142 1.4142 5.074-5.0739-6.967 1.7178zm-2.4196.5966-.4788-1.9418-.0238.0058-.0237.0065zm-1.0607.4309-1.029-1.715-2.1965 1.3179 1.8113 1.8113zm.895.8949-1.4143 1.4142.6624.6624.9329-.0848zm.7292-.0663.181 1.9918.7212-.0655.512-.512zm-3.3146.663-1.4142-1.4143-1.4142 1.4143 1.4142 1.4142zm.7955.7954-1.4142 1.4143 1.4142 1.4142 1.4142-1.4142zm.7955-.7954 1.4142 1.4142 1.4142-1.4142-1.4142-1.4143zm-.7955-.7955 1.4142-1.4143-1.4142-1.4142-1.4142 1.4142zm3.4471 5.0381-1.4142 1.4142 1.4142 1.4142 1.4142-1.4142zm1.0607-1.0607 1.4142 1.4142.5048-.5048.0711-.7104zm.0994-.9943-1.9728-.3288-.0107.0646-.0065.0652zm.0332-.1989-1.4142-1.4142-.4532.4532-.1054.6322zm5.1375-5.7342 1.8767.6914.4424-1.2008-.9048-.9048zm-.9943-.9944 1.4142-1.4142-.9049-.9048-1.2007.4423zm-5.7342 5.1376.3288 1.9728.6322-.1054.4532-.4532zm-.1989.0331.199 1.9901.0652-.0065.0646-.0108zm-.9944.0995-.199-1.9901-.7103.071-.5049.5049zm-1.0606 1.0606-1.4142-1.4142-1.4142 1.4142 1.4142 1.4143zm3.4471 5.0382 1.4142-1.4142-5.8336-5.8337-1.4142 1.4142-1.4142 1.4143 5.8336 5.8336zm-5.8336-5.8337 1.4142-1.4142c.1894.1894.2626.4219.2626.6188 0 .1968-.0732.4293-.2626.6187l-1.4142-1.4142-1.4142-1.4143c-1.212 1.212-1.212 3.2075 0 4.4195zm0-1.5909 1.4142 1.4142.8287-.8287-1.4143-1.4142-1.4142-1.4142-.8286.8286zm.8286-.8287 1.4143 1.4142c.4191-.4191.925-.7039 1.507-.8494l-.4851-1.9403-.485-1.9403c-1.2742.3185-2.4255.9618-3.3654 1.9016zm2.4362-1.3755.4851 1.9403 4.2427-1.0607-.4851-1.9403-.4851-1.9403-4.2426 1.0607zm4.2427-1.0607 1.4142 1.4142.3149-.3149-1.4142-1.4142-1.4142-1.4142-.3149.3149zm.3149-.3149 1.4142 1.4142c.8314-.8313 1.7076-1.1759 2.623-1.0426l.2883-1.9791.2882-1.9792c-2.4986-.3638-4.5723.7168-6.0279 2.1725zm4.3255-1.6075-.2383 1.9857.4143.0497.2383-1.9857.2383-1.9858-.4143-.0497zm.4143.0497-1.9858.2383.0498.4143 1.9857-.2383 1.9858-.2383-.0498-.4143zm.0497.4143-1.9791.2882c.1333.9155-.2113 1.7917-1.0427 2.6231l1.4142 1.4142 1.4143 1.4142c1.4556-1.4556 2.5363-3.5293 2.1724-6.0279zm-1.6076 4.3255-1.4142-1.4142-.3149.3149 1.4143 1.4142 1.4142 1.4142.3149-.3149zm-.3148.3149-1.9403-.4851-1.0607 4.2427 1.9403.485 1.9403.4851 1.0606-4.2426zm-1.0607 4.2426-1.9403-.485c-.1455.582-.4303 1.0879-.8495 1.507l1.4143 1.4142 1.4142 1.4143c.9398-.9399 1.5831-2.0912 1.9016-3.3654zm-1.3755 2.4362-1.4143-1.4142-.8286.8287 1.4142 1.4142 1.4142 1.4142.8287-.8286zm-.8287.8287-1.4142-1.4142c.3309-.3309.8847-.3527 1.2374 0l-1.4142 1.4142-1.4142 1.4142c1.2476 1.2476 3.2267 1.1927 4.4194 0zm1.7236-5.9662-1.4142-1.4142-1.8562 1.8561 1.4142 1.4142 1.4142 1.4142 1.8562-1.8561zm-1.8562 1.8561-1.9918-.1811-.0662.7293 1.9917.181 1.9918.1811.0663-.7292zm-.0663.7292-1.4142 1.4142.895.895 1.4142-1.4142 1.4142-1.4143-.8949-.8949zm.895.895 1.715 1.0289c.3266-.5443.5187-1.0986.6454-1.5634l-1.9295-.5262-1.9296-.5262c-.0721.2644-.1452.4393-.2163.5579zm.4309-1.0607 1.9418.4788.5966-2.4196-1.9418-.4788-1.9418-.4788-.5967 2.4196zm-1.127 1.9556 1.4142-1.4142-.7955-.7955-1.4142 1.4142-1.4142 1.4142.7955.7955zm-.7955-.7955-1.4142-1.4142-.7955.7955 1.4142 1.4142 1.4142 1.4142.7955-.7955zm-.7955.7955-1.4142 1.4142.7955.7955 1.4142-1.4142 1.4142-1.4142-.7955-.7955zm.7955.7955 1.4142 1.4142.7955-.7955-1.4142-1.4142-1.4142-1.4142-.7955.7955zm-.6629-8.3527-.4788-1.9419-2.4196.5967.4788 1.9418.4788 1.9418 2.4196-.5966zm-2.4196.5966-.5263-1.9295c-.4647.1267-1.019.3188-1.5634.6454l1.029 1.715 1.029 1.715c.1186-.0711.2934-.1442.5579-.2164zm-1.0607.4309-1.4142 1.4142.8949.8949 1.4143-1.4142 1.4142-1.4142-.895-.8949zm.895.8949.181 1.9918.7292-.0663-.181-1.9918-.1811-1.9917-.7292.0662zm.7292-.0663 1.4142 1.4143 1.8561-1.8562-1.4142-1.4142-1.4142-1.4142-1.8562 1.8561zm-3.3146.663-1.4142 1.4142.7955.7955 1.4142-1.4143 1.4142-1.4142-.7955-.7955zm.7955.7954 1.4142 1.4143.7955-.7955-1.4142-1.4142-1.4142-1.4143-.7955.7955zm.7955-.7954 1.4142-1.4143-.7955-.7955-1.4142 1.4143-1.4142 1.4142.7955.7955zm-.7955-.7955-1.4142-1.4143-.7955.7955 1.4142 1.4143 1.4142 1.4142.7955-.7955zm.9281 2.519-1.4142 1.4142 2.519 2.5191 1.4142-1.4142 1.4142-1.4142-2.519-2.5191zm2.519 2.5191 1.4142 1.4142 1.0607-1.0607-1.4142-1.4142-1.4142-1.4142-1.0607 1.0607zm1.0607-1.0607 1.9901.199.0994-.9943-1.9901-.199-1.99-.199-.0995.9943zm.0994-.9943 1.9728.3288.0332-.1989-1.9728-.3288-1.9728-.3288-.0332.1989zm.0332-.1989 1.4142 1.4142 3.9775-3.9775-1.4142-1.4142-1.4143-1.4142-3.9774 3.9775zm3.9775-3.9775 1.4142 1.4142c.7239-.7239 1.2778-1.5437 1.6225-2.4795l-1.8767-.6914-1.8766-.6914c-.1193.3238-.3278.664-.6977 1.0339zm1.16-1.7567 1.4143-1.4142-.9944-.9944-1.4142 1.4142-1.4142 1.4142.9943.9944zm-.9943-.9944-.6914-1.8767c-.9358.3448-1.7557.8987-2.4796 1.6226l1.4143 1.4142 1.4142 1.4142c.3699-.3699.7101-.5783 1.0339-.6976zm-1.7567 1.1601-1.4143-1.4142-3.9774 3.9775 1.4142 1.4142 1.4142 1.4142 3.9775-3.9775zm-3.9775 3.9775-.3288-1.9728-.1989.0332.3288 1.9727.3288 1.9728.1989-.0331zm-.1989.0331-.199-1.99-.9944.0994.199 1.9901.199 1.9901.9944-.0995zm-.9944.0995-1.4142-1.4142-1.0606 1.0606 1.4142 1.4142 1.4142 1.4143 1.0607-1.0607zm-1.0606 1.0606-1.4142 1.4143.1326.1325 1.4142-1.4142 1.4142-1.4142-.1326-.1326zm6.8943-5.3033 1.4142 1.4143c-.6319.6318-1.6662.6318-2.2981 0l1.4142-1.4143 1.4142-1.4142a2.37 2.37 0 0 0-3.3587 0zm.5303 0-1.4142 1.4143.5303.5303 1.4142-1.4142 1.4142-1.4142-.5303-.5304zm.5303.5304-1.4142 1.4142c-.6319-.6319-.6319-1.6662 0-2.2981l1.4142 1.4142 1.4142 1.4142a2.37 2.37 0 0 0 0-3.3587zm0 .5303-1.4142-1.4142c.6319-.6319 1.6662-.6319 2.2981 0l-1.4142 1.4142-1.4142 1.4142a2.37 2.37 0 0 0 3.3587 0zm-.5303 0 1.4142-1.4142-.5303-.5303-1.4142 1.4142-1.4142 1.4142.5303.5303zm-.5303-.5303 1.4142-1.4142c.6319.6319.6319 1.6662 0 2.2981l-1.4142-1.4143-1.4142-1.4142a2.37 2.37 0 0 0 0 3.3588z" />
<path fill="currentColor"
d="m44.9324 60.4784-5.8336-5.8337c-.4309-.4308-.4309-1.16 0-1.5909l.8286-.8287c.6795-.6795 1.5082-1.1435 2.4362-1.3755l4.2427-1.0607.3149-.3149c1.1435-1.1435 2.6185-1.8561 4.3255-1.6075l.4143.0497.0497.4143c.2486 1.707-.464 3.182-1.6076 4.3255l-.3148.3149-1.0607 4.2426c-.232.9281-.6961 1.7568-1.3755 2.4362l-.8287.8287c-.4309.4309-1.1435.4474-1.591 0m3.3146-5.9662-1.8562 1.8561-.0663.7292.895.895c.1988-.3315.3314-.6961.4309-1.0607zm-1.7236 4.3752-.7955-.7955-.7955.7955.7955.7955zm-1.4584-7.5572-2.4196.5966c-.3646.0994-.7292.232-1.0607.4309l.895.8949.7292-.0663zm-5.1707 2.5191.7955.7954.7955-.7954-.7955-.7955zm1.7236 1.7235 2.519 2.5191 1.0607-1.0607.0994-.9943.0332-.1989 3.9775-3.9775c.5469-.5469.928-1.1269 1.16-1.7567l-.9943-.9944c-.6298.232-1.2098.6132-1.7567 1.1601l-3.9775 3.9775-.1989.0331-.9944.0995-1.0606 1.0606zm6.7617-5.4359c.1491-.1491.3811-.1491.5303 0l.5303.5304c.1492.1491.1492.3811 0 .5303s-.3811.1492-.5303 0l-.5303-.5303c-.1492-.1492-.1492-.3812 0-.5304" />
diff --git a/js/app/packages/macro-icons/arcanum/arcanum-006.svg b/js/app/packages/macro-icons/arcanum/arcanum-006.svg
index 7932f461bf..f007353ed5 100644
--- a/js/app/packages/macro-icons/arcanum/arcanum-006.svg
+++ b/js/app/packages/macro-icons/arcanum/arcanum-006.svg
@@ -85,7 +85,7 @@
<path stroke="currentColor" stroke-miterlimit="10" d="M175.05 177.54v3.96" />
<path stroke="currentColor" stroke-miterlimit="10" d="M187.52 177.54v3.96" />
<path stroke="currentColor" stroke-miterlimit="10" d="M199.62 184.79v-7.25h-198v7.25" />
- <path class="stroke" fill="var(--color-panel)"
+ <path class="stroke" fill="var(--color-surface)"
d="m114.277 103.955-1.029 1.715.475.285h.554zm4.641 1.922-1.603 1.196.015.02.015.02zm.258.328 1.572 1.236.971-1.236-.971-1.236zm-.258.328-1.573-1.235-.015.019-.015.021zm-4.641 1.922v-2h-.554l-.475.285zm-2.179 0 1.034 1.712 6.141-3.712h-7.175zm-2.625 0v-2h-.725l-.556.464zm-.563.469-1.28-1.537-.72.6v.937zm0 1.265h-2v2.562l2.485-.621zm1.055-.445.992 1.737.021-.013.021-.012zm-2.18.586v2h2v-2zm0-1.125h2v-2h-2zm-1.125 0v-2h-2v2zm0 1.125h-2v2h2zm5.438-6.375v2h7.175l-6.141-3.712zm-2.133-1.289 1.034-1.712-.021-.012-.021-.012zm-1.055-.445.485-1.941-2.485-.6208v2.5618zm0 1.265h-2v.937l.72.6zm.563.469-1.281 1.537.556.463h.725zm-2.813-1.875v-2h-2v2zm0 1.125h-2v2h2zm1.125 0v2h2v-2zm0-1.125h2v-2h-2zm-1.125 6h-2v2h2zm1.5 0v2h.714l.552-.452zm.773-.633-1.162-1.627-.053.038-.051.041zm.165-.117v-2h-.641l-.522.373zm7.687-.422.838 1.816 1.162-.536v-1.28zm0-1.406h2v-1.28l-1.162-.536zm-7.687-.422-1.163 1.628.522.372h.641zm-.165-.117-1.266 1.548.051.041.053.038zm-.773-.633 1.266-1.548-.552-.452h-.714zm-1.5 0v-2h-2v2zm-1.125 6h2v-8.25h-4v8.25zm0-8.25h2c0 .268-.113.484-.252.623s-.355.252-.623.252v-3.9999c-1.714 0-3.125 1.4109-3.125 3.1249zm1.125-1.125v2h1.172v-3.9999h-1.172zm1.172 0v2c.593 0 1.152.156 1.666.465l1.029-1.715 1.029-1.7149c-1.126-.6757-2.395-1.035-3.724-1.035zm2.695.75-1.029 1.715 3.75 2.25 1.029-1.715 1.029-1.715-3.75-2.2499zm3.75 2.25v2h.446v-4h-.446zm.446 0v2c1.175 0 2.039.376 2.592 1.118l1.603-1.196 1.603-1.196c-1.509-2.024-3.74-2.726-5.798-2.726zm4.195 1.922-1.573 1.236.258.328 1.573-1.236 1.572-1.236-.258-.328zm.258.328-1.573-1.236-.258.329 1.573 1.235 1.572 1.236.258-.328zm-.258.328-1.603-1.195c-.553.741-1.417 1.117-2.592 1.117v4c2.058 0 4.289-.702 5.798-2.726zm-4.195 1.922v-2h-.446v4h.446zm-.446 0-1.029-1.715-3.75 2.25 1.029 1.715 1.029 1.715 3.75-2.25zm-3.75 2.25-1.029-1.715c-.514.309-1.073.465-1.666.465v4c1.329 0 2.598-.359 3.724-1.035zm-2.695.75v-2h-1.172v4h1.172zm-1.172 0v-2c.468 0 .875.376.875.875h-4c0 1.764 1.438 3.125 3.125 3.125zm5.438-3v-2h-2.625v4h2.625zm-2.625 0-1.281-1.536-.562.468 1.28 1.537 1.28 1.536.563-.468zm-.563.469h-2v1.265h4v-1.265zm0 1.265.485 1.941c.616-.154 1.144-.41 1.562-.649l-.992-1.737-.993-1.736c-.238.136-.413.208-.547.241zm1.055-.445 1.034 1.712 2.133-1.289-1.034-1.712-1.035-1.712-2.133 1.289zm-2.18.586h2v-1.125h-4v1.125zm0-1.125v-2h-1.125v4h1.125zm-1.125 0h-2v1.125h4v-1.125zm0 1.125v2h1.125v-4h-1.125zm5.438-6.375 1.034-1.712-2.133-1.289-1.034 1.712-1.035 1.712 2.133 1.289zm-2.133-1.289.992-1.736c-.418-.239-.946-.496-1.562-.65l-.485 1.941-.485 1.94c.134.034.309.105.547.242zm-1.055-.445h-2v1.265h4v-1.265zm0 1.265-1.28 1.537.562.469 1.281-1.537 1.28-1.536-.563-.469zm.563.469v2h2.625v-4h-2.625zm-2.813-1.875h-2v1.125h4v-1.125zm0 1.125v2h1.125v-4h-1.125zm1.125 0h2v-1.125h-4v1.125zm0-1.125v-2h-1.125v4h1.125zm-1.125 2.438h-2v3.562h4v-3.562zm0 3.562v2h1.5v-4h-1.5zm1.5 0 1.266 1.548.774-.633-1.267-1.548-1.266-1.548-.773.633zm.773-.633 1.163 1.628.164-.117-1.162-1.628-1.163-1.627-.164.117zm.165-.117v2h5.625v-4h-5.625zm5.625 0v2c1.023 0 1.995-.188 2.9-.606l-.838-1.816-.838-1.816c-.313.145-.701.238-1.224.238zm2.062-.422h2v-1.406h-4v1.406zm0-1.406.838-1.816c-.905-.418-1.877-.606-2.9-.606v4c.523 0 .911.093 1.224.238zm-2.062-.422v-2h-5.625v4h5.625zm-5.625 0 1.162-1.627-.164-.118-1.163 1.628-1.162 1.627.164.118zm-.165-.117 1.267-1.548-.774-.633-1.266 1.548-1.266 1.548.773.633zm-.773-.633v-2h-1.5v4h1.5zm-1.5 0h-2v.188h4v-.188zm8.625 1.125v2c-.894 0-1.625-.731-1.625-1.625h4c0-1.315-1.059-2.375-2.375-2.375zm.375.375h-2v.75h4v-.75zm0 .75h-2c0-.894.731-1.625 1.625-1.625v4c1.316 0 2.375-1.059 2.375-2.375zm-.375.375v-2c.894 0 1.625.731 1.625 1.625h-4c0 1.316 1.059 2.375 2.375 2.375zm-.375-.375h2v-.75h-4v.75zm0-.75h2c0 .894-.731 1.625-1.625 1.625v-4c-1.316 0-2.375 1.06-2.375 2.375z" />
<path fill="currentColor"
d="M105.535 110.33v-8.25c0-.609.516-1.125 1.125-1.125h1.172c.961 0 1.875.258 2.695.75l3.75 2.25h.446c1.617 0 3.164.539 4.195 1.922l.258.328-.258.328c-1.031 1.383-2.578 1.922-4.195 1.922h-.446l-3.75 2.25c-.82.492-1.734.75-2.695.75h-1.172c-.609 0-1.125-.492-1.125-1.125m6.563-1.875h-2.625l-.563.469v1.265c.375-.093.727-.257 1.055-.445zm-4.313 1.875v-1.125h-1.125v1.125zm4.313-6.375-2.133-1.289c-.328-.187-.68-.352-1.055-.445v1.265l.563.469zm-5.438-1.875v1.125h1.125v-1.125zm0 2.438v3.562h1.5l.773-.633.165-.117h5.625c.773 0 1.453-.141 2.062-.422v-1.406c-.609-.281-1.289-.422-2.062-.422h-5.625l-.165-.117-.773-.633h-1.5zm8.625.937c.211 0 .375.164.375.375v.75c0 .211-.164.375-.375.375s-.375-.164-.375-.375v-.75c0-.211.164-.375.375-.375" />
diff --git a/js/app/packages/macro-icons/arcanum/arcanum-009.svg b/js/app/packages/macro-icons/arcanum/arcanum-009.svg
index 356a3f443a..acce04377d 100644
--- a/js/app/packages/macro-icons/arcanum/arcanum-009.svg
+++ b/js/app/packages/macro-icons/arcanum/arcanum-009.svg
@@ -30,7 +30,7 @@
d="M1.876 181.834q-.042 0-.03-.042l1.494-5.148q.009-.03.039-.03h.345q.042 0 .03.042l-1.494 5.148q-.009.03-.039.03zm3.5977 0q-.042 0-.03-.042l1.494-5.148q.009-.03.039-.03h.345q.042 0 .03.042l-1.494 5.148q-.009.03-.039.03zM12.108 181q-.036 0-.036-.036v-.33q0-.036.036-.036h.903l.006-1.185-.006-1.101h-.903q-.036 0-.036-.036v-.33q0-.036.036-.036h1.407q.036 0 .036.036l-.012.72q.174-.375.513-.573.342-.201.75-.201.099 0 .189.012.093.009.177.027.03.006.03.042v.375q0 .036-.039.033-.09-.018-.18-.027a1.7 1.7 0 0 0-.177-.009q-.519 0-.852.306-.33.303-.399.849v1.098h1.311q.036 0 .036.036v.33q0 .036-.036.036zm5.1006.069q-.369 0-.651-.117t-.471-.33q-.186-.216-.282-.51-.093-.294-.093-.648 0-.363.102-.66t.294-.513q.195-.216.471-.333.279-.117.63-.117.456 0 .78.198t.498.564q.177.366.183.882 0 .036-.036.036h-2.37q.006.306.072.528.066.219.186.363.123.141.297.21.174.066.393.066.363 0 .585-.189t.291-.54q.006-.033.039-.033h.459q.042 0 .036.03-.045.324-.225.576-.177.249-.477.393t-.711.144m-.927-1.914h1.797q-.009-.255-.108-.468-.099-.216-.291-.342-.189-.126-.471-.126-.402 0-.639.249-.234.246-.288.687m3.6937.267q-.036 0-.036-.036v-.339q0-.036.036-.036h1.626q.036 0 .036.036v.339q0 .036-.036.036zm4.4286 1.647q-.369 0-.651-.117t-.471-.33q-.186-.216-.282-.51-.093-.294-.093-.648 0-.363.102-.66t.294-.513q.195-.216.471-.333.279-.117.63-.117.456 0 .78.198t.498.564q.177.366.183.882 0 .036-.036.036h-2.37q.006.306.072.528.066.219.186.363.123.141.297.21.174.066.393.066.363 0 .585-.189t.291-.54q.006-.033.039-.033h.459q.042 0 .036.03-.045.324-.225.576-.177.249-.477.393t-.711.144m-.927-1.914h1.797q-.009-.255-.108-.468-.099-.216-.291-.342-.189-.126-.471-.126-.402 0-.639.249-.234.246-.288.687M26.6846 181q-.036 0-.036-.036l.006-1.368-.006-1.65q0-.036.036-.036h.465q.036 0 .036.036l-.012.504q.099-.159.252-.297.153-.141.36-.228.21-.087.474-.087.324 0 .564.138t.372.411q.135.273.135.681v.612l.009 1.284q0 .036-.036.036h-.486q-.036 0-.036-.036l.009-1.284v-.591q0-.435-.192-.636-.192-.204-.489-.204-.222 0-.408.108-.183.108-.315.318-.132.207-.192.507l.003.498.009 1.284q0 .036-.036.036zm5.5747.06q-.645 0-.972-.321-.324-.321-.324-.963l.003-1.464h-.951q-.036 0-.0361-.036v-.33q0-.036.0361-.036h.948l-.003-.765q0-.036.036-.036h.486q.036 0 .036.036l-.003.765h1.449q.036 0 .036.036v.33q0 .036-.036.036h-1.449l.003 1.458q0 .291.084.486t.267.294q.186.096.486.096.144 0 .288-.021.147-.024.312-.063.039-.009.039.033l.006.327q0 .03-.027.039a2.2 2.2 0 0 1-.351.075q-.18.024-.363.024m1.4346-.06q-.036 0-.036-.036v-.33q0-.036.036-.036h.903l.006-1.185-.006-1.101h-.903q-.036 0-.036-.036v-.33q0-.036.036-.036h1.407q.036 0 .036.036l-.012.72q.174-.375.513-.573.342-.201.75-.201.099 0 .189.012.093.009.177.027.03.006.03.042v.375q0 .036-.039.033-.09-.018-.18-.027a1.7 1.7 0 0 0-.177-.009q-.519 0-.852.306-.33.303-.399.849v1.098h1.311q.036 0 .036.036v.33q0 .036-.036.036zm4.5037 1.02q-.045 0-.027-.042l.408-.957-1.38-3.069q-.018-.042.027-.042h.534q.033 0 .045.03l1.038 2.499.981-2.499q.012-.03.045-.03h.459q.045 0 .03.042l-1.656 4.041q-.009.027-.042.027zM1.876 188.834q-.042 0-.03-.042l1.494-5.148q.009-.03.039-.03h.345q.042 0 .03.042l-1.494 5.148q-.009.03-.039.03zm3.5977 0q-.042 0-.03-.042l1.494-5.148q.009-.03.039-.03h.345q.042 0 .03.042l-1.494 5.148q-.009.03-.039.03zM12.108 188q-.036 0-.036-.036v-.33q0-.036.036-.036h.903l.006-1.185-.006-1.101h-.903q-.036 0-.036-.036v-.33q0-.036.036-.036h1.407q.036 0 .036.036l-.012.72q.174-.375.513-.573.342-.201.75-.201.099 0 .189.012.093.009.177.027.03.006.03.042v.375q0 .036-.039.033-.09-.018-.18-.027a1.7 1.7 0 0 0-.177-.009q-.519 0-.852.306-.33.303-.399.849v1.098h1.311q.036 0 .036.036v.33q0 .036-.036.036zm5.1006.069q-.369 0-.651-.117t-.471-.33q-.186-.216-.282-.51-.093-.294-.093-.648 0-.363.102-.66t.294-.513q.195-.216.471-.333.279-.117.63-.117.456 0 .78.198t.498.564q.177.366.183.882 0 .036-.036.036h-2.37q.006.306.072.528.066.219.186.363.123.141.297.21.174.066.393.066.363 0 .585-.189t.291-.54q.006-.033.039-.033h.459q.042 0 .036.03-.045.324-.225.576-.177.249-.477.393t-.711.144m-.927-1.914h1.797q-.009-.255-.108-.468-.099-.216-.291-.342-.189-.126-.471-.126-.402 0-.639.249-.234.246-.288.687m4.5547 1.914q-.468 0-.807-.192-.339-.195-.522-.555-.18-.36-.18-.858t.183-.861q.183-.366.525-.564.345-.198.822-.198.396 0 .687.138.294.135.465.381.174.246.204.582.006.036-.033.036h-.459q-.03 0-.036-.033-.057-.354-.273-.537t-.567-.183q-.306 0-.519.141-.213.138-.327.414-.111.273-.111.681t.111.681q.114.273.324.411.213.135.513.135.387.003.615-.207.231-.213.264-.603.006-.036.039-.036h.465q.039 0 .033.033-.027.357-.207.627-.18.267-.489.417-.306.15-.72.15m3.2076.006q-.348 0-.594-.105-.243-.105-.372-.303-.129-.201-.129-.483 0-.414.3-.645.303-.234.963-.321.282-.039.465-.075.186-.036.294-.084t.15-.12q.045-.072.045-.183 0-.255-.195-.396-.192-.141-.567-.141-.381 0-.588.162-.207.159-.228.477 0 .036-.036.036h-.465q-.039 0-.036-.036.027-.489.378-.753.351-.267.975-.267.42 0 .711.123.294.123.444.363.15.237.15.585v.9l.009 1.155q0 .036-.036.036h-.462q-.036 0-.036-.036l.012-.438q-.177.267-.477.408t-.675.141m.147-.381q.411 0 .672-.201.261-.204.312-.57v-.591q-.06.054-.174.09-.111.036-.285.069-.174.03-.411.063-.303.045-.48.123-.174.078-.252.198-.075.12-.075.285 0 .261.177.399.18.135.516.135m2.4127.306q-.036 0-.036-.036v-.33q0-.036.036-.036h1.2l.006-1.767-.006-1.629h-1.14q-.036 0-.036-.036v-.33q0-.036.036-.036h1.662q.036 0 .036.036l-.009 1.995.006 1.767h1.143q.036 0 .036.036v.33q0 .036-.036.036zm3.6277 0q-.036 0-.036-.036v-.33q0-.036.036-.036h1.197l.0059-1.185-.0059-1.101h-1.137q-.036 0-.036-.036v-.33q0-.036.036-.036h1.656q.036 0 .036.036l-.009 1.47.006 1.182h1.149q.036 0 .036.036v.33q0 .036-.036.036zm1.233-3.48q-.039 0-.039-.036v-.504q0-.036.039-.036h.483q.039 0 .039.036v.504q0 .036-.039.036zm3.9006 3.537q-.231 0-.423-.069a1.06 1.06 0 0 1-.339-.201q-.15-.132-.252-.318l.012.492q.003.036-.033.036h-.48q-.036 0-.036-.036l.012-2.283-.012-1.842q0-.036.036-.036h.48q.036 0 .036.036l-.003 1.587q.162-.273.423-.423.264-.15.609-.15.408 0 .705.198.297.195.456.555.162.357.162.843 0 .477-.165.84t-.471.567q-.303.204-.717.204m-.12-.384q.285 0 .489-.138.207-.141.315-.414.111-.273.111-.666 0-.384-.105-.657t-.312-.417q-.204-.144-.498-.144-.429 0-.666.309t-.243.888q-.003.387.102.666.105.276.309.426.204.147.498.147m2.0467.327q-.036 0-.036-.036v-.33q0-.036.036-.036h.903l.006-1.185-.006-1.101h-.903q-.036 0-.036-.036v-.33q0-.036.036-.036h1.407q.036 0 .036.036l-.012.72q.174-.375.513-.573.342-.201.75-.201.099 0 .189.012.093.009.177.027.03.006.03.042v.375q0 .036-.039.033-.09-.018-.18-.027a1.7 1.7 0 0 0-.177-.009q-.519 0-.852.306-.33.303-.399.849v1.098h1.311q.036 0 .036.036v.33q0 .036-.036.036zm4.7406.075q-.348 0-.594-.105-.243-.105-.372-.303-.129-.201-.129-.483 0-.414.3-.645.303-.234.963-.321.282-.039.465-.075.186-.036.294-.084t.15-.12q.045-.072.045-.183 0-.255-.195-.396-.192-.141-.567-.141-.381 0-.588.162-.207.159-.228.477 0 .036-.036.036h-.465q-.039 0-.036-.036.027-.489.378-.753.351-.267.975-.267.42 0 .711.123.294.123.444.363.15.237.15.585v.9l.009 1.155q0 .036-.036.036h-.462q-.036 0-.036-.036l.012-.438q-.177.267-.477.408t-.675.141m.147-.381q.411 0 .672-.201.261-.204.312-.57v-.591q-.06.054-.174.09-.111.036-.285.069-.174.03-.411.063-.303.045-.48.123-.174.078-.252.198-.075.12-.075.285 0 .261.177.399.18.135.516.135m4.4707.366q-.645 0-.972-.321-.324-.321-.324-.963l.003-1.464h-.951q-.036 0-.036-.036v-.33q0-.036.036-.036h.948l-.003-.765q0-.036.036-.036h.486q.036 0 .036.036l-.003.765h1.449q.036 0 .036.036v.33q0 .036-.036.036h-1.449l.003 1.458q0 .291.084.486t.267.294q.186.096.486.096.144 0 .288-.021.147-.024.312-.063.039-.009.039.033l.006.327q0 .03-.027.039a2.2 2.2 0 0 1-.351.075q-.18.024-.363.024m1.5696-.06q-.036 0-.036-.036v-.33q0-.036.036-.036h1.197l.006-1.185-.006-1.101h-1.137q-.036 0-.036-.036v-.33q0-.036.036-.036h1.656q.036 0 .036.036l-.009 1.47.006 1.182h1.149q.036 0 .036.036v.33q0 .036-.036.036zm1.233-3.48q-.039 0-.039-.036v-.504q0-.036.039-.036h.483q.039 0 .039.036v.504q0 .036-.039.036zm3.7177 3.549q-.483 0-.822-.198-.336-.201-.513-.561-.177-.363-.177-.849t.177-.849q.177-.366.513-.567.339-.204.822-.204t.819.201q.339.198.513.561t.174.849-.174.852q-.174.363-.513.564-.336.201-.819.201m0-.381q.318 0 .528-.141.21-.144.312-.417.105-.276.105-.669 0-.39-.105-.666-.105-.279-.315-.426t-.528-.147-.531.147q-.21.147-.315.426t-.105.669.105.666q.108.273.318.417.213.141.531.141m2.2956.312q-.036 0-.036-.036l.006-1.368-.006-1.65q0-.036.036-.036h.465q.036 0 .036.036l-.012.504q.099-.159.252-.297.153-.141.36-.228.21-.087.474-.087.324 0 .564.138t.372.411q.135.273.135.681v.612l.009 1.284q0 .036-.036.036h-.486q-.036 0-.036-.036l.009-1.284v-.591q0-.435-.192-.636-.192-.204-.489-.204-.222 0-.408.108-.183.108-.315.318-.132.207-.192.507l.003.498.009 1.284q0 .036-.036.036zM1.876 195.834q-.042 0-.03-.042l1.494-5.148q.009-.03.039-.03h.345q.042 0 .03.042l-1.494 5.148q-.009.03-.039.03zm3.5977 0q-.042 0-.03-.042l1.494-5.148q.009-.03.039-.03h.345q.042 0 .03.042l-1.494 5.148q-.009.03-.039.03zM13.29 195q-.036 0-.036-.036v-.66q0-.036.036-.036h.606q.036 0 .036.036v.66q0 .036-.036.036zm3.5976 0q-.036 0-.036-.036v-.66q0-.036.036-.036h.606q.036 0 .036.036v.66q0 .036-.036.036zm3.5977 0q-.036 0-.036-.036v-.66q0-.036.036-.036h.606q.036 0 .036.036v.66q0 .036-.036.036z" />
<path fill="currentColor"
d="M195 .201q0-.045.042-.03l4.125 1.26q.033.009.033.042v.663q0 .033-.033.042l-4.125 1.254q-.042.015-.042-.03v-.501q0-.033.033-.039l1.248-.366V1.077l-1.248-.366Q195 .705 195 .672zm1.707.987v1.197l2.064-.597zM195 3.9127q0-.036.036-.036h.33q.036 0 .036.036v.903l1.185.006 1.101-.006v-.903q0-.036.036-.036h.33q.036 0 .036.036v1.407q0 .036-.036.036l-.72-.012q.375.174.573.513.201.342.201.75 0 .099-.012.189-.009.093-.027.177-.006.03-.042.03h-.375q-.036 0-.033-.039.018-.09.027-.18.009-.087.009-.177 0-.519-.306-.852-.303-.33-.849-.399h-1.098v1.311q0 .036-.036.036h-.33q-.036 0-.036-.036zm-.069 5.1306q0-.468.192-.807.195-.339.555-.522.36-.18.858-.18t.861.183q.366.183.564.525.198.345.198.822 0 .396-.138.687-.135.294-.381.465-.246.174-.582.204-.036.006-.036-.033v-.459q0-.03.033-.036.354-.057.537-.273t.183-.567q0-.306-.141-.519-.138-.213-.414-.327-.273-.111-.681-.111t-.681.111q-.273.114-.411.324-.135.213-.135.513-.003.387.207.615.213.231.603.264.036.006.036.039v.465q0 .039-.033.033-.357-.027-.627-.207-.267-.18-.417-.489-.15-.306-.15-.72m-.006 3.2077q0-.348.105-.594.105-.243.303-.372.201-.129.483-.129.414 0 .645.3.234.303.321.963.039.282.075.465.036.186.084.294t.12.15q.072.045.183.045.255 0 .396-.195.141-.192.141-.567 0-.381-.162-.588-.159-.207-.477-.228-.036 0-.036-.036v-.465q0-.039.036-.036.489.027.753.378.267.351.267.975 0 .42-.123.711-.123.294-.363.444-.237.15-.585.15h-.9l-1.155.009q-.036 0-.036-.036v-.462q0-.036.036-.036l.438.012q-.267-.177-.408-.477t-.141-.675m.381.147q0 .411.201.672.204.261.57.312h.591q-.054-.06-.09-.174-.036-.111-.069-.285-.03-.174-.063-.411-.045-.303-.123-.48-.078-.174-.198-.252-.12-.075-.285-.075-.261 0-.399.177-.135.18-.135.516M195 14.8916q0-.036.036-.036l1.368.006 1.65-.006q.036 0 .036.036v.465q0 .036-.036.036l-.504-.012q.159.099.297.252.141.153.228.36.087.21.087.474 0 .324-.138.564t-.411.372q-.273.135-.681.135h-.612l-1.284.009q-.036 0-.036-.036v-.486q0-.036.036-.036l1.284.009h.591q.435 0 .636-.192.204-.192.204-.489 0-.222-.108-.408-.108-.183-.318-.315-.207-.132-.507-.192l-.498.003-1.284.009q-.036 0-.036-.036zm-.072 4.6237q0-.321.138-.561.138-.237.411-.369t.681-.132h.612l1.284-.009q.036 0 .036.036v.486q0 .036-.036.036l-1.284-.009h-.591q-.435 0-.639.189-.201.192-.201.483 0 .219.108.402t.315.312q.21.132.51.192l.498-.003 1.284-.009q.036 0 .036.036v.486q0 .036-.036.036l-1.368-.006-1.65.006q-.036 0-.036-.036v-.468q0-.033.036-.033l.504.012q-.159-.099-.3-.252-.141-.15-.228-.357-.084-.207-.084-.468m.072 2.3586q0-.024.024-.024l1.44.006 1.602-.006q.024 0 .024.024v.444q0 .024-.024.024l-.336-.006q.213.09.321.246.111.159.111.384 0 .243-.117.396-.114.156-.345.228.231.099.345.261.117.162.117.387 0 .357-.252.531-.252.177-.738.177h-.396l-1.752.006q-.024 0-.024-.024v-.474q0-.024.024-.024l1.752.006h.408q.303 0 .447-.075.147-.075.147-.243 0-.192-.192-.309t-.522-.153h-.288l-1.752.006q-.024 0-.024-.024v-.474q0-.024.024-.024l1.752.006h.408q.303 0 .447-.075.147-.075.147-.243 0-.189-.183-.3-.18-.111-.531-.156l-.48-.006-1.56.006q-.024 0-.024-.024zm-.078 8.7073q0-.483.252-.831.252-.345.735-.534.486-.186 1.185-.186 1.071 0 1.626.411.558.414.558 1.1401 0 .48-.246.828t-.735.5339q-.486.1891-1.203.1891-.699 0-1.185-.186-.483-.1861-.735-.5341t-.252-.831m.432.003q0 .474.429.7231.432.252 1.311.252.585 0 .975-.114.39-.111.582-.33.195-.216.195-.534 0-.48-.432-.729t-1.32-.2491q-.585 0-.972.114t-.579.33q-.189.219-.189.537m-.432 3.5947q0-.483.252-.831.252-.345.735-.534.486-.186 1.185-.186 1.071 0 1.626.411.558.414.558 1.14 0 .48-.246.828t-.735.534q-.486.189-1.203.189-.699 0-1.185-.186-.483-.186-.735-.534t-.252-.831m.432.003q0 .474.429.723.432.252 1.311.252.585 0 .975-.114.39-.111.582-.33.195-.216.195-.534 0-.48-.432-.729t-1.32-.249q-.585 0-.972.114t-.579.33q-.189.219-.189.537m-.429 3.4657q0-.354.12-.615t.354-.42q.234-.156.567-.198.039-.006.039.036v.48q0 .036-.033.039-.297.033-.462.225-.165.195-.165.492 0 .471.414.732.414.264 1.17.264-.171-.105-.291-.267-.12-.159-.183-.363-.06-.204-.06-.438 0-.417.168-.72.171-.3.48-.465.312-.162.732-.162.456 0 .792.186.339.186.522.516.186.33.186.762 0 .363-.129.645-.129.285-.39.483t-.657.3-.93.102q-.672 0-1.176-.177-.504-.174-.786-.534-.282-.357-.282-.903m1.884.084q0 .285.12.486.12.204.342.309.222.108.528.108.312 0 .549-.111.24-.108.372-.312t.132-.483q0-.276-.126-.477-.126-.198-.363-.306-.237-.105-.561-.105-.309 0-.534.102-.222.105-.342.303-.117.198-.117.486" />
- <path class="stroke" fill="var(--color-panel)" stroke="var(--color-panel)" stroke-width="4"
+ <path class="stroke" fill="var(--color-surface)" stroke="var(--color-surface)" stroke-width="4"
d="m43.9163 51.4956-5.8278-5.8394c-.4305-.4313-.4305-1.1613 0-1.5926l.8278-.8295c.6788-.6801 1.5066-1.1446 2.4338-1.3769l4.2384-1.0617.3145-.3152c1.1424-1.1447 2.6159-1.858 4.3212-1.6092l.4139.0498.0497.4147c.2483 1.7087-.4636 3.1852-1.606 4.3299l-.3145.3152-1.0596 4.2468c-.2318.929-.6954 1.7585-1.3742 2.4387l-.8278.8294c-.4305.4314-1.1424.448-1.5894 0m3.3112-5.9721-1.8543 1.858-.0662.7299.8941.8958c.1986-.3317.3311-.6967.4304-1.0617zm-1.7218 4.3796-.7947-.7963-.7947.7963.7947.7963zm-1.457-7.5648-2.4172.5972c-.3642.0996-.7284.2323-1.0596.4313l.8941.8959.7285-.0664zm-5.1655 2.5216.7947.7963.7947-.7963-.7947-.7963zm1.7219 1.7253 2.5165 2.5216 1.0596-1.0617.0993-.9954.0331-.1991 3.9735-3.9814c.5464-.5475.9272-1.1281 1.159-1.7585l-.9934-.9954c-.6291.2323-1.2086.6138-1.755 1.1613l-3.9735 3.9814-.1986.0332-.9934.0996-1.0596 1.0617zm6.7549-5.4413c.149-.1493.3808-.1493.5298 0l.5298.5308c.149.1493.149.3816 0 .5309s-.3808.1493-.5298 0l-.5298-.5309c-.149-.1493-.149-.3815 0-.5308" />
<path fill="currentColor"
d="m43.9163 51.4956-5.8278-5.8394c-.4305-.4313-.4305-1.1613 0-1.5926l.8278-.8295c.6788-.6801 1.5066-1.1446 2.4338-1.3769l4.2384-1.0617.3145-.3152c1.1424-1.1447 2.6159-1.858 4.3212-1.6092l.4139.0498.0497.4147c.2483 1.7087-.4636 3.1852-1.606 4.3299l-.3145.3152-1.0596 4.2468c-.2318.929-.6954 1.7585-1.3742 2.4387l-.8278.8294c-.4305.4314-1.1424.448-1.5894 0m3.3112-5.9721-1.8543 1.858-.0662.7299.8941.8958c.1986-.3317.3311-.6967.4304-1.0617zm-1.7218 4.3796-.7947-.7963-.7947.7963.7947.7963zm-1.457-7.5648-2.4172.5972c-.3642.0996-.7284.2323-1.0596.4313l.8941.8959.7285-.0664zm-5.1655 2.5216.7947.7963.7947-.7963-.7947-.7963zm1.7219 1.7253 2.5165 2.5216 1.0596-1.0617.0993-.9954.0331-.1991 3.9735-3.9814c.5464-.5475.9272-1.1281 1.159-1.7585l-.9934-.9954c-.6291.2323-1.2086.6138-1.755 1.1613l-3.9735 3.9814-.1986.0332-.9934.0996-1.0596 1.0617zm6.7549-5.4413c.149-.1493.3808-.1493.5298 0l.5298.5308c.149.1493.149.3816 0 .5309s-.3808.1493-.5298 0l-.5298-.5309c-.149-.1493-.149-.3815 0-.5308" />
diff --git a/js/app/packages/macro-icons/arcanum/arcanum-010.svg b/js/app/packages/macro-icons/arcanum/arcanum-010.svg
index 10bbc9e900..a68141d871 100644
--- a/js/app/packages/macro-icons/arcanum/arcanum-010.svg
+++ b/js/app/packages/macro-icons/arcanum/arcanum-010.svg
@@ -75,7 +75,7 @@
<path
d="m171.78 24.6431 5.148-6.4468c.381-.4761 1.106-.5581 1.583-.1788l.917.7294c.752.5981 1.307 1.3685 1.642 2.2637l1.531 4.0924.348.2771c1.266 1.0066 2.14 2.3907 2.084 4.1132l-.003.4168-.406.096c-1.67.4386-3.217-.103-4.483-1.1096l-.348-.2771-4.339-.576c-.95-.126-1.826-.4934-2.578-1.0916l-.917-.7294c-.477-.3793-.574-1.0848-.179-1.5793m6.307 2.6196-2.055-1.6339-.733.0161-.789.989c.352.1602.729.2508 1.103.3085zm-4.546-1.2191.702-.8791-.88-.7003-.702.8791zm7.354-2.2974-.865-2.3348c-.14-.3508-.313-.6978-.548-1.0045l-.79.989.148.7165zm-3.086-4.8496-.702.8791.88.7002.702-.8791zm-1.521 1.9047-2.223 2.7838 1.174.9337 1-.0131.202.0105 4.402 3.5012c.606.4815 1.225.7946 1.878.9542l.877-1.0989c-.301-.5991-.745-1.132-1.351-1.6135l-4.402-3.5012-.056-.1937-.21-.9759-1.174-.9336zm6.165 6.1011c.166.1313.192.3616.06.5264l-.468.5861c-.132.1648-.362.1909-.528.0596-.165-.1313-.191-.3616-.059-.5264l.468-.5861c.132-.1648.362-.1909.527-.0596" />
</mask>
- <path class="stroke" fill="var(--color-panel)"
+ <path class="stroke" fill="var(--color-surface)"
d="m182.601 25.103-1.876.6996.194.5184.434.3448zm2.432 4.3903-2-.0637-.001.0252v.0252zm-.003.4168.46 1.9445 1.531-.3613.011-1.5699zm-.406.096-.46-1.9445-.024.0058-.025.0064zm-4.831-1.3867 1.248-1.5629-.434-.3448-.55-.0729zm-1.706-1.3567-.259 1.9814 7.123.9221-5.616-4.4664zm-2.055-1.6339 1.248-1.5629-.567-.4507-.724.016zm-.733.0161-.043-1.9975-.937.0207-.585.7319zm-.789.989-1.566-1.2449-1.598 2.0017 2.333 1.0613zm1.103.3085-.307 1.9746.024.0037.025.0032zm-2.072-.8988-1.248 1.5628 1.566 1.2449 1.248-1.5629zm.702-.8791 1.566 1.2448 1.248-1.5628-1.566-1.2449zm-.88-.7003 1.248-1.5628-1.565-1.2449-1.248 1.5628zm-.702.8791-1.565-1.2449-1.248 1.5629 1.565 1.2449zm8.234-1.5971-1.248 1.5629 5.616 4.4664-2.491-6.7229zm-.865-2.3348 1.878-.6936-.009-.023-.009-.0227zm-.548-1.0045 1.591-1.2142-1.558-2.0323-1.598 2.0017zm-.79.989-1.565-1.2448-.584.732.189.9165zm.148.7165-1.961.4036.146.7085.567.4507zm-1.031-3.2158 1.248-1.5629-1.565-1.2448-1.248 1.5628zm-.702.8791-1.565-1.2449-1.248 1.5628 1.565 1.2449zm.88.7002-1.248 1.5629 1.566 1.2448 1.248-1.5628zm.702-.8791 1.566 1.2449 1.248-1.5629-1.566-1.2448zm-4.624 3.9883-1.565-1.2449-1.248 1.5629 1.565 1.2449zm1.174.9337-1.248 1.5628.559.4444.714-.0094zm1-.0131.106-1.9953-.066-.0034-.065.0008zm.202.0105 1.248-1.5628-.502-.3989-.641-.0336zm6.28 4.4554-.478 1.9406 1.244.3042.799-1zm.877-1.0989 1.566 1.2449.798-1-.575-1.1422zm-5.753-5.1147-1.926.5482.176.6157.502.399zm-.056-.1937-1.957.4213.014.064.018.0629zm-.21-.9759 1.957-.4212-.15-.6972-.559-.4444zm-1.174-.9336 1.248-1.5629-1.565-1.2448-1.248 1.5628zm-4.625 3.9883 1.566 1.2448 5.148-6.4467-1.566-1.2449-1.565-1.2448-5.148 6.4467zm5.148-6.4468 1.566 1.2449c-.167.2093-.39.3081-.586.3303s-.436-.0245-.645-.1912l1.248-1.5628 1.248-1.5629c-1.342-1.0668-3.326-.8425-4.396.4969zm1.583-.1788-1.248 1.5628.917.7294 1.248-1.5628 1.248-1.5628-.917-.7295zm.917.7294-1.248 1.5628c.464.369.804.8392 1.014 1.4006l1.876-.6997 1.875-.6996c-.46-1.229-1.229-2.2996-2.269-3.1269zm1.642 2.2637-1.876.6997 1.531 4.0923 1.876-.6996 1.875-.6997-1.531-4.0923zm1.531 4.0924-1.248 1.5628.348.2772 1.248-1.5629 1.248-1.5628-.348-.2772zm.348.2771-1.248 1.5629c.92.7318 1.361 1.5629 1.332 2.4866l2 .0637 2.001.0636c.082-2.5212-1.226-4.4582-2.837-5.7396zm2.084 4.1132-2.001-.0133-.003.4168 2.001.0133 2.002.0133.003-.4168zm-.003.4168-.459-1.9444-.407.0959.46 1.9445.46 1.9444.406-.0959zm-.406.096-.509-1.9323c-.895.2353-1.806-.0083-2.726-.7401l-1.248 1.5628-1.248 1.5629c1.611 1.2814 3.795 2.121 6.24 1.4789zm-4.483-1.1096 1.248-1.5628-.348-.2772-1.248 1.5629-1.248 1.5628.348.2772zm-.348-.2771.264-1.9806-4.339-.576-.264 1.9806-.265 1.9806 4.339.576zm-4.339-.576.264-1.9806c-.595-.079-1.13-.3049-1.594-.6738l-1.248 1.5628-1.248 1.5629c1.04.8273 2.258 1.3364 3.561 1.5093zm-2.578-1.0916 1.248-1.5628-.917-.7294-1.248 1.5628-1.248 1.5629.917.7294zm-.917-.7294 1.248-1.5628c.366.2913.45.8386.139 1.2283l-1.566-1.2448-1.565-1.2449c-1.101 1.3788-.824 3.3372.496 4.3871zm6.128 1.0403 1.248-1.5629-2.055-1.6339-1.248 1.5629-1.248 1.5628 2.055 1.6339zm-2.055-1.6339-.043-1.9976-.733.0162.043 1.9975.044 1.9976.733-.0162zm-.733.0161L173.734 24.4l-.79.989 1.566 1.2449 1.565 1.2449.79-.989zm-.789.989-.831 1.8181c.578.2631 1.151.3914 1.627.465l.307-1.9746.307-1.9745c-.271-.0419-.453-.0948-.579-.1521zm1.103.3085-.258 1.9815 2.473.3202.259-1.9814.258-1.9815-2.474-.3202zm-2.072-.8988 1.566 1.2448.702-.8791-1.566-1.2448-1.565-1.2449-.702.8791zm.702-.8791 1.248-1.5629-.88-.7002-1.248 1.5628-1.248 1.5629.88.7002zm-.88-.7003-1.565-1.2449-.702.8791 1.565 1.2449 1.565 1.2449.702-.8791zm-.702.8791-1.248 1.5629.88.7002 1.248-1.5628 1.248-1.5629-.88-.7002zm8.234-1.5971 1.877-.6936-.864-2.3348-1.878.6936-1.878.6936.865 2.3349zm-.865-2.3348 1.86-.7393c-.178-.4471-.432-.9757-.817-1.4794l-1.591 1.2142-1.59 1.2143c.084.1097.176.2751.278.5295zm-.548-1.0045-1.565-1.2448-.79.989 1.565 1.2448 1.566 1.2449.789-.989zm-.79.989-1.96.4037.147.7164 1.961-.4036 1.961-.4037-.148-.7164zm.148.7165-1.248 1.5628 2.055 1.6339 1.248-1.5629 1.248-1.5628-2.055-1.6339zm-1.031-3.2158-1.565-1.2449-.702.8791 1.565 1.2449 1.565 1.2449.702-.8791zm-.702.8791-1.248 1.5628.88.7003 1.248-1.5629 1.248-1.5628-.88-.7003zm.88.7002 1.566 1.2449.702-.8791-1.566-1.2449-1.565-1.2449-.702.8791zm.702-.8791 1.248-1.5628-.88-.7003-1.248 1.5629-1.248 1.5628.88.7003zm-2.401 1.2045-1.565-1.2449-2.223 2.7838 1.565 1.2449 1.565 1.2449 2.223-2.7838zm-2.223 2.7838-1.248 1.5629 1.174.9336 1.248-1.5628 1.248-1.5629-1.174-.9336zm1.174.9337.025 1.9978 1-.013-.025-1.9979-.025-1.9979-1 .0131zm1-.0131-.106 1.9953.202.0105.106-1.9953.105-1.9953-.201-.0105zm.202.0105-1.248 1.5629 4.402 3.5012 1.248-1.5629 1.248-1.5628-4.402-3.5012zm4.402 3.5012-1.248 1.5629c.801.6372 1.679 1.0949 2.648 1.3319l.478-1.9406.477-1.9407c-.336-.082-.697-.2507-1.107-.5763zm1.878.9542 1.565 1.2448.878-1.0988-1.566-1.2449-1.565-1.2449-.878 1.0989zm.877-1.0989 1.789-.8973c-.448-.8902-1.091-1.6418-1.892-2.279l-1.248 1.5628-1.248 1.5629c.41.3256.655.6399.81.9479zm-1.351-1.6135 1.248-1.5628-4.402-3.5012-1.248 1.5628-1.248 1.5629 4.402 3.5012zm-4.402-3.5012 1.925-.5481-.055-.1937-1.926.5481-1.925.5482.055.1937zm-.056-.1937 1.957-.4212-.21-.9759-1.957.4212-1.957.4213.21.9759zm-.21-.9759 1.248-1.5628-1.174-.9337-1.248 1.5629-1.248 1.5628 1.174.9337zm-1.174-.9336-1.565-1.2449-.117.1465 1.565 1.2449 1.565 1.2449.117-.1465zm6.048 6.2476-1.248 1.5628c-.699-.5562-.815-1.5829-.257-2.2812l1.565 1.2448 1.565 1.2449a2.364 2.364 0 0 0-.377-3.3341zm.06.5264-1.565-1.2448-.468.586 1.565 1.2449 1.565 1.2449.468-.5861zm-.468.5861L180.48 26.77c.557-.6983 1.586-.8145 2.285-.2583l-1.248 1.5628-1.248 1.5629c1.03.8188 2.52.6504 3.341-.3776zm-.528.0596 1.248-1.5628c.7.5562.816 1.583.258 2.2813l-1.565-1.2449-1.565-1.2449a2.365 2.365 0 0 0 .376 3.3342zm-.059-.5264 1.565 1.2449.468-.5861-1.565-1.2449-1.565-1.2449-.468.5861zm.468-.5861 1.565 1.2449c-.557.6983-1.586.8146-2.286.2583l1.248-1.5628 1.248-1.5628c-1.029-.8189-2.52-.6504-3.34.3775z"
mask="url(#b)" />
<path fill="currentColor"
diff --git a/js/app/packages/notifications/components/Playground.tsx b/js/app/packages/notifications/components/Playground.tsx
index 8e59158a91..2c218f47a9 100644
--- a/js/app/packages/notifications/components/Playground.tsx
+++ b/js/app/packages/notifications/components/Playground.tsx
@@ -68,7 +68,7 @@ function TypeButton(props: {
return (
<button
class={`w-full p-4 text-left border-b border-edge-muted transition-all ${
- props.isSelected ? 'bg-accent text-ink' : 'bg-menu hover:bg-hover'
+ props.isSelected ? 'bg-accent text-ink' : 'bg-surface hover:bg-hover'
}`}
onClick={props.onSelect}
>
@@ -114,7 +114,7 @@ function NotificationItem(props: {
class={`w-full p-4 text-left border-b border-edge-muted transition-all ${
props.isSelected
? 'bg-accent/10 border-l-2 border-l-accent'
- : 'bg-menu hover:bg-hover'
+ : 'bg-surface hover:bg-hover'
}`}
onClick={props.onSelect}
>
@@ -186,7 +186,7 @@ function BrowserFormat(props: { notification: UnifiedNotification }) {
<div class="text-xs font-mono text-ink-muted uppercase mb-2">
Title
</div>
- <div class="bg-menu p-4 rounded-lg border border-edge-muted text-sm text-ink font-medium">
+ <div class="bg-surface p-4 rounded-lg border border-edge-muted text-sm text-ink font-medium">
{browserNotif()!.title}
</div>
</div>
@@ -194,7 +194,7 @@ function BrowserFormat(props: { notification: UnifiedNotification }) {
<div class="text-xs font-mono text-ink-muted uppercase mb-2">
Description (Body)
</div>
- <div class="bg-menu p-4 rounded-lg border border-edge-muted text-sm text-ink">
+ <div class="bg-surface p-4 rounded-lg border border-edge-muted text-sm text-ink">
{browserNotif()!.body || (
<span class="italic text-ink-muted">(empty)</span>
)}
@@ -204,7 +204,7 @@ function BrowserFormat(props: { notification: UnifiedNotification }) {
<div class="text-xs font-mono text-ink-muted uppercase mb-2">
Icon
</div>
- <div class="bg-menu p-4 rounded-lg border border-edge-muted">
+ <div class="bg-surface p-4 rounded-lg border border-edge-muted">
<code class="text-xs text-ink-muted">
{browserNotif()!.icon}
</code>
@@ -216,7 +216,7 @@ function BrowserFormat(props: { notification: UnifiedNotification }) {
<summary class="text-xs font-mono text-ink-muted uppercase hover:text-accent">
Raw JSON ▸
</summary>
- <pre class="bg-menu p-4 rounded-lg border border-edge-muted text-xs overflow-auto mt-2">
+ <pre class="bg-surface p-4 rounded-lg border border-edge-muted text-xs overflow-auto mt-2">
{JSON.stringify(browserNotif(), null, 2)}
</pre>
</details>
@@ -257,8 +257,8 @@ function CustomBuilder(props: {
onTest: (notification: UnifiedNotification) => void;
}) {
return (
- <div class="w-96 border-r border-edge-muted bg-menu flex flex-col shrink-0">
- <div class="p-6 border-b border-edge-muted bg-menu sticky top-0">
+ <div class="w-96 border-r border-edge-muted bg-surface flex flex-col shrink-0">
+ <div class="p-6 border-b border-edge-muted bg-surface sticky top-0">
<h2 class="text-lg font-semibold text-ink mb-1">
Custom Message Builder
</h2>
@@ -270,7 +270,7 @@ function CustomBuilder(props: {
<label class="block text-sm font-medium text-ink mb-3">
Message Content
</label>
- <div class="border border-edge-muted rounded-lg p-3 bg-menu min-h-64 max-h-96 overflow-auto">
+ <div class="border border-edge-muted rounded-lg p-3 bg-surface min-h-64 max-h-96 overflow-auto">
<MarkdownShell
config={props.markdownEditor}
placeholder="Type your markdown message here... (use @ for mentions)"
@@ -294,7 +294,7 @@ function CustomBuilder(props: {
<div>
<h3 class="text-sm font-medium text-ink mb-3">Live Preview</h3>
- <div class="p-4 bg-menu-hover rounded-lg border border-edge-muted">
+ <div class="p-4 bg-surface-hover rounded-lg border border-edge-muted">
<NotificationRenderer
notification={props.customNotification}
mode="preview"
@@ -313,8 +313,8 @@ function NotificationList(props: {
onSelect: (notification: UnifiedNotification) => void;
}) {
return (
- <div class="w-96 border-r border-edge-muted bg-menu flex flex-col shrink-0">
- <div class="p-6 border-b border-edge-muted bg-menu sticky top-0">
+ <div class="w-96 border-r border-edge-muted bg-surface flex flex-col shrink-0">
+ <div class="p-6 border-b border-edge-muted bg-surface sticky top-0">
<h2 class="text-lg font-semibold text-ink mb-1">
{NOTIFICATION_LABEL_BY_TYPE[
props.type as keyof typeof NOTIFICATION_LABEL_BY_TYPE
@@ -371,7 +371,7 @@ function NotificationDetail(props: {
<section class="mb-10">
<h3 class="text-lg font-semibold text-ink mb-4">Preview Mode</h3>
- <div class="p-4 bg-menu rounded-xl border border-edge-muted">
+ <div class="p-4 bg-surface rounded-xl border border-edge-muted">
<div class="flex items-start gap-3">
<div
class={`size-2 mt-1 shrink-0 ${
@@ -394,7 +394,7 @@ function NotificationDetail(props: {
<h3 class="text-lg font-semibold text-ink mb-4">Full Mode</h3>
<div
class={`p-6 rounded-xl border border-edge-muted ${
- !props.notification.viewed_at ? 'bg-menu-hover' : 'bg-menu'
+ !props.notification.viewed_at ? 'bg-surface-hover' : 'bg-surface'
}`}
>
<div class="flex justify-start items-center gap-3 mb-4 font-mono text-ink-muted text-xs uppercase">
@@ -437,7 +437,7 @@ function NotificationDetail(props: {
<summary class="text-lg font-semibold text-ink mb-4 hover:text-accent">
Raw Notification Data ▸
</summary>
- <pre class="bg-menu p-6 rounded-xl border border-edge-muted text-xs overflow-auto mt-4">
+ <pre class="bg-surface p-6 rounded-xl border border-edge-muted text-xs overflow-auto mt-4">
{JSON.stringify(props.notification, null, 2)}
</pre>
</details>
@@ -566,7 +566,7 @@ function PlaygroundContent() {
<Show
when={!isLoading()}
fallback={
- <div class="h-screen flex items-center justify-center bg-menu">
+ <div class="h-screen flex items-center justify-center bg-surface">
<div class="text-center">
<div class="text-lg text-ink-muted animate-pulse mb-2">
Loading notifications...
@@ -576,10 +576,10 @@ function PlaygroundContent() {
</div>
}
>
- <div class="h-screen flex bg-menu">
+ <div class="h-screen flex bg-surface">
{/* Type selector sidebar */}
- <div class="w-80 border-r border-edge-muted bg-menu flex flex-col shrink-0">
- <div class="p-6 border-b border-edge-muted bg-menu sticky top-0">
+ <div class="w-80 border-r border-edge-muted bg-surface flex flex-col shrink-0">
+ <div class="p-6 border-b border-edge-muted bg-surface sticky top-0">
<h1 class="text-xl font-semibold text-ink mb-2">
Notifications Playground
</h1>
@@ -594,7 +594,9 @@ function PlaygroundContent() {
<div class="border-b border-edge-muted">
<button
class={`w-full p-4 text-left transition-all ${
- customMode() ? 'bg-accent text-ink' : 'bg-menu hover:bg-hover'
+ customMode()
+ ? 'bg-accent text-ink'
+ : 'bg-surface hover:bg-hover'
}`}
onClick={() => {
setCustomMode(true);
@@ -661,7 +663,7 @@ function PlaygroundContent() {
</Show>
{/* Detail view */}
- <div class="flex-1 overflow-auto bg-menu">
+ <div class="flex-1 overflow-auto bg-surface">
<Show
when={selectedNotification()}
fallback={
diff --git a/js/app/packages/theme/components/ThemeTools.tsx b/js/app/packages/theme/components/ThemeTools.tsx
index 752d71672b..ba1cd4866f 100644
--- a/js/app/packages/theme/components/ThemeTools.tsx
+++ b/js/app/packages/theme/components/ThemeTools.tsx
@@ -84,8 +84,8 @@ export function ThemeTools(props: { class?: string }) {
class={cn(
'rounded-xs py-1.5 px-2 border text-xs outline-none',
'bg-transparent text-ink-muted border-edge-muted',
- 'hover:bg-input hover:text-ink',
- 'focus:bg-input focus:text-ink',
+ 'hover:bg-surface hover:text-ink',
+ 'focus:bg-surface focus:text-ink',
'min-w-0 overflow-hidden text-ellipsis',
)}
style={{
diff --git a/js/app/packages/ui/components/Avatar.tsx b/js/app/packages/ui/components/Avatar.tsx
index 42af6fff7f..c29b4f29e1 100644
--- a/js/app/packages/ui/components/Avatar.tsx
+++ b/js/app/packages/ui/components/Avatar.tsx
@@ -41,7 +41,7 @@ export function Avatar(props: AvatarProps) {
data-slot="avatar"
data-size={size()}
class={cn(
- 'group/avatar relative flex shrink-0 select-none items-center justify-center overflow-hidden rounded-full bg-ink-extra-muted text-panel',
+ 'group/avatar relative flex shrink-0 select-none items-center justify-center overflow-hidden rounded-full bg-ink-extra-muted text-surface',
size() === 'fill' && '@container',
AVATAR_SIZE_CLASSES,
AVATAR_SVG_CLASSES,
@@ -138,7 +138,7 @@ const GROUP_RING_CLASSES: Record<AvatarGroupSize, string> = {
/**
* Avatar group container. Displays avatars in an overlapping style.
*
- * Uses --avatar-group-separator CSS variable for ring color (defaults to --color-panel).
+ * Uses --avatar-group-separator CSS variable for ring color (defaults to --color-surface).
* Parent containers can override to match hover backgrounds.
*
* @example
@@ -165,7 +165,7 @@ export function AvatarGroup(props: AvatarGroupProps) {
'isolate flex w-fit shrink-0 items-center',
GROUP_OVERLAP_CLASSES[size()],
GROUP_RING_CLASSES[size()],
- '**:data-[slot=avatar]:ring-(--avatar-group-separator,var(--color-panel))',
+ '**:data-[slot=avatar]:ring-(--avatar-group-separator,var(--color-surface))',
local.class
)}
{...others}
@@ -199,8 +199,8 @@ function AvatarGroupCount(props: AvatarGroupCountProps) {
<div
data-slot="avatar-group-count"
class={cn(
- 'relative z-10 flex shrink-0 select-none items-center justify-center rounded-full bg-menu text-ink leading-none',
- 'ring-(--avatar-group-separator,var(--color-panel))',
+ 'relative z-10 flex shrink-0 select-none items-center justify-center rounded-full bg-surface text-ink leading-none',
+ 'ring-(--avatar-group-separator,var(--color-surface))',
GROUP_COUNT_CLASSES[size()],
props.class
)}
diff --git a/js/app/packages/ui/components/Button.tsx b/js/app/packages/ui/components/Button.tsx
index 19b6705885..745436c501 100644
--- a/js/app/packages/ui/components/Button.tsx
+++ b/js/app/packages/ui/components/Button.tsx
@@ -27,7 +27,7 @@ export type ButtonVariant = 'ghost' | 'base' | 'active' | 'danger';
const variantStyles: Record<ButtonVariant, string> = {
danger: 'bg-transparent text-failure border border-failure/50 not-disabled:hover:bg-failure/10 not-disabled:active:bg-failure/20 disabled:opacity-30 ',
base: 'bg-transparent text-ink-muted border border-edge-muted not-disabled:hover:bg-hover not-disabled:hover:text-ink active:bg-active disabled:opacity-30 ',
- active: 'bg-accent-bg text-accent border border-accent-ink disabled:opacity-30 ',
+ active: 'bg-accent-bg text-accent border border-accent disabled:opacity-30 ',
ghost: 'bg-transparent text-ink-muted not-disabled:hover:bg-hover not-disabled:hover:text-ink active:bg-active disabled:opacity-30 ',
};
diff --git a/js/app/packages/ui/components/ButtonGroup.tsx b/js/app/packages/ui/components/ButtonGroup.tsx
index e379254016..3fb462ccb3 100644
--- a/js/app/packages/ui/components/ButtonGroup.tsx
+++ b/js/app/packages/ui/components/ButtonGroup.tsx
@@ -28,14 +28,14 @@ type ButtonGroupProps = {
const groupVariantStyles: Record<ButtonVariant, string> = {
danger: 'border border-failure/50 ',
base: 'border border-edge-muted ',
- active: 'border border-accent-ink ',
+ active: 'border border-accent ',
ghost: ' ',
};
const dividerVariantStyles: Record<ButtonVariant, string> = {
danger: 'bg-failure/50',
base: 'bg-edge-muted',
- active: 'bg-accent-ink',
+ active: 'bg-accent',
ghost: 'bg-edge-muted',
};
diff --git a/js/app/packages/ui/components/Hotkey.tsx b/js/app/packages/ui/components/Hotkey.tsx
index 100543a57b..c8a899edee 100644
--- a/js/app/packages/ui/components/Hotkey.tsx
+++ b/js/app/packages/ui/components/Hotkey.tsx
@@ -28,41 +28,41 @@ const symbolMap = {
export const hotkeyStyles: Record<Theme, { label: string; hotkey: string }> = {
extraMuted: {
- hotkey: 'bg-dialog border border-ink-extra-muted text-ink-extra-muted',
- label: 'bg-ink-extra-muted border border-ink-extra-muted text-dialog',
+ hotkey: 'bg-surface border border-ink-extra-muted text-ink-extra-muted',
+ label: 'bg-ink-extra-muted border border-ink-extra-muted text-surface',
},
disabled: {
- hotkey: 'bg-dialog border border-ink-disabled text-ink-disabled',
- label: 'bg-ink-disabled border border-ink-disabled text-dialog',
+ hotkey: 'bg-surface border border-ink-disabled text-ink-disabled',
+ label: 'bg-ink-disabled border border-ink-disabled text-surface',
},
muted: {
- hotkey: 'bg-dialog border border-ink-muted text-ink-muted',
- label: 'bg-ink-muted border border-ink-muted text-dialog',
+ hotkey: 'bg-surface border border-ink-muted text-ink-muted',
+ label: 'bg-ink-muted border border-ink-muted text-surface',
},
subtle: {
hotkey: 'bg-transparent border border-edge text-ink-extra-muted',
- label: 'bg-ink-extra-muted border border-edge text-dialog',
+ label: 'bg-ink-extra-muted border border-edge text-surface',
},
accent: {
hotkey: 'bg-accent/10 border border-accent/30 text-accent',
- label: 'bg-accent border border-accent/30 text-dialog',
+ label: 'bg-accent border border-accent/30 text-surface',
},
current: {
- hotkey: 'bg-dialog border border-current text-current',
- label: 'bg-current border border-current text-dialog',
+ hotkey: 'bg-surface border border-current text-current',
+ label: 'bg-current border border-current text-surface',
},
accentFill: {
- hotkey: 'bg-dialog border border-accent text-accent',
- label: 'bg-accent border border-accent text-dialog',
+ hotkey: 'bg-surface border border-accent text-accent',
+ label: 'bg-accent border border-accent text-surface',
},
reverse: {
- hotkey: 'bg-ink border border-dialog text-dialog',
- label: 'bg-dialog border border dialog text-ink',
+ hotkey: 'bg-ink border border-surface text-surface',
+ label: 'bg-surface border border dialog text-ink',
},
base: {
- hotkey: 'bg-dialog border border-ink text-ink',
- label: 'bg-ink border border-ink text-dialog',
+ hotkey: 'bg-surface border border-ink text-ink',
+ label: 'bg-ink border border-ink text-surface',
},
accentOpaque: {
label: '',
diff --git a/js/app/packages/ui/components/Layer.tsx b/js/app/packages/ui/components/Layer.tsx
index fe97aeba0f..0c7abcbc2f 100644
--- a/js/app/packages/ui/components/Layer.tsx
+++ b/js/app/packages/ui/components/Layer.tsx
@@ -25,19 +25,11 @@ export function Layer(props: LayerProps) {
'--c3': `oklch(calc(var(--c3l) + ${depth()}) var(--c3c) var(--c3h))`,
'--c4': `oklch(calc(var(--c4l) + ${depth()}) var(--c4c) var(--c4h))`,
- '--color-accent-ink': 'var(--a0)',
'--color-accent': 'var(--a0)',
- '--color-focus': 'var(--a0)',
'--color-accent-bg': 'oklch(from var(--a0) l c h / 0.15)',
- '--color-panel': 'var(--b0)',
- '--color-page': 'var(--b0)',
- '--color-menu': 'var(--b0)',
- '--color-dialog': 'var(--b0)',
-
- // TODO (seamus): --color-input could be better handled with fractional layer depth
- '--color-input': `oklch(calc(var(--b0l) + ${depth() + 0.02}) var(--b0c) var(--b0h))`,
- '--color-button': 'var(--b0)',
+ // TODO (seamus): --color-surface could be better handled with fractional layer depth
+ '--color-surface': `oklch(calc(var(--b0l) + ${depth() + 0.02}) var(--b0c) var(--b0h))`,
'--color-shadow': 'oklch(calc(var(--b0l) - 0.005 ) var(--b0c) var(--b0h) / 0.2)',
// TODO (seamus): --color-message could be better handled with fractional layer depth
'--color-message': 'color-mix(in oklch, var(--b1) 50%, var(--b2))',
diff --git a/js/app/scripts/check-tailwind.ts b/js/app/scripts/check-tailwind.ts
index 7771210743..0d124bd9ac 100755
--- a/js/app/scripts/check-tailwind.ts
+++ b/js/app/scripts/check-tailwind.ts
@@ -150,7 +150,7 @@ function formatViolations(
}
console.log('💡 Tip: Replace these with semantic classes.');
- console.log(' Example: bg-red-500 → bg-failure, bg-white → bg-dialog, font-berkely → font-mono, etc');
+ console.log(' Example: bg-red-500 → bg-failure, bg-white → bg-surface, font-berkely → font-mono, etc');
}
async function main(): Promise<void> {