Skip to content

Commit

Permalink
(#57): drop material design colors; depend on eo_color
Browse files Browse the repository at this point in the history
  • Loading branch information
rultor committed May 21, 2021
1 parent 5e797eb commit 6ea0569
Show file tree
Hide file tree
Showing 171 changed files with 106 additions and 4,750 deletions.
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,17 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]
### Changed - BREAKING CHANGES
- Huge refactoring - [57](https://github.com/dartoos-dev/flutter_brand_palettes/issues/57)
- Drop support for the Material Design colors; use them via [eo_color](https://pub.dev/packages/eo_color).
- Drop support for the Palette and Swatch interfaces, as well as for the
PaletteRGB and SwtchBase abstract classes; from now on, theses classes are
provided by the [eo_color](https://pub.dev/packages/eo_color) package.
- Use the [eo_color](https://pub.dev/packages/eo_color) color package as a
base framework.

### Added
- Googleish color palette as the project logo.

## [0.2.7+1] - 2021-05-10
### Fixed
Expand Down
96 changes: 30 additions & 66 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,23 +1,23 @@
# Flutter Brand Palettes
<img
src="https://user-images.githubusercontent.com/24878574/119202536-61caa380-ba67-11eb-8f29-1bfa92f28143.png"
alt="EO-Color logo" width="207" height="96"/>

[![EO principles respected here](https://www.elegantobjects.org/badge.svg)](https://www.elegantobjects.org)
[![DevOps By Rultor.com](https://www.rultor.com/b/rafamizes/flutter_brand_palettes)](https://www.rultor.com/p/rafamizes/flutter_brand_palettes)
[![DevOps By Rultor.com](https://www.rultor.com/b/dartoos-dev/flutter_brand_palettes)](https://www.rultor.com/p/dartoos-dev/flutter_brand_palettes)

[![pub](https://img.shields.io/pub/v/flutter_brand_palettes)](https://pub.dev/packages/flutter_brand_palettes)
[![license](https://img.shields.io/badge/license-mit-green.svg)](https://github.com/rafamizes/flutter_brand_palettes/blob/main/LICENSE)
[![license](https://img.shields.io/badge/license-mit-green.svg)](https://github.com/dartoos-dev/flutter_brand_palettes/blob/main/LICENSE)
[![style: lint](https://img.shields.io/badge/style-lint-4BC0F5.svg)](https://pub.dev/packages/lint)
[![PDD status](https://www.0pdd.com/svg?name=rafamizes/flutter_brand_palettes)](https://www.0pdd.com/p?name=rafamizes/flutter_brand_palettes)
[![build](https://github.com/rafamizes/flutter_brand_palettes/actions/workflows/build.yml/badge.svg)](https://github.com/rafamizes/flutter_brand_palettes/actions/)
[![codecov](https://codecov.io/gh/rafamizes/flutter_brand_palettes/branch/master/graph/badge.svg)](https://codecov.io/gh/rafamizes/flutter_brand_palettes)
[![Hits-of-Code](https://hitsofcode.com/github/rafamizes/flutter_brand_palettes?branch=master)](https://hitsofcode.com/github/rafamizes/flutter_brand_palettes/view?branch=master)
[![PDD status](https://www.0pdd.com/svg?name=dartoos-dev/flutter_brand_palettes)](https://www.0pdd.com/p?name=dartoos-dev/flutter_brand_palettes)
[![build](https://github.com/dartoos-dev/flutter_brand_palettes/actions/workflows/build.yml/badge.svg)](https://github.com/dartoos-dev/flutter_brand_palettes/actions/)
[![codecov](https://codecov.io/gh/dartoos-dev/flutter_brand_palettes/branch/master/graph/badge.svg?token=Hvpu48mfx1)](https://codecov.io/gh/dartoos-dev/flutter_brand_palettes)
[![Hits-of-Code](https://hitsofcode.com/github/dartoos-dev/flutter_brand_palettes?branch=master)](https://hitsofcode.com/github/dartoos-dev/flutter_brand_palettes/view?branch=master)

Stop searching the internet for color hex codes! Stop wondering whether an
obscure command like `Grey.colors[200]` generates a light, medium or dark shade
of grey. (By the way, why '200' and not, say, '130' or '440'?)
#### Stop searching the internet for color hex codes!

This package is a collection of declarative and object-oriented classes for the
official color palettes of popular brands and companies, as well as for the
[Material Design](https://material.io/design/color/) standard.
**Flutter Brand Palettes** is a collection of declarative and object-oriented
classes for the color palettes and official logos of popular brands and
companies.

## Getting Started

Expand All @@ -28,29 +28,7 @@ command `Instagram.red().color` retrieves the Instagram's red color #FD1D1D;
`Google.red().color`, Google's red #DB4437; `Facebook.blue().color`, Facebook's
blue #4267B2; and so on.

### Material Design color classes

These are classes whose names are the colors they represent, such as "Grey". For
example: `Grey()` represents the primary grey color, equivalent to the Flutter's
cryptic `Colors.grey.shade500`; `Grey.light()``Colors.grey.shade200`;
`Grey.veryDark()``Colors.grey.shade900`; and so on.

### Color Swatches - Several colors at once

Each color swatch class is a collection of related colors, such as the colors of
the rainbow, shades of grey, the colors of the gradient of a logo, etc.

#### 'Ish' classes

Any class whose name is a color with the 'ish' suffix represents some shades
thereof. The `Greyish` class is an example for 10 shades of grey. The command
`Greyish().colors` retrieves an `Iterable<Color>` of 10 shades of grey; the
greater the color index, the darker the grey.

For more details: [api
reference](https://pub.dev/documentation/flutter_brand_palettes/latest/flutter_brand_palettes/flutter_brand_palettes-library.html).

## Usage example
## Color Palettes in action

```dart
import 'package:brand_colors/flutter_brand_colors.dart';
Expand All @@ -67,39 +45,25 @@ class FacebookIsh extends StatelessWidget {
}
```

### Showcase application

To run the showcase application:

```shell
cd example/
flutter run -d chrome

```

This should start the showcase application in Chrome browser.

![Brand-Palettes-Showcase](https://user-images.githubusercontent.com/24878574/119206037-6a73a780-ba70-11eb-8194-384ff5c22d20.png)

### Do you need any brand that has not yet been implemented?

Just open an
[issue](https://github.com/rafamizes/flutter_brand_palettes/issues), enter the
brand name and a reference link for the (hexadecimal) values of the colors. The
brand colors will be implemented as soon as possible.

### Color Palettes Classes

- Blue, BlueAccent, LightBlue, LightBlueAccent, Cyan, CyanAccent, Indigo,
IndigoAccent.
- Green, GreenAccent, LightGreen, LightGreenAccent, Lime, LimeAccent,
Teal,TealAccent.
- Grey, BlueGrey, Brown.
- Red, RedAccent, Pink, PinkAccent, Purple, PurpleAccent, DeepPurple, DeepPurpleAccent.
- Yellow, YellowAccent, Amber, AmberAccent, Orange, OrangeAccent, DeepOrange,
- Black, Black.opacity87, Black.opacity54, Black.opacity45, Black.opacity38,
Black.opacity26, Black.opacity12.
- White, White.opacity70, White.opacity60, White.opacity54, White.opacity38,
White.opacity30, White.opacity24, White.opacity12, White.opacity10.
- Transparent.

### Color Swatches

- Bluish, BluishLight, Cyanish, Indigoish.
- Greenish, GreenishLight, Limish, Tealish.
- Greyish, BluishGrey, Brownish.
- Reddish, Pinkish, Purplish, PurplishDeep.
- Yellowish, Amberish, Orangish, OrangishDeep.
- Primaries (primary colors, excluding grey).

See also: [material design's color
palette](https://material.io/archive/guidelines/style/color.html#color-color-palette).
[issue](https://github.com/dartoos-dev/flutter_brand_palettes/issues), enter the
brand name and a reference link for the colors.

### Brand Palettes Classes (A-Z)

Expand Down
10 changes: 7 additions & 3 deletions example/lib/main.dart
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import 'package:flutter/material.dart';
import 'package:flutter_brand_palettes/flutter_brand_palettes.dart';
import 'package:flutter_brand_palettes/palettes.dart';
import 'package:eo_color/eo_color.dart';

void main() {
runApp(MyApp());
Expand All @@ -11,7 +12,7 @@ class MyApp extends StatelessWidget {
return const MaterialApp(
debugShowCheckedModeBanner: false,
title: 'Flutter Brand Palette Demo',
home: InstagramPalettePage(title: 'Instagram Palette Demo'),
home: InstagramPalettePage(title: 'Instagram Color Palette'),
);
}
}
Expand Down Expand Up @@ -133,7 +134,10 @@ class _ColorItem extends StatelessWidget {
child: Text(
_label,
textAlign: TextAlign.center,
style: TextStyle(color: _normal()), // or _normal.color
style: TextStyle(
color: _normal(), // or _normal.color
fontWeight: FontWeight.bold,
),
),
),
Expanded(
Expand Down
12 changes: 10 additions & 2 deletions example/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ packages:
name: async
url: "https://pub.dartlang.org"
source: hosted
version: "2.5.0"
version: "2.6.1"
boolean_selector:
dependency: transitive
description:
Expand Down Expand Up @@ -43,6 +43,13 @@ packages:
url: "https://pub.dartlang.org"
source: hosted
version: "1.15.0"
eo_color:
dependency: "direct main"
description:
name: eo_color
url: "https://pub.dartlang.org"
source: hosted
version: "0.0.9"
fake_async:
dependency: transitive
description:
Expand All @@ -61,7 +68,7 @@ packages:
path: ".."
relative: true
source: path
version: "0.2.6+2"
version: "0.2.7+1"
flutter_test:
dependency: "direct dev"
description: flutter
Expand Down Expand Up @@ -158,3 +165,4 @@ packages:
version: "2.1.0"
sdks:
dart: ">=2.12.0 <3.0.0"
flutter: ">=1.17.0"
1 change: 1 addition & 0 deletions example/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ environment:
sdk: ">=2.12.0 <3.0.0"

dependencies:
eo_color: ^0.0.9
flutter:
sdk: flutter

Expand Down
38 changes: 0 additions & 38 deletions lib/colors.dart

This file was deleted.

6 changes: 1 addition & 5 deletions lib/flutter_brand_palettes.dart
Original file line number Diff line number Diff line change
@@ -1,5 +1 @@
export 'brands.dart';
export 'colors.dart';
export 'src/palette.dart';
export 'src/palette_rgb.dart';
export 'swatches.dart';
export 'palettes.dart';
File renamed without changes.
2 changes: 1 addition & 1 deletion lib/src/brands/amazon.dart
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import '../palette_rgb.dart';
import 'package:eo_color/eo_color.dart';

/// Amazon's official brand colors:
///
Expand Down
2 changes: 1 addition & 1 deletion lib/src/brands/american_express.dart
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import '../palette_rgb.dart';
import 'package:eo_color/eo_color.dart';

/// American Express' official brand colors:
///
Expand Down
2 changes: 1 addition & 1 deletion lib/src/brands/android.dart
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import '../palette_rgb.dart';
import 'package:eo_color/eo_color.dart';

/// Android's official brand colors:
///
Expand Down
2 changes: 1 addition & 1 deletion lib/src/brands/apple.dart
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import '../palette_rgb.dart';
import 'package:eo_color/eo_color.dart';

/// Apple's official brand colors:
///
Expand Down
2 changes: 1 addition & 1 deletion lib/src/brands/bitcoin.dart
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import '../palette_rgb.dart';
import 'package:eo_color/eo_color.dart';

/// Bitcoin's official brand colors:
///
Expand Down
2 changes: 1 addition & 1 deletion lib/src/brands/facebook.dart
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import '../palette_rgb.dart';
import 'package:eo_color/eo_color.dart';

/// Facebook's official brand colors:
///
Expand Down
2 changes: 1 addition & 1 deletion lib/src/brands/fedex.dart
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import '../palette_rgb.dart';
import 'package:eo_color/eo_color.dart';

/// FeDex's official brand colors
///
Expand Down
2 changes: 1 addition & 1 deletion lib/src/brands/flutter.dart
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import '../palette_rgb.dart';
import 'package:eo_color/eo_color.dart';

/// Flutter's official brand colors:
///
Expand Down
2 changes: 1 addition & 1 deletion lib/src/brands/google.dart
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import '../palette_rgb.dart';
import 'package:eo_color/eo_color.dart';

/// Google's official brand colors:
///
Expand Down
2 changes: 1 addition & 1 deletion lib/src/brands/ibm.dart
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import '../palette_rgb.dart';
import 'package:eo_color/eo_color.dart';

/// Ibm's official brand colors:
///
Expand Down
2 changes: 1 addition & 1 deletion lib/src/brands/instagram.dart
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import '../palette_rgb.dart';
import 'package:eo_color/eo_color.dart';

/// Instagram's official brand colors:
///
Expand Down
2 changes: 1 addition & 1 deletion lib/src/brands/iphones/iphone11.dart
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import '../../palette_rgb.dart';
import 'package:eo_color/eo_color.dart';

/// Iphone11's official brand colors:
///
Expand Down
2 changes: 1 addition & 1 deletion lib/src/brands/iphones/iphone11pro.dart
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import '../../palette_rgb.dart';
import 'package:eo_color/eo_color.dart';

/// Iphone11Pro's official brand colors:
///
Expand Down
2 changes: 1 addition & 1 deletion lib/src/brands/iphones/iphone7.dart
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import '../../palette_rgb.dart';
import 'package:eo_color/eo_color.dart';

/// Iphone7's official brand colors:
///
Expand Down
2 changes: 1 addition & 1 deletion lib/src/brands/iphones/iphone8.dart
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import '../../palette_rgb.dart';
import 'package:eo_color/eo_color.dart';

/// Iphone8's official brand colors:
///
Expand Down
2 changes: 1 addition & 1 deletion lib/src/brands/iphones/iphone_xr.dart
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import '../../palette_rgb.dart';
import 'package:eo_color/eo_color.dart';

/// IphoneXR's official brand colors:
///
Expand Down
2 changes: 1 addition & 1 deletion lib/src/brands/iphones/iphone_xs.dart
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import '../../palette_rgb.dart';
import 'package:eo_color/eo_color.dart';

/// IphoneXS's official brand colors:
///
Expand Down
2 changes: 1 addition & 1 deletion lib/src/brands/kotlin.dart
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import '../palette_rgb.dart';
import 'package:eo_color/eo_color.dart';

/// Kotlin's official brand colors:
///
Expand Down
2 changes: 1 addition & 1 deletion lib/src/brands/linkedin.dart
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import '../palette_rgb.dart';
import 'package:eo_color/eo_color.dart';

/// Linkedin's official brand colors:
///
Expand Down
2 changes: 1 addition & 1 deletion lib/src/brands/mastercard.dart
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import '../palette_rgb.dart';
import 'package:eo_color/eo_color.dart';

/// Mastercard's official brand colors:
///
Expand Down
2 changes: 1 addition & 1 deletion lib/src/brands/messenger.dart
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import '../palette_rgb.dart';
import 'package:eo_color/eo_color.dart';

/// Facebook Messenger's official brand colors
///
Expand Down
2 changes: 1 addition & 1 deletion lib/src/brands/microsoft.dart
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import '../palette_rgb.dart';
import 'package:eo_color/eo_color.dart';

/// Microsoft's official brand colors:
///
Expand Down
2 changes: 1 addition & 1 deletion lib/src/brands/netflix.dart
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import '../palette_rgb.dart';
import 'package:eo_color/eo_color.dart';

/// Netflix's official brand colors:
///
Expand Down
Loading

1 comment on commit 6ea0569

@0pdd
Copy link
Collaborator

@0pdd 0pdd commented on 6ea0569 May 21, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wasn't able to retrieve PDD puzzles from the code base and submit them to GitHub. If you think that it's a bug on our side, please submit it to yegor256/0pdd:

set -x && set -e && set -o pipefail && cd /tmp/0pdd20210505-12-189bsmu/dartoos-dev/flutter_brand_palettes && pdd -v -f /tmp/20210521-24789-uvrbsr [1]: + set -e + set -o pipefail + cd /tmp/0pdd20210505-12-189bsmu/dartoos-dev/flutter_brand_palettes + pdd -v -f /tmp/20210521-24789-uvrbsr My version...

Please, copy and paste this stack trace to GitHub:

UserError
set -x && set -e && set -o pipefail && cd /tmp/0pdd20210505-12-189bsmu/dartoos-dev/flutter_brand_palettes && pdd -v -f /tmp/20210521-24789-uvrbsr [1]:
+ set -e
+ set -o pipefail
+ cd /tmp/0pdd20210505-12-189bsmu/dartoos-dev/flutter_brand_palettes
+ pdd -v -f /tmp/20210521-24789-uvrbsr

My version is 0.20.6
Ruby version is 2.6.0 at x86_64-linux
Reading /tmp/0pdd20210505-12-189bsmu/dartoos-dev/flutter_brand_palettes
185 file(s) found, 58 excluded
/tmp/0pdd20210505-12-189bsmu/dartoos-dev/flutter_brand_palettes/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_128.png is a binary file (3276 bytes)
/tmp/0pdd20210505-12-189bsmu/dartoos-dev/flutter_brand_palettes/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_256.png is a binary file (5933 bytes)
/tmp/0pdd20210505-12-189bsmu/dartoos-dev/flutter_brand_palettes/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_512.png is a binary file (14800 bytes)
/tmp/0pdd20210505-12-189bsmu/dartoos-dev/flutter_brand_palettes/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_64.png is a binary file (1874 bytes)
/tmp/0pdd20210505-12-189bsmu/dartoos-dev/flutter_brand_palettes/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_1024.png is a binary file (46993 bytes)
/tmp/0pdd20210505-12-189bsmu/dartoos-dev/flutter_brand_palettes/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_16.png is a binary file (1429 bytes)
/tmp/0pdd20210505-12-189bsmu/dartoos-dev/flutter_brand_palettes/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_32.png is a binary file (1243 bytes)
/tmp/0pdd20210505-12-189bsmu/dartoos-dev/flutter_brand_palettes/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png is a binary file (68 bytes)
/tmp/0pdd20210505-12-189bsmu/dartoos-dev/flutter_brand_palettes/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png is a binary file (68 bytes)
/tmp/0pdd20210505-12-189bsmu/dartoos-dev/flutter_brand_palettes/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png is a binary file (68 bytes)
/tmp/0pdd20210505-12-189bsmu/dartoos-dev/flutter_brand_palettes/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png is a binary file (2665 bytes)
/tmp/0pdd20210505-12-189bsmu/dartoos-dev/flutter_brand_palettes/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png is a binary file (3831 bytes)
/tmp/0pdd20210505-12-189bsmu/dartoos-dev/flutter_brand_palettes/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png is a binary file (1920 bytes)
/tmp/0pdd20210505-12-189bsmu/dartoos-dev/flutter_brand_palettes/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png is a binary file (1283 bytes)
/tmp/0pdd20210505-12-189bsmu/dartoos-dev/flutter_brand_palettes/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png is a binary file (3294 bytes)
/tmp/0pdd20210505-12-189bsmu/dartoos-dev/flutter_brand_palettes/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png is a binary file (1283 bytes)
/tmp/0pdd20210505-12-189bsmu/dartoos-dev/flutter_brand_palettes/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png is a binary file (2665 bytes)
/tmp/0pdd20210505-12-189bsmu/dartoos-dev/flutter_brand_palettes/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png is a binary file (1716 bytes)
/tmp/0pdd20210505-12-189bsmu/dartoos-dev/flutter_brand_palettes/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png is a binary file (1888 bytes)
/tmp/0pdd20210505-12-189bsmu/dartoos-dev/flutter_brand_palettes/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png is a binary file (10932 bytes)
/tmp/0pdd20210505-12-189bsmu/dartoos-dev/flutter_brand_palettes/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png is a binary file (1025 bytes)
/tmp/0pdd20210505-12-189bsmu/dartoos-dev/flutter_brand_palettes/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png is a binary file (3612 bytes)
/tmp/0pdd20210505-12-189bsmu/dartoos-dev/flutter_brand_palettes/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png is a binary file (1588 bytes)
/tmp/0pdd20210505-12-189bsmu/dartoos-dev/flutter_brand_palettes/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png is a binary file (1895 bytes)
/tmp/0pdd20210505-12-189bsmu/dartoos-dev/flutter_brand_palettes/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png is a binary file (564 bytes)
/tmp/0pdd20210505-12-189bsmu/dartoos-dev/flutter_brand_palettes/example/web/icons/Icon-512.png is a binary file (8252 bytes)
/tmp/0pdd20210505-12-189bsmu/dartoos-dev/flutter_brand_palettes/example/web/icons/Icon-192.png is a binary file (5292 bytes)
/tmp/0pdd20210505-12-189bsmu/dartoos-dev/flutter_brand_palettes/example/web/favicon.png is a binary file (917 bytes)
/tmp/0pdd20210505-12-189bsmu/dartoos-dev/flutter_brand_palettes/example/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png is a binary file (721 bytes)
/tmp/0pdd20210505-12-189bsmu/dartoos-dev/flutter_brand_palettes/example/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png is a binary file (1443 bytes)
/tmp/0pdd20210505-12-189bsmu/dartoos-dev/flutter_brand_palettes/example/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png is a binary file (1031 bytes)
/tmp/0pdd20210505-12-189bsmu/dartoos-dev/flutter_brand_palettes/example/android/app/src/main/res/mipmap-hdpi/ic_launcher.png is a binary file (544 bytes)
/tmp/0pdd20210505-12-189bsmu/dartoos-dev/flutter_brand_palettes/example/android/app/src/main/res/mipmap-mdpi/ic_launcher.png is a binary file (442 bytes)
Reading LICENSE...
Reading .gitignore...
Reading README.md...
Reading .gitattributes...
Reading .metadata...
Reading .rultor.yml...
Reading pubspec.lock...
Reading .github/workflows/build.yml...
Reading .github/ISSUE_TEMPLATE/feature_request.md...
Reading .github/ISSUE_TEMPLATE/config.yml...
Reading .github/ISSUE_TEMPLATE/bug_report.md...
Reading example/.gitignore...
Reading example/README.md...
Reading example/.metadata...
Reading example/pubspec.lock...
Reading example/pubspec.yaml...
Reading example/macos/Runner.xcworkspace/contents.xcworkspacedata...
Reading example/macos/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist...
Reading example/macos/.gitignore...
Reading example/macos/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist...
Reading example/macos/Runner.xcodeproj/project.pbxproj...
Reading example/macos/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme...
Reading example/macos/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json...
Reading example/macos/Runner/Configs/Debug.xcconfig...
Reading example/macos/Runner/Configs/Release.xcconfig...
Reading example/macos/Runner/Configs/Warnings.xcconfig...
Reading example/macos/Runner/Configs/AppInfo.xcconfig...
Reading example/macos/Runner/AppDelegate.swift...
Reading example/macos/Runner/DebugProfile.entitlements...
Reading example/macos/Runner/Release.entitlements...
Reading example/macos/Runner/Base.lproj/MainMenu.xib...
Reading example/macos/Runner/MainFlutterWindow.swift...
Reading example/macos/Runner/Info.plist...
Reading example/macos/Flutter/Flutter-Debug.xcconfig...
Reading example/macos/Flutter/GeneratedPluginRegistrant.swift...
Reading example/macos/Flutter/Flutter-Release.xcconfig...
Reading example/ios/Runner.xcworkspace/contents.xcworkspacedata...
Reading example/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist...
Reading example/ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings...
Reading example/ios/.gitignore...
Reading example/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata...
Reading example/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist...
Reading example/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings...
Reading example/ios/Runner.xcodeproj/project.pbxproj...
Reading example/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme...
Reading example/ios/Runner/Assets.xcassets/LaunchImage.imageset/README.md...
Reading example/ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json...
Reading example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json...
Reading example/ios/Runner/AppDelegate.swift...
Reading example/ios/Runner/Runner-Bridging-Header.h...
Reading example/ios/Runner/Base.lproj/Main.storyboard...
Reading example/ios/Runner/Base.lproj/LaunchScreen.storyboard...
Reading example/ios/Runner/Info.plist...
Reading example/ios/Flutter/Debug.xcconfig...
Reading example/ios/Flutter/Release.xcconfig...
Reading example/ios/Flutter/AppFrameworkInfo.plist...
Reading example/lib/main.dart...
Reading example/analysis_options.yaml...
Reading example/web/index.html...
Reading example/web/manifest.json...
Reading example/android/.gitignore...
Reading example/android/app/build.gradle...
ERROR: example/android/app/build.gradle; puzzle at line #36; TODO found, but puzzle can't be parsed, most probably because TODO is not followed by a puzzle marker, as this page explains: https://github.com/yegor256/pdd#how-to-format
If you can't understand the cause of this issue or you don't know how to fix it, please submit a GitHub issue, we will try to help you: https://github.com/yegor256/pdd/issues. This tool is still in its beta version and we will appreciate your feedback. Here is where you can find more documentation: https://github.com/yegor256/pdd/blob/master/README.md.
Exit code is 1

/app/objects/git_repo.rb:66:in `rescue in block in xml'
/app/objects/git_repo.rb:63:in `block in xml'
/app/vendor/ruby-2.6.0/lib/ruby/2.6.0/tempfile.rb:295:in `open'
/app/objects/git_repo.rb:62:in `xml'
/app/objects/puzzles.rb:36:in `deploy'
/app/objects/job.rb:38:in `proceed'
/app/objects/job_starred.rb:33:in `proceed'
/app/objects/job_recorded.rb:32:in `proceed'
/app/objects/job_emailed.rb:35:in `proceed'
/app/objects/job_commiterrors.rb:36:in `proceed'
/app/objects/job_detached.rb:48:in `exclusive'
/app/objects/job_detached.rb:36:in `block in proceed'
/app/objects/job_detached.rb:36:in `fork'
/app/objects/job_detached.rb:36:in `proceed'
/app/0pdd.rb:357:in `block in <top (required)>'
/app/vendor/bundle/ruby/2.6.0/gems/sinatra-2.1.0/lib/sinatra/base.rb:1675:in `call'
/app/vendor/bundle/ruby/2.6.0/gems/sinatra-2.1.0/lib/sinatra/base.rb:1675:in `block in compile!'
/app/vendor/bundle/ruby/2.6.0/gems/sinatra-2.1.0/lib/sinatra/base.rb:1013:in `block (3 levels) in route!'
/app/vendor/bundle/ruby/2.6.0/gems/sinatra-2.1.0/lib/sinatra/base.rb:1032:in `route_eval'
/app/vendor/bundle/ruby/2.6.0/gems/sinatra-2.1.0/lib/sinatra/base.rb:1013:in `block (2 levels) in route!'
/app/vendor/bundle/ruby/2.6.0/gems/sinatra-2.1.0/lib/sinatra/base.rb:1061:in `block in process_route'
/app/vendor/bundle/ruby/2.6.0/gems/sinatra-2.1.0/lib/sinatra/base.rb:1059:in `catch'
/app/vendor/bundle/ruby/2.6.0/gems/sinatra-2.1.0/lib/sinatra/base.rb:1059:in `process_route'
/app/vendor/bundle/ruby/2.6.0/gems/sinatra-2.1.0/lib/sinatra/base.rb:1011:in `block in route!'
/app/vendor/bundle/ruby/2.6.0/gems/sinatra-2.1.0/lib/sinatra/base.rb:1008:in `each'
/app/vendor/bundle/ruby/2.6.0/gems/sinatra-2.1.0/lib/sinatra/base.rb:1008:in `route!'
/app/vendor/bundle/ruby/2.6.0/gems/sinatra-2.1.0/lib/sinatra/base.rb:1129:in `block in dispatch!'
/app/vendor/bundle/ruby/2.6.0/gems/sinatra-2.1.0/lib/sinatra/base.rb:1101:in `block in invoke'
/app/vendor/bundle/ruby/2.6.0/gems/sinatra-2.1.0/lib/sinatra/base.rb:1101:in `catch'
/app/vendor/bundle/ruby/2.6.0/gems/sinatra-2.1.0/lib/sinatra/base.rb:1101:in `invoke'
/app/vendor/bundle/ruby/2.6.0/gems/sinatra-2.1.0/lib/sinatra/base.rb:1124:in `dispatch!'
/app/vendor/bundle/ruby/2.6.0/gems/sinatra-2.1.0/lib/sinatra/base.rb:939:in `block in call!'
/app/vendor/bundle/ruby/2.6.0/gems/sinatra-2.1.0/lib/sinatra/base.rb:1101:in `block in invoke'
/app/vendor/bundle/ruby/2.6.0/gems/sinatra-2.1.0/lib/sinatra/base.rb:1101:in `catch'
/app/vendor/bundle/ruby/2.6.0/gems/sinatra-2.1.0/lib/sinatra/base.rb:1101:in `invoke'
/app/vendor/bundle/ruby/2.6.0/gems/sinatra-2.1.0/lib/sinatra/base.rb:939:in `call!'
/app/vendor/bundle/ruby/2.6.0/gems/sinatra-2.1.0/lib/sinatra/base.rb:929:in `call'
/app/vendor/bundle/ruby/2.6.0/gems/rack-protection-2.1.0/lib/rack/protection/xss_header.rb:18:in `call'
/app/vendor/bundle/ruby/2.6.0/gems/rack-protection-2.1.0/lib/rack/protection/path_traversal.rb:16:in `call'
/app/vendor/bundle/ruby/2.6.0/gems/rack-protection-2.1.0/lib/rack/protection/json_csrf.rb:26:in `call'
/app/vendor/bundle/ruby/2.6.0/gems/rack-protection-2.1.0/lib/rack/protection/base.rb:50:in `call'
/app/vendor/bundle/ruby/2.6.0/gems/rack-protection-2.1.0/lib/rack/protection/base.rb:50:in `call'
/app/vendor/bundle/ruby/2.6.0/gems/rack-protection-2.1.0/lib/rack/protection/frame_options.rb:31:in `call'
/app/vendor/bundle/ruby/2.6.0/gems/rack-2.2.3/lib/rack/logger.rb:17:in `call'
/app/vendor/bundle/ruby/2.6.0/gems/rack-2.2.3/lib/rack/common_logger.rb:38:in `call'
/app/vendor/bundle/ruby/2.6.0/gems/sinatra-2.1.0/lib/sinatra/base.rb:253:in `call'
/app/vendor/bundle/ruby/2.6.0/gems/sinatra-2.1.0/lib/sinatra/base.rb:246:in `call'
/app/vendor/bundle/ruby/2.6.0/gems/rack-2.2.3/lib/rack/head.rb:12:in `call'
/app/vendor/bundle/ruby/2.6.0/gems/rack-2.2.3/lib/rack/method_override.rb:24:in `call'
/app/vendor/bundle/ruby/2.6.0/gems/sinatra-2.1.0/lib/sinatra/base.rb:216:in `call'
/app/vendor/bundle/ruby/2.6.0/gems/sinatra-2.1.0/lib/sinatra/base.rb:1991:in `call'
/app/vendor/bundle/ruby/2.6.0/gems/sinatra-2.1.0/lib/sinatra/base.rb:1542:in `block in call'
/app/vendor/bundle/ruby/2.6.0/gems/sinatra-2.1.0/lib/sinatra/base.rb:1769:in `synchronize'
/app/vendor/bundle/ruby/2.6.0/gems/sinatra-2.1.0/lib/sinatra/base.rb:1542:in `call'
/app/vendor/bundle/ruby/2.6.0/gems/rack-2.2.3/lib/rack/handler/webrick.rb:95:in `service'
/app/vendor/ruby-2.6.0/lib/ruby/2.6.0/webrick/httpserver.rb:140:in `service'
/app/vendor/ruby-2.6.0/lib/ruby/2.6.0/webrick/httpserver.rb:96:in `run'
/app/vendor/ruby-2.6.0/lib/ruby/2.6.0/webrick/server.rb:307:in `block in start_thread'

Please sign in to comment.