toggle features per organisation

This commit is contained in:
2026-01-24 14:49:18 +00:00
parent 9d8aee7a74
commit c37c3742b9
3 changed files with 46 additions and 4 deletions

View File

@@ -65,3 +65,7 @@ export const isLight = (hex: string): boolean => {
const luminance = (0.299 * r + 0.587 * g + 0.114 * b) / 255;
return luminance > THRESHOLD;
};
export const unCamelCase = (str: string): string => {
return str.replace(/([a-z])([A-Z])/g, "$1 $2").replace(/^./, (char) => char.toUpperCase());
};