Skip to content

Severenit/ngFit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ngFit App

Building a ngFit App with AngularJS

Install

$ git clone https://github.com/Severenit/ngFit.git && cd ngFit
$ bower install
$ npm install
$ gulp

Mixin

The application I'm using your own mixin to work with color, font and media queries.

Use Color Mixin

Use function in scss "color( name_color , type_color , opacity_color );"

Number 2 and 3 it's optional value, if you don't set them, set will be the normal value and 1 for opacity

Example

background: color(teal, normal,.6);

Use Fonts Mixin

Include mixin in scss "@include font( name_font , type_font );"

Example

@include font(roboto, regular-italic);

Use Media Queries Mixin

Include mixin in scss "@include media( name_media , type_media ) { @content }"

Example

@include media(phone, general){
  @content
};

Your Own Mixin Value

You can use your own mixin value, making all similar.

All values are stored in a file builds/development/sass/includes/_stack.scss

Structure

├──  builds/
│   ├──  development/
│   │   │   ├── app/
│   │   │   │   ├──  components/
│   │   │   │   │   └──  navbar/
│   │   │   │   │   │   ├──  navbar.controller.js
│   │   │   │   │   │   └──  navbar.html
│   │   │   │   ├──  main/
│   │   │   │   │   ├──  main.controller.js
│   │   │   │   │   └──  main.html
│   │   │   │   └──  app.js
│   │   │   ├──  fonts/
│   │   │   ├──  css/
│   │   │   ├──  img/
│   │   │   ├──  libs/
│   │   │   ├──  sass/
│   │   │   │   ├──  includes/
│   │   │   │   │   ├──  mixins/...
│   │   │   │   │   ├──  _mixins.scss
│   │   │   │   │   ├──  _stack.scss
│   │   │   │   │   └──  _varibles.scss
│   │   │   │   └──  styles.scss
│   │   │   └──  index.html
├──  bower_components/
├──  node_modules/
├──  .gitignore
├──  bower.json
├──  gulpfile.js
├──  package.json

About

AngularJs Gulp buildings

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published