Description
Publishing a sass package for the styling (and compiling the fsdocs-default.css
file from it) would highly benefit the expandability of the package and make template generation easier. As this library is undergoing drastic changes in the last months (thats a good thing!), i had some difficulties keeping up with changes to the css file and reflecting/supporting those with the fslab documentation template. A sass file that a template could just pull and overwrite the default colors would be a blessing. I am not sure if that should be a seperate repository, and if adding npm and sass into the mix of this already complicated repository here is wanted.
A sass package would for example provide the colors for snippet highlighting:
$fsdocs-snippet-id: #d1d1d1
$fsdocs-snippet-if: #43AEC6
...
template maintainers then could import the sass file after defining replacements where needed:
$fsdocs-snippet-id: #ffffff
@import "fsdocs-sass-package"
-> $fsdocs-snippet-id is replaced, $fsdocs-snippet-if kept as-is
While most if this is achievable with the usage of fsdocs-default.css
and fsdocs-custom.css
, this would also decrease the size of the css package, as the template could omit the default file.