What is the purpose of the "Convert" button with themes?

Can someone explain what does this “Convert” button do, please? What is it for?

Convert - Convert this component to theme

「いいね!」 1

The “Convert” button appears on both theme and component pages. It will allow you to convert a theme to a component or vice versa through the admin interface. Most Discourse admins will never need to use it. Themes and components found at theme already include the correct designation.

This should be covered in our Beginner's guide to using Discourse Themes, but the basic idea is:

  • Themes are considered to be the baseline of your Discourse site’s styling. Often sites offer multiple, user-selectable themes.
  • Components are meant to be added to themes to extend style and/or functionality beyond your basic theme(s).
「いいね!」 8

上記の素晴らしい説明とガイドをありがとうございます。関数の目的を理解せずにコンポーネントをテーマに変換してしまいましたが、元に戻す方法はありますか?それとも、コンポーネントを削除して再インストールする必要がありますか?

「いいね!」 1

上記で説明したように、変換ボタンはテーマとコンポーネントの両方に表示されます。したがって、コンポーネントをテーマに変換するだけです。

「いいね!」 2