overwrite settings an theme attributes

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

overwrite settings an theme attributes

sroth
Is it possible to define one central theme.yml document with basic setting and overwrite the atrributes by a second style.yml file in the way CSS does.
The same für settings?

So: one file for a group of *.adoc - Documents an a second to change some things in just one file with includes?
Reply | Threaded
Open this post in threaded view
|

Re: overwrite settings an theme attributes

habamax
Yes it is possible.


I have default-theme.yml with all my default settings.

Then next to it I have a bunch of other themes that include default one:

extends: ./default-theme.yml

base:
  align: justify

title_page:
  background-image: logo/habamax-cover.jpg
  align: right
  title:
    top: 60%