-
Notifications
You must be signed in to change notification settings - Fork 2
Home
Welcome to the Firefly pattern library documentation.
The pattern library is a self-contained project written in node js. It allows us to break front end code into small reusable chunks. We call these chunks patterns or blocks. These two terms are interchangeable; they both mean the same thing.
Blocks can be written in either as .xsl
(XSLT) or .rt
(Angular) templates.
A Gulp process is then used to build the blocks. The pattern library comes complete with its own web interface to view and test the blocks. It will also package blocks and assets for use in Firefly.
Essentially, the pattern library is an attempt to introduce one source of truth for all front-end code within Firefly. This isn't quite the case, as we'll see later on, but a noble cause I'm sure you'll agree!