Skip to content

Commit

Permalink
Added new color constants & update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
iamgabrielma committed Aug 23, 2021
1 parent bb5d760 commit 9da95c4
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 9 deletions.
Binary file not shown.
23 changes: 16 additions & 7 deletions Haikyo/Constants.swift
Original file line number Diff line number Diff line change
Expand Up @@ -11,25 +11,34 @@ import UIKit
enum HaikuColors {

// Array of all Combinations:
static let haikuStyles: [[UIColor]] = [haikuBgCream, haikuBgGrey, haikuBgPurple]
static let haikuStyles: [[UIColor]] = [haikuBgCream, haikuBgGrey, haikuBgPurple, haikuBgLime, haikuBgGreen, haikuBgPink]

// Background Colors:
static var haikuBgCream: [UIColor] = [
static let haikuBgCream: [UIColor] = [
UIColor(red: 0.98, green: 0.82, blue: 0.76, alpha: 1.00),
UIColor(red: 0.28, green: 0.80, blue: 0.95, alpha: 1.00)
]
static var haikuBgGrey: [UIColor] = [
static let haikuBgGrey: [UIColor] = [
UIColor.systemGray2,
UIColor.systemGray6
]
static let haikuBgPurple: [UIColor] = [
UIColor(red: 0.83, green: 0.77, blue: 0.98, alpha: 1.00),
UIColor(red: 0.98, green: 0.82, blue: 0.76, alpha: 1.00)
]
static let haikuBgPink: [UIColor] = []
static let haikuBgLime: [UIColor] = [
UIColor(red: 217/255, green: 237/255, blue: 146/255, alpha: 1.00),
UIColor(red: 153/255, green: 217/255, blue: 140/255, alpha: 1.00)
]
static let haikuBgGreen: [UIColor] = [
UIColor(red: 118/255, green: 200/255, blue: 147/255, alpha: 1.00),
UIColor(red: 52/255, green: 160/255, blue: 164/255, alpha: 1.00)
]
static let haikuBgPink: [UIColor] = [
UIColor(red: 255/255, green: 198/255, blue: 255/255, alpha: 1.00),
UIColor(red: 189/255, green: 178/255, blue: 255/255, alpha: 1.00),
]

// Font Colors:
static var haikuFont: [UIColor: UIColor] = [:]


static let haikuFont: [UIColor: UIColor] = [:]
}
10 changes: 8 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,14 @@
#Haikyo
# Haikyo

Haikyo is a minimalistic iOS app built with SwiftUI that will show a Haiku every time you tap the screen, as well as show the Haiku of the Day via iOS widgets.

![](https://tilcode.blog/wp-content/uploads/2021/08/2021-08-15-mvp.gif)
| App Screen View |
|---------------------|
|![](https://tilcode.blog/wp-content/uploads/2021/08/Simulator-Screen-Recording-iPhone-8-2021-08-23-at-10.58.25.gif)|

| Widgets Screen View |
|---------------------|
|![](https://tilcode.blog/wp-content/uploads/2021/08/2021-08-15-mvp.gif)|

Used:

Expand Down

0 comments on commit 9da95c4

Please sign in to comment.