20 lines
681 B
Dart
20 lines
681 B
Dart
import 'package:flutter/material.dart';
|
|
|
|
class HopColors {
|
|
static const Color hopGreenPrimary = Color(0xff12C5A6);
|
|
static const Color hopBluePrimary = Color(0xff99AAF2);
|
|
static const Color hopPurplePrimary = Color(0xffA88BEB);
|
|
|
|
static const Color gradientStart = Color(0xFF7A28A5);
|
|
static const Color gradientEnd = Color(0xFFF9377B);
|
|
|
|
// Can use decoration: HopColors.hopBackgroundDecoration, instead of entire background description
|
|
static const BoxDecoration hopBackgroundDecoration = BoxDecoration(
|
|
gradient: LinearGradient(
|
|
begin: Alignment.topCenter,
|
|
end: Alignment.bottomCenter,
|
|
colors: [gradientStart, gradientEnd],
|
|
),
|
|
);
|
|
}
|