diff --git a/packages/shared-branding/README.md b/packages/shared-branding/README.md
new file mode 100644
index 000000000..537107e55
--- /dev/null
+++ b/packages/shared-branding/README.md
@@ -0,0 +1,129 @@
+# @manacore/shared-branding
+
+Shared branding components and configuration for the Mana ecosystem.
+
+## Features
+
+- **AppLogo**: SVG logo component for any Mana app
+- **AppLogoWithName**: Logo with app name combination
+- **ManaIcon**: Universal Mana drop icon for credits display
+- **Branding Config**: Centralized colors, names, and taglines
+
+## Installation
+
+```bash
+pnpm add @manacore/shared-branding
+```
+
+## Usage
+
+### AppLogo
+
+Display an app's logo:
+
+```svelte
+
+
+
+
+
+
+```
+
+### AppLogoWithName
+
+Display logo with app name (perfect for headers):
+
+```svelte
+
+
+
+
+```
+
+### ManaIcon
+
+Universal Mana drop icon:
+
+```svelte
+
+
+
+```
+
+### Branding Configuration
+
+Access branding config programmatically:
+
+```typescript
+import { getAppBranding, APP_BRANDING } from '@manacore/shared-branding';
+
+const memoro = getAppBranding('memoro');
+console.log(memoro.name); // "Memoro"
+console.log(memoro.tagline); // "AI Voice Memos"
+console.log(memoro.primaryColor); // "#f8d62b"
+```
+
+## App Branding
+
+| App | Name | Primary Color | Tagline |
+|-----|------|---------------|---------|
+| `memoro` | Memoro | #f8d62b (Gold) | AI Voice Memos |
+| `manacore` | ManaCore | #6366f1 (Indigo) | Central Hub |
+| `manadeck` | ManaDeck | #8b5cf6 (Purple) | AI Flashcards |
+| `maerchenzauber` | Märchenzauber | #ec4899 (Pink) | AI Story Creator |
+
+## Props
+
+### AppLogo
+
+| Prop | Type | Default | Description |
+|------|------|---------|-------------|
+| `app` | `AppId` | required | App identifier |
+| `size` | `number` | `32` | Size in pixels |
+| `color` | `string` | App primary color | Override color |
+| `class` | `string` | `''` | Additional CSS classes |
+
+### AppLogoWithName
+
+| Prop | Type | Default | Description |
+|------|------|---------|-------------|
+| `app` | `AppId` | required | App identifier |
+| `size` | `number` | `28` | Logo size in pixels |
+| `color` | `string` | App primary color | Override color |
+| `showName` | `boolean` | `true` | Show app name |
+| `nameFontSize` | `string` | `'1.25rem'` | Name font size |
+| `gap` | `string` | `'0.5rem'` | Gap between logo and name |
+| `class` | `string` | `''` | Additional CSS classes |
+
+### ManaIcon
+
+| Prop | Type | Default | Description |
+|------|------|---------|-------------|
+| `size` | `number` | `24` | Size in pixels |
+| `color` | `string` | `'#4287f5'` | Icon color |
+| `class` | `string` | `''` | Additional CSS classes |
+
+## Types
+
+```typescript
+type AppId = 'memoro' | 'manacore' | 'manadeck' | 'maerchenzauber';
+
+interface AppBranding {
+ id: AppId;
+ name: string;
+ tagline: string;
+ primaryColor: string;
+ secondaryColor?: string;
+ logoPath: string;
+ logoViewBox?: string;
+ logoStroke?: boolean;
+ logoStrokeWidth?: number;
+}
+```
diff --git a/packages/shared-branding/package.json b/packages/shared-branding/package.json
new file mode 100644
index 000000000..300dfd416
--- /dev/null
+++ b/packages/shared-branding/package.json
@@ -0,0 +1,23 @@
+{
+ "name": "@manacore/shared-branding",
+ "version": "1.0.0",
+ "private": true,
+ "type": "module",
+ "svelte": "./src/index.ts",
+ "main": "./src/index.ts",
+ "types": "./src/index.ts",
+ "exports": {
+ ".": "./src/index.ts"
+ },
+ "scripts": {
+ "check": "svelte-check --tsconfig ./tsconfig.json"
+ },
+ "devDependencies": {
+ "svelte": "^5.0.0",
+ "svelte-check": "^4.0.0",
+ "typescript": "^5.7.3"
+ },
+ "peerDependencies": {
+ "svelte": "^5.0.0"
+ }
+}
diff --git a/packages/shared-branding/src/AppLogo.svelte b/packages/shared-branding/src/AppLogo.svelte
new file mode 100644
index 000000000..56c54d2fc
--- /dev/null
+++ b/packages/shared-branding/src/AppLogo.svelte
@@ -0,0 +1,50 @@
+
+
+
diff --git a/packages/shared-branding/src/AppLogoWithName.svelte b/packages/shared-branding/src/AppLogoWithName.svelte
new file mode 100644
index 000000000..cd01f72be
--- /dev/null
+++ b/packages/shared-branding/src/AppLogoWithName.svelte
@@ -0,0 +1,59 @@
+
+
+
+
+ {#if showName}
+
+ {branding.name}
+
+ {/if}
+
+
+
diff --git a/packages/shared-branding/src/ManaIcon.svelte b/packages/shared-branding/src/ManaIcon.svelte
new file mode 100644
index 000000000..15bf44289
--- /dev/null
+++ b/packages/shared-branding/src/ManaIcon.svelte
@@ -0,0 +1,32 @@
+
+
+
diff --git a/packages/shared-branding/src/config.ts b/packages/shared-branding/src/config.ts
new file mode 100644
index 000000000..fa1592769
--- /dev/null
+++ b/packages/shared-branding/src/config.ts
@@ -0,0 +1,68 @@
+import type { AppBranding, AppId } from './types';
+
+/**
+ * Branding configuration for all Mana ecosystem apps
+ */
+export const APP_BRANDING: Record = {
+ memoro: {
+ id: 'memoro',
+ name: 'Memoro',
+ tagline: 'AI Voice Memos',
+ primaryColor: '#f8d62b',
+ secondaryColor: '#f7d44c',
+ // Memoro smile/face logo
+ logoPath: 'M280 140C280 217.32 217.32 280 140 280C62.6801 280 0 217.32 0 140C0 62.6801 62.6801 0 140 0C217.32 0 280 62.6801 280 140ZM247.988 140C247.988 199.64 199.64 241.988 140 241.988C80.3598 241.988 32.0118 199.64 32.0118 140C32.0118 111.918 36.7308 95.3397 54.3005 76.1331C58.5193 71.5212 70.5 63 79.3937 74.511L119.781 131.788C134.5 149 149 147 160.218 131.788L200.605 74.5101C208 64 221.48 71.5203 225.699 76.1321C243.269 95.3388 247.988 111.918 247.988 140Z',
+ logoViewBox: '0 0 280 280',
+ logoStroke: false,
+ },
+ manacore: {
+ id: 'manacore',
+ name: 'ManaCore',
+ tagline: 'Central Hub',
+ primaryColor: '#6366f1',
+ secondaryColor: '#818cf8',
+ // Hexagon/Core icon
+ logoPath: 'M12 2L2 7l10 5 10-5-10-5zM2 17l10 5 10-5M2 12l10 5 10-5',
+ logoViewBox: '0 0 24 24',
+ logoStroke: true,
+ logoStrokeWidth: 2,
+ },
+ manadeck: {
+ id: 'manadeck',
+ name: 'ManaDeck',
+ tagline: 'AI Flashcards',
+ primaryColor: '#8b5cf6',
+ secondaryColor: '#a78bfa',
+ // Cards/Deck icon
+ logoPath: 'M2 4h20v16H2zM6 2v2M18 2v2M6 20v2M18 20v2M2 10h20',
+ logoViewBox: '0 0 24 24',
+ logoStroke: true,
+ logoStrokeWidth: 1.5,
+ },
+ maerchenzauber: {
+ id: 'maerchenzauber',
+ name: 'Märchenzauber',
+ tagline: 'AI Story Creator',
+ primaryColor: '#ec4899',
+ secondaryColor: '#f472b6',
+ // Book/Story icon
+ logoPath: 'M12 6.042A8.967 8.967 0 006 3.75c-1.052 0-2.062.18-3 .512v14.25A8.987 8.987 0 016 18c2.305 0 4.408.867 6 2.292m0-14.25a8.966 8.966 0 016-2.292c1.052 0 2.062.18 3 .512v14.25A8.987 8.987 0 0018 18a8.967 8.967 0 00-6 2.292m0-14.25v14.25',
+ logoViewBox: '0 0 24 24',
+ logoStroke: true,
+ logoStrokeWidth: 1.5,
+ },
+};
+
+/**
+ * Get branding config for an app
+ */
+export function getAppBranding(appId: AppId): AppBranding {
+ return APP_BRANDING[appId];
+}
+
+/**
+ * Get all app brandings
+ */
+export function getAllAppBrandings(): AppBranding[] {
+ return Object.values(APP_BRANDING);
+}
diff --git a/packages/shared-branding/src/index.ts b/packages/shared-branding/src/index.ts
new file mode 100644
index 000000000..afb28883b
--- /dev/null
+++ b/packages/shared-branding/src/index.ts
@@ -0,0 +1,24 @@
+/**
+ * Shared branding components and configuration for the Mana ecosystem
+ *
+ * This package provides:
+ * - App logos (AppLogo, AppLogoWithName)
+ * - Mana icon (ManaIcon)
+ * - Branding configuration (colors, names, taglines)
+ */
+
+// Components
+export { default as AppLogo } from './AppLogo.svelte';
+export { default as AppLogoWithName } from './AppLogoWithName.svelte';
+export { default as ManaIcon } from './ManaIcon.svelte';
+
+// Configuration
+export { APP_BRANDING, getAppBranding, getAllAppBrandings } from './config';
+
+// Types
+export type {
+ AppId,
+ AppBranding,
+ LogoProps,
+ AppLogoWithNameProps,
+} from './types';
diff --git a/packages/shared-branding/src/types.ts b/packages/shared-branding/src/types.ts
new file mode 100644
index 000000000..0d73a6774
--- /dev/null
+++ b/packages/shared-branding/src/types.ts
@@ -0,0 +1,52 @@
+/**
+ * App identifiers for branding
+ */
+export type AppId = 'memoro' | 'manacore' | 'manadeck' | 'maerchenzauber';
+
+/**
+ * App branding configuration
+ */
+export interface AppBranding {
+ /** Unique app identifier */
+ id: AppId;
+ /** Display name */
+ name: string;
+ /** Short description/tagline */
+ tagline: string;
+ /** Primary brand color (hex) */
+ primaryColor: string;
+ /** Secondary brand color (hex) */
+ secondaryColor?: string;
+ /** SVG path data for the logo icon */
+ logoPath: string;
+ /** Logo viewBox (default: "0 0 24 24") */
+ logoViewBox?: string;
+ /** Whether the logo uses stroke instead of fill */
+ logoStroke?: boolean;
+ /** Logo stroke width (if logoStroke is true) */
+ logoStrokeWidth?: number;
+}
+
+/**
+ * Logo component props
+ */
+export interface LogoProps {
+ /** Size in pixels */
+ size?: number;
+ /** Override color (uses app primary color if not provided) */
+ color?: string;
+ /** Additional CSS classes */
+ class?: string;
+}
+
+/**
+ * App logo with name props
+ */
+export interface AppLogoWithNameProps extends LogoProps {
+ /** Show app name next to logo */
+ showName?: boolean;
+ /** Font size for name (CSS value) */
+ nameFontSize?: string;
+ /** Gap between logo and name */
+ gap?: string;
+}
diff --git a/packages/shared-branding/tsconfig.json b/packages/shared-branding/tsconfig.json
new file mode 100644
index 000000000..58c33b809
--- /dev/null
+++ b/packages/shared-branding/tsconfig.json
@@ -0,0 +1,18 @@
+{
+ "compilerOptions": {
+ "target": "ES2022",
+ "module": "ESNext",
+ "moduleResolution": "bundler",
+ "lib": ["ES2022", "DOM", "DOM.Iterable"],
+ "strict": true,
+ "esModuleInterop": true,
+ "skipLibCheck": true,
+ "forceConsistentCasingInFileNames": true,
+ "resolveJsonModule": true,
+ "isolatedModules": true,
+ "noEmit": true,
+ "verbatimModuleSyntax": true
+ },
+ "include": ["src/**/*"],
+ "exclude": ["node_modules"]
+}
diff --git a/packages/shared-utils/src/date.ts b/packages/shared-utils/src/date.ts
index 8f47c29fe..3c73cea4f 100644
--- a/packages/shared-utils/src/date.ts
+++ b/packages/shared-utils/src/date.ts
@@ -2,7 +2,7 @@
* Date utility functions
*/
-import { format, formatDistanceToNow, parseISO } from 'date-fns';
+import { format, formatDistanceToNow, parseISO, isToday, isYesterday } from 'date-fns';
import { de, enUS } from 'date-fns/locale';
const locales = {
@@ -41,3 +41,40 @@ export function formatRelativeTime(date: string | Date, locale: LocaleKey = 'de'
export function toISOString(date: Date): string {
return date.toISOString();
}
+
+/**
+ * Format timestamp with relative day labels (Today, Yesterday, or full date)
+ *
+ * Examples:
+ * - Today → "Today, 14:30" / "Heute, 14:30"
+ * - Yesterday → "Yesterday, 14:30" / "Gestern, 14:30"
+ * - Other → "15. März 2024, 14:30" / "March 15, 2024, 2:30 PM"
+ */
+export function formatTimestamp(
+ date: string | Date,
+ locale: LocaleKey = 'de'
+): string {
+ const dateObj = typeof date === 'string' ? parseISO(date) : date;
+ const timeFormat = locale === 'de' ? 'HH:mm' : 'h:mm a';
+
+ const labels = {
+ de: { today: 'Heute', yesterday: 'Gestern' },
+ en: { today: 'Today', yesterday: 'Yesterday' },
+ };
+
+ if (isToday(dateObj)) {
+ return `${labels[locale].today}, ${format(dateObj, timeFormat)}`;
+ }
+
+ if (isYesterday(dateObj)) {
+ return `${labels[locale].yesterday}, ${format(dateObj, timeFormat)}`;
+ }
+
+ const dateFormat = locale === 'de' ? 'd. MMMM yyyy' : 'MMMM d, yyyy';
+ return `${format(dateObj, dateFormat, { locale: locales[locale] })}, ${format(dateObj, timeFormat)}`;
+}
+
+/**
+ * Check if a date is today
+ */
+export { isToday, isYesterday } from 'date-fns';