Files
CA/frontend/tailwind.config.js
Akiba So fc468464b2 feat: Initial CBPOA commit — 武汉儿童呼吸疾病风险评估系统
Context: Build a spatial risk assessment system correlating air quality
data with children's respiratory disease incidence across Wuhan.

Approach: FastAPI backend serving PostGIS spatial queries, React
frontend with Deck.gl maps, and a PyTorch SpatialTemporalGCN pipeline
for multi-day (1d/3d/7d) risk prediction.

Changes:
- backend/ — FastAPI API with auth (JWT), alerts, risk analysis,
  geocoded case data, grid statistics, and report endpoints
- frontend/ — React dashboard with interactive risk maps, alert
  monitoring, district comparison charts, and timeline player
- models/ — SpatialTemporalGCN model with trained weights and ONNX
  export for inference
- scripts/ — ETL pipeline for weather + medical data, grid generation,
  feature engineering, training, and daily inference
- deploy/ — Docker Compose configs for backend, frontend, and MLflow
- docs/ — API docs, deployment guide, user guide, and code review

Impact: Enables spatial risk visualization, alert monitoring, and
ML-driven health risk forecasting for environmental health teams.
2026-06-05 02:13:49 +08:00

51 lines
1.1 KiB
JavaScript

/** @type {import('tailwindcss').Config} */
export default {
content: [
"./index.html",
"./src/**/*.{js,ts,jsx,tsx}",
],
theme: {
extend: {
colors: {
primary: {
DEFAULT: '#2563EB',
light: '#3B82F6',
muted: '#DBEAFE',
},
success: {
DEFAULT: '#059669',
light: '#D1FAE5',
},
warning: {
DEFAULT: '#D97706',
light: '#FEF3C7',
},
danger: {
DEFAULT: '#DC2626',
light: '#FEE2E2',
},
bg: {
page: '#F8FAFC',
card: '#FFFFFF',
hover: '#F1F5F9',
active: '#E2E8F0',
},
text: {
primary: '#1E293B',
secondary: '#64748B',
muted: '#94A3B8',
},
border: {
DEFAULT: '#E2E8F0',
light: '#F1F5F9',
},
},
fontFamily: {
sans: ['Inter', 'Noto Sans SC', 'system-ui', 'sans-serif'],
display: ['Source Sans Pro', 'sans-serif'],
},
},
},
plugins: [],
}