Add centralized color constants for light and dark modes

Introduced a `AppColors` class to house all color constants provided by the design team. This class segregates colors into light and dark modes, ensuring easy and consistent theming throughout the application. The centralized approach simplifies updates and ensures color consistency across the app.
pull/5330/head
hunteraraujo 2023-09-25 20:06:17 -07:00
parent bec207568a
commit 4a8da53d85
1 changed files with 60 additions and 0 deletions

View File

@ -0,0 +1,60 @@
import 'package:flutter/material.dart';
class AppColors {
// Light Mode Colors
static const accentDeniedLight = Color(0xFFAC4866);
static const accentAffirmativeLight = Color(0xFF4F9F79);
static const accent4Light = Color(0xFFBBA7C4);
static const accent5Light = Color(0xFF53A09F);
static const newChatLight = Color(0xFF57C8B4);
static const adjustedPrimaryLight = Color(0xFF22A2A2);
static const primaryLight = Color(0xFF128787);
static const ultraWhiteLight = Color(0xFF243036);
static const whiteFillLight = Color(0xFFFFFFFF);
static const logsTextLight = Color(0xFF255E54);
static const logsTitleUnselectedLight = Color(0xFF464956);
static const neutral1Light = Color(0xFF99A7B5);
static const neutralBetween1and2Light = Color(0xFF8A9BAB);
static const neutral2Light = Color(0xFF7B8EA0);
static const tooltipLight = Color(0xFF9CA4B6);
static const chatHistoryTabLight = Color(0xFFDDE2EA);
static const cardLight = Color(0xFFF8FAFD);
static const skilltreeBackgroundLight = Color(0xFFEFF2F8);
static const codeBlockArtefactsLight = Color(0xFFDDE2EA);
static const promptBarTestPanelLight = Color(0xFFBFC7D3);
static const logsBackgroundLight = Color(0xFFBFC7D3);
static const logsBarStrokeLight = Color(0xFF82A19C);
static const skillTreeTitleLight = Color(0xFFA4B4C4);
static const defaultLight = Color(0xFFA4B4C4);
static const chatBackgroundLight = Color(0xFFDDE2EA);
static const panelBackgroundLight = Color(0xFFFEFEFF);
// Dark Mode Colors
static const accentDeniedDark = Color(0xFF8D3650);
static const accentAffirmativeDark = Color(0xFF3E8463);
static const accent4Dark = Color(0xFFBBA7C4); // Same as light mode
static const accent5Dark = Color(0xFF87B1AA);
static const newChatDark = Color(0xFF8BE0D1);
static const adjustedPrimaryDark = Color(0xFF22A2A2); // Same as light mode
static const primaryDark = Color(0xFF128787); // Same as light mode
static const ultraWhiteDark = Color(0xFFFFFFFF);
static const whiteFillDark = Color(0xFFFFFFFF); // Same as light mode
static const logsTextDark = Color(0xFFD6E7E4);
static const logsTitleUnselectedDark = Color(0xFF8D909C);
static const neutral1Dark = Color(0xFF9CA0AF);
static const neutralBetween1and2Dark = Color(0xFF7E818E);
static const neutral2Dark = Color(0xFF5F626D);
static const tooltipDark = Color(0xFF404550);
static const chatHistoryTabDark = Color(0xFF292B33);
static const cardDark = Color(0xFF292B33);
static const skilltreeBackgroundDark = Color(0xFF24262E);
static const codeBlockArtefactsDark = Color(0xFF1E2029);
static const promptBarTestPanelDark = Color(0xFF1D1F25);
static const logsBackgroundDark = Color(0xFF121419);
static const logsBarStrokeDark =
Color(0xFF121419); // Same as logsBackgroundDark
static const skillTreeTitleDark = Color(0xFF1D1F25);
static const defaultDark = Color(0xFF3D424D);
static const chatBackgroundDark = Color(0xFF171A21);
static const panelBackgroundDark = Color(0xFF1D1F25);
}