-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b003873
commit 0bfab32
Showing
10 changed files
with
239 additions
and
189 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
// | ||
// Copyright © FINN.no AS, Inc. All rights reserved. | ||
// | ||
|
||
import Foundation | ||
|
||
public extension CGFloat { | ||
/// Separation of 2 points. | ||
static let verySmallSpacing: CGFloat = 2 | ||
|
||
/// Separation of 4 points. | ||
static let smallSpacing: CGFloat = 4 | ||
|
||
/// Separation of 8 points. | ||
static let mediumSpacing: CGFloat = 8 | ||
|
||
/// Separation of 16 points. | ||
static let mediumLargeSpacing: CGFloat = 16 | ||
|
||
/// Separation of 32 points. | ||
static let largeSpacing: CGFloat = 32 | ||
|
||
/// Separation of 64 points. | ||
static let veryLargeSpacing: CGFloat = 64 | ||
} |
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
Oops, something went wrong.