1.0.32 • Published 7 years ago

yu-scss v1.0.32

Weekly downloads
1
License
ISC
Repository
-
Last release
7 years ago

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

1.0.32

7 years ago

1.0.31

7 years ago

1.0.30

7 years ago

1.0.29

7 years ago

1.0.28

7 years ago

1.0.27

7 years ago

1.0.26

7 years ago

1.0.25

7 years ago

1.0.23

7 years ago

1.0.22

7 years ago

1.0.21

7 years ago

1.0.20

7 years ago

1.0.18

7 years ago

1.0.17

7 years ago

1.0.16

7 years ago

1.0.15

7 years ago

1.0.14

7 years ago

1.0.13

7 years ago

1.0.12

7 years ago

1.0.11

7 years ago

1.0.10

7 years ago

1.0.9

7 years ago

1.0.8

7 years ago

1.0.7

7 years ago

1.0.4

7 years ago

1.0.3

7 years ago

1.0.2

7 years ago