patternlab-php-core
patternlab-php-core copied to clipboard
This repository provides the core functionality for Pattern Lab. It is meant to be used from within an Edition with a PatternEngine and StarterKit.
Allow a pattern to define properties about itself via a JSON schema. At a basic level this would include type and subtype. Not sure how practical this really is unfortunately.
Right now package install assumes `./dist` as the base for what will be moved during install. There should be a way to override this default so people can package assets...
PL installer should support a default path option in a package install. This way an author can develop small modules that can be included in other StarterKits but they don't...
Fractal has an interesting way of configuring status options. I like that it doesn't rely on CSS for the colors. https://github.com/frctl/fractal/blob/master/docs/components/statuses.md
Fractal offers a method to set configuration options for parts of the theme. Currently we expect to edit files but maybe it's worthwhile to offer this level of abstraction. https://github.com/frctl/fractal/blob/master/docs/web/themes.md
When dealing with a pattern at level 3 move all files that don't match a pattern rule to `./public/patterns/[pattern-name]`. If given the following example: ``` _patterns/ atoms/ general/ button-1/ button-1.scss...
Right now working with PatternData is messy because it combines two distinct elements, files (patterns) with directories (types/subtypes). Break these up to into pattern and collection "models." Then store the...
The rendered file path is build is duplicated in several classes. Centralize it.
Do this outside of Config and make sure it's on the .gitignore list. Make it opt-in all the way.