aboutsummaryrefslogtreecommitdiffstats
path: root/theme-compiler
diff options
context:
space:
mode:
Diffstat (limited to 'theme-compiler')
-rw-r--r--theme-compiler/src/com/vaadin/sass/internal/resolver/AbstractResolver.java7
1 files changed, 7 insertions, 0 deletions
diff --git a/theme-compiler/src/com/vaadin/sass/internal/resolver/AbstractResolver.java b/theme-compiler/src/com/vaadin/sass/internal/resolver/AbstractResolver.java
index f0464d098b..5de1f95264 100644
--- a/theme-compiler/src/com/vaadin/sass/internal/resolver/AbstractResolver.java
+++ b/theme-compiler/src/com/vaadin/sass/internal/resolver/AbstractResolver.java
@@ -65,6 +65,13 @@ public abstract class AbstractResolver implements ScssStylesheetResolver,
return source;
}
+ // Try to find partial import (_identifier.scss)
+ source = normalizeAndResolve(path + "/_" + identifier);
+
+ if (source != null) {
+ return source;
+ }
+
}
return normalizeAndResolve(identifier);