19
This commit is contained in:
@@ -1,14 +1,46 @@
|
||||
import 'package:flutter/material.dart';
|
||||
|
||||
import 'package:flutter/material.dart';
|
||||
|
||||
class AppColor {
|
||||
static const Color primaryColor = Colors.black;
|
||||
static const Color secondaryColor = Colors.white;
|
||||
static const Color accentColor = Colors.grey;
|
||||
static const Color redColor = Color(0xFFEA4335); // Google Red
|
||||
static const Color greenColor = Color(0xFF34A853); // Google Green
|
||||
static const Color blueColor =
|
||||
Color.fromARGB(255, 66, 135, 246); // Google Blue
|
||||
static const Color yellowColor = Color(0xFFFBBC05); // Google Yellow
|
||||
static Color deepPurpleAccent =
|
||||
const Color.fromARGB(255, 123, 76, 254).withOpacity(0.3);
|
||||
// --- Core Design Tokens ---
|
||||
|
||||
// Background & Surfaces
|
||||
static const Color bg = Color(0xFF0A0A0B);
|
||||
static const Color surface = Color(0xFF161618);
|
||||
static const Color surfaceElevated = Color(0xFF222225);
|
||||
static const Color surfaceGlass = Color(0xCC161618);
|
||||
|
||||
// Accents & Branding
|
||||
static const Color accent = Color(0xFF6366F1); // Indigo / Violet
|
||||
static const Color accentSoft = Color(0x266366F1); // 15% Opacity
|
||||
static const Color accentBorder = Color(0x4D6366F1); // 30% Opacity
|
||||
static const Color glow = Color(0xFF818CF8);
|
||||
|
||||
// Semantic / State Colors
|
||||
static const Color danger = Color(0xFFEF4444);
|
||||
static const Color dangerSoft = Color(0x26EF4444);
|
||||
static const Color success = Color(0xFF10B981);
|
||||
static const Color successSoft = Color(0x2610B981);
|
||||
static const Color warning = Color(0xFFF59E0B);
|
||||
static const Color info = Color(0xFF3B82F6);
|
||||
|
||||
// Text & Content
|
||||
static const Color textPrimary = Color(0xFFF3F4F6);
|
||||
static const Color textSecondary = Color(0xFF9CA3AF);
|
||||
static const Color textMuted = Color(0xFF6B7280);
|
||||
|
||||
// UI Elements
|
||||
static const Color divider = Color(0xFF2D2D30);
|
||||
static const Color cardShadow = Color(0x66000000);
|
||||
|
||||
// --- Legacy Mappings (for temporary compatibility) ---
|
||||
static const Color primaryColor = bg;
|
||||
static const Color secondaryColor = textPrimary;
|
||||
static const Color accentColor = accent;
|
||||
static const Color redColor = danger;
|
||||
static const Color greenColor = success;
|
||||
static const Color blueColor = info;
|
||||
static const Color yellowColor = warning;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user