Closed tiberiuichim closed 8 months ago
@tiberiuichim shouldn't this be documented and closed?
@sneridagh Yes, indeed, it needs to be documented. Perhaps also along with making it obvious that you can write your own custom semantic.less file, just like this one: https://github.com/eea/volto-eea-design-system/blob/master/src/semantic.less
@tiberiuichim does anything more need to be added to Create a Volto theme add-on? It looks like @sneridagh wrote the docs for it in April 2023.
Let's discuss how we want to treat the following pattern that I've started using. I have an addon that can behave as a "theme addon".
The addon has a
razzle.extend.js
file with the following content:And I have a
my-volto-addon/theme/theme.config
file with the following content:I like this pattern because it allows me to decouple the theme from the Volto project. The Volto project is subject to:
I've started touching some of these issues in the yeoman-based create-volto-app, which enables reapplying the volto-starter-kit on top of an existing Volto project, but my dream scenario is that I can decouple the volto addons and theme from the "Volto project as infrastructure for Volto". Once #1706 is merged, we're already there.