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

    • MOODLE_35_STABLE
    • MOODLE_35_STABLE
    • MDL-61394-master
    • 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

    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

              cameron1729 cameron1729
              cameron1729 cameron1729
              Ryan Wyllie Ryan Wyllie
              Andrew Lyons Andrew Lyons
              Bas Brands Bas Brands
              David Woloszyn, Huong Nguyen, Jake Dallimore, Meirza, Michael Hawkins, Raquel Ortega, Safat Shahin, Stevani Andolo, Huong Nguyen, Bas Brands, Mathew May
              Votes:
              0 Vote for this issue
              Watchers:
              10 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                17/May/18