Skip to content

Add SASS/SCSS to FullPage #3896

Open
Open
@BrendanWolfe

Description

Hi,

I have read over all the previously closed issues about adding SCSS to FullPage. I understand that these are the reasons why you have not implemented it yet:

  • You do not know SASS/SCSS.
  • You do not know gulp (or any other build tool? Im can't tell for sure, all I saw mentioned in the past issues was gulp).
  • Since you do not know these tools, you have to have someone else update the SCSS every time you updated the plain CSS, which proved unreliable and caused the SCSS to be removed.

I understand why this has been put off in the first place, but it has been quite a while since these issues came up, and even when another comes up after a year or more, the answer never changes. So I would like to propose that it is about time to implement this, for these reasons:

  • SASS/SCSS is extremely easy to learn. Even if you only know plain CSS at an intermediate level, it should take no longer than an hour to learn enough basics to add SCSS to FullPage.
  • Gulp or another build tool is also very easy to learn, again it should not take more than an hour to learn enough basics to add it to FullPage.
  • Since you would now know the tools, you would no longer need another person to maintain the SCSS.
  • The SCSS file will serve as a single source of truth, so no more needing to keep the plain CSS and SCSS in sync, the SCSS will simply generate the plain CSS.

In addition to the reasons stated above, there are some potential benefits to this if implemented:

  • Users who just want the plain CSS would still be able to get it no problem, nothing changes for them.
  • Users who want to use the SCSS version could just @import it into their SCSS file (SCSS does not handle import of plain CSS, so an SCSS file is needed, even if it is not using any SCSS syntax).
  • You can also use SCSS variables to make modifying the FullPage CSS easier than ever.

In conclusion, I think it will be very beneficial to both you and your project to learn and implement SCSS. Please let me know your thoughts, as this is something I have been wanting from FullPage for quite a while now.

EDIT: I just noticed that you already do already have gulp set up in the project, so adding SCSS should be very fast & easy to do.

Thank You

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions