burnnat
17 Nov 2011, 7:40 AM
A fairly frequent issue that people have been running into is that some of the syntax used in the default theme is incompatible with the most recent versions of SASS - see this thread (http://www.sencha.com/forum/showthread.php?149266-Theming-issue-Line-15-Functions-may-only-be-defined...), for example, and this post (http://www.sencha.com/forum/showthread.php?155114-Where-to-get-themes-for-ExtJS-4&p=674784&viewfull=1#post674784) too. The upshot is, users either have to hold back from updating SASS, or fix the syntax errors in the .scss files directly. I've been opting for the second option, but it's getting annoying to keep applying the same patches every time I upgrade ExtJS. Is there any hope for this to be fixed in 4.1? It's not been fixed in the preview, to my knowledge, and I couldn't spot it in the list of active bugs (http://www.sencha.com/forum/showthread.php?154116-Ext-JS-4.1-Updates&p=673794&viewfull=1#post673794) still to be addressed.
For reference, the syntax errors are:
mixins/_frame.scss:115 - Defining a function within a mixin is not allowed. The "@function pad" should be moved to the top of the document, outside the x-frame mixin.
widgets/_tabbar.scss:31 - Nested mixins are not allowed. The "@mixin tab-bar-top" and "@mixin tab-bar-bottom" should be moved to the top of the document, outside the extjs-tabbar mixin.
For reference, the syntax errors are:
mixins/_frame.scss:115 - Defining a function within a mixin is not allowed. The "@function pad" should be moved to the top of the document, outside the x-frame mixin.
widgets/_tabbar.scss:31 - Nested mixins are not allowed. The "@mixin tab-bar-top" and "@mixin tab-bar-bottom" should be moved to the top of the document, outside the extjs-tabbar mixin.