Sha256: cb2e8fccd5430ebdaaf54bd3cbcf4c1e2f74fc412233b66d2a2f16aae1005436

Contents?: true

Size: 1.03 KB

Versions: 5

Compression:

Stored size: 1.03 KB

Contents

pi-test {
    @prefix: ufo-;
    @a:    border;
    @bb:      top;
    @c_c:    left;
    @d-d4: radius;
    @-:         -;

    @var: ~'@not-variable';

    @{a}: 0;
    @{var}: @var;
    @{prefix}width: 50%;
    *-z-@{a} :1px dashed blue;
    -www-@{a}-@{bb}: 2px;
    @{d-d4}-is-not-a-@{a}:true;
    @{a}-@{bb}-@{c_c}-@{d-d4}       : 2em;
    @{a}@{-}@{bb}@{-}red@{-}@{d-d4}-: 3pt;

    .mixin(mixer);
    .merge(ish, base);
}

@global: global;

.mixin(@arg) {
    @local: local;
    @{global}-@{local}-@{arg}-property: strong;
}

.merge(@p, @v) {
    &-merge {
        @prefix: pre;
        @suffix: ish;
        @{prefix}-property-ish+       :high;
        pre-property-@{suffix}    +: middle;
        @{prefix}-property-@{suffix}+:  low;
        @{prefix}-property-@{p}   +  :   @v;

        @subterfuge: ~'+';
        pre-property-ish@{subterfuge}: nice try dude;
    }
}

pi-indirect-vars {
    @{p}: @p;
    @p: @@a;
    @a: b;
    @b: auto;
}

pi-complex-values {
    @{p}@{p}: none;
    @p: (1 + 2px) fadeout(#ff0, 50%), pi() /* foo */;
}

Version data entries

5 entries across 5 versions & 2 rubygems

Version Path
ilog-0.4.1 node_modules/less/test/less/property-name-interp.less
ilog-0.4.0 node_modules/less/test/less/property-name-interp.less
ilog-0.3.3 node_modules/less/test/less/property-name-interp.less
less-execjs-2.6.0.4 lib/less/js/less/test/less/property-name-interp.less
less-execjs-2.6.0.3 lib/less/js/less/test/less/property-name-interp.less