created icon

This commit is contained in:
Kenton Hamaluik
2020-02-27 08:30:01 -07:00
parent d1ba165c93
commit a00eea0f78
43 changed files with 73 additions and 6 deletions

View File

@ -8,7 +8,7 @@
<application <application
android:name="io.flutter.app.FlutterApplication" android:name="io.flutter.app.FlutterApplication"
android:label="timecop" android:label="timecop"
android:icon="@mipmap/ic_launcher"> android:icon="@mipmap/launcher_icon">
<activity <activity
android:name=".MainActivity" android:name=".MainActivity"
android:launchMode="singleTop" android:launchMode="singleTop"

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.9 KiB

View File

@ -0,0 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
<background android:drawable="@color/ic_launcher_background"/>
<foreground android:drawable="@drawable/ic_launcher_foreground"/>
</adaptive-icon>

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.1 KiB

View File

@ -0,0 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<color name="ic_launcher_background">#37474F</color>
</resources>

1
icon.no-bg.pink.svg Normal file
View File

@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 135.47 135.47"><path fill="#d81b60" stroke="#d81b60" stroke-linecap="round" stroke-linejoin="round" stroke-width="9.03" d="M67.73 5.53c9.14 8.47 18.82 9.3 25.73 9.3v0c8.15-.21 11.12-4.62 13.37-5.34l10.38 8.24c-1.44 1.8-4.2 7.41-4.4 7.75-.77 1.25-8.75 14.77-.21 36.73 4.22 10.86 6.65 20.44-2.05 38.05-8.7 17.59-22.42 18.49-29.97 21.5-7.55 3.04-10.41 5.13-12.85 8.18m0-124.41c-9.13 8.47-18.8 9.3-25.74 9.3v0c-8.14-.21-11.1-4.62-13.37-5.34l-10.36 8.24c1.44 1.8 4.2 7.41 4.38 7.75.8 1.25 8.77 14.77.23 36.73-4.22 10.86-6.65 20.44 2.05 38.05 8.7 17.59 22.4 18.49 29.95 21.5 7.56 3.04 10.42 5.13 12.86 8.18" paint-order="markers fill stroke"/><g fill="#fff" class="fa-group"><path d="M76.32 79.55H59.13a17.34 17.34 0 00-1.02 5.9h19.22a17.33 17.33 0 00-1.02-5.9zm-8.6-16.25c3.78 0 7.02-3.07 8.6-7.4H59.13c1.57 4.33 4.82 7.4 8.58 7.4z" class="fa-secondary" opacity=".4"/><path d="M83.25 50a2.22 2.22 0 002.23-2.23v-1.48a2.22 2.22 0 00-2.23-2.22H52.22a2.22 2.22 0 00-2.23 2.22v1.48a2.22 2.22 0 002.23 2.22c0 8.4 4.7 15.5 11.16 17.74-6.45 2.25-11.16 9.32-11.16 17.75a2.22 2.22 0 00-2.23 2.22v1.47a2.22 2.22 0 002.23 2.21h31.03a2.22 2.22 0 002.23-2.2V87.7a2.22 2.22 0 00-2.23-2.22c0-8.41-4.7-15.5-11.16-17.75 6.45-2.24 11.16-9.33 11.16-17.74zm-5.9 35.48H58.12c0-7.15 4.28-13.3 9.6-13.3 5.35 0 9.63 6.13 9.63 13.3zM67.73 63.3c-5.33 0-9.6-6.16-9.6-13.3h19.22c0 7.14-4.28 13.3-9.62 13.3z" class="fa-primary"/></g></svg>

After

Width:  |  Height:  |  Size: 1.4 KiB

1
icon.no-bg.svg Normal file
View File

@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 135.47 135.47"><path fill="#00acc1" stroke="#00acc1" stroke-linecap="round" stroke-linejoin="round" stroke-width="9.03" d="M67.73 5.53c9.14 8.47 18.82 9.3 25.73 9.3v0c8.15-.21 11.12-4.62 13.37-5.34l10.38 8.24c-1.44 1.8-4.2 7.41-4.4 7.75-.77 1.25-8.75 14.77-.21 36.73 4.22 10.86 6.65 20.44-2.05 38.05-8.7 17.59-22.42 18.49-29.97 21.5-7.55 3.04-10.41 5.13-12.85 8.18m0-124.41c-9.13 8.47-18.8 9.3-25.74 9.3v0c-8.14-.21-11.1-4.62-13.37-5.34l-10.36 8.24c1.44 1.8 4.2 7.41 4.38 7.75.8 1.25 8.77 14.77.23 36.73-4.22 10.86-6.65 20.44 2.05 38.05 8.7 17.59 22.4 18.49 29.95 21.5 7.56 3.04 10.42 5.13 12.86 8.18" paint-order="markers fill stroke"/><g fill="#fff" class="fa-group"><path d="M76.32 79.55H59.13a17.34 17.34 0 00-1.02 5.9h19.22a17.33 17.33 0 00-1.02-5.9zm-8.6-16.25c3.78 0 7.02-3.07 8.6-7.4H59.13c1.57 4.33 4.82 7.4 8.58 7.4z" class="fa-secondary" opacity=".4"/><path d="M83.25 50a2.22 2.22 0 002.23-2.23v-1.48a2.22 2.22 0 00-2.23-2.22H52.22a2.22 2.22 0 00-2.23 2.22v1.48a2.22 2.22 0 002.23 2.22c0 8.4 4.7 15.5 11.16 17.74-6.45 2.25-11.16 9.32-11.16 17.75a2.22 2.22 0 00-2.23 2.22v1.47a2.22 2.22 0 002.23 2.21h31.03a2.22 2.22 0 002.23-2.2V87.7a2.22 2.22 0 00-2.23-2.22c0-8.41-4.7-15.5-11.16-17.75 6.45-2.24 11.16-9.33 11.16-17.74zm-5.9 35.48H58.12c0-7.15 4.28-13.3 9.6-13.3 5.35 0 9.63 6.13 9.63 13.3zM67.73 63.3c-5.33 0-9.6-6.16-9.6-13.3h19.22c0 7.14-4.28 13.3-9.62 13.3z" class="fa-primary"/></g></svg>

After

Width:  |  Height:  |  Size: 1.4 KiB

BIN
icon.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

1
icon.svg Normal file
View File

@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 135.47 135.47"><path fill="#3b3150" stroke="#37474f" stroke-width=".2698716" d="M0 0h135.47v135.47H0z"/><path fill="#00acc1" stroke="#00acc1" stroke-linecap="round" stroke-linejoin="round" stroke-width="5.8101768" d="M67.73 27.71c5.88 5.45 12.11 5.99 16.56 5.99h0c5.24-.14 7.15-2.98 8.6-3.44l6.68 5.3c-.93 1.16-2.7 4.77-2.83 4.99-.5.8-5.63 9.5-.14 23.63 2.72 6.99 4.28 13.15-1.32 24.48-5.6 11.32-14.42 11.9-19.28 13.84-4.86 1.95-6.7 3.3-8.27 5.26m0-80.05c-5.87 5.45-12.1 5.99-16.56 5.99h0c-5.24-.14-7.14-2.98-8.6-3.44l-6.67 5.3c.93 1.16 2.7 4.77 2.82 4.99.51.8 5.64 9.5.15 23.63-2.72 6.99-4.28 13.15 1.32 24.48 5.6 11.32 14.41 11.9 19.27 13.84 4.86 1.95 6.7 3.3 8.27 5.26" paint-order="markers fill stroke"/><g fill="#fff" class="fa-group"><path d="M73.26 75.34H62.2a11.16 11.16 0 00-.66 3.8h12.37a11.15 11.15 0 00-.66-3.8zm-5.53-10.46c2.43 0 4.51-1.97 5.53-4.76H62.2c1.01 2.79 3.1 4.76 5.52 4.76z" class="fa-secondary" opacity=".4"/><path d="M77.72 56.32a1.43 1.43 0 001.43-1.43v-.95a1.43 1.43 0 00-1.43-1.43H57.75a1.43 1.43 0 00-1.43 1.43v.95a1.43 1.43 0 001.43 1.43c0 5.4 3.03 9.97 7.18 11.41-4.15 1.45-7.18 6-7.18 11.42a1.43 1.43 0 00-1.43 1.43v.95a1.43 1.43 0 001.43 1.42h19.97a1.43 1.43 0 001.43-1.42v-.95a1.43 1.43 0 00-1.43-1.43c0-5.41-3.03-9.97-7.18-11.42 4.15-1.44 7.18-6 7.18-11.41zm-3.8 22.83H61.55c0-4.6 2.75-8.56 6.18-8.56 3.44 0 6.19 3.95 6.19 8.56zm-6.19-14.27c-3.43 0-6.18-3.96-6.18-8.56h12.37c0 4.6-2.75 8.56-6.19 8.56z" class="fa-primary"/></g></svg>

