Alfonso Nishikawa Alfonso Nishikawa - 6 months ago 68
Sass (Sass) Question

In ExtJS, what is dynamic() in SCSS?

I am creating a SCSS for a component, and looking at ExtJS SCSS I find in Base.scss that a lot of variables (if not all) are defined as:

$form-field-empty-color: dynamic(gray);
$form-field-border-color: dynamic($neutral-color);
$form-field-border-width: dynamic(1px);
$form-field-border-style: dynamic(solid);

What is that
function? My fu skill in search seems not to be the at the needed level :C



Ext uses Fashion, which is an extension of SASS. See:

It's somewhat similar to !default in SASS, but it defers computation until all variables are known.