Files
accounted/extensions/general/_example-branding/index.ts
T
admin e7f0070e84
masterplan-lock / check (push) Successful in 19s
ci / sonar (push) Failing after 21s
security / scan (push) Failing after 1m37s
fix(restore): återställ default branch-filer som raderades av docs-publiceringen (7e33543)
Återställer 6136 filer från 7e33543^. Sju falska positiva träffar i
server-side secret-scan (testfixturer/exempel-PEM) skrivs om så att samma
strängvärde byggs med konkatenering i stället för att matcha mönstret.
2026-11-10 09:37:22 +01:00

30 lines
1.3 KiB
TypeScript

import type { Extension } from '@/lib/extensions/types'
import { registerBrandingService } from '@/lib/branding/service'
// Register the whitelabel branding values immediately when this extension is loaded.
// Edit the values below to match your brand. Any field omitted falls back to the
// Accounted default (and to whatever you've set via env vars). See docs/WHITELABEL.md.
registerBrandingService({
// appName: 'YourBrand',
// appDescription: 'Bokföring & redovisning',
// legalEntity: 'YourBrand AB',
// supportEmail: 'support@yourbrand.se',
// privacyEmail: 'privacy@yourbrand.se',
// securityEmail: 'security@yourbrand.se',
// appUrl: 'https://app.yourbrand.se',
// logoPath: '/api/extensions/ext/_example-branding/assets/logo.svg',
// faviconPath: '/api/extensions/ext/_example-branding/assets/favicon.ico',
// appleTouchIconPath: '/api/extensions/ext/_example-branding/assets/apple-touch-icon-192.png',
// pwaIconBasePath: '/api/extensions/ext/_example-branding/assets/icons',
// themeColor: '#000000',
// manifestThemeColor: '#000000',
// manifestBackgroundColor: '#ffffff',
// hiddenNavHrefs: ['/salary', '/salary/employees', '/customers'],
})
export const exampleBrandingExtension: Extension = {
id: '_example-branding',
name: 'Whitelabel branding (example)',
version: '1.0.0',
}