PDA

View Full Version : SCSS Undefined variable when building app.



24 Jun 2015, 6:03 AM
When building my app with:

Sencha Cmd v4.0.4.84
Extjs 4.2.1

/ext/packages/ext-theme-neutral/sass/var/grid/plugin/Editing.scss: Undefined variable: "$grid-row-height"

Adding $grid-row-height: 31px; into Editing.scss resulted in these undefined variables:

$grid-row-cell-line-height
$grid-row-cell-font-weight
$form-field-height
$form-field-height
$form-toolbar-field-height
$form-field-padding
$form-field-border-color
$form-field-border-width
$form-field-invalid-border-color

There could be more after this.

Is it possible that there is a file where these are defined in the scss and are missing, where are these defined normally?

tristan.lee
24 Jun 2015, 10:31 AM
Is this failing on a standard build using the GridEditing plug without any modifications to the SCSS? What Ext version?

25 Jun 2015, 12:14 AM
The Extjs version is 4.2.1,

I believe there have been no changes to this scss file and other scss files.

Thanks.

25 Jun 2015, 4:40 AM
Problem fixed, there was somehow a custom override for legends somehow interfering, even though in dev there is no conflict and the error seems to be unrelated. The override was moved to a different file and everything works and builds correctly now.

tristan.lee
26 Jun 2015, 7:53 AM
Great, glad you figured out the issue :)