Skip to content

Wrong error  #2131

@youri2015

Description

@youri2015

Hihi,

I think i have a wrong error during compiling however it is compiling...
Below the information.

The error

error scss/inzicht_theme_tweaks/inzicht.scss (Line 61: Undefined mixin 'breakpoint'.)

The part where the error is comming from:

$sm: 1000px;

 h2{
   color: white;
   font-size: 20px;
   text-align: left;

   @include breakpoint($sm){
       color: green;
   }
}

My config.rb

require 'breakpoint'
require 'compass-normalize'
require 'rgbapng'
require 'toolkit'
require 'singularitygs'
require 'susy'
require 'sass-globbing'

My styles.css

@import "compass";

// use for easy breakpoints
// blog: https://snugug.com/musings/introducing-breakpoint-media-queries-made-easy/
@import "breakpoint";

// Kan je span coulums mee definieren indien je extra mixins toevoegd
// Documentatie staat op https://github.com/at-import/Singularity#css-grid
@import "singularitygs";

// Swiss arrmy knife for sass
// Docuentation on https://github.com/at-import/toolkit
@import "toolkit";

// Default variables for boostrap framework
// @import "default-variables";

// The Bootstrap Framework.
// @import '../bootstrap/assets/stylesheets/bootstrap';

// Base-theme overrides, unsure why this is here. I assume from Drupal Packache...
// @import 'overrides';

// Specifiek voor theme inzicht
@import "inzicht_theme_tweaks/*";

// Import of Fontawesome
@import "fontawesome/font-awesome";

The resulting css

/* line 56, ../scss/inzicht_theme_tweaks/inzicht.scss /
.region-sidebar-first h2 {
color: white;
font-size: 20px;
text-align: left; }
@media (min-width: 1000px) {
/
line 56, ../scss/inzicht_theme_tweaks/inzicht.scss */
.region-sidebar-first h2 {
color: green; } }

The stack

C:\www\inzicht5\themes\inzicht>compass -v
Compass 1.0.3 (Polaris)

If you need other information please let me know and I will provided as soon as possible.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions