patternlab-node icon indicating copy to clipboard operation
patternlab-node copied to clipboard

Deprecate Style Modifiers

Open bmuenzenmeyer opened this issue 4 years ago • 3 comments

Converted from https://github.com/orgs/pattern-lab/projects/3

http://patternlab.io/docs/pattern-stylemodifier.html

BM: Template Engines accomplish this in their own way. Kill this mustachism

bmuenzenmeyer avatar May 01 '20 11:05 bmuenzenmeyer

What exactly are style modifiers? I know the pattern parameters but forgot the other since the docs are not available anymore.

JosefBredereck avatar Jan 12 '21 19:01 JosefBredereck

What exactly are style modifiers? I know the pattern parameters but forgot the other since the docs are not available anymore.

Here‘s their previous specs content: https://web.archive.org/web/20180710175641/http://patternlab.io/docs/pattern-stylemodifier.html

I‘ll try to find more details/issue regarding their deprecation.

mfranzke avatar Jan 12 '21 19:01 mfranzke

We wanted to deprecate them because it was another place where PL created a proprietary mustache extension that locked pattern content into PL but not the broader community. You couldn't migrate your PL patterns into 11ty or some such thing that understood mustache.

This desire to get back to vanilla support for template languages drove a lot of decisions.

bmuenzenmeyer avatar Jan 13 '21 15:01 bmuenzenmeyer