Eonasdan / tempus-dominus

A powerful Date/time picker widget.
https://getdatepicker.com
MIT License
7.16k stars 4.41k forks source link

Error with Sass Loader #2889

Open afiocre opened 6 months ago

afiocre commented 6 months ago

Prerequisites

Describe the issue

Hi, i use tempus-dominus v6.9.4 with sass-loader v13.3.3 (for symfony/webpack-encore 4.5.0) and i have this errors:

Invalid CSS after "...range-bg: color": expected expression (e.g. 1px, bold), was ".scale($td-active-b"
        on line 8 of node_modules/@eonasdan/tempus-dominus/src/scss/_variables.scss
        from line 1 of node_modules/@eonasdan/tempus-dominus/src/scss/tempus-dominus.scss
>> $td-range-bg: color.scale($td-active-bg, $lightness: -40%);

So I think this version is not compatible with Sass Loader. Can you fix this and make a new minor version ?

StackBlitz fork

no need

What operating system(s) are you seeing the problem on?

Linux

What browser(s) are you seeing the problem on?

Chrome

What version of are you using? You can find this information from the sample StackBlitz.

v6.9.4

What your browser's locale? You can find this information from the sample StackBlitz.

fr-FR