Refactor design system explorer code structure
Problem/Opportunity Statement
The config
and main
functions in src/DesignSystem/Explorer.elm
are each hundreds of lines long, lots of inline functions, lots of indentation, not very easy to navigate.
What would success / a fix look like?
Refactor code for better readability. Maybe put each storiesOf
into its own top-level function.