-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
> Use the techniques you learned in project 2 to draw a thin gray line around the buttons view, to make it stand out from the rest of the UI. I ended up making some slightly different tweaks -- but ensuring that the buttons stand out nonetheless.
- Loading branch information
CypherPoet
authored and
CypherPoet
committed
Mar 15, 2019
1 parent
6ef95fe
commit 2897464
Showing
3 changed files
with
63 additions
and
12 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
20 changes: 20 additions & 0 deletions
20
day-036/project/Seven Swifty Words/Source/Supporting Files/Style.swift
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,20 @@ | ||
// | ||
// Style.swift | ||
// Seven Swifty Words | ||
// | ||
// Created by Brian Sipple on 3/15/19. | ||
// Copyright © 2019 Brian Sipple. All rights reserved. | ||
// | ||
|
||
import UIKit | ||
|
||
enum Style { | ||
enum Color { | ||
static let background = #colorLiteral(red: 0.1557853222, green: 0.1640332043, blue: 0.2117108405, alpha: 1) | ||
static let labelText = #colorLiteral(red: 0.9994066358, green: 0.3798269629, blue: 0.5379426479, alpha: 1) | ||
static let letterGroupButton = #colorLiteral(red: 0.4665188789, green: 0.4245759249, blue: 0.8790055513, alpha: 1) | ||
static let letterGroupButtonShadow = #colorLiteral(red: 0.9994066358, green: 0.3798269629, blue: 0.5379426479, alpha: 1) | ||
static let answerTextPlaceholder = #colorLiteral(red: 0.5362107158, green: 0.5363042355, blue: 0.5361984372, alpha: 1) | ||
static let answerText = #colorLiteral(red: 0.8912534118, green: 0.8914031386, blue: 0.8912337422, alpha: 1) | ||
} | ||
} |