+ {tabs.map((t, idx) => {
+ const active = value === t.value
+ return (
+
+ )
+ })}
+
+ )
+ }
+
return (
-
- {tabs.map((t, idx) => {
- const active = value === t.value
- return (
-
- )
- })}
+
+
+ {tabs.map((t, idx) => {
+ const active = value === t.value
+ return (
+
+ )
+ })}
+
)
}
diff --git a/apps/desktop/src/index.css b/apps/desktop/src/index.css
index 6e23c68..02d593a 100644
--- a/apps/desktop/src/index.css
+++ b/apps/desktop/src/index.css
@@ -1,38 +1,38 @@
@import 'tailwindcss';
/* ============================================================================
- BeaconSync Design System: Dark and Light semantic tokens.
- All components reference semantic tokens so dark and light themes stay
- consistent, legible (WCAG AA+), and free of hardcoded hex colors.
+ BeaconSync 2.0 Design System: Floating Inset Workspace (Dark & Light).
+ Semantic tokens guarantee WCAG AA+ contrast across all surfaces and controls.
============================================================================ */
:root,
:root[data-theme='dark'] {
color-scheme: dark;
- --c-bg: #0c0d10;
- --c-sidebar: #111318;
- --c-surface: #151820;
- --c-surface-2: #1c202b;
- --c-input: #0e1015;
- --c-console: #090a0d;
- --c-hover: rgba(255, 255, 255, 0.048);
- --c-active: rgba(245, 179, 66, 0.12);
- --c-overlay: rgba(5, 6, 9, 0.76);
+ --c-shell: #08090c;
+ --c-bg: #0f1117;
+ --c-sidebar: #0b0d12;
+ --c-surface: #151822;
+ --c-surface-2: #1c212e;
+ --c-input: #0c0e14;
+ --c-console: #090a0e;
+ --c-hover: rgba(255, 255, 255, 0.05);
+ --c-active: rgba(245, 179, 66, 0.13);
+ --c-overlay: rgba(4, 5, 8, 0.78);
--c-fg: #f3f5f8;
- --c-fg-secondary: #c5ccd9;
- --c-muted: #98a1b3;
- --c-subtle: #828b9d;
+ --c-fg-secondary: #c7cedb;
+ --c-muted: #99a2b5;
+ --c-subtle: #858fa3;
--c-line: rgba(255, 255, 255, 0.08);
--c-line-strong: rgba(255, 255, 255, 0.15);
- --c-line-hover: rgba(255, 255, 255, 0.24);
+ --c-line-hover: rgba(255, 255, 255, 0.25);
--c-accent: #f5b342;
- --c-accent-hover: #ffc35c;
- --c-accent-text: #f7c261;
- --c-accent-fg: #151004;
+ --c-accent-hover: #ffc55e;
+ --c-accent-text: #f8c66b;
+ --c-accent-fg: #140f04;
--c-accent-soft: rgba(245, 179, 66, 0.13);
--c-accent-border: rgba(245, 179, 66, 0.30);
@@ -56,36 +56,41 @@
--c-scroll: rgba(255, 255, 255, 0.16);
--c-scroll-hover: rgba(255, 255, 255, 0.28);
- --select-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M3 4.5L6 7.5L9 4.5' stroke='%2398a1b3' fill='none' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
+ --hero-glow: radial-gradient(ellipse 68% 120% at 8% 0%, rgba(245, 179, 66, 0.14), rgba(94, 194, 242, 0.05) 55%, transparent 82%);
+ --masthead-glow: radial-gradient(ellipse 55% 130% at 0% 0%, rgba(245, 179, 66, 0.11), transparent 72%);
- --sh-xs: 0 1px 2px rgba(0, 0, 0, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.04);
- --sh-sm: 0 2px 8px -2px rgba(0, 0, 0, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.04);
- --sh-md: 0 12px 32px -6px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(255, 255, 255, 0.06);
- --sh-lg: 0 24px 64px -12px rgba(0, 0, 0, 0.78), 0 0 0 1px rgba(255, 255, 255, 0.08);
- --sh-accent: 0 1px 2px rgba(0, 0, 0, 0.35), 0 4px 14px -3px rgba(245, 179, 66, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.28);
+ --select-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M3 4.5L6 7.5L9 4.5' stroke='%2399a2b5' fill='none' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
+
+ --sh-xs: 0 1px 2px rgba(0, 0, 0, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.04);
+ --sh-sm: 0 4px 14px -3px rgba(0, 0, 0, 0.48), inset 0 1px 0 rgba(255, 255, 255, 0.05);
+ --sh-md: 0 14px 36px -8px rgba(0, 0, 0, 0.68), 0 0 0 1px rgba(255, 255, 255, 0.06);
+ --sh-lg: 0 28px 68px -12px rgba(0, 0, 0, 0.82), 0 0 0 1px rgba(255, 255, 255, 0.08);
+ --sh-canvas: 0 2px 16px -4px rgba(0, 0, 0, 0.52), inset 0 1px 0 rgba(255, 255, 255, 0.045);
+ --sh-accent: 0 1px 2px rgba(0, 0, 0, 0.36), 0 5px 16px -4px rgba(245, 179, 66, 0.36), inset 0 1px 0 rgba(255, 255, 255, 0.30);
}
:root[data-theme='light'] {
color-scheme: light;
- --c-bg: #f8f7f4;
- --c-sidebar: #f0eee8;
+ --c-shell: #ebe8e0;
+ --c-bg: #faf9f6;
+ --c-sidebar: #f2f0ea;
--c-surface: #ffffff;
- --c-surface-2: #eae7df;
+ --c-surface-2: #eeebe3;
--c-input: #ffffff;
- --c-console: #f2f1ec;
+ --c-console: #f3f1ec;
--c-hover: rgba(20, 22, 28, 0.048);
--c-active: rgba(158, 90, 4, 0.11);
--c-overlay: rgba(17, 19, 24, 0.48);
- --c-fg: #15171c;
- --c-fg-secondary: #343a47;
- --c-muted: #505868;
- --c-subtle: #5e6675;
+ --c-fg: #14161b;
+ --c-fg-secondary: #333946;
+ --c-muted: #4e5666;
+ --c-subtle: #5d6575;
- --c-line: rgba(21, 23, 28, 0.09);
- --c-line-strong: rgba(21, 23, 28, 0.16);
- --c-line-hover: rgba(21, 23, 28, 0.28);
+ --c-line: rgba(20, 22, 27, 0.09);
+ --c-line-strong: rgba(20, 22, 27, 0.16);
+ --c-line-hover: rgba(20, 22, 27, 0.28);
--c-accent: #9e5a04;
--c-accent-hover: #834902;
@@ -111,19 +116,24 @@
--c-bad-border: rgba(185, 28, 28, 0.24);
--c-ring: rgba(158, 90, 4, 0.85);
- --c-scroll: rgba(21, 23, 28, 0.18);
- --c-scroll-hover: rgba(21, 23, 28, 0.32);
+ --c-scroll: rgba(20, 22, 27, 0.18);
+ --c-scroll-hover: rgba(20, 22, 27, 0.32);
+
+ --hero-glow: radial-gradient(ellipse 68% 120% at 8% 0%, rgba(186, 114, 8, 0.11), rgba(7, 89, 133, 0.04) 55%, transparent 82%);
+ --masthead-glow: radial-gradient(ellipse 55% 130% at 0% 0%, rgba(186, 114, 8, 0.09), transparent 72%);
- --select-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M3 4.5L6 7.5L9 4.5' stroke='%23505868' fill='none' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
+ --select-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M3 4.5L6 7.5L9 4.5' stroke='%234e5666' fill='none' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
- --sh-xs: 0 1px 2px rgba(21, 23, 28, 0.05);
- --sh-sm: 0 2px 6px -1px rgba(21, 23, 28, 0.08), 0 1px 2px rgba(21, 23, 28, 0.04);
- --sh-md: 0 12px 30px -6px rgba(21, 23, 28, 0.15), 0 2px 6px -2px rgba(21, 23, 28, 0.06);
- --sh-lg: 0 24px 60px -12px rgba(21, 23, 28, 0.24), 0 0 0 1px rgba(21, 23, 28, 0.06);
- --sh-accent: 0 1px 2px rgba(131, 73, 2, 0.24), 0 4px 12px -3px rgba(158, 90, 4, 0.30), inset 0 1px 0 rgba(255, 255, 255, 0.18);
+ --sh-xs: 0 1px 2px rgba(20, 22, 27, 0.05);
+ --sh-sm: 0 4px 12px -2px rgba(20, 22, 27, 0.08), 0 1px 3px rgba(20, 22, 27, 0.04);
+ --sh-md: 0 14px 32px -6px rgba(20, 22, 27, 0.15), 0 2px 6px -2px rgba(20, 22, 27, 0.06);
+ --sh-lg: 0 24px 60px -12px rgba(20, 22, 27, 0.24), 0 0 0 1px rgba(20, 22, 27, 0.06);
+ --sh-canvas: 0 2px 12px -3px rgba(20, 22, 27, 0.08), 0 0 0 1px rgba(20, 22, 27, 0.06);
+ --sh-accent: 0 1px 2px rgba(131, 73, 2, 0.24), 0 5px 14px -4px rgba(158, 90, 4, 0.30), inset 0 1px 0 rgba(255, 255, 255, 0.20);
}
@theme inline {
+ --color-shell: var(--c-shell);
--color-bg: var(--c-bg);
--color-sidebar: var(--c-sidebar);
--color-surface: var(--c-surface);
@@ -172,6 +182,7 @@
--shadow-theme-sm: var(--sh-sm);
--shadow-theme-md: var(--sh-md);
--shadow-theme-lg: var(--sh-lg);
+ --shadow-theme-canvas: var(--sh-canvas);
--shadow-theme-accent: var(--sh-accent);
--font-sans: ui-sans-serif, -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Segoe UI', system-ui, sans-serif;
@@ -186,7 +197,7 @@ body,
body {
margin: 0;
- background: var(--c-bg);
+ background: var(--c-shell);
color: var(--c-fg);
font-family: var(--font-sans);
font-size: 13px;
@@ -266,6 +277,15 @@ option {
color: var(--c-fg);
}
+/* Ambient stage gradients */
+.bg-hero-glow {
+ background-image: var(--hero-glow);
+}
+
+.bg-masthead-glow {
+ background-image: var(--masthead-glow);
+}
+
/* Subtle dialog & popover entrance */
@keyframes dialog-in {
from {
diff --git a/apps/desktop/src/lib/theme.ts b/apps/desktop/src/lib/theme.ts
index 1dfb655..e75b760 100644
--- a/apps/desktop/src/lib/theme.ts
+++ b/apps/desktop/src/lib/theme.ts
@@ -10,10 +10,10 @@ export type ResolvedTheme = 'light' | 'dark'
const STORAGE_KEY = 'beaconsync-theme'
-// Kept in sync with `--c-bg` in `src/index.css` and `backgroundColor` in `src-tauri/tauri.conf.json`.
+// Kept in sync with `--c-shell` in `src/index.css` and `backgroundColor` in `src-tauri/tauri.conf.json`.
const WINDOW_BG: Record
= {
- dark: '#0c0d10',
- light: '#f8f7f4',
+ dark: '#08090c',
+ light: '#ebe8e0',
}
const isBrowser = typeof window !== 'undefined' && typeof document !== 'undefined'
diff --git a/apps/desktop/src/views/Import.tsx b/apps/desktop/src/views/Import.tsx
index 6f01b0d..9caa934 100644
--- a/apps/desktop/src/views/Import.tsx
+++ b/apps/desktop/src/views/Import.tsx
@@ -28,19 +28,17 @@ export function ImportView() {
return (
<>
-
- },
- { value: 'modrinth', label: 'Modrinth modpacks', icon: },
- ...(hasCf
- ? [{ value: 'curseforge' as const, label: 'CurseForge modpacks', icon: }]
- : []),
- ]}
- />
-
+ },
+ { value: 'modrinth', label: 'Modrinth modpacks', icon: },
+ ...(hasCf
+ ? [{ value: 'curseforge' as const, label: 'CurseForge modpacks', icon: }]
+ : []),
+ ]}
+ />
{tab === 'file' &&
}
{tab === 'modrinth' &&
}
diff --git a/apps/desktop/src/views/Library.tsx b/apps/desktop/src/views/Library.tsx
index 8f1c225..f19230b 100644
--- a/apps/desktop/src/views/Library.tsx
+++ b/apps/desktop/src/views/Library.tsx
@@ -1,7 +1,9 @@
import { useQuery } from '@tanstack/react-query'
import { useState } from 'react'
import {
+ ChevronRightIcon,
CubeIcon,
+ DiffIcon,
DownloadIcon,
GridViewIcon,
LinkCodeIcon,
@@ -9,17 +11,16 @@ import {
PlayIcon,
PlusIcon,
SearchIcon,
+ ServerIcon,
} from '../components/Icons'
import { InstanceIcon } from '../components/InstanceIcon'
-import { PageHeader } from '../components/PageHeader'
-import { Button, Empty, ErrorLine, Input, Segmented, Tag } from '../components/ui'
+import { Button, Empty, ErrorLine, Input, Tag } from '../components/ui'
import { call } from '../lib/api'
import { LOADER_LABEL } from '../lib/format'
import { keys, useAction, useApp } from '../lib/store'
-import type { LibraryItem } from '../lib/types'
+import type { LibraryItem, LoaderKind } from '../lib/types'
type Layout = 'grid' | 'list'
-type Scope = 'all' | 'tracked' | 'untracked'
const LAYOUT_KEY = 'beaconsync-library-layout'
@@ -31,6 +32,15 @@ function readLayout(): Layout {
}
}
+/** Soft deterministic cover band tint per mod loader so every pack card has distinct character. */
+const LOADER_BANNER: Record
= {
+ fabric: 'from-accent/18 via-accent/6 to-transparent',
+ neoforge: 'from-bad/15 via-warn/8 to-transparent',
+ forge: 'from-info/16 via-info/5 to-transparent',
+ quilt: 'from-info/14 via-accent/8 to-transparent',
+ vanilla: 'from-ok/16 via-ok/5 to-transparent',
+}
+
const LIST_COLS =
'grid-cols-[minmax(140px,1fr)_72px_124px_48px_132px_auto] @max-[760px]:grid-cols-[minmax(140px,1fr)_64px_120px_auto]'
@@ -38,23 +48,19 @@ export function LibraryView() {
const go = useApp((s) => s.go)
const set = useApp((s) => s.set)
const [filter, setFilter] = useState('')
- const [scope, setScope] = useState('all')
const [layout, setLayout] = useState(readLayout)
// Cheap folder listing; refetch on open so instances made in Prism show up.
const library = useQuery({ queryKey: keys.library, queryFn: () => call('list_instances'), refetchOnMount: 'always' })
const all = library.data ?? []
- const trackedCount = all.filter((i) => i.tracked).length
- const untrackedCount = all.length - trackedCount
- const showScope = untrackedCount > 0 && trackedCount > 0
- const effectiveScope: Scope = showScope ? scope : 'all'
-
const q = filter.trim().toLowerCase()
- const items = all.filter((i) => {
- if (effectiveScope === 'tracked' && !i.tracked) return false
- if (effectiveScope === 'untracked' && i.tracked) return false
- return !q || i.name.toLowerCase().includes(q) || i.minecraft.toLowerCase().includes(q)
- })
+ const filtered = all.filter((i) => !q || i.name.toLowerCase().includes(q) || i.minecraft.toLowerCase().includes(q))
+ const tracked = filtered.filter((i) => i.tracked)
+ const untracked = filtered.filter((i) => !i.tracked)
+
+ // Show the featured Hero Stage when there is at least one tracked pack and no active search filter.
+ const hero = !q && layout === 'grid' ? tracked[0] : undefined
+ const restTracked = hero ? tracked.slice(1) : tracked
const pickLayout = (next: Layout) => {
setLayout(next)
@@ -66,78 +72,64 @@ export function LibraryView() {
}
return (
- <>
- 0 ? `${all.length} instance${all.length === 1 ? '' : 's'} · ${trackedCount} tracked` : undefined
- }
- >
-
-
+
+ {/* Studio Gallery Top Toolbar */}
+
+
+
Library
+ {all.length > 0 && (
+
+ {all.filter((i) => i.tracked).length} tracked
+ {all.some((i) => !i.tracked) ? ` · ${all.filter((i) => !i.tracked).length} in Prism` : ''}
+
+ )}
+
+
+ {all.length > 0 && (
+ <>
+
}
+ placeholder="Filter packs…"
+ value={filter}
+ onChange={(e) => setFilter(e.target.value)}
+ className="w-48"
+ />
+
+
+
+
+ >
+ )}
+
-
-
- {all.length > 0 && (
-
-
}
- placeholder="Filter packs or versions"
- value={filter}
- onChange={(e) => setFilter(e.target.value)}
- className="w-56"
- />
- {showScope && (
-
- )}
-
-
-
-
-
-
- )}
+
{library.error && (
@@ -145,35 +137,36 @@ export function LibraryView() {
)}
+
{library.data && all.length === 0 ? (
}
- title="Your library is empty"
+ icon={
}
+ title="Start your first modpack"
action={
-
+
-
-
+
+
}
>
Create a pack from scratch, import a Modrinth or CurseForge modpack, or join a friend's pack with a share code.
- ) : items.length === 0 && library.data ? (
+ ) : filtered.length === 0 && library.data ? (
} title="No matching packs">
- Try another search term or switch the filter above.
+ No packs match "{filter.trim()}".
- ) : layout === 'grid' ? (
-
- {items.map((i) => (
-
- ))}
-
- ) : (
-
+ ) : layout === 'list' ? (
+
Status
Actions
- {items.map((i) => (
+ {filtered.map((i) => (
|
))}
+ ) : (
+
+ {hero &&
}
+
+ {restTracked.length > 0 && (
+
+ {hero && (
+
+ More tracked packs ({restTracked.length})
+
+ )}
+
+ {restTracked.map((i) => (
+
+ ))}
+
+
+ )}
+
+ {untracked.length > 0 && (
+
+
+
+ Detected in Prism Launcher ({untracked.length})
+
+ Track any instance to version, share, and deploy it
+
+
+ {untracked.map((i) => (
+
+ ))}
+
+
+ )}
+
)}
- >
+
)
}
@@ -211,7 +239,94 @@ function usePackRowActions(item: LibraryItem) {
done: `${item.name} is now tracked`,
})
const play = useAction(() => call('launch', { path: item.path }), { label: 'Starting Minecraft', done: 'Minecraft is starting' })
- return { open, badges, track, play }
+ return { go, open, badges, track, play }
+}
+
+/** Atmospheric featured spotlight banner for the primary tracked pack. */
+function HeroPack({ item }: { item: LibraryItem }) {
+ const { go, open, badges, play } = usePackRowActions(item)
+ const settings = useQuery({ queryKey: keys.settings, queryFn: () => call('get_settings') })
+ const subscriber = item.role === 'subscriber'
+
+ return (
+
+
+
+
+
+
+ Featured Pack
+ {subscriber && (
+
+ Joined
+
+ )}
+ {item.upstream && from {item.upstream}}
+ {badges.data && badges.data.unsaved > 0 && !subscriber && (
+
+ {badges.data.unsaved} unsaved
+
+ )}
+ {badges.data?.update && (
+
+ Update available
+
+ )}
+
+
+
{item.name}
+
+
+
+ Minecraft {item.minecraft}
+
+ ·
+
+ {LOADER_LABEL[item.loader.kind]}
+ {item.loader.version ? ` ${item.loader.version}` : ''}
+
+ ·
+
+ {item.mod_count} mod{item.mod_count === 1 ? '' : 's'}
+
+
+
+
+
+
+
+
+
+
+ {/* Quick-jump studio shortcuts */}
+
+
+ {!subscriber && (
+ <>
+
+ {settings.data?.signed_in && (
+
+ )}
+ >
+ )}
+
+
+ )
}
function PackCard({ item }: { item: LibraryItem }) {
@@ -219,80 +334,86 @@ function PackCard({ item }: { item: LibraryItem }) {
return (
-
-
-
-
-
- {item.tracked ? (
-
- ) : (
-
{item.name}
- )}
-
-
-
{item.minecraft}
-
·
-
- {LOADER_LABEL[item.loader.kind]}
- {item.loader.version ? ` ${item.loader.version}` : ''}
-
+ {/* Subtle deterministic cover ribbon */}
+
+
+
+ {item.minecraft}
+
+
+ {LOADER_LABEL[item.loader.kind]}
+
+
+
+
+
+
+
+
+
+ {item.tracked ? (
+
+ ) : (
+
{item.name}
+ )}
+
+ {item.loader.version ? `${LOADER_LABEL[item.loader.kind]} ${item.loader.version}` : LOADER_LABEL[item.loader.kind]}
-
-
- {!item.tracked &&
Untracked Prism}
- {item.role === 'subscriber' && (
-
- Joined
-
- )}
- {item.upstream &&
from {item.upstream}}
- {badges.data && badges.data.unsaved > 0 && item.role !== 'subscriber' && (
-
- {badges.data.unsaved} unsaved
-
- )}
- {badges.data?.update && (
-
- Update available
-
- )}
+
+ {!item.tracked && Prism instance}
+ {item.role === 'subscriber' && (
+
+ Joined
+
+ )}
+ {item.upstream && from {item.upstream}}
+ {badges.data && badges.data.unsaved > 0 && item.role !== 'subscriber' && (
+
+ {badges.data.unsaved} unsaved
+
+ )}
+ {badges.data?.update && (
+
+ Update available
+
+ )}
+
-
-
-
- {item.mod_count} mod{item.mod_count === 1 ? '' : 's'}
-
-
- {!item.tracked && (
-
diff --git a/apps/desktop/src/views/Pack.tsx b/apps/desktop/src/views/Pack.tsx
index 1b0c7d3..e1dd556 100644
--- a/apps/desktop/src/views/Pack.tsx
+++ b/apps/desktop/src/views/Pack.tsx
@@ -85,9 +85,7 @@ export function PackView({ path, tab }: { path: string; tab: PackTab }) {
<>
{subscriber &&
}
-
- go({ name: 'pack', path, tab: t })} tabs={tabs} />
-
+
go({ name: 'pack', path, tab: t })} tabs={tabs} />
{active === 'mods' &&
}
{active === 'changes' &&
}
@@ -112,7 +110,8 @@ function Header({ p }: { p: PackInfo }) {
})
return (
}
+ glow
+ leading={
}
title={
<>
{p.name}
@@ -133,37 +132,38 @@ function Header({ p }: { p: PackInfo }) {
}
subtitle={
- Minecraft {p.minecraft} · {loaderText(p.loader)}
+ Minecraft {p.minecraft} · {loaderText(p.loader)}
}
>
-
setRenaming(true)} title="Rename pack" aria-label="Rename pack">
-
- Rename
-
-
- askConfirm({
- title: `Delete ${p.name}?`,
- body: 'This removes the instance folder, its worlds and its saved versions from this computer. Published copies on the hub stay.',
- action: 'Delete',
- danger: true,
- onConfirm: () => remove.mutate(undefined),
- })
- }
- >
-
- Delete
-
-
reveal.mutate(undefined)} title="Open folder" aria-label="Open folder">
-
- Folder
-
+
+
reveal.mutate(undefined)} title="Open pack folder" aria-label="Open pack folder">
+
+
+
setRenaming(true)} title="Rename pack" aria-label="Rename pack">
+
+
+
+ askConfirm({
+ title: `Delete ${p.name}?`,
+ body: 'This removes the instance folder, its worlds and its saved versions from this computer. Published copies on the hub stay.',
+ action: 'Delete',
+ danger: true,
+ onConfirm: () => remove.mutate(undefined),
+ })
+ }
+ >
+
+
+
+
+
play.mutate(undefined)} disabled={play.isPending}>
Play
@@ -190,11 +190,11 @@ function Memory({ path }: { path: string }) {
value={memory.data ? String(memory.data) : ''}
onChange={(v) => save.mutate(v ? Number(v) : null)}
options={[
- { value: '', label: 'Memory: default' },
- ...MEMORY_GB.map((gb) => ({ value: String(gb * 1024), label: `Memory: ${gb} GB` })),
+ { value: '', label: 'RAM: default' },
+ ...MEMORY_GB.map((gb) => ({ value: String(gb * 1024), label: `RAM: ${gb} GB` })),
// Keep a value set elsewhere (in Prism) selectable.
...(memory.data && !MEMORY_GB.includes(memory.data / 1024)
- ? [{ value: String(memory.data), label: `Memory: ${memory.data} MB` }]
+ ? [{ value: String(memory.data), label: `RAM: ${memory.data} MB` }]
: []),
]}
/>
diff --git a/apps/desktop/src/views/Settings.tsx b/apps/desktop/src/views/Settings.tsx
index 6cebe6f..db49bed 100644
--- a/apps/desktop/src/views/Settings.tsx
+++ b/apps/desktop/src/views/Settings.tsx
@@ -66,7 +66,7 @@ function AppearanceSection() {
const mode = useTheme((s) => s.mode)
const setMode = useTheme((s) => s.setMode)
- // Preview swatches mirror the light/dark tokens in `src/index.css`.
+ // Preview swatches mirror the inset shell/canvas light & dark tokens in `src/index.css`.
const cards: { mode: ThemeMode; label: string; hint: string; icon: ReactNode; preview: ReactNode }[] = [
{
mode: 'system',
@@ -76,24 +76,24 @@ function AppearanceSection() {
preview: (
-
-
+
+
-
-
-
-
+
@@ -103,21 +103,21 @@ function AppearanceSection() {
{
mode: 'light',
label: 'Light',
- hint: 'Bright surfaces',
+ hint: 'Warm Quartz studio',
icon:
,
preview: (
-
-
+
+
-
+
-
+
@@ -128,23 +128,23 @@ function AppearanceSection() {
{
mode: 'dark',
label: 'Dark',
- hint: 'Low-light surfaces',
+ hint: 'Obsidian studio',
icon:
,
preview: (
-
-
+
+
-
+
diff --git a/apps/desktop/src/views/pack/Changes.tsx b/apps/desktop/src/views/pack/Changes.tsx
index e6b7292..dcbb39b 100644
--- a/apps/desktop/src/views/pack/Changes.tsx
+++ b/apps/desktop/src/views/pack/Changes.tsx
@@ -57,6 +57,9 @@ export function ChangesTab({ path }: { path: string }) {
const d = s.diff
const empty = d.files.length === 0 && !d.minecraft && !d.loader
const totalChanges = d.files.length + (d.minecraft ? 1 : 0) + (d.loader ? 1 : 0)
+ const addedCount = d.files.filter((c) => c.kind === 'added' || c.kind === 'enabled').length
+ const changedCount = d.files.filter((c) => c.kind === 'modified').length + (d.minecraft ? 1 : 0) + (d.loader ? 1 : 0)
+ const removedCount = d.files.filter((c) => c.kind === 'removed' || c.kind === 'disabled').length
return (
@@ -132,11 +135,11 @@ export function ChangesTab({ path }: { path: string }) {
)}
-
-
+
{!published && (
0 && (
-
+
{servers.data.map((s) => (
-
-
-
-
{s.name}
+
+
+
+
+ {s.name}
+
+
{s.address}
-
{s.address}
+
+ {s.online ? s.status : 'offline'}
+ {s.last_seen && !s.online && ` · ${ago(s.last_seen)}`}
+
-
-
+
+
{version}
{pending && → {target}}
-
-
+
+ ·
+
beacon {s.agent_version ?? 'unknown'}
{latest && → {latest}}
-
+
-
-
- {s.online ? s.status : 'offline'}
- {s.last_seen && !s.online && ` · ${ago(s.last_seen)}`}
-
+
+
+ {s.message || 'Ready for deploys'}
+
+
+ Console & backups
+
+
-
-
- {s.message}
-
-
-
- Manage
-
-
)
}
From 9777cd896c5200538fc02f14698fbe7d60ccb01a Mon Sep 17 00:00:00 2001
From: RealDoc06 <73218979+RealDoc06@users.noreply.github.com>
Date: Mon, 23 Nov 2026 03:02:46 +0100
Subject: [PATCH 04/10] style(desktop): remove all gradients for crisp flat
surfaces
---
apps/desktop/src/components/PageHeader.tsx | 8 +-------
apps/desktop/src/index.css | 15 ---------------
apps/desktop/src/views/Library.tsx | 19 +++++--------------
apps/desktop/src/views/Pack.tsx | 1 -
4 files changed, 6 insertions(+), 37 deletions(-)
diff --git a/apps/desktop/src/components/PageHeader.tsx b/apps/desktop/src/components/PageHeader.tsx
index 680dfaa..9e8f025 100644
--- a/apps/desktop/src/components/PageHeader.tsx
+++ b/apps/desktop/src/components/PageHeader.tsx
@@ -6,20 +6,14 @@ export function PageHeader({
title,
subtitle,
children,
- glow,
}: {
leading?: ReactNode
title: ReactNode
subtitle?: ReactNode
children?: ReactNode
- glow?: boolean
}) {
return (
-
+
{leading}
diff --git a/apps/desktop/src/index.css b/apps/desktop/src/index.css
index 02d593a..ccd5c10 100644
--- a/apps/desktop/src/index.css
+++ b/apps/desktop/src/index.css
@@ -56,9 +56,6 @@
--c-scroll: rgba(255, 255, 255, 0.16);
--c-scroll-hover: rgba(255, 255, 255, 0.28);
- --hero-glow: radial-gradient(ellipse 68% 120% at 8% 0%, rgba(245, 179, 66, 0.14), rgba(94, 194, 242, 0.05) 55%, transparent 82%);
- --masthead-glow: radial-gradient(ellipse 55% 130% at 0% 0%, rgba(245, 179, 66, 0.11), transparent 72%);
-
--select-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M3 4.5L6 7.5L9 4.5' stroke='%2399a2b5' fill='none' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
--sh-xs: 0 1px 2px rgba(0, 0, 0, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.04);
@@ -119,9 +116,6 @@
--c-scroll: rgba(20, 22, 27, 0.18);
--c-scroll-hover: rgba(20, 22, 27, 0.32);
- --hero-glow: radial-gradient(ellipse 68% 120% at 8% 0%, rgba(186, 114, 8, 0.11), rgba(7, 89, 133, 0.04) 55%, transparent 82%);
- --masthead-glow: radial-gradient(ellipse 55% 130% at 0% 0%, rgba(186, 114, 8, 0.09), transparent 72%);
-
--select-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M3 4.5L6 7.5L9 4.5' stroke='%234e5666' fill='none' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
--sh-xs: 0 1px 2px rgba(20, 22, 27, 0.05);
@@ -277,15 +271,6 @@ option {
color: var(--c-fg);
}
-/* Ambient stage gradients */
-.bg-hero-glow {
- background-image: var(--hero-glow);
-}
-
-.bg-masthead-glow {
- background-image: var(--masthead-glow);
-}
-
/* Subtle dialog & popover entrance */
@keyframes dialog-in {
from {
diff --git a/apps/desktop/src/views/Library.tsx b/apps/desktop/src/views/Library.tsx
index f19230b..59d1375 100644
--- a/apps/desktop/src/views/Library.tsx
+++ b/apps/desktop/src/views/Library.tsx
@@ -18,7 +18,7 @@ import { Button, Empty, ErrorLine, Input, Tag } from '../components/ui'
import { call } from '../lib/api'
import { LOADER_LABEL } from '../lib/format'
import { keys, useAction, useApp } from '../lib/store'
-import type { LibraryItem, LoaderKind } from '../lib/types'
+import type { LibraryItem } from '../lib/types'
type Layout = 'grid' | 'list'
@@ -32,15 +32,6 @@ function readLayout(): Layout {
}
}
-/** Soft deterministic cover band tint per mod loader so every pack card has distinct character. */
-const LOADER_BANNER: Record = {
- fabric: 'from-accent/18 via-accent/6 to-transparent',
- neoforge: 'from-bad/15 via-warn/8 to-transparent',
- forge: 'from-info/16 via-info/5 to-transparent',
- quilt: 'from-info/14 via-accent/8 to-transparent',
- vanilla: 'from-ok/16 via-ok/5 to-transparent',
-}
-
const LIST_COLS =
'grid-cols-[minmax(140px,1fr)_72px_124px_48px_132px_auto] @max-[760px]:grid-cols-[minmax(140px,1fr)_64px_120px_auto]'
@@ -242,14 +233,14 @@ function usePackRowActions(item: LibraryItem) {
return { go, open, badges, track, play }
}
-/** Atmospheric featured spotlight banner for the primary tracked pack. */
+/** Featured spotlight banner for the primary tracked pack. */
function HeroPack({ item }: { item: LibraryItem }) {
const { go, open, badges, play } = usePackRowActions(item)
const settings = useQuery({ queryKey: keys.settings, queryFn: () => call('get_settings') })
const subscriber = item.role === 'subscriber'
return (
-