Skip to content

Commit 0f5cfdb

Browse files
Examples: replace blue with more ObjectBox-like teal color
1 parent c5fd8c2 commit 0f5cfdb

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

objectbox/example/flutter/objectbox_demo/lib/main.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ class MyApp extends StatelessWidget {
2626
@override
2727
Widget build(BuildContext context) => MaterialApp(
2828
title: 'OB Example',
29-
theme: ThemeData(primarySwatch: Colors.blue),
29+
theme: ThemeData(primarySwatch: Colors.teal),
3030
home: const MyHomePage(title: 'OB Example'),
3131
);
3232
}

objectbox/example/flutter/objectbox_demo_relations/lib/main.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ class MyApp extends StatelessWidget {
2828
@override
2929
Widget build(BuildContext context) => MaterialApp(
3030
title: 'Task-list app example',
31-
theme: ThemeData(primarySwatch: Colors.blue),
31+
theme: ThemeData(primarySwatch: Colors.teal),
3232
home: const MyHomePage(title: 'ObjectBox Example'),
3333
);
3434
}

objectbox/example/flutter/objectbox_demo_relations/lib/task_elements.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ class _TaskInputState extends State<TaskInput> {
7979
items: tags.map(buildMenuItem).toList(),
8080
underline: Container(
8181
height: 2,
82-
color: Colors.blueAccent,
82+
color: Theme.of(context).colorScheme.primary,
8383
),
8484
onChanged: (value) => {
8585
setState(

objectbox/example/flutter/objectbox_demo_sync/lib/main.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ class MyApp extends StatelessWidget {
2626
@override
2727
Widget build(BuildContext context) => MaterialApp(
2828
title: 'OB Example (sync)',
29-
theme: ThemeData(primarySwatch: Colors.blue),
29+
theme: ThemeData(primarySwatch: Colors.teal),
3030
home: const MyHomePage(title: 'OB Example (sync)'),
3131
);
3232
}

0 commit comments

Comments
 (0)