Skip to content

General process for creating themes of Hyas? #311

Answered by h-enk
rootwork asked this question in Support
Discussion options

You must be logged in to vote

The way Hyas (+ Doks) is currently set up is mainly (+ unfortunately) because of Hugo limitations. For example, Hugo Modules does not support configuration + scripts handling. That's mainly why I'm using npm. And in turn, that's why the Hugo theme inheritance does not work (properly).

@hyas/core is indeed Hyas as an npm package, so I'd start from there when building a Hyas based theme — h-enk/hyas-child-theme could be your starting point.

BTW, I'm in the process of splitting up certain functionalities like e.g. @hyas/images — see also #312

I'm curious what kind of theme you're going to create? Would be nice to keep us updated in the Discussions!

Replies: 5 comments 7 replies

Comment options

You must be logged in to vote
1 reply
@rootwork
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by rootwork
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
6 replies
@h-enk
Comment options

@mdehollander
Comment options

@mdehollander
Comment options

@pensivedog
Comment options

@pensivedog
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
4 participants