ant-design-charts icon indicating copy to clipboard operation
ant-design-charts copied to clipboard

add theme globally

Open nerdess opened this issue 3 years ago • 1 comments

I have generated an antd design charts theme here: https://theme-set.antv.vision

Currently I am importing the theme in every component an applying it with

{ 
   theme: theme
}

I'd like to "inject" the theme globally so that every charts uses it automatically.

How can I do this? Thanks for your help :)

nerdess avatar Jan 28 '22 08:01 nerdess

+1

kenzouno1 avatar Mar 28 '24 07:03 kenzouno1