add pinned event and server ACL diffing
This commit is contained in:
parent
e5dd53ed6c
commit
4e140e9fc7
1 changed files with 340 additions and 46 deletions
11
lib/helpers/extensions/success_scheme.dart
Normal file
11
lib/helpers/extensions/success_scheme.dart
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
import "package:dynamic_color/dynamic_color.dart";
|
||||
import "package:material_ui/material_ui.dart";
|
||||
|
||||
extension SuccessScheme on ThemeData {
|
||||
/// Green colors for positive things, like accepting knocks or new pins,
|
||||
/// harmonized so they fit the current theme.
|
||||
ColorScheme get successScheme => ColorScheme.fromSeed(
|
||||
seedColor: Colors.green.harmonizeWith(colorScheme.primary),
|
||||
brightness: brightness,
|
||||
);
|
||||
}
|
||||
Loading…
Reference in a new issue