chore(theme): remove LBM-specific preset (private to maintainer instance)

This commit is contained in:
Luca
2026-05-06 02:22:25 +02:00
parent bdbe7b80a1
commit a76ecf8496
2 changed files with 5 additions and 36 deletions
-31
View File
@@ -445,36 +445,5 @@ export const GALLERY_THEME_PRESETS: Record<string, EventTheme> = {
shadowStyle: 'subtle'
},
isPreset: true
},
lbmDark: {
name: 'LBM Dark',
description: 'Charcoal base with pure teal — Luca Bresch Media CI palette',
config: {
// Mapped from LBM_Brand_Identity.docx core system
primaryColor: '#014E4E', // legacy alias of accentDarkColor
accentColor: '#017C7C', // links, focus rings, hover
accentDarkColor: '#014E4E', // primary CTA fill
backgroundColor: '#0D0D0D', // page base
surfaceColor: '#111414', // cards, nav
elevatedColor: '#182222', // raised panels
surfaceBorderColor: '#1E2E2E',// dividers, borders
textColor: '#EBEBEB', // Text 1°
mutedTextColor: '#4A6060', // Text 2°
colorMode: 'dark',
fontFamily: 'Jost, sans-serif',
headingFontFamily: 'Jost, sans-serif',
borderRadius: 'md',
galleryLayout: 'grid',
gallerySettings: {
spacing: 'normal',
photoAnimation: 'fade',
gridColumns: { mobile: 2, tablet: 3, desktop: 4 }
},
headerStyle: 'standard',
footerStyle: 'minimal',
shadowStyle: 'subtle'
},
isPreset: true
}
};
@@ -104,7 +104,7 @@ describe('applyForceColorMode', () => {
colorMode: 'light',
};
const lbmDark: ThemeConfig = {
const customDark: ThemeConfig = {
primaryColor: '#014E4E',
accentColor: '#017C7C',
accentDarkColor: '#014E4E',
@@ -123,9 +123,9 @@ describe('applyForceColorMode', () => {
});
it('only pins colorMode when the theme already matches the forced mode', () => {
const result = applyForceColorMode(lbmDark, 'dark');
const result = applyForceColorMode(customDark, 'dark');
expect(result.colorMode).toBe('dark');
// LBM surfaces preserved.
// Custom surfaces preserved.
expect(result.backgroundColor).toBe('#0D0D0D');
expect(result.surfaceColor).toBe('#111414');
expect(result.accentColor).toBe('#017C7C');
@@ -147,12 +147,12 @@ describe('applyForceColorMode', () => {
});
it('swaps surface tokens when forcing a dark theme to light', () => {
const result = applyForceColorMode(lbmDark, 'light');
const result = applyForceColorMode(customDark, 'light');
expect(result.colorMode).toBe('light');
expect(result.backgroundColor).toBe('#fafafa');
expect(result.surfaceColor).toBe('#ffffff');
expect(result.textColor).toBe('#171717');
// LBM accent colours survive the flip.
// Custom accent colours survive the flip.
expect(result.accentColor).toBe('#017C7C');
expect(result.accentDarkColor).toBe('#014E4E');
});