Element: [Feature Request] Dark/light Theme switch support

Created on 4 Jun 2019  ·  3Comments  ·  Source: ElemeFE/element

Existing Component

No

Component Name

None

Description

just like other UI libraries, it is nice to have the light/dark theme support.

Most helpful comment

@qingdengyue @iamkun @island205 how are we supposed to dynamically swtich back and forth between a light and a dark theme when the user clicks on a switch for example:
1

is there a way I can have a element-variables.scss and another one called element-dark-variables.scss and switch dynamically between them?

All 3 comments

@qingdengyue @iamkun @island205 how are we supposed to dynamically swtich back and forth between a light and a dark theme when the user clicks on a switch for example:
1

is there a way I can have a element-variables.scss and another one called element-dark-variables.scss and switch dynamically between them?

Sorry, we have no plan to support this.

有在线主题编辑器:https://element.eleme.cn/#/zh-CN/component/custom-theme @qingdengyue

Was this page helpful?
0 / 5 - 0 ratings