Skip to content

Custom Theme #631

Answered by RSS1102
tigawanna asked this question in Q&A
Nov 2, 2023 · 2 comments · 2 replies
Discussion options

You must be logged in to vote

You can refer to here and copy CSS to create your own theme

class name

.cherry.theme__ (you want to class name){
}
  /**
   * 配置主题,第三方可以自行扩展主题
   */
  theme: [
    { className: 'default', label: '默认' },
    { className: 'dark', label: '暗黑' },
    { className: 'light', label: '明亮' },
    { className: 'green', label: '清新' },
    { className: 'red', label: '热情' },
    { className: 'violet', label: '淡雅' },
    { className: 'blue', label: '清幽' },
+ { className: 'you want to class name', label: 'you want to name' },
  ],

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
2 replies
@tigawanna
Comment options

@RSS1102
Comment options

RSS1102 Nov 2, 2023
Collaborator

Answer selected by tigawanna
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants