pascalduez / postcss-apply

PostCSS plugin enabling custom properties sets references
The Unlicense
164 stars 12 forks source link

reverse sets object #43

Open FFxSquall opened 6 years ago

FFxSquall commented 6 years ago
{
    'input-theme': {
        border: '0',
        'border-bottom': '1px solid red',
    }
}

output result:

.input {
  border-bottom: 1px solid red;
  border: 0;
}
FFxSquall commented 6 years ago

I understand that this is done in order not to accidentally override properties with the same names. It may be worth making an option to use prepend or append