-
Notifications
You must be signed in to change notification settings - Fork 10
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 #41 from Brightspace/dbatiste/add-color-variable
Dbatiste/add color variable
- Loading branch information
Showing
11 changed files
with
244 additions
and
274 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
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 |
---|---|---|
|
@@ -10,7 +10,6 @@ | |
".gitignore", | ||
".npmignore", | ||
".travis.yml", | ||
"karma.conf.js", | ||
"package.json" | ||
], | ||
"dependencies": { | ||
|
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
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,31 +1,34 @@ | ||
@import 'bower_components/vui-colors/colors.scss'; | ||
@import 'px-to-base-rem.scss'; | ||
|
||
@mixin vui-typography-small-text( | ||
$color: $vui-color-ferrite, | ||
$fontWeight: 400, | ||
$margin: 1rem 0 1rem 0, | ||
$line-height: 1rem | ||
) { | ||
|
||
color: $vui-color-ferrite; | ||
color: $color; | ||
font-family: inherit; | ||
font-size: 0.7rem; | ||
font-weight: $fontWeight; | ||
line-height: $line-height; | ||
letter-spacing: px-to-base-rem(0.4px); | ||
letter-spacing: 0.02rem; | ||
margin: $margin; | ||
|
||
} | ||
|
||
@mixin vui-typography-small-strong-text($fontWeight: 700, $margin: 1rem 0 1rem 0) { | ||
@mixin vui-typography-small-strong-text( | ||
$color: $vui-color-ferrite, | ||
$fontWeight: 700, | ||
$margin: 1rem 0 1rem 0 | ||
) { | ||
|
||
@include vui-typography-small-text( | ||
$color: $color, | ||
$fontWeight: $fontWeight, | ||
$margin: $margin | ||
); | ||
|
||
color: $vui-color-ferrite; | ||
font-family: inherit; | ||
font-size: 0.7rem; | ||
font-weight: $fontWeight; | ||
line-height: 1rem; | ||
letter-spacing: px-to-base-rem(0.4px); | ||
margin: $margin; | ||
text-transform: uppercase; | ||
|
||
} |
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,113 @@ | ||
@import url(https://s.brightspace.com/lib/fonts/0.2.0/fonts.css); | ||
html { | ||
font-size: 20px; | ||
} | ||
|
||
body { | ||
color: #565a5c; | ||
font-family: 'Lato', 'Lucida Sans Unicode', 'Lucida Grande', sans-serif; | ||
font-size: 1rem; | ||
font-weight: 300; | ||
line-height: 1.5; | ||
letter-spacing: 0.015rem; | ||
margin: 1rem; | ||
} | ||
|
||
body.vui-dyslexic, | ||
body .vui-dyslexic { | ||
font-weight: 400; | ||
font-family: 'Open Dyslexic', sans-serif; | ||
} | ||
|
||
body :lang(ar) { | ||
font-family: 'Arabic Transparent', 'Arabic Typesetting', 'Geeza Pro', sans-serif; | ||
} | ||
|
||
body :lang(zh-CN) { | ||
font-family: 'Microsoft YaHei', 'Hiragino Sans GB', sans-serif; | ||
} | ||
|
||
body :lang(zh-TW) { | ||
font-family: 'Microsoft YaHei', 'Hiragino Sans GB', sans-serif; | ||
} | ||
|
||
body :lang(ko) { | ||
font-family: 'Apple SD Gothic Neo', Dotum, sans-serif; | ||
} | ||
|
||
body :lang(ja) { | ||
font-family: 'Hiragino Kaku Gothic Pro', 'Meiyro', sans-serif; | ||
} | ||
|
||
body p { | ||
margin: 1.5rem 0; | ||
} | ||
|
||
table { | ||
max-width: 1000px; | ||
} | ||
|
||
td, th { | ||
padding: 0.5rem; | ||
} | ||
|
||
.heading-1 { | ||
color: #565a5c; | ||
font-family: inherit; | ||
font-size: 2rem; | ||
font-weight: 300; | ||
line-height: 3rem; | ||
letter-spacing: -0.025rem; | ||
margin: 1.5rem 0 1.5rem 0; | ||
} | ||
|
||
.heading-2 { | ||
color: #565a5c; | ||
font-family: inherit; | ||
font-size: 1.5rem; | ||
font-weight: 300; | ||
line-height: 2.25rem; | ||
letter-spacing: -0.015rem; | ||
margin: 1.5rem 0 1.5rem 0; | ||
} | ||
|
||
.heading-3 { | ||
color: #565a5c; | ||
font-family: inherit; | ||
font-size: 1rem; | ||
font-weight: 700; | ||
line-height: 1.5rem; | ||
letter-spacing: 0.025rem; | ||
margin: 1.5rem 0 1.5rem 0; | ||
} | ||
|
||
.heading-3 { | ||
color: #565a5c; | ||
font-family: inherit; | ||
font-size: 1rem; | ||
font-weight: 400; | ||
line-height: 1.5rem; | ||
letter-spacing: 0.02rem; | ||
margin: 1.5rem 0 1.5rem 0; | ||
} | ||
|
||
.small-text { | ||
color: #565a5c; | ||
font-family: inherit; | ||
font-size: 0.7rem; | ||
font-weight: 400; | ||
line-height: 1rem; | ||
letter-spacing: 0.02rem; | ||
margin: 1rem 0 1rem 0; | ||
} | ||
|
||
.small-strong-text { | ||
color: #565a5c; | ||
font-family: inherit; | ||
font-size: 0.7rem; | ||
font-weight: 700; | ||
line-height: 1rem; | ||
letter-spacing: 0.02rem; | ||
margin: 1rem 0 1rem 0; | ||
text-transform: uppercase; | ||
} |
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,43 @@ | ||
@import '../typography.scss'; | ||
@import '../headings.scss'; | ||
@import '../small-text.scss'; | ||
|
||
html { | ||
font-size: 20px; | ||
} | ||
body { | ||
@include vui-typography; | ||
margin: 1rem; | ||
} | ||
table { | ||
max-width: 1000px; | ||
} | ||
td, th { | ||
padding: 0.5rem; | ||
} | ||
td { | ||
} | ||
|
||
.heading-1 { | ||
@include vui-typography-heading1; | ||
} | ||
|
||
.heading-2 { | ||
@include vui-typography-heading2; | ||
} | ||
|
||
.heading-3 { | ||
@include vui-typography-heading3; | ||
} | ||
|
||
.heading-3 { | ||
@include vui-typography-heading4; | ||
} | ||
|
||
.small-text { | ||
@include vui-typography-small-text; | ||
} | ||
|
||
.small-strong-text { | ||
@include vui-typography-small-strong-text; | ||
} |
Oops, something went wrong.