2026-01-12 22:27:46 +09:00
|
|
|
/// 앱 전역 상수 정의
|
|
|
|
|
library;
|
|
|
|
|
|
|
|
|
|
import 'package:flutter/material.dart';
|
|
|
|
|
|
|
|
|
|
/// API 기본 URL
|
|
|
|
|
const String apiBaseUrl = 'https://fromis9.caadiq.co.kr/api';
|
|
|
|
|
|
2026-01-13 00:07:59 +09:00
|
|
|
/// 앱 테마 색상 (웹과 동일)
|
2026-01-12 22:27:46 +09:00
|
|
|
class AppColors {
|
2026-01-13 00:07:59 +09:00
|
|
|
// Primary 색상 (프로미스나인 팬덤 컬러)
|
|
|
|
|
static const Color primary = Color(0xFF548360);
|
|
|
|
|
static const Color primaryLight = Color(0xFF6A9A75);
|
|
|
|
|
static const Color primaryDark = Color(0xFF456E50);
|
2026-01-12 22:27:46 +09:00
|
|
|
|
|
|
|
|
// 배경 색상
|
|
|
|
|
static const Color background = Color(0xFFFAFAFA);
|
|
|
|
|
static const Color surface = Colors.white;
|
|
|
|
|
|
|
|
|
|
// 텍스트 색상
|
|
|
|
|
static const Color textPrimary = Color(0xFF1A1A1A);
|
|
|
|
|
static const Color textSecondary = Color(0xFF6B7280);
|
|
|
|
|
static const Color textTertiary = Color(0xFF9CA3AF);
|
|
|
|
|
|
|
|
|
|
// 테두리 색상
|
|
|
|
|
static const Color border = Color(0xFFE5E7EB);
|
|
|
|
|
static const Color divider = Color(0xFFF3F4F6);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// 앱 텍스트 스타일
|
|
|
|
|
class AppTextStyles {
|
|
|
|
|
static const TextStyle heading1 = TextStyle(
|
|
|
|
|
fontSize: 24,
|
|
|
|
|
fontWeight: FontWeight.bold,
|
|
|
|
|
color: AppColors.textPrimary,
|
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
static const TextStyle heading2 = TextStyle(
|
|
|
|
|
fontSize: 20,
|
|
|
|
|
fontWeight: FontWeight.bold,
|
|
|
|
|
color: AppColors.textPrimary,
|
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
static const TextStyle body = TextStyle(
|
|
|
|
|
fontSize: 14,
|
|
|
|
|
color: AppColors.textPrimary,
|
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
static const TextStyle caption = TextStyle(
|
|
|
|
|
fontSize: 12,
|
|
|
|
|
color: AppColors.textSecondary,
|
|
|
|
|
);
|
|
|
|
|
}
|