Skip to content

Commit 4f1a57e

Browse files
committed
fix: renaming of class 'Reddint' to 'Reddit'
1 parent b6e7e1e commit 4f1a57e

File tree

5 files changed

+59
-67
lines changed

5 files changed

+59
-67
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
### Fixed
11+
12+
- renaming of the misspelled class 'Reddint' to its correct name 'Reddit' —
13+
**BREAKING CHANGE**
14+
[109](https://github.com/dartoos-dev/flutter_brand_palettes/issues/109).
15+
1016
## [0.4.1] - 2022-01-09
1117

1218
### Added

example/pubspec.lock

Lines changed: 22 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ packages:
77
name: async
88
url: "https://pub.dartlang.org"
99
source: hosted
10-
version: "2.8.2"
10+
version: "2.9.0"
1111
boolean_selector:
1212
dependency: transitive
1313
description:
@@ -21,28 +21,21 @@ packages:
2121
name: characters
2222
url: "https://pub.dartlang.org"
2323
source: hosted
24-
version: "1.2.0"
25-
charcode:
26-
dependency: transitive
27-
description:
28-
name: charcode
29-
url: "https://pub.dartlang.org"
30-
source: hosted
31-
version: "1.3.1"
24+
version: "1.2.1"
3225
clock:
3326
dependency: transitive
3427
description:
3528
name: clock
3629
url: "https://pub.dartlang.org"
3730
source: hosted
38-
version: "1.1.0"
31+
version: "1.1.1"
3932
collection:
4033
dependency: transitive
4134
description:
4235
name: collection
4336
url: "https://pub.dartlang.org"
4437
source: hosted
45-
version: "1.15.0"
38+
version: "1.16.0"
4639
eo_color:
4740
dependency: "direct main"
4841
description:
@@ -56,7 +49,7 @@ packages:
5649
name: fake_async
5750
url: "https://pub.dartlang.org"
5851
source: hosted
59-
version: "1.2.0"
52+
version: "1.3.1"
6053
flutter:
6154
dependency: "direct main"
6255
description: flutter
@@ -68,7 +61,7 @@ packages:
6861
path: ".."
6962
relative: true
7063
source: path
71-
version: "0.4.0"
64+
version: "0.4.1"
7265
flutter_test:
7366
dependency: "direct dev"
7467
description: flutter
@@ -87,21 +80,28 @@ packages:
8780
name: matcher
8881
url: "https://pub.dartlang.org"
8982
source: hosted
90-
version: "0.12.11"
83+
version: "0.12.12"
84+
material_color_utilities:
85+
dependency: transitive
86+
description:
87+
name: material_color_utilities
88+
url: "https://pub.dartlang.org"
89+
source: hosted
90+
version: "0.1.5"
9191
meta:
9292
dependency: transitive
9393
description:
9494
name: meta
9595
url: "https://pub.dartlang.org"
9696
source: hosted
97-
version: "1.7.0"
97+
version: "1.8.0"
9898
path:
9999
dependency: transitive
100100
description:
101101
name: path
102102
url: "https://pub.dartlang.org"
103103
source: hosted
104-
version: "1.8.0"
104+
version: "1.8.2"
105105
sky_engine:
106106
dependency: transitive
107107
description: flutter
@@ -113,7 +113,7 @@ packages:
113113
name: source_span
114114
url: "https://pub.dartlang.org"
115115
source: hosted
116-
version: "1.8.1"
116+
version: "1.9.0"
117117
stack_trace:
118118
dependency: transitive
119119
description:
@@ -134,35 +134,28 @@ packages:
134134
name: string_scanner
135135
url: "https://pub.dartlang.org"
136136
source: hosted
137-
version: "1.1.0"
137+
version: "1.1.1"
138138
term_glyph:
139139
dependency: transitive
140140
description:
141141
name: term_glyph
142142
url: "https://pub.dartlang.org"
143143
source: hosted
144-
version: "1.2.0"
144+
version: "1.2.1"
145145
test_api:
146146
dependency: transitive
147147
description:
148148
name: test_api
149149
url: "https://pub.dartlang.org"
150150
source: hosted
151-
version: "0.4.3"
152-
typed_data:
153-
dependency: transitive
154-
description:
155-
name: typed_data
156-
url: "https://pub.dartlang.org"
157-
source: hosted
158-
version: "1.3.0"
151+
version: "0.4.12"
159152
vector_math:
160153
dependency: transitive
161154
description:
162155
name: vector_math
163156
url: "https://pub.dartlang.org"
164157
source: hosted
165-
version: "2.1.1"
158+
version: "2.1.2"
166159
sdks:
167-
dart: ">=2.14.0 <3.0.0"
160+
dart: ">=2.17.0-0 <3.0.0"
168161
flutter: ">=1.17.0"

lib/src/brands/reddit.dart

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
11
import 'package:eo_color/eo_color.dart';
22

3-
/// Reddint's official brand colors
3+
/// Reddit's official brand colors
44
///
55
/// - Black;
66
/// - Orange;
77
/// - White.
88
///
99
/// See also:
10-
/// - [reddint colors](https://brandpalettes.com/reddit-color-codes/)
11-
class Reddint extends PaletteRGB {
10+
/// - [reddit colors](https://brandpalettes.com/reddit-color-codes/)
11+
class Reddit extends PaletteRGB {
1212
/// Black #000000.
13-
const Reddint.black() : super.black();
13+
const Reddit.black() : super.black();
1414

1515
/// Orange #FF4500.
16-
const Reddint.orange() : super.opaque(0xFF4500);
16+
const Reddit.orange() : super.opaque(0xFF4500);
1717

1818
/// White #FFFFFF.
19-
const Reddint.white() : super.white();
19+
const Reddit.white() : super.white();
2020
}

pubspec.lock

Lines changed: 21 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ packages:
77
name: async
88
url: "https://pub.dartlang.org"
99
source: hosted
10-
version: "2.8.2"
10+
version: "2.9.0"
1111
boolean_selector:
1212
dependency: transitive
1313
description:
@@ -21,28 +21,21 @@ packages:
2121
name: characters
2222
url: "https://pub.dartlang.org"
2323
source: hosted
24-
version: "1.2.0"
25-
charcode:
26-
dependency: transitive
27-
description:
28-
name: charcode
29-
url: "https://pub.dartlang.org"
30-
source: hosted
31-
version: "1.3.1"
24+
version: "1.2.1"
3225
clock:
3326
dependency: transitive
3427
description:
3528
name: clock
3629
url: "https://pub.dartlang.org"
3730
source: hosted
38-
version: "1.1.0"
31+
version: "1.1.1"
3932
collection:
4033
dependency: transitive
4134
description:
4235
name: collection
4336
url: "https://pub.dartlang.org"
4437
source: hosted
45-
version: "1.15.0"
38+
version: "1.16.0"
4639
eo_color:
4740
dependency: "direct main"
4841
description:
@@ -56,7 +49,7 @@ packages:
5649
name: fake_async
5750
url: "https://pub.dartlang.org"
5851
source: hosted
59-
version: "1.2.0"
52+
version: "1.3.1"
6053
flutter:
6154
dependency: "direct main"
6255
description: flutter
@@ -80,21 +73,28 @@ packages:
8073
name: matcher
8174
url: "https://pub.dartlang.org"
8275
source: hosted
83-
version: "0.12.11"
76+
version: "0.12.12"
77+
material_color_utilities:
78+
dependency: transitive
79+
description:
80+
name: material_color_utilities
81+
url: "https://pub.dartlang.org"
82+
source: hosted
83+
version: "0.1.5"
8484
meta:
8585
dependency: transitive
8686
description:
8787
name: meta
8888
url: "https://pub.dartlang.org"
8989
source: hosted
90-
version: "1.7.0"
90+
version: "1.8.0"
9191
path:
9292
dependency: transitive
9393
description:
9494
name: path
9595
url: "https://pub.dartlang.org"
9696
source: hosted
97-
version: "1.8.0"
97+
version: "1.8.2"
9898
sky_engine:
9999
dependency: transitive
100100
description: flutter
@@ -106,7 +106,7 @@ packages:
106106
name: source_span
107107
url: "https://pub.dartlang.org"
108108
source: hosted
109-
version: "1.8.1"
109+
version: "1.9.0"
110110
stack_trace:
111111
dependency: transitive
112112
description:
@@ -127,35 +127,28 @@ packages:
127127
name: string_scanner
128128
url: "https://pub.dartlang.org"
129129
source: hosted
130-
version: "1.1.0"
130+
version: "1.1.1"
131131
term_glyph:
132132
dependency: transitive
133133
description:
134134
name: term_glyph
135135
url: "https://pub.dartlang.org"
136136
source: hosted
137-
version: "1.2.0"
137+
version: "1.2.1"
138138
test_api:
139139
dependency: transitive
140140
description:
141141
name: test_api
142142
url: "https://pub.dartlang.org"
143143
source: hosted
144-
version: "0.4.3"
145-
typed_data:
146-
dependency: transitive
147-
description:
148-
name: typed_data
149-
url: "https://pub.dartlang.org"
150-
source: hosted
151-
version: "1.3.0"
144+
version: "0.4.12"
152145
vector_math:
153146
dependency: transitive
154147
description:
155148
name: vector_math
156149
url: "https://pub.dartlang.org"
157150
source: hosted
158-
version: "2.1.1"
151+
version: "2.1.2"
159152
sdks:
160-
dart: ">=2.14.0 <3.0.0"
153+
dart: ">=2.17.0-0 <3.0.0"
161154
flutter: ">=1.17.0"

test/brands/reddit_test.dart

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,15 @@ import 'package:flutter_test/flutter_test.dart';
55

66
/// [reddint](https://brandpalettes.com/reddit-color-codes/)
77
void main() {
8-
group('Reddint Palette', () {
8+
group('Reddit Palette', () {
99
test('black', () {
10-
expect(const Reddint.black().color, const Color(0xFF000000));
10+
expect(const Reddit.black().color, const Color(0xFF000000));
1111
});
1212
test('orange', () {
13-
expect(const Reddint.orange().color, const Color(0xFFFF4500));
13+
expect(const Reddit.orange().color, const Color(0xFFFF4500));
1414
});
1515
test('white', () {
16-
expect(const Reddint.white().color, const Color(0xFFFFFFFF));
16+
expect(const Reddit.white().color, const Color(0xFFFFFFFF));
1717
});
1818
});
1919
}

0 commit comments

Comments
 (0)