主题组件矩阵

当您拥有大量主题和大量主题组件时,可能难以确保您的组件仅为您希望启用的主题启用(且仅针对这些主题)。

主题组件矩阵的构想是让您一目了然地查看所有主题及其组件。在我制作的示意图中,它仅显示“是/否”,但这些将是链接,让您能够即时切换组件。

如果列数过多,或许可以通过 CSS 旋转组件名称?

5 个赞

@Dannii This is an excellent idea!

Prior to doing anything in core maybe try 2 things:

  1. A data explorer query for this

  2. A theme component that adds Matrix :smiling_face_with_three_hearts:

I worry about adding complexity here to core.

Also on core’s side, I think it makes sense to show a list of “themes” that have a component in the actual customize menu for the component. Just need to be careful not to clutter that UI too much.

4 个赞

我刚在寻找这样的数据浏览器查询时遇到了这个话题!有人已经创建了吗?

自这个话题开始以来,管理主题和组件的用户界面得到了极大的改进。组件列表显示了每个组件使用的所有主题: