Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrong error #2131

Open
youri2015 opened this issue Nov 12, 2017 · 0 comments
Open

Wrong error #2131

youri2015 opened this issue Nov 12, 2017 · 0 comments

Comments

@youri2015
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant