Update hivegrid-cloud reference to latest main
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
1 parent
e98d38e716
commit
7b21524c86
3781 files changed
+373484
-225607
No files matched your search
@@ -39,7 +39,7 @@ export type TransactionalMailColors = {
|
||||
link: string;
|
||||
};
|
||||
|
||||
export type ToolCTRLBrandTokens = {
|
||||
export type BrandTokens = {
|
||||
productName: string;
|
||||
siteUrl: string;
|
||||
legal: BrandLegalLinks;
|
||||
@@ -51,8 +51,6 @@ export type ToolCTRLBrandTokens = {
|
||||
};
|
||||
};
|
||||
|
||||
export type BrandTokens = ToolCTRLBrandTokens;
|
||||
|
||||
export type BrandTokenOverrides = Partial<{
|
||||
productName: string | null;
|
||||
siteUrl: string | null;
|
||||
@@ -85,15 +83,15 @@ export type AppConfigurationLike = Partial<{
|
||||
}>;
|
||||
|
||||
export const defaultBrandLinks: BrandLinkConfiguration = {
|
||||
siteUrl: "https://tool-ctrl.de",
|
||||
siteUrl: "https://hivegrid.de",
|
||||
legal: {
|
||||
imprintUrl: "https://tool-ctrl.de/impressum",
|
||||
privacyUrl: "https://tool-ctrl.de/datenschutz",
|
||||
termsUrl: "https://tool-ctrl.de/agb",
|
||||
imprintUrl: "https://hivegrid.de/impressum",
|
||||
privacyUrl: "https://hivegrid.de/datenschutz",
|
||||
termsUrl: "https://hivegrid.de/agb",
|
||||
},
|
||||
support: {
|
||||
email: "info@tool-ctrl.de",
|
||||
fromName: "ToolCTRL Support",
|
||||
email: "support@hivegrid.de",
|
||||
fromName: "HiveGrid Support",
|
||||
},
|
||||
assets: {
|
||||
logoUrl: "/android-chrome-512x512.png",
|
||||
@@ -103,7 +101,7 @@ export const defaultBrandLinks: BrandLinkConfiguration = {
|
||||
};
|
||||
|
||||
export const defaultBrandTokens: BrandTokens = {
|
||||
productName: "ToolCTRL",
|
||||
productName: "HiveGrid",
|
||||
siteUrl: defaultBrandLinks.siteUrl,
|
||||
legal: defaultBrandLinks.legal,
|
||||
support: defaultBrandLinks.support,
|
||||
@@ -221,17 +219,17 @@ export { loadBrandFromEnv, type BrandEnvSource } from "./env.js";
|
||||
|
||||
export function brandCssVariables(tokens: BrandTokens): Record<string, string> {
|
||||
return {
|
||||
"--toolctrl-product-name": tokens.productName,
|
||||
"--toolctrl-site-url": tokens.siteUrl,
|
||||
"--toolctrl-logo-url": `url(${tokens.assets.logoUrl})`,
|
||||
"--toolctrl-favicon-url": `url(${tokens.assets.faviconUrl})`,
|
||||
"--toolctrl-mail-background": tokens.mail.colors.background,
|
||||
"--toolctrl-mail-surface": tokens.mail.colors.surface,
|
||||
"--toolctrl-mail-primary": tokens.mail.colors.primary,
|
||||
"--toolctrl-mail-primary-text": tokens.mail.colors.primaryText,
|
||||
"--toolctrl-mail-text": tokens.mail.colors.text,
|
||||
"--toolctrl-mail-muted-text": tokens.mail.colors.mutedText,
|
||||
"--toolctrl-mail-border": tokens.mail.colors.border,
|
||||
"--toolctrl-mail-link": tokens.mail.colors.link,
|
||||
"--hivegrid-product-name": tokens.productName,
|
||||
"--hivegrid-site-url": tokens.siteUrl,
|
||||
"--hivegrid-logo-url": `url(${tokens.assets.logoUrl})`,
|
||||
"--hivegrid-favicon-url": `url(${tokens.assets.faviconUrl})`,
|
||||
"--hivegrid-mail-background": tokens.mail.colors.background,
|
||||
"--hivegrid-mail-surface": tokens.mail.colors.surface,
|
||||
"--hivegrid-mail-primary": tokens.mail.colors.primary,
|
||||
"--hivegrid-mail-primary-text": tokens.mail.colors.primaryText,
|
||||
"--hivegrid-mail-text": tokens.mail.colors.text,
|
||||
"--hivegrid-mail-muted-text": tokens.mail.colors.mutedText,
|
||||
"--hivegrid-mail-border": tokens.mail.colors.border,
|
||||
"--hivegrid-mail-link": tokens.mail.colors.link,
|
||||
};
|
||||
}
|
||||
Reference in new issue
Block a user