contributors
通过修改算法可以快速生成风格迥异的主题,我们默认提供三套预设算法:默认算法 theme.defaultAlgorithm、暗色算法 theme.darkAlgorithm 和紧凑算法 theme.compactAlgorithm。你可以通过 theme 中的 algorithm 属性来切换算法,并且支持配置多种算法,将会依次生效。
You can quickly generate distinct themes by modifying algorithms. We provide three preset algorithms by default: theme.defaultAlgorithm, theme.darkAlgorithm, and theme.compactAlgorithm. You can switch algorithms through the algorithm property in theme, and multiple algorithms can be configured, which will take effect in order.