Hermes 284313f908
Some checks are pending
Bidi Control Character Guard / bidi-control-guard (push) Waiting to run
Circular Dependency Check / Check for new circular dependencies (push) Waiting to run
Citus Migration Smoke / Combined migrations on single-node Citus (push) Waiting to run
E2E Fresh Install Tests / fresh-install-e2e (push) Waiting to run
ext-v2 guardrails / Run ext-v2 guard and ESLint (push) Waiting to run
Integration Tests / Check for relevant changes (push) Waiting to run
Integration Tests / ${{ (github.event_name == 'schedule' || github.event.inputs.suite == 'full') && 'Full integration suite' || 'Tier-1 integration subset' }} (push) Blocked by required conditions
Mobile checks / Mobile lint + typecheck (push) Waiting to run
Mobile checks / Mobile unit tests (push) Waiting to run
Mobile checks / Mobile dependency audit (report) (push) Waiting to run
Mobile checks / Mobile reproducibility checks (push) Waiting to run
Secrets guard (env backups) / Ensure no tracked env backup files (push) Waiting to run
Temporal Readiness / fast-readiness (push) Waiting to run
Temporal Readiness / docker-parity (push) Waiting to run
TypeScript Type Check / Nx affected typecheck (push) Waiting to run
Unit Tests / Skipped-test budget (push) Waiting to run
Unit Tests / Nx affected unit tests (push) Waiting to run
Unit Tests / Server unit coverage (informational) (push) Waiting to run
Validate Tenant Management Schema / Check for relevant changes (push) Waiting to run
Validate Tenant Management Schema / Validate Tenant Management Schema (push) Blocked by required conditions
EE Workflows Build Guard / ee-workflows-build-guard (push) Waiting to run
Initial import of AlgaPSA codebase from PSA server
Excluded: .git, node_modules, secrets/, compose.env, assemblyscript tgz

Source: /opt/alga-psa on psa.joliet.tech
2026-06-22 16:12:17 -05:00

50 lines
1.3 KiB
JavaScript

/**
* Shared brand constants for email templates.
*
* These values are the canonical brand colors used across all email templates.
* Sourced from migration 20260109100000_standardize_email_template_styling.cjs
* which standardized all templates to use these colors.
*/
const BRAND_GRADIENT = 'linear-gradient(135deg,#8A4DEA,#40CFF9)';
const BRAND_PRIMARY = '#8A4DEA';
const BRAND_SECONDARY = '#40CFF9';
const BRAND_DARK = '#5b38b0';
const FOOTER_BG = '#f8f5ff';
const OUTER_BG = '#f5f3ff';
const CARD_BORDER = '#e4ddff';
const CARD_SHADOW = '0 12px 32px rgba(138,77,234,0.12)';
const BADGE_BG = 'rgba(138,77,234,0.12)';
const INFO_BOX_BG = '#f8f5ff';
const INFO_BOX_BORDER = '#e6deff';
const COMMENT_BOX_BG = '#eff6ff';
const COMMENT_BOX_BORDER = '#bfdbfe';
const COMMENT_LABEL_COLOR = '#1e40af';
const FONT_STACK = "Inter,system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif";
const HEADING_FONT = "Poppins,system-ui,sans-serif";
const SUPPORTED_LANGUAGES = ['en', 'fr', 'es', 'de', 'nl', 'it', 'pl'];
module.exports = {
BRAND_GRADIENT,
BRAND_PRIMARY,
BRAND_SECONDARY,
BRAND_DARK,
FOOTER_BG,
OUTER_BG,
CARD_BORDER,
CARD_SHADOW,
BADGE_BG,
INFO_BOX_BG,
INFO_BOX_BORDER,
COMMENT_BOX_BG,
COMMENT_BOX_BORDER,
COMMENT_LABEL_COLOR,
FONT_STACK,
HEADING_FONT,
SUPPORTED_LANGUAGES,
};