Skip to content

Commit 7f0ca9c

Browse files
committed
Minor style and color changes
1 parent 2a4a5e9 commit 7f0ca9c

File tree

4 files changed

+33
-20
lines changed

4 files changed

+33
-20
lines changed

lib/screens/homepage/homepage.dart

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -139,10 +139,15 @@ class _HomePageState extends State<HomePage> {
139139
Icons.insert_drive_file,
140140
size: 48,
141141
),
142-
title: Text(p.name),
142+
title: Text(
143+
p.name,
144+
style: const TextStyle(
145+
fontWeight: FontWeight.bold
146+
),
147+
),
143148
subtitle: Text(
144149
(p.type == HistoryItemType.solution ? p.solution!.desc : "") +
145-
" Last Modified: " +
150+
"Last Modified: " +
146151
p.dateModified.toString()),
147152
trailing: PopupMenuButton<String>(
148153
onSelected: (String result) {

lib/screens/homepage/homepage_projectlist.dart

Lines changed: 15 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -16,16 +16,19 @@ class ProjectList extends StatelessWidget {
1616
@override
1717
Widget build(BuildContext context) {
1818
return Padding(
19-
padding: const EdgeInsets.all(16.0),
19+
padding: const EdgeInsets.all(5.0),
2020
child:
2121
Column(crossAxisAlignment: CrossAxisAlignment.stretch, children: [
2222
Row(children: [
23-
const Text(
24-
"Recent Projects",
25-
style: TextStyle(
26-
fontWeight: FontWeight.bold,
27-
fontSize: 24.0,
28-
),
23+
const Padding(
24+
padding: EdgeInsets.all(10),
25+
child: Text(
26+
"Recent Projects",
27+
style: TextStyle(
28+
fontWeight: FontWeight.bold,
29+
fontSize: 24.0,
30+
),
31+
)
2932
),
3033
const Spacer(flex: 1),
3134
OutlinedButton(
@@ -40,16 +43,15 @@ class ProjectList extends StatelessWidget {
4043
OutlinedButton(
4144
onPressed: () async {
4245
FilePickerResult? result =
43-
await FilePicker.platform.pickFiles(
44-
allowMultiple: false
45-
);
46+
await FilePicker.platform.pickFiles(allowMultiple: false);
4647

4748
if (result != null) {
4849
var path = result.files.single.path;
49-
if(path != null) {
50+
if (path != null) {
5051
onAddProject(path);
51-
}else{
52-
debugPrint("[Open Project] error: the resulting path is null");
52+
} else {
53+
debugPrint(
54+
"[Open Project] error: the resulting path is null");
5355
}
5456
} else {
5557
// User canceled the picker

lib/screens/settings/settings.dart

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,13 @@ class SettingsPageState extends State<SettingsPage> {
229229
setState(() {});
230230
},
231231
),
232-
const Text("Installed Plugins"),
232+
const Text(
233+
"Installed Plugins",
234+
style: TextStyle(
235+
fontWeight: FontWeight.bold,
236+
fontSize: 22
237+
) //TODO: make this align left
238+
),
233239
Column(
234240
children: List.generate(ModulesManager.modules.length,
235241
(index) {

lib/util/themes.dart

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -246,13 +246,13 @@ const editorThemes = {
246246
"highlight": atomOneLightTheme,
247247
"scheme": {
248248
// Color settings
249-
"primaryColour": Color(0xff13BB67),
250-
"secondaryColour": Color(0xff0d8c4c),
249+
"primaryColour": Color(0xff0d8c4c),
250+
"secondaryColour": Color(0xff13BB67),
251251

252252
// Controls
253-
"background": Color(0xFFE5E5E5),
253+
"background": Color(0xFFFCFCFC),
254254
"backgroundSecondary": Color(0xFFFFFFFF),
255-
"backgroundTertiary": Color(0xFFDCDCDC),
255+
"backgroundTertiary": Color(0xFFFFFFFF),
256256
"foreground": Color(0xFF000000),
257257

258258
// Color symbols

0 commit comments

Comments
 (0)