I remember sending PRs to all the theme components we have here on Meta when we made the change that differentiates between themes and theme components.
I think this one slipped through the cracks because it was a reply to some other topic and has since been moved to its own topic in the Customization > Theme category.
@oca You only need to add one line to this “theme” to make it function as a theme component. You need to add
"component": true
to the about.json file of your component like so
{
"name": "Private messages with color",
"about_url": "https://framagit.org/oca/discourse-theme-colored-private-messages ",
"license_url": "https://framagit.org/oca/discourse-theme-colored-private-messages/blob/master/LICENSE",
+ "component": true,
"assets": {
"asset-variable": "assets/background.svg"
}
}
Once you do that, it should work just like any other component and we can then add the theme-component tag to this topic.