Implement a comprehensive reports dashboard including user question summaries, AI performance metrics, and usage trends. This includes the creation of several reusable chart components and supporting services. - Add `ReportsPage` with tabbed navigation for questions and performance - Implement `ReportsService` with mock data support for rapid development - Create reusable UI components: `BarChartComponent`, `DoughnutChartComponent`, and `LineChartComponent` - Add `format.util.ts` for Persian digit and number formatting - Integrate 'Lahze' font family and add font assets - Add unit tests for `ReportsPage` and `ReportsService`
63 lines
1.3 KiB
JavaScript
63 lines
1.3 KiB
JavaScript
/** @type {import('tailwindcss').Config} */
|
|
module.exports = {
|
|
content: [
|
|
'./src/**/*.{html,ts}',
|
|
],
|
|
darkMode: ['selector', '[data-bs-theme="dark"]'],
|
|
theme: {
|
|
extend: {
|
|
colors: {
|
|
primary: {
|
|
DEFAULT: '#3b82f6',
|
|
hover: '#2563eb',
|
|
},
|
|
secondary: {
|
|
DEFAULT: '#64748b',
|
|
hover: '#475569',
|
|
},
|
|
success: {
|
|
DEFAULT: '#22c55e',
|
|
hover: '#16a34a',
|
|
},
|
|
warning: {
|
|
DEFAULT: '#f59e0b',
|
|
hover: '#d97706',
|
|
},
|
|
danger: {
|
|
DEFAULT: '#ef4444',
|
|
hover: '#dc2626',
|
|
},
|
|
info: {
|
|
DEFAULT: '#06b6d4',
|
|
hover: '#0891b2',
|
|
},
|
|
light: {
|
|
DEFAULT: '#f8fafc',
|
|
hover: '#e2e8f0',
|
|
},
|
|
dark: {
|
|
DEFAULT: '#122033',
|
|
hover: '#1e293b',
|
|
},
|
|
surface: {
|
|
DEFAULT: '#ffffff',
|
|
dark: '#1a2b42',
|
|
border: '#e2e8f0',
|
|
'border-dark': '#263c57',
|
|
},
|
|
sidebar: {
|
|
bg: '#171717',
|
|
text: '#ececec',
|
|
muted: '#c5c5c5',
|
|
border: '#2e2e2e',
|
|
hover: '#2e2e2e',
|
|
},
|
|
},
|
|
fontFamily: {
|
|
sans: ['Lahze', 'sans-serif'],
|
|
},
|
|
},
|
|
},
|
|
plugins: [],
|
|
};
|