|
1 | 1 | import 'package:flutter/material.dart'; |
2 | 2 |
|
3 | 3 | class GFColors { |
| 4 | + // Basic Theme Colors |
4 | 5 | static const Color PRIMARY = Color(0xff3880FF); |
5 | 6 | static const Color SECONDARY = Color(0xffAA66CC); |
6 | 7 | static const Color SUCCESS = Color(0xff10DC60); |
7 | 8 | static const Color INFO = Color(0xff33B5E5); |
8 | 9 | static const Color WARNING = Color(0xffFFBB33); |
9 | 10 | static const Color DANGER = Color(0xffF04141); |
| 11 | + |
| 12 | + // Light and Dark Variants |
10 | 13 | static const Color LIGHT = Color(0xffE0E0E0); |
11 | 14 | static const Color DARK = Color(0xff222428); |
12 | 15 | static const Color WHITE = Color(0xffffffff); |
| 16 | + static const Color BLACK = Color(0xff000000); |
| 17 | + |
| 18 | + // Utility & Brand Colors |
13 | 19 | static const Color FOCUS = Color(0xff434054); |
14 | 20 | static const Color ALT = Color(0xff794c8a); |
| 21 | + static const Color DISABLED = Color(0xffBDBDBD); |
| 22 | + static const Color BACKGROUND = Color(0xffF4F5F8); |
15 | 23 | static const Color TRANSPARENT = Colors.transparent; |
| 24 | + |
| 25 | + // Extended Color Palette |
| 26 | + static const Color NEUTRAL = Color(0xff9E9E9E); |
| 27 | + static const Color MUTED = Color(0xff757575); |
| 28 | + static const Color BRAND = Color(0xff6200EE); // GF branding support |
| 29 | + |
| 30 | + // MaterialColor Swatches for ThemeData.primarySwatch |
| 31 | + static const MaterialColor PRIMARY_SWATCH = MaterialColor( |
| 32 | + 0xff3880FF, |
| 33 | + <int, Color>{ |
| 34 | + 50: Color(0xffe3f2fd), |
| 35 | + 100: Color(0xffbbdefb), |
| 36 | + 200: Color(0xff90caf9), |
| 37 | + 300: Color(0xff64b5f6), |
| 38 | + 400: Color(0xff42a5f5), |
| 39 | + 500: Color(0xff2196f3), |
| 40 | + 600: Color(0xff1e88e5), |
| 41 | + 700: Color(0xff1976d2), |
| 42 | + 800: Color(0xff1565c0), |
| 43 | + 900: Color(0xff0d47a1), |
| 44 | + }, |
| 45 | + ); |
| 46 | + |
| 47 | + static const MaterialColor SUCCESS_SWATCH = MaterialColor( |
| 48 | + 0xff10DC60, |
| 49 | + <int, Color>{ |
| 50 | + 50: Color(0xffe6f7f0), |
| 51 | + 100: Color(0xffc0edd9), |
| 52 | + 200: Color(0xff99e2c2), |
| 53 | + 300: Color(0xff73d7aa), |
| 54 | + 400: Color(0xff4ccf93), |
| 55 | + 500: Color(0xff26c47b), |
| 56 | + 600: Color(0xff20a369), |
| 57 | + 700: Color(0xff1a8257), |
| 58 | + 800: Color(0xff146145), |
| 59 | + 900: Color(0xff0e4033), |
| 60 | + }, |
| 61 | + ); |
| 62 | + |
| 63 | + static const MaterialColor DANGER_SWATCH = MaterialColor( |
| 64 | + 0xffF04141, |
| 65 | + <int, Color>{ |
| 66 | + 50: Color(0xfffdeaea), |
| 67 | + 100: Color(0xfff8bdbd), |
| 68 | + 200: Color(0xfff28f8f), |
| 69 | + 300: Color(0xffec6161), |
| 70 | + 400: Color(0xffe73333), |
| 71 | + 500: Color(0xffe10505), |
| 72 | + 600: Color(0xffb90404), |
| 73 | + 700: Color(0xff910303), |
| 74 | + 800: Color(0xff690202), |
| 75 | + 900: Color(0xff410101), |
| 76 | + }, |
| 77 | + ); |
16 | 78 | } |
0 commit comments