62 lines
2.7 KiB
Dart
62 lines
2.7 KiB
Dart
import 'package:flutter/material.dart';
|
|
|
|
/// A class that holds the color palette for the 'Intaleq' app.
|
|
/// The palette is professionally designed to be modern, cohesive, and culturally
|
|
/// relevant, inspired by the Syrian flag and the app's brand identity.
|
|
class AppColor {
|
|
// --- Core Brand Colors (Inspired by the Syrian Flag) ---
|
|
|
|
/// **Primary Color:** A strong, modern green representing growth, safety, and movement.
|
|
/// Ideal for app bars, primary buttons, and major UI elements.
|
|
static const Color primaryColor = Color(0xFF108942);
|
|
|
|
/// **Text/Write Color:** A very dark, near-black color for main text.
|
|
/// It's softer on the eyes than pure black, improving readability.
|
|
/// The variable name `writeColor` is kept as requested.
|
|
static const Color writeColor = Color(0xFF1A1A1A);
|
|
|
|
/// **Secondary Color:** Pure white, used for backgrounds to create a clean
|
|
/// and spacious look, ensuring content stands out.
|
|
static const Color secondaryColor = Colors.white;
|
|
|
|
/// **Accent Color:** A vibrant, energetic red from the Syrian flag.
|
|
/// Perfect for calls-to-action, highlights, icons, and notifications.
|
|
static const Color accentColor = Color.fromARGB(255, 148, 140, 141);
|
|
|
|
// --- Neutral & Status Colors ---
|
|
|
|
/// **Grey Color:** A neutral grey for secondary text, borders, dividers,
|
|
/// and disabled states.
|
|
static const Color grayColor = Color(0xFF8E8E93);
|
|
|
|
/// **Red Color (Error):** A clear, attention-grabbing red for error messages and alerts.
|
|
static const Color redColor = Color(0xFFD32F2F);
|
|
|
|
/// **Green Color (Success):** A positive green for success messages and confirmations.
|
|
static const Color greenColor = Color(0xFF388E3C);
|
|
|
|
/// **Blue Color (Info):** A standard blue for informational text, links, or icons.
|
|
static const Color blueColor = Color(0xFF108942);
|
|
|
|
/// **Yellow Color (Warning):** A warm yellow for warning messages or important highlights.
|
|
static const Color yellowColor = Color(0xFFFFA000);
|
|
|
|
// --- Tier & Social Colors ---
|
|
|
|
/// **Gold Tier:** A bright gold for premium features, user ranks, or rewards.
|
|
static const Color gold = Color(0xFFFFD700);
|
|
|
|
/// **Bronze Tiers:** Classic bronze colors for other user tiers or levels.
|
|
static const Color bronze = Color(0xFFCD7F32);
|
|
static const Color goldenBronze = Color(0xFFB87333); // Kept from original
|
|
|
|
/// **Twitter/X Color:** The official brand color for social login buttons.
|
|
|
|
// --- Utility Colors ---
|
|
|
|
/// **Accent Tint:** A transparent version of the red accent color.
|
|
/// Useful for subtle backgrounds on selected items or highlighted areas.
|
|
/// Replaces the old `deepPurpleAccent` to match the new brand palette.
|
|
static Color deepPurpleAccent = const Color(0xFFCE1126).withOpacity(0.1);
|
|
}
|