This topic contains 4 replies, has 3 voices, and was last updated by Sean Sean 3 years, 2 months ago.

sass error with global plugin jquery-notific8


  • gokussx4
    Participant

    Posts: 6
    Member Reply #1403

    Error: theme\assets\global\plugins\jquery-notific8\_notific8.scss

    12:9  file to import not found or unreadable: compass/css3/transform

     

    I am using gulp-sass to build. The plugin folder does not include compass.

    Zis
    Zis
    Participant

    Posts: 150
    Support Staff Reply #1404

    Howdy,

    As of notific8 version 0.9.0, the plug-in’s CSS is coded in SASS (SCSS format) and Compass. To create a custom theme, open the jquery.notific8.scss file, copy and paste the template line, uncomment your pasted line, and replace the variables with your own values. Be sure to recompile your SASS file to CSS to use the new theme. The goal is to only make updates to the _notific8.scss file so that updates will not wipe out your custom themes.

    If you are using SASS for the rest of your project, you can include the _notific8.scss file in your project’s main SCSS file to create your custom themes in there.

    For more info you can check the plugin’s official doc https://github.com/ralivue/jquery-notific8

    Thanks


    gokussx4
    Participant

    Posts: 6
    Member Reply #1405

    I just messed up my gulpfile. I was trying to build the notific8 in the assets > global > plugin folder because I messed up on the src specification including that folder. Thank you!


    gokussx4
    Participant

    Posts: 6
    Member Reply #1406

    In case anyone else is interested in using gulp-sass to compile the theme of choice and required components…

    
    
    gulp.task('dev', function(){
    
    return gulp.src(['./theme/sass/admin/layout/**/*.scss',
    
    './theme/sass/global/**/*.scss',
    
    '!./theme/sass/**/_*.scss'])
    
    .pipe(sass({
    
    includePaths: ['theme']
    
    }))
    
    .pipe(gulp.dest('./app/stylesheets'));
    
    });
    
    
    • This reply was modified 3 years, 2 months ago by  gokussx4.
    • This reply was modified 3 years, 2 months ago by  gokussx4.
    Sean
    Sean
    Keymaster

    Posts: 4522
    Support Staff Reply #1483

    Hi :),

    Glad to know that you managed to fix the issue.

    Thanks for sharing the solution.

Tagged: 

You must be logged in to reply to this topic.