我想根据用户组成员资格自定义 UI

Yes, this is possible. The current primary group for a user is added as a CSS class on the <body> tag. This combined with the fact that Discourse supports SCSS means that you can apply different CSS styles based on the current user’s primary group easily.

If you have an example of something you’d like to do, I’d be happy to chime in.

3 个赞