Swiper: Swiper SASS styling

Created on 21 Jul 2017  路  12Comments  路  Source: nolimits4web/swiper

This is a:

  • [x] enhancement

It would be great if Swiper also had sass in addition to less styling. If (like me) you develop your projects using sass, being able to import and modify sass variables before being processed would be a nice addition :)

stale

Most helpful comment

Are there any plans of implementing this in the near future?
Including .css files with @import is non-standard behaviour which will be removed in future versions of LibSass so developers using sass will soon have problems using Swiper.

All 12 comments

I used this tool when I needed to set it up as a sass file. It's not perfect, but it at least gave me a starting point to then variablize my styles.

http://css2sass.herokuapp.com/

yes please! :)

It would be great

Are there any plans of implementing this in the near future?
Including .css files with @import is non-standard behaviour which will be removed in future versions of LibSass so developers using sass will soon have problems using Swiper.

+1 would be great to have SASS

+1 I would love to see a SASS port too. I'm facing the same problem as @goranNetgen Is this on the roadmap @nolimits4web ??

+1 it'd be absoluteley a useful feature to be added

+1 please

Guess this won't be a problem anymore soon since LibSass decided to undeprecate CSS imports (yay) https://github.com/sass/libsass/pull/2684
It would still be a nice feature.

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

This issue has been automatically closed due to inactivity. If this issue is still actual, please, create the new one.

Actually on Hugo I get error

error: failed to transform resource: SCSS processing failed: file "stdin", line 57, col 1: File to import not found or unreadable: ../../../../node_modules/swiper/dist/css/swiper.

because of importing css from an scss is not good

Was this page helpful?
0 / 5 - 0 ratings

Related issues

leone510es picture leone510es  路  3Comments

aeblin picture aeblin  路  3Comments

RyanGosden picture RyanGosden  路  3Comments

syedongit picture syedongit  路  3Comments

cristianfierro picture cristianfierro  路  4Comments