This commit is contained in:
flowerstonezl
2026-05-19 21:05:31 +08:00
parent 4ae691bfb4
commit a65cb05d5d
15 changed files with 2443 additions and 202 deletions

View File

@@ -42,6 +42,8 @@ export function getStoryTransitionName(m: Memory | null): StoryTransitionName {
const t = m.unique_feature_type as MemoryFeatureType
if (t === 'heart_window') return 'story-heart'
if (t === 'fissure_page') return 'story-fissure'
if (t === 'first_meet' || t === 'first_meet_ju' || t === 'first_meet_rui') return 'story-night'
if (t === 'first_meet_train') return 'story-dawn'
return transitionForStandardStyle(m.nepal_art_style)
}
@@ -57,6 +59,12 @@ export function getStoryShellClasses(m: Memory | null): string {
if (t === 'fissure_page') {
return 'border-fuchsia-300/30 shadow-[0_22px_65px_-24px_rgba(120,60,160,0.28)] ring-fuchsia-200/20'
}
if (t === 'first_meet' || t === 'first_meet_ju' || t === 'first_meet_rui') {
return 'border-slate-400/35 shadow-[0_24px_70px_-22px_rgba(30,58,138,0.28)] ring-cyan-900/15'
}
if (t === 'first_meet_train') {
return 'border-amber-200/50 shadow-[0_24px_72px_-22px_rgba(234,88,12,0.24)] ring-amber-100/35'
}
const shells: Partial<Record<NepalArtStyle, string>> = {
dawn_meet:
'border-amber-200/45 shadow-[0_22px_68px_-22px_rgba(217,119,6,0.22)] ring-amber-100/30',
@@ -87,6 +95,10 @@ export function getStoryNavAccentClass(m: Memory | null): string {
const t = m.unique_feature_type
if (t === 'heart_window') return 'hover:border-rose-300/50 hover:bg-rose-50/80'
if (t === 'fissure_page') return 'hover:border-fuchsia-300/45 hover:bg-fuchsia-50/70'
if (t === 'first_meet' || t === 'first_meet_ju' || t === 'first_meet_rui') {
return 'hover:border-slate-400/45 hover:bg-slate-100/85'
}
if (t === 'first_meet_train') return 'hover:border-amber-300/50 hover:bg-amber-50/80'
const accents: Partial<Record<NepalArtStyle, string>> = {
dawn_meet: 'hover:border-amber-300/50 hover:bg-amber-50/80',
blush_argue: 'hover:border-rose-300/45 hover:bg-rose-50/75',