-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge release/2.0.0 into trunk (#287)
* Small fixes on 2.0.0 (#284) * Make the init public * Fix placeholder displayer * Set activity indicator tint color from palette * Add snapshot tests for custom palette handling * format * Update version as 2.0.1 (#286)
- Loading branch information
Showing
17 changed files
with
120 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
import GravatarUI | ||
import UIKit | ||
|
||
extension Palette { | ||
static func testPalette() -> Palette { | ||
Palette( | ||
name: "TestPalette", | ||
foreground: ForegroundColors( | ||
primary: UIColor(red: 90 / 255, green: 88 / 255, blue: 88 / 255, alpha: 1), | ||
|
||
primarySlightlyDimmed: UIColor(red: 90 / 255, green: 88 / 255, blue: 88 / 255, alpha: 0.7), | ||
secondary: UIColor(red: 9 / 255, green: 93 / 255, blue: 154 / 255, alpha: 1) | ||
), | ||
background: BackgroundColors(primary: UIColor(red: 251 / 255, green: 216 / 255, blue: 183 / 255, alpha: 1)), | ||
avatar: AvatarColors( | ||
border: UIColor(red: 9 / 255, green: 93 / 255, blue: 154 / 255, alpha: 1), | ||
background: UIColor(red: 9 / 255, green: 93 / 255, blue: 154 / 255, alpha: 0.25) | ||
), | ||
border: UIColor(red: 255 / 255, green: 99 / 255, blue: 137 / 255, alpha: 1), | ||
placeholder: PlaceholderColors( | ||
backgroundColor: UIColor(red: 255 / 255, green: 179 / 255, blue: 186 / 255, alpha: 1), | ||
loadingAnimationColors: [UIColor(red: 255 / 255, green: 179 / 255, blue: 186 / 255, alpha: 1), | ||
UIColor(red: 255 / 255, green: 223 / 255, blue: 186 / 255, alpha: 1)] | ||
), | ||
preferredUserInterfaceStyle: .light | ||
) | ||
} | ||
} |
Binary file added
BIN
+29.7 KB
...maryViewTests/testLargeProfileSummaryViewPlaceholdersCanHideCustomPalette.1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+17 KB
...maryViewTests/testLargeProfileSummaryViewPlaceholdersCanShowCustomPalette.1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+40.7 KB
...argeProfileViewTests/testLargeProfileViewPlaceholdersCanHideCustomPalette.1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+21.2 KB
...argeProfileViewTests/testLargeProfileViewPlaceholdersCanShowCustomPalette.1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+17.1 KB
...leSummaryViewTests/testProfileSummaryViewPlaceholdersCanHideCustomPalette.1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+8.82 KB
...leSummaryViewTests/testProfileSummaryViewPlaceholdersCanShowCustomPalette.1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+31.1 KB
...pshots__/ProfileViewTests/testProfileViewPlaceholdersCanHideCustomPalette.1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+14.3 KB
...pshots__/ProfileViewTests/testProfileViewPlaceholdersCanShowCustomPalette.1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
module Gravatar | ||
VERSION = '2.0.0'.freeze | ||
VERSION = '2.0.1'.freeze | ||
end |