如何编辑已安装的主题?

I’ve tried editing Mint theme through github and then uploading the zip in components but it is not working. How can you edit an existing theme?

2 个赞

The easiest way is Beginners’ guide to using Theme Creator and Theme CLI to start building a Discourse theme.

The other is you fork the repository and make edits there.

3 个赞

You can Export Theme and then import theme. This will load the theme with editability. Though might not be ideal.

You can create a theme component and override things within a theme depending in what your trying to accomplish.