Skip to content

yu910709/yu-scss

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Introduce

this script can use AMD to inset stylesheets in you website,it has a personal scss sheet and already mixed in normalize.css & bootstrap-grid

Quick to start

Using npm:

$ npm install --save yu-scss $ import styles from 'yu-scss'
  • For use only default css style to you css file:@import "~yu-scss/lib/yuScss.css"
  • For use only default scss variable to you scss file:@import "~yu-scss/lib/yuScss.scss"

Example

You can use npm run dev to check the example file in node package

 new styles({ 'log':true, 'bootCDN':true, 'fa':true, 'iconfont':{ 'font':'http://at.alicdn.com/t/font_454368_5b52nx76qn09t3xr.css', 'svg':'http://at.alicdn.com/t/font_454368_5b52nx76qn09t3xr.js' }, 'bs':true, 'el':false, });

JSDoc

 * @param {object[]} option * @param {boolean} [option[].log = false] - whether to show log in console * @param {boolean} [option[].bootCDN = true] - whether to use BootCDN * @param {boolean} [option[].fontawesome|option[].fa] - whether to use fontawesome * @param {object[]} [option[].iconfont|option[].if] - whether to use iconfont * @param {string} [option[].iconfont[].font|option[].if[].font] - the stylesheet url of iconfont * @param {string} [option[].iconfont[].svg|option[].if[].svg] - the script url of iconfont for support iconfont svg * @param {boolean} [option[].bootstrap|option[].bs] - whether to use bootstrap * @param {boolean} [option[].bootstrapJs|option[].bsJs] - whether to use bootstrap.js (not support yet) * @param {boolean} [option[].element|option[].el] - whether to use element * @param {boolean} [option[].elementJs|option[].elJs] - whether to use element.js (not support yet) 

Links

github npm

About

common scss with flexible normalize default & you can add fontawesome iconfont bootstrap with config in AMD

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors