Skip to content

Latest commit

 

History

History

sass

Sass Source Files

The Sass sources to build the custom CSS stylesheets for The Hugo Book.


Table of Contents


System Requirements

This project uses Dart Sass to compile the CSS stylesheets, because starting from March 26, 2019 Ruby Sass is no longer maintained.

Since Dart Sass behavior is slightly different from Ruby Sass, anyone still working with Ruby Sass must ensure to switch to Dart Sass to avoid creating divergent CSS stylesheets.

Installing Dart Sass

The easiest way to install Dart Sass on Windows, and keep it always updated, is to install it via Chocolatey/Chocolatey GUI:

Credits

Base16 Colour Schemes

The Sass/CSS themes use the following Base16 colour schemes:

The Base16 project was created by Chris Kempson:

The above schemes are imported via the Base16 Sass project (below), which duely credits the upstream Base16 project in its license.

Base16 Sass

The following Base16 SCSS files:

were taken from the Base16 Sass project by Tristano Ajmone:

released under MIT License.

MIT License

Copyright (c) 2019 Tristano Ajmone <[email protected]>
https://github.com/tajmone/Base16-Sass

Copyright (c) 2012 Chris Kempson (http://chriskempson.com)
https://github.com/chriskempson/base16-builder

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

Base2Tone Colour Schemes

The Sass/CSS themes use the following Base2Tone colour schemes:

The Base2Tone project was created by Bram de Haan (@atelierbram), based on Simurai's Duotone Themes for the Atom editor.

The following Base2Tone SCSS files:

were derived from the YAML schemes found at the Base2Tone project by Bram de Haan, released under MIT License:

The MIT License (MIT)

Copyright (c) 2016 Bram de Haan

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.