主题配置
本节内容为时间轴范式组件的主题配置文档。
时间轴范式组件通 过 option.theme 配置主题。示例:
const timeline = new Timeline(dom, { theme: 'mobile' });
提供以下几种主题。(默认为 mobile)
主题预览
预览组件不同主题实际效果。
移动端
mobile

mobile-dark
v0.0.6+

mobile-withValueOuter
v0.0.5+

mobile-withValueOuter-dark
v0.0.6+

mobile-compact
v0.2.0+

mobile-compact-dark
v0.2.0+

mobile-compact-withValueOuter
v0.2.0+

mobile-compact-withValueOuter-dark
v0.2.0+

mobile-simple
v0.2.0+
mobile-simple-dark
v0.2.0+
mobile-ainvest-light
v0.4.0+

mobile-ainvest-dark
v0.4.0+

PC 端
pc
pc-dark
pc-simple
v0.4.0+
pc-simple-dark
v0.4.0+
