Next stage themes #3142
Replies: 3 comments 3 replies
-
#3208 has demo work on this topic. When I started working on the decoupling I noticed that the four V3 themes are all mostly the same. I have cloned the assets into each theme as though they do not. I think that the "final" starting release of each theme will need some heavy redaction and alteration once the "blank" theme is finalized. I feel that it would be best to make Blank as system/platform agnostic as possible and push the notion of a 5e ( and 6e ) base into their own base themes. There also needs to be some discussion of snippets. |
Beta Was this translation helpful? Give feedback.
-
Now that I have spent a lot of time working through implementations of part of this setup I have come to the conclusion that the solution above has a LOT of overthinking involved.
** Edits: Changed the tagging labels based on recent live discussions. |
Beta Was this translation helpful? Give feedback.
-
Suggested change to avoid overflow: Overflow to avoidChanges and resultWrap the name of the theme in a
Which results in: |
Beta Was this translation helpful? Give feedback.
-
Overview
The current theme schema imposes some specific assumptions and in turn limitations on the long-term capabilities of Homebrewery. Okay. That might be a little hyperbolic.
Currently, themes are tightly bundled with the code base which creates challenges for the maintenance and integration of third-party themes.
Here is my proposal. Each top-level bullet point is a distinct wave of work.
Theme Format
Expected Files:
settings.json : This is a metadata file for the theme. This extends the current version by adding the license type, a short description, and brew tags. Optional contact information such as the themes repository should also be considered.
theme.less : The theme styles
Optional Files and folders:
snippets/ : folder for snippets loading/linking
fonts/ : organizational folder for fonts
images/ : organizational folder for images
license.md : If the chosen license type requires including a file with the license terms, this is it. Distinct licenses for any shared assets should also be included here.
snippets.js : snippets additions for the theme
catalog.brew : A brew for showing off/demonstrating features of the theme.
Perhaps this, assuming desirable beyond just me, should be considered the basis for V4 themes?
Beta Was this translation helpful? Give feedback.
All reactions