Skip to content

스타일 가이드 🌅

Okhyeon Kim edited this page Apr 25, 2025 · 1 revision

색상 정의

// app_colors.dart
abstract class AppColors {
  static const primary = Color(0xFF1E88E5);
  static const secondary = Color(0xFF26A69A);
  static const error = Color(0xFFE53935);
  static const background = Color(0xFFF5F5F5);
  static const surface = Color(0xFFFFFFFF);
  static const text = Color(0xFF212121);
  static const textSecondary = Color(0xFF757575);
}

텍스트 스타일

// app_text_styles.dart
abstract class AppTextStyles {
  static const heading1 = TextStyle(
    fontSize: 24,
    fontWeight: FontWeight.bold,
    color: AppColors.text,
  );
  
  static const body = TextStyle(
    fontSize: 16,
    fontWeight: FontWeight.normal,
    color: AppColors.text,
  );
  // ...
}
Clone this wiki locally