Skip to content

Newly listed themes are no longer allowed to use theme.js #1821

@TCOTC

Description

@TCOTC

经内部讨论,从版本 https://github.com/siyuan-note/siyuan/milestone/403 开始重新设计界面整体外观,新上架的主题将不再允许使用 theme.js。原因是:

theme.js 是一种不良的机制,它导致了主题外观与功能的紧密耦合。

随着插件系统的引入,我们应该使用插件机制来替代过时的 theme.js

siyuan-note/siyuan#8178 (comment)

After internal discussion, starting from the milestone https://github.com/siyuan-note/siyuan/milestone/403 redesign the overall interface appearance, newly listed themes are no longer allowed to use theme.js. The reason is:

theme.js is a bad mechanism that results in a heavy coupling of theme appearance and functionality.

With the introduction of the plugin system, we should use the plugin mechanism instead of the outdated theme.js.

siyuan-note/siyuan#8178 (comment)

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions