Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
Material
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Dmitriy Stepanets
Material
Commits
90bd4619
Commit
90bd4619
authored
Sep 11, 2015
by
Daniel Dahan
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #42 from GraphKit/issue-41
Issue 41
parents
a2559db4
ec9ec082
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
248 additions
and
86 deletions
+248
-86
Source/BasicCardView.swift
+106
-38
Source/ImageCardView.swift
+131
-36
Source/MaterialTheme.swift
+11
-12
No files found.
Source/BasicCardView.swift
View file @
90bd4619
This diff is collapsed.
Click to expand it.
Source/ImageCardView.swift
View file @
90bd4619
This diff is collapsed.
Click to expand it.
Source/MaterialTheme.swift
View file @
90bd4619
...
@@ -20,6 +20,17 @@ import UIKit
...
@@ -20,6 +20,17 @@ import UIKit
public
struct
MaterialTheme
{}
public
struct
MaterialTheme
{}
// spacing
extension
MaterialTheme
{
public
static
var
verticalInset
:
CGFloat
=
16
public
static
var
horizontalInset
:
CGFloat
=
16
}
// fonts
extension
MaterialTheme
{
public
static
var
textFontSize
:
CGFloat
=
16
}
// colors
// colors
extension
MaterialTheme
{
extension
MaterialTheme
{
// clear
// clear
...
@@ -369,14 +380,3 @@ extension MaterialTheme {
...
@@ -369,14 +380,3 @@ extension MaterialTheme {
public
static
let
darken4
:
UIColor
=
UIColor
(
red
:
38
/
255
,
green
:
50
/
255
,
blue
:
56
/
255
,
alpha
:
1
)
public
static
let
darken4
:
UIColor
=
UIColor
(
red
:
38
/
255
,
green
:
50
/
255
,
blue
:
56
/
255
,
alpha
:
1
)
}
}
}
}
// spacing
extension
MaterialTheme
{
public
static
var
verticalInset
:
CGFloat
=
8
public
static
var
horizontalInset
:
CGFloat
=
2
*
verticalInset
}
// fonts
extension
MaterialTheme
{
public
static
var
textFontSize
:
CGFloat
=
16
}
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment