PDA

View Full Version : In reference to: ExtJS 4.2.1 Theme Build, cannot import from sass/etc/all.scss



digitas_kb
1 Aug 2013, 12:27 PM
building a new theme:
/packages/theme/sass/etc/all.scss

I'm trying to use the @import directive from inside all.scss
@import 'Custom';

/packages/theme/sass/etc/Custom.scss

if Custom.scss is empty with no style rules at all I will get a successful build
if Custom.scss has a single rule in it say
body {
background-color: yellow;
}

My versions
Sencha Cmd v3.1.2.342
ext-4.2.1.883

I get this output:



[ERR] Failed to parse CSS 3.0 style sheet: Encountered " "@import" "@import "" at line 72, column 1.
Was expecting one of:
<EOF>
<S> ...
<IDENT> ...
"<!--" ...
"-->" ...
<HASH> ...
"@page" ...
"@media" ...
"@font-face" ...
<KEYFRAMES_SYM> ...
<VIEWPORT_SYM> ...
<PERCENTAGE> ...
":not(" ...
"." ...
":" ...
"*" ...
"|" ...
"[" ...
<AT_UNKNOWN> ...


[ERR]
[ERR] BUILD FAILED
[ERR] com.sencha.exceptions.ExParse: could not parse css input content
[ERR]
[ERR] Total time: 30 seconds
[ERR] The following error occurred while executing this line:
/Users/kbradsha/Development/dtas_brandlive/brandlive/portal/static/js/sencha-workspace/extCalendar/.sencha/app/build-impl.xml:389: The following error occurred while executing this line:
/Users/kbradsha/Development/dtas_brandlive/brandlive/portal/static/js/sencha-workspace/extCalendar/.sencha/app/build-impl.xml:345: The following error occurred while executing this line:
/Users/kbradsha/Development/dtas_brandlive/brandlive/portal/static/js/sencha-workspace/extCalendar/.sencha/app/build-impl.xml:305: com.sencha.exceptions.ExParse: could not parse css input content


seems like a bug?

digitas_kb
6 Aug 2013, 6:13 AM
Any idea why I cannot use the @import 'filename'; declaration in a .scss file?

Gary Schlosberg
6 Aug 2013, 12:32 PM
We haven't been able to recreate this issue. Does it happen when you start with a new project?