What is the purpose of empty preset.scss file?

What is the purpose of empty preset.scss file?

by Ahnaf Tahmid -
Number of replies: 2

Hi,

I have noticed that in theme boost there is a scss file in theme/boost/scss/preset.scss which is empty. I have not seen any reference to this file anywhere. Is there any special purpose for this file?

image%20%281%29.pngimage.png

I'm using Moodle LMS verison 4.3.3, Boost version 2023100900

Average of ratings: Useful (1)
In reply to Ahnaf Tahmid

Re: What is the purpose of empty preset.scss file?

by Gareth J Barnard -
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Plugin developers

Interesting Ahnaf.  I looked into this and the file seems to be redundant!  It was introduced in MDL-56078 and then around three weeks later, made redundant but not removed by MDL-56969.  As far as I can tell, it really isn't needed.

Attachment Screenshot 2024-12-04 163542.png
Average of ratings: Useful (1)
In reply to Gareth J Barnard

Re: What is the purpose of empty preset.scss file?

by Ahnaf Tahmid -
Thank you for your detailed response