After

Width:  |  Height:  |  Size: 1.5 KiB

BIN
icon_android_fg.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

After

Width:  |  Height:  |  Size: 42 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 564 B

After

Width:  |  Height:  |  Size: 517 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 KiB

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.6 KiB

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.0 KiB

After

Width:  |  Height:  |  Size: 751 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.7 KiB

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.9 KiB

After

Width:  |  Height:  |  Size: 2.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 KiB

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.9 KiB

After

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.6 KiB

After

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.6 KiB

After

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.7 KiB

After

Width:  |  Height:  |  Size: 4.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.8 KiB

After

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.2 KiB

After

Width:  |  Height:  |  Size: 4.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.5 KiB

After

Width:  |  Height:  |  Size: 4.5 KiB

View File

@ -15,6 +15,7 @@
import 'package:about/about.dart'; import 'package:about/about.dart';
import 'package:flutter/foundation.dart'; import 'package:flutter/foundation.dart';
import 'package:flutter/material.dart'; import 'package:flutter/material.dart';
import 'package:flutter_svg/flutter_svg.dart';
import 'package:font_awesome_flutter/font_awesome_flutter.dart'; import 'package:font_awesome_flutter/font_awesome_flutter.dart';
import 'package:url_launcher/url_launcher.dart'; import 'package:url_launcher/url_launcher.dart';
@ -30,7 +31,11 @@ class AboutScreen extends StatelessWidget {
'A time tracking app that respects your privacy and gets the job done without being fancy.', 'A time tracking app that respects your privacy and gets the job done without being fancy.',
textAlign: TextAlign.justify, textAlign: TextAlign.justify,
), ),
applicationIcon: FlutterLogo(size: 100), applicationIcon: SvgPicture.asset(
"icon.no-bg.pink.svg",
semanticsLabel: "Time Cop Logo",
height: 100,
),
applicationLegalese: 'Copyright © Kenton Hamaluik, {{ year }}', applicationLegalese: 'Copyright © Kenton Hamaluik, {{ year }}',
children: <Widget>[ children: <Widget>[
MarkdownPageListTile( MarkdownPageListTile(

View File

@ -14,13 +14,11 @@
import 'package:flutter/material.dart'; import 'package:flutter/material.dart';
import 'package:flutter_bloc/flutter_bloc.dart'; import 'package:flutter_bloc/flutter_bloc.dart';
import 'package:font_awesome_flutter/font_awesome_flutter.dart'; import 'package:flutter_svg/svg.dart';
import 'package:timecop/blocs/timers/bloc.dart';
import 'package:timecop/screens/dashboard/bloc/dashboard_bloc.dart'; import 'package:timecop/screens/dashboard/bloc/dashboard_bloc.dart';
import 'package:timecop/screens/dashboard/components/ProjectSelectField.dart'; import 'package:timecop/screens/dashboard/components/ProjectSelectField.dart';
import 'package:timecop/screens/dashboard/components/RunningTimers.dart'; import 'package:timecop/screens/dashboard/components/RunningTimers.dart';
import 'package:timecop/screens/dashboard/components/StartTimerButton.dart'; import 'package:timecop/screens/dashboard/components/StartTimerButton.dart';
import 'package:timecop/screens/dashboard/components/StoppedTimerRow.dart';
import 'package:timecop/screens/dashboard/components/StoppedTimers.dart'; import 'package:timecop/screens/dashboard/components/StoppedTimers.dart';
import 'components/DescriptionField.dart'; import 'components/DescriptionField.dart';
@ -33,7 +31,13 @@ class DashboardScreen extends StatelessWidget {
Widget build(BuildContext context) { Widget build(BuildContext context) {
return Scaffold( return Scaffold(
appBar: AppBar( appBar: AppBar(
leading: Icon(FontAwesomeIcons.hourglassHalf), leading: Padding(
padding: EdgeInsets.all(8.0),
child: SvgPicture.asset(
"icon.no-bg.pink.svg",
semanticsLabel: "Time Cop Logo",
)
),
title: Text("Time Cop"), title: Text("Time Cop"),
actions: <Widget>[ actions: <Widget>[
PopupMenu(), PopupMenu(),

View File

@ -97,6 +97,13 @@ packages:
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "3.2.0" version: "3.2.0"
flutter_launcher_icons:
dependency: "direct dev"
description:
name: flutter_launcher_icons
url: "https://pub.dartlang.org"
source: hosted
version: "0.7.4"
flutter_markdown: flutter_markdown:
dependency: transitive dependency: transitive
description: description:
@ -111,6 +118,13 @@ packages:
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "0.5.4" version: "0.5.4"
flutter_svg:
dependency: "direct main"
description:
name: flutter_svg
url: "https://pub.dartlang.org"
source: hosted
version: "0.17.1"
flutter_test: flutter_test:
dependency: "direct dev" dependency: "direct dev"
description: flutter description: flutter
@ -184,6 +198,20 @@ packages:
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "1.6.4" version: "1.6.4"
path_drawing:
dependency: transitive
description:
name: path_drawing
url: "https://pub.dartlang.org"
source: hosted
version: "0.4.1"
path_parsing:
dependency: transitive
description:
name: path_parsing
url: "https://pub.dartlang.org"
source: hosted
version: "0.1.4"
pedantic: pedantic:
dependency: "direct dev" dependency: "direct dev"
description: description:
@ -350,6 +378,13 @@ packages:
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "3.5.0" version: "3.5.0"
yaml:
dependency: transitive
description:
name: yaml
url: "https://pub.dartlang.org"
source: hosted
version: "2.2.0"
sdks: sdks:
dart: ">=2.6.0 <3.0.0" dart: ">=2.6.0 <3.0.0"
flutter: ">=1.12.8 <2.0.0" flutter: ">=1.12.8 <2.0.0"

View File

@ -18,18 +18,29 @@ dependencies:
flutter_slidable: ^0.5.4 flutter_slidable: ^0.5.4
about: ^1.0.5 about: ^1.0.5
url_launcher: ^5.4.2 url_launcher: ^5.4.2
flutter_svg: ^0.17.1
dev_dependencies: dev_dependencies:
pedantic: ^1.0.0 pedantic: ^1.0.0
effective_dart: ^1.0.0 effective_dart: ^1.0.0
flutter_launcher_icons: ^0.7.4
flutter_test: flutter_test:
sdk: flutter sdk: flutter
flutter_icons:
android: "launcher_icon"
ios: true
image_path: "icon.png"
adaptive_icon_background: "#37474F"
adaptive_icon_foreground: "icon_android_fg.png"
flutter: flutter:
uses-material-design: true uses-material-design: true
assets: assets:
- README.md - README.md
- CHANGELOG.md - CHANGELOG.md
- icon.no-bg.svg
- icon.no-bg.pink.svg
fonts: fonts:
- family: PublicSans - family: PublicSans
fonts: fonts: