Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@rqjs/rqthemes

anson0913MIT2.0.7

ricequant themes

readme

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

  2. element light theme: import '@rqjs/rqthemes/lib/element-light.css'

  3. element dark theme: import '@rqjs/rqthemes/lib/element-dark.css'

  4. import all vars

  5. import '@rqjs/rqthemes/lib/vars.css'

  6. import entry file, which contains global style,and highcharts theme(styled mode)

  7. import '@rqjs/rqthemes'

  8. please use import @rqjs/rqthemes/lib/legacy.css instead if project need support IE
  9. 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

changelog

Changelog

All notable changes to this project will be documented in this file. See standard-version for commit guidelines.

2.0.7 (2022-01-07)

Bug Fixes

  • latest hsl color format is unsupport in ie (8339f42)

2.0.6 (2021-12-31)

Bug Fixes

  • depVersion (19ac521)
  • merge element fix (f7ea575)
  • npm taobao registry modify _postinstall script (6c8e7ad)

Code Style

Chores

2.0.5 (2021-11-04)

Bug Fixes

  • npm taobao registry modify _postinstall script (6c8e7ad)

Chores

2.0.4 (2021-11-01)

Chores

  • update stylelint 14 & nodejs 16 (22e62ef)

2.0.3 (2021-10-09)

CI

Chores

2.0.2 (2021-09-03)

Chores

  • update element exported (07c7cde)

2.0.1 (2021-08-30)

Bug Fixes

  • element bundle switchs to master from dev (10b0e07)

2.0.0 (2021-08-27)

Features

  • update dark theme and delete highcharts-tree (f6d0bb8)

2.0.0-next.10 (2021-08-20)

Features

  • update element dark export (a1e2ea3)
  • update element export and vars (07ace62)

2.0.0-next.9 (2021-08-14)

Features

2.0.0-next.8 (2021-08-07)

Features

  • update element light theme (9ac4f4f)

2.0.0-next.7 (2021-08-04)

Features

2.0.0-next.6 (2021-08-04)

Features

2.0.0-next.5 (2021-08-03)

⚠ BREAKING CHANGES

  • delete all variables outside light/dark definition

Features

  • delete all variables outside light/dark definition (e2f0028)

2.0.0-next.4 (2021-07-31)

Features

Bug Fixes

  • husky install in pack mode (2a16e78)
  • publish will active pack hook (947f5d9)

CI

Chores

2.0.0-next.3 (2021-04-26)

Chores

2.0.0-next.2 (2021-02-19)

Features

  • update highchart colors (179ed82)

Bug Fixes

  • element export dark file bug (83d1543)

Chores

  • move nodejs active lts version forward (b5b2f46)

CI

2.0.0-next.1 (2020-12-02)

Bug Fixes

2.0.0-next.0 (2020-11-30)

⚠ BREAKING CHANGES

  • need import vars file alone now
  • product theme type is removed

Features

  • move product theme to new light theme (f89299a)
  • theme vars could be imported standalone (84ae4c3)

Docs

Chores

1.0.1 (2020-11-07)

Bug Fixes

  • default scrollbar style (ac49ebf)

Chores

1.0.0 (2020-10-14)

Features

  • dev mode instant review (bd961d0)

CI

1.0.0-next.1 (2020-09-09)

⚠ BREAKING CHANGES

  • split element-ui themes from default index.css
  • output includes element base.css
  • drop normalize.css output

Features

Bug Fixes

Code Style

Docs

Build Flow

Refactors

CI

Performance

  • clear empty :root{} (c4b7b9c)
  • dark mode table and highchart navigator (7e2129c)
  • shrink index bundle size (81d0fa5)

Chores