Skip to content

Commit

Permalink
Update readme and variable names in font-face
Browse files Browse the repository at this point in the history
  • Loading branch information
ReneDrie committed Mar 16, 2017
1 parent 43edac8 commit 5b2aa62
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 41 deletions.
70 changes: 35 additions & 35 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,41 +38,41 @@ npm i -S seng-scss
### Variables

- [variables](./utils/_variables.scss)
- $pathAsset: default project asset path (..)
- $pathFont: default project font path (font, prefixed with $pathAsset)
- $pathImage: default project image path (image, prefixed with $pathAsset)
- $zLayout: default list of zIndex names (default)
- $mediaQueries: default list of mediaQueries (empty list)
- $ease{name}: List of easing bezier curves
- $easeLinear
- $ease
- $easeIn
- $easeOut
- $easeInOut
- $easeInQuad
- $easeOutQuad
- $easeInCubic
- $easeOutCubic
- $easeInQuart
- $easeOutQuart
- $easeInQuint
- $easeOutQuint
- $easeInSine
- $easeOutSine
- $easeInExpo
- $easeOutExpo
- $easeInCirc
- $easeOutCirc
- $easeInBack
- $easeOutBack
- $easeInOutQuad
- $easeInOutCubic
- $easeInOutQuart
- $easeInOutQuint
- $easeInOutSine
- $easeInOutExpo
- $easeInOutCirc
- $easeInOutBack
- **$pathAsset**: default project asset path (..)
- **$pathFont**: default project font path (font, prefixed with $pathAsset)
- **$pathImage**: default project image path (image, prefixed with $pathAsset)
- **$zLayout**: default list of zIndex names (default)**
- **$mediaQueries**: default list of mediaQueries (empty list)
- **$ease{name}**: List of easing bezier curves
- **$easeLinear**
- **$ease**
- **$easeIn**
- **$easeOut**
- **$easeInOut**
- **$easeInQuad**
- **$easeOutQuad**
- **$easeInCubic**
- **$easeOutCubic**
- **$easeInQuart**
- **$easeOutQuart**
- **$easeInQuint**
- **$easeOutQuint**
- **$easeInSine**
- **$easeOutSine**
- **$easeInExpo**
- **$easeOutExpo**
- **$easeInCirc**
- **$easeOutCirc**
- **$easeInBack**
- **$easeOutBack**
- **$easeInOutQuad**
- **$easeInOutCubic**
- **$easeInOutQuart**
- **$easeInOutQuint**
- **$easeInOutSine**
- **$easeInOutExpo**
- **$easeInOutCirc**
- **$easeInOutBack**


## Contribute
Expand Down
12 changes: 6 additions & 6 deletions utils/mixin/_font-face.scss
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@
* @param {string} $fontWeight (normal) - Font weight value
* @param {string} $fontStyle (normal) - Font style value
*/
@mixin font-face($fontName, $folderName, $fileName, $fontWeight: normal, $fontStyle: normal) {
@mixin font-face($name, $folder, $file, $weight: normal, $style: normal) {
@font-face {
font-family: $fontName;
src: font('#{$folderName}/#{$fileName}.woff2') format('woff2'),
font('#{$folderName}/#{$fileName}.woff') format('woff');
font-weight: $fontWeight;
font-style: $fontStyle;
font-family: $name;
src: font('#{$folder}/#{$file}.woff2') format('woff2'),
font('#{$folder}/#{$file}.woff') format('woff');
font-weight: $weight;
font-style: $style;
}
}

0 comments on commit 5b2aa62

Please sign in to comment.