@hirebus/academy
Version:
React component library for academy and learning platforms
92 lines (90 loc) • 3.12 kB
TypeScript
import { ReactNode } from 'react';
import { ColorScoreEnum } from './value-to-color';
export interface BrandConfig {
readonly name: string;
readonly url: string;
readonly email: string;
readonly logo: {
readonly src: string;
readonly width: number;
readonly height: number;
readonly alt: string;
};
readonly mobileLogo: {
readonly src: string;
readonly width: number;
readonly height: number;
readonly alt: string;
};
readonly newLogo: {
readonly src: string;
readonly width: number;
readonly height: number;
readonly alt: string;
};
readonly themeColors: {
readonly primary: string;
readonly 'primary-focus': string;
readonly 'primary-content': string;
readonly secondary: string;
readonly 'secondary-focus': string;
readonly 'secondary-content': string;
readonly '--base-100': string;
readonly '--base-200': string;
readonly '--base-300': string;
readonly '--base-400': string;
readonly '--base-500': string;
readonly '--base-600': string;
readonly '--base-700': string;
readonly 'base-content': string;
readonly success: string;
readonly 'success-content': string;
readonly warning: string;
readonly 'warning-content': string;
readonly error: string;
readonly '--primary-100': string;
readonly '--primary-200': string;
readonly '--primary-300': string;
readonly '--primary-400': string;
readonly '--primary-500': string;
readonly '--primary-600': string;
readonly '--primary-700': string;
readonly '--primary-800': string;
readonly '--primary-900': string;
readonly '--background-error': string;
readonly '--background-yellow': string;
readonly '--background-login': string;
readonly '--modal-header-bg': string;
readonly '--modal-header-text': string;
readonly '--on-primary': string;
readonly '--outline': string;
readonly '--sidebar-background': string;
readonly '--font-family': string;
};
readonly assessmentEmailSender: string;
readonly scaleBgColorList: Record<ColorScoreEnum, {
readonly backgroundColor: string;
readonly color: string;
}>;
readonly colorList: string[];
readonly text: {
readonly lowBenchmarkScore: string;
readonly highBenchmarkScore: string;
readonly scoreName: string;
readonly highSelfCriticalWarning: {
readonly comparisonReport: {
readonly header: string;
readonly content: string;
};
readonly individualReport: {
readonly header: string;
readonly content: string;
};
readonly conflictReport: {
readonly header: string;
readonly content: string;
};
readonly benchmarkReport: ReactNode;
};
};
}