Extended capacity to fully tailor the SCSS by creating the /data/scss/main.scss file#27
Extended capacity to fully tailor the SCSS by creating the /data/scss/main.scss file#27nigini wants to merge 1 commit intotinyBlogPub:v2.1-devfrom
Conversation
|
I like the idea as a general principle, although I don't personally care about using it. I'm not sure I'd go with this implementation, though. In fact, I'm not sure I understand how this implementation works. According to the Boussole documentation, it appears these paths in It also appears that in the custom case you're putting the compiled CSS in I think, since Either way, it would make more sense to me to check for Am I making sense? I haven't messed with this stuff in ages. My site is still running with my long string of customizations on top of your |
|
Thanks for taking the time to go through this @3b0b! In general, though, (1) I want to keep the separation between a default UI that you get out of the box and the possibility of tweaking small things around; and (2) creating a way for building and distributing "skins" to the software (not that this implementation gets to that goal, but starts to give full SCSS control, as part of the I'll give more thought to this based on your feedback, especially around the need to copy the |
Previously, one could only change the
themeof the SCSS, which contains a small set of variables used by themain.css. To do so, one must create a_theme.scssunder thedatadirectory (the one with all personal material).This PR changes how the
main.cssis produced by the taskcompile-scssto look not only for the previous_themefile but also a fullmain.scssfile under thedata/scss/directory. It uses the_theme.scssas before, but if it finds themainfile, it will ignore theapp/static/scssone and work with the personal version one.