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: oleon...@myacpl.org
          Reporter: oleon...@myacpl.org
        QA Contact: testo...@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.
_______________________________________________
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to