Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Commit 4e6b873

Browse files
committed
Merge pull request #137 from collinjackson/launcher
Tweaks to launcher
2 parents f8e2c25 + e90f865 commit 4e6b873

File tree

1 file changed

+11
-8
lines changed

1 file changed

+11
-8
lines changed

sky/sdk/example/demo_launcher/lib/main.dart

+11-8
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ List<SkyDemo> demos = [
8080
name: 'Asteroids',
8181
href: '../../game/main.dart',
8282
bundle: 'game.skyx',
83-
description: '2D game using sprite sheets to achieve high performance',
83+
description: '2D game using sprite sheets',
8484
textTheme: typography.white,
8585
decoration: new BoxDecoration(
8686
backgroundImage: new BackgroundImage(
@@ -93,20 +93,20 @@ List<SkyDemo> demos = [
9393
name: 'Fitness',
9494
href: '../../fitness/lib/main.dart',
9595
bundle: 'fitness.skyx',
96-
description: 'Collin should write a nice description',
96+
description: 'Track progress towards healthy goals',
9797
textTheme: typography.white,
9898
decoration: new BoxDecoration(
99-
backgroundColor: const Color(0xFF0081C6)
99+
backgroundColor: colors.Indigo[500]
100100
)
101101
),
102102
new SkyDemo(
103-
name: 'Cards',
103+
name: 'Swipe Away',
104104
href: '../../widgets/card_collection.dart',
105105
bundle: 'cards.skyx',
106-
description: 'Demo of interactive Cards',
106+
description: 'Infinite list of swipeable cards',
107107
textTheme: typography.white,
108108
decoration: new BoxDecoration(
109-
backgroundColor: const Color(0xFF0081C6)
109+
backgroundColor: colors.RedAccent[200]
110110
)
111111
),
112112
new SkyDemo(
@@ -127,7 +127,10 @@ List<SkyDemo> demos = [
127127
href: '../../mine_digger/lib/main.dart',
128128
bundle: 'mine_digger.skyx',
129129
description: 'Clone of the classic Minesweeper game',
130-
textTheme: typography.white
130+
textTheme: typography.white,
131+
decoration: new BoxDecoration(
132+
backgroundColor: colors.black
133+
)
131134
),
132135

133136
// TODO(jackson): This doesn't seem to be working
@@ -143,7 +146,7 @@ class DemoList extends Component {
143146
decoration: demo.decoration,
144147
child: new InkWell(
145148
child: new Container(
146-
margin: const EdgeDims.all(24.0),
149+
margin: const EdgeDims.only(top: 24.0, left: 24.0),
147150
child: new Flex([
148151
new Text(demo.name, style: demo.textTheme.title),
149152
new Flexible(

0 commit comments

Comments
 (0)