[Koha-bugs] [Bug 19474] New: Convert staff client CSS to SCSS

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Oct 17 14:56:29 CEST 2017


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19474

            Bug ID: 19474
           Summary: Convert staff client CSS to SCSS
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: ASSIGNED
          Severity: enhancement
          Priority: P5 - low
         Component: Templates
          Assignee: oleonard at myacpl.org
          Reporter: oleonard at myacpl.org
        QA Contact: testopia at bugs.koha-community.org

I propose a new workflow for handling CSS in the staff client based on the work
in  Bug 15522 which adds a client-side asset processing workflow. My patch will
be designed to work independently from that bug but use the same framework so
that the two can be merged easily.

- Uses yarn (https://yarnpkg.com) to manage installation of npm dependencies
- Uses gulp (https://gulpjs.com) to process client-side assets. In this case,
conversion of SCSS to CSS, auto-prefixing of CSS, minification of CSS.

This patch will add a configuration file for sass-lint
(https://github.com/sasstools/sass-lint) to help standardize how we write SCSS.
The version I'm working with is pretty much the default, and I hope it won't be
controversial. I'm using this configuration file in conjunction with my
editor's linting plugin. We might later plug sass-lint into the gulp build
process.

The patch will include a conversion of staff-global.css to SCSS and remove
staff-global.css from git.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list