Bug 11896 - add tools for compiling LESS files
Summary: add tools for compiling LESS files
Status: RESOLVED DUPLICATE of bug 19474
Alias: None
Product: Koha
Classification: Unclassified
Component: Architecture, internals, and plumbing (show other bugs)
Version: master
Hardware: All All
: P5 - low enhancement (vote)
Assignee: Galen Charlton
QA Contact: Testopia
URL:
Keywords:
Depends on: 11601
Blocks:
  Show dependency treegraph
 
Reported: 2014-03-05 19:40 UTC by Galen Charlton
Modified: 2019-03-05 18:43 UTC (History)
2 users (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Galen Charlton 2014-03-05 19:40:11 UTC
There should be Makefile targets added for compiling CSS files for the Bootstrap theme from LESS files.

The general idea is that during installation, the compilation would occur automatically.  There should also be a script available, which would presumably be invoked by the Makefile targets, so that users of Git-mode installations can recompile at any time.

This is meant as a tool for installation and distribution of changes -- it is not necessarily expected that users (yet) would be editing the LESS files as part of customizations; instead, relying on *UserCSS and external stylesheets would still be the norm.  This may change.
Comment 1 Galen Charlton 2014-03-05 19:40:35 UTC
Link to some notes that Owen wrote up:

http://wiki.koha-community.org/wiki/Working_with_Bootstrap_OPAC_LESS_files
Comment 2 Galen Charlton 2014-03-05 19:49:04 UTC
One suggestion by Owen is using Grunt <http://gruntjs.com/> as part of the toolchain.
Comment 3 Mark Tompsett 2014-03-05 20:12:11 UTC
My worry is the "let's add this technology" may raise the bar required for development and testing. A nice link on how to use the technology would be required for those willing to test but not knowledgeable in these arcane mystical things.
Comment 4 Owen Leonard 2019-03-05 18:43:21 UTC

*** This bug has been marked as a duplicate of bug 19474 ***