Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-61394

Add an experimental feature to allow the use of SassC for scss compilation

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide

      Prerequisites

      The SassC compiler installed somewhere on your system (instructions here: https://github.com/sass/sassc)

      1. Log in as admin and browse to "Site administration" > "Development" > "Experimental" > "Experimental settings"
      2. Enter the path to the sassc binary
      3. Browse to "Site administration" > "Appearance" > "Themes" > "Boost"
      4. Change the brand colour and press "Save settings"
      5. Verify that the site's brand colour has changed and that there are no scss errors in your apache log (you might have to refresh the page again for the colour to change
      6. Repeat the above with an RTL language installed
      Show
      Prerequisites The SassC compiler installed somewhere on your system (instructions here: https://github.com/sass/sassc ) Log in as admin and browse to "Site administration" > "Development" > "Experimental" > "Experimental settings" Enter the path to the sassc binary Browse to "Site administration" > "Appearance" > "Themes" > "Boost" Change the brand colour and press "Save settings" Verify that the site's brand colour has changed and that there are no scss errors in your apache log (you might have to refresh the page again for the colour to change Repeat the above with an RTL language installed
    • Affected Branches:
      MOODLE_35_STABLE
    • Fixed Branches:
      MOODLE_35_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-61394-master

      Description

      The PHP compiler is expensive and causes problems in cloud environments. It would be cool to be able to specify the path to SassC - which is a compiler written in C that uses the defacto libsass library.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                10 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  17/May/18