You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
fluffychat/lib/pangea/config/colors.dart

14 lines
562 B
Dart

import 'package:flutter/material.dart';
class ChoreoColor {
static Color containerBG(BuildContext context) =>
Theme.of(context).scaffoldBackgroundColor;
static Color textColor(BuildContext context) =>
isLightMode(context) ? Colors.black : Colors.white;
static Color disabled(context) => const Color.fromARGB(255, 211, 211, 211);
static Color removeButtonColor(context) =>
Theme.of(context).colorScheme.primary;
static bool isLightMode(BuildContext context) =>
Theme.of(context).brightness == Brightness.light ? true : false;
}