AXR/Specification — Issue #25: new chapter: custom properties
Author: Mouvedia
Created: 2011-12-16 00:27:46+00:00
State: open

When you want do something like this:

@container myMixin
{
background: ref(arg1);
color: ref(arg2);
}

child1
{
isA: myMixin;
_arg1: #eee;
_arg2: red;
}

or when you are creating custom constants for values using `@constant` (cf. #24) you need to distinguish them from regular property definition (which could potentially conflict with them). We have discussed about it and decided that `_` prefixing would be the way to identify them.

This issue is here to decide whether these custom properties should be scoped or inherited (unlike properties).

note {
isA: myMixin;
_arg1: #eee;
_arg2: red;
element1 { background: _arg2 } // should it be allowed?
}