跳到主要内容

主题配置

通过 option.theme 配置主题。示例:

const globeIns = new Globe(dom);
globeIns.render({ theme: 'dark' });

提供以下几种主题。(默认为 dark

预置主题

dark

example-dark

light

example-light