Skip to content

Commit

Permalink
use material color.
Browse files Browse the repository at this point in the history
  • Loading branch information
just-seba committed Sep 9, 2024
1 parent 52fda2e commit cc2d26c
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions app/lib/ui/analytics/charts/analytics_chart_colors.dart
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';

extension AnalyticsChartColors on Color {
static Color get production => CupertinoColors.systemYellow;
static Color get home => CupertinoColors.systemBlue;
static Color get gridConsumption => CupertinoColors.systemRed;
static Color get gridFeedIn => CupertinoColors.systemGreen;
static Color get production => Colors.amber;
static Color get home => Colors.blue;
static Color get gridConsumption => Colors.red;
static Color get gridFeedIn => Colors.green;

Color toBarAreaColor() => withOpacity(0.067);
}

0 comments on commit cc2d26c

Please sign in to comment.