Skip to content

glfs-book/lfs-themes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 

Repository files navigation

lfs-themes

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.

In use with GLFS/SLFS

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=whitepink

In use with other *LFS books

The 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.

Build Time Overwriting

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.css

Replace <theme> with the theme you wish to use. Then just build the book as usual.

Install Time Overwriting

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.css

Replace <theme> with the theme you wish to use.

Contributing

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.

About

A collection of Linux From Scratch themes (CSS files) to be used with the *LFS* books.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages