A collection of Linux From Scratch themes (CSS files) to be used with the *LFS
books.
This repository is intended for the SLFS and GLFS books made by the GLFS development team and its contributors, but can also be used for LFS, MLFS, and BLFS.
For Gaming or Supplemental LFS, when rendering the books, you can run the following:
make <options> \
THEME_PATH=/path/to/lfs-themes/themes \
THEME=<theme>For example, assuming you have SLFS and lfs-themes in /sources, you could
build SLFS using the 'whitepink' theme like so:
cd /sources/slfs
make THEME_PATH=../lfs-themes/themes THEME=whitepinkThe Makefiles for the books maintained by the LFS and BLFS development teams do
not support the THEME or THEME_PATH variables, so the default theme must be
overwritten. This may be done at build or install time.
To overwrite the default theme at build time:
cp -vf /path/to/lfs-themes/themes/<theme>.lfs.css /path/to/book/sources/stylesheets/lfs-xsl/lfs.cssReplace <theme> with the theme you wish to use. Then just build the book as usual.
Alternatively, to overwrite the default theme at install time:
cp -vf /path/to/lfs-themes/themes/<theme>.lfs.css /path/to/rendered/book/stylesheets/lfs.cssReplace <theme> with the theme you wish to use.
Fork this repository and git checkout to a new branch. Copy an existing theme
and edit it to your heart's content. Once you've completed your masterpiece,
push to your fork, then submit a pull request.