seahaven-ap/src/lib/brand.ts

30 lines
885 B
TypeScript
Raw Normal View History

/**
* Visual-parity brand config (AP-22 / AP-38).
* Default: Stampli-parity wordmark for AP-22 mocks.
* Set `VITE_SEA_HAVEN_BRAND=true` for Sea Haven cutover (AP-38).
*/
export const useSeaHavenBrand = import.meta.env.VITE_SEA_HAVEN_BRAND === "true";
export const brand = useSeaHavenBrand
? {
productName: "Sea Haven AP",
wordmark: "SEA HAVEN",
orgLabel: "Sea Haven",
headerGradient: "linear-gradient(90deg, #0b3d5c 0%, #1f6f8b 100%)",
showBillyBanner: false,
hideModuleTestIds: [
"nav-procurement",
"nav-billing",
"nav-recurring",
"nav-reports",
] as const,
}
: {
productName: "STAMPLI",
wordmark: "STAMPLI",
orgLabel: "Seahaven",
headerGradient: "linear-gradient(90deg, #2167AE 0%, #7A2B8F 100%)",
showBillyBanner: true,
hideModuleTestIds: [] as const,
};