-
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 pull request #5 from appirio-tech/add-vars
Add vars
- Loading branch information
Showing
14 changed files
with
196 additions
and
172 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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,131 @@ | ||
// Font families and weights | ||
@mixin roboto-light { | ||
font-family: 'Roboto', Helvetica, Arial, sans-serif; | ||
font-weight: 300; | ||
} | ||
|
||
@mixin roboto { | ||
font-family: 'Roboto', Helvetica, Arial, sans-serif; | ||
font-weight: 400; | ||
} | ||
|
||
@mixin roboto-medium { | ||
font-family: 'Roboto', Helvetica, Arial, sans-serif; | ||
font-weight: 500; | ||
} | ||
|
||
@mixin roboto-bold { | ||
font-family: 'Roboto', Helvetica, Arial, sans-serif; | ||
font-weight: 600; | ||
} | ||
|
||
@mixin proxima-nova-thin { | ||
font-family: 'Proxima-Nova', Helvetica, Arial, sans-serif; | ||
font-weight: 200; | ||
} | ||
|
||
@mixin proxima-nova-light { | ||
font-family: 'Proxima-Nova', Helvetica, Arial, sans-serif; | ||
font-weight: 300; | ||
} | ||
|
||
@mixin proxima-nova { | ||
font-family: 'Proxima-Nova', Helvetica, Arial, sans-serif; | ||
font-weight: 400; | ||
} | ||
|
||
@mixin proxima-nova-medium { | ||
font-family: 'Proxima-Nova', Helvetica, Arial, sans-serif; | ||
font-weight: 500; | ||
} | ||
|
||
@mixin proxima-nova-semi-bold { | ||
font-family: 'Proxima-Nova', Helvetica, Arial, sans-serif; | ||
font-weight: 600; | ||
} | ||
|
||
@mixin proxima-nova-bold { | ||
font-family: 'Proxima-Nova', Helvetica, Arial, sans-serif; | ||
font-weight: 700; | ||
} | ||
|
||
// Labels | ||
@mixin tc-label-large { | ||
@include roboto; | ||
font-size: $tc-label-large; | ||
line-height: $base-unit * 4; | ||
} | ||
|
||
@mixin tc-label { | ||
@include roboto; | ||
font-size: $tc-label; | ||
line-height: $base-unit * 4; | ||
} | ||
|
||
@mixin tc-label-small { | ||
@include roboto; | ||
font-size: $tc-label-small; | ||
line-height: $base-unit * 3; | ||
} | ||
|
||
@mixin tc-label-extra-small { | ||
@include roboto; | ||
font-size: $tc-label-extra-small; | ||
line-height: $base-unit * 3; | ||
} | ||
|
||
// Body | ||
@mixin tc-body-large { | ||
@include proxima-nova; | ||
font-size: $tc-body-large; | ||
line-height: $base-unit * 5; | ||
} | ||
|
||
@mixin tc-body { | ||
@include proxima-nova; | ||
font-size: $tc-body; | ||
line-height: $base-unit * 5; | ||
} | ||
|
||
@mixin tc-body-small { | ||
@include proxima-nova; | ||
font-size: $tc-body-small; | ||
line-height: $base-unit * 5; | ||
} | ||
|
||
@mixin tc-body-extra-small { | ||
@include proxima-nova; | ||
font-size: $tc-body-extra-small; | ||
line-height: $base-unit * 4; | ||
} | ||
|
||
// Headings | ||
@mixin tc-heading-extra-large { | ||
@include proxima-nova; | ||
font-size: $tc-heading-extra-large; | ||
line-height: $base-unit * 10; | ||
} | ||
|
||
@mixin tc-heading-large { | ||
@include proxima-nova; | ||
font-size: $tc-heading-large; | ||
line-height: $base-unit * 7; | ||
} | ||
|
||
@mixin tc-heading { | ||
@include proxima-nova; | ||
font-size: $tc-heading; | ||
line-height: $base-unit * 6; | ||
} | ||
|
||
@mixin tc-heading-small { | ||
@include proxima-nova; | ||
font-size: $tc-heading-small; | ||
line-height: $base-unit * 5; | ||
} | ||
|
||
@mixin tc-heading-extra-small { | ||
@include proxima-nova; | ||
font-size: $tc-heading-extra-small; | ||
line-height: $base-unit * 5; | ||
} |
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,2 +1,2 @@ | ||
@import 'mixins'; | ||
@import 'colors'; | ||
@import 'variables'; |
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,22 @@ | ||
@import 'tc-includes'; | ||
|
||
// Headings | ||
h1 { | ||
@include tc-heading-extra-large; | ||
} | ||
|
||
h2 { | ||
@include tc-heading-large; | ||
} | ||
|
||
h3 { | ||
@include tc-heading; | ||
} | ||
|
||
h4 { | ||
@include tc-heading-small; | ||
} | ||
|
||
h5 { | ||
@include tc-heading-extra-small; | ||
} |
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 was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
File renamed without changes.
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 @@ | ||
@import '../../src/styles/tc-styles'; |
File renamed without changes.
File renamed without changes.
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.