@rqjs/rqthemes

ricequant themes
2,336
Install
npm install @rqjs/rqthemes
Latest Version:2.0.7
Vue:2
License:MIT
Last Updated:Jul 13, 2022
Links: GitHub  ·  npm
Maintainer: rice-zzl

RQTHEMES

ricequant common themes

Release

https://www.npmjs.com/package/@rqjs/rqthemes

Goal

unify mutiple products theme, product projects using variables defined in src/vars(lib/vars)

Usage

  1. import one of element-ui themes or both of them
  • element light theme: import '@rqjs/rqthemes/lib/element-light.css'
  • element dark theme: import '@rqjs/rqthemes/lib/element-dark.css'
  1. import all vars
  • import '@rqjs/rqthemes/lib/vars.css'
  1. import entry file, which contains global style,and highcharts theme(styled mode)
  • import '@rqjs/rqthemes'
  • please use import @rqjs/rqthemes/lib/legacy.css instead if project need support IE
  • postcss IE polyfill could fetch light vars from @rqjs/rqthemes/lib/light.json

Caveats

  • IE support light theme only
  • highcharts reqiure v7.0.0+, using styled mode

Developer

Commands

npm run start : preview element-ui themes,visit http://localhost:1234

npm run build : generating publish files

npm run lint : audit code style

npm run clean : clear demo cache

Contributions

  1. color vars in theme files is maintained by designer.

  2. git 规范

  3. lint 规范

  4. npm 规范

  5. files structure description
    structure

Version History

Version Released Vue License
2.0.7 ^2.6.14 MIT
2.0.6 ^2.6.14 MIT
2.0.5 ^2.6.14 MIT
2.0.4 ^2.6.14 MIT
2.0.3 ^2.6.14 MIT
Pre-releases (42)
Version Released Vue License
2.0.0-next.10 ^2.6.14 MIT
2.0.0-next.9 ^2.6.14 MIT
2.0.0-next.8 ^2.6.14 MIT
2.0.0-next.7 ^2.6.14 MIT
2.0.0-next.6 ^2.6.14 MIT