postcss-themed icon indicating copy to clipboard operation
postcss-themed copied to clipboard

Refactor Legacy and Modern Theme Generation

Open tylerkrupicka opened this issue 5 years ago • 0 comments

When we started this project we had to support IE11 which influenced what is now the "legacy" implementation of theme generation. When we dropped IE support we switched to the modern style.

These generators currently live in the same file and tend to have large individual functions, where some logic could probably be broken out.

If you're interested, I'd be happy to review a pull request to split out the implementations into separate files and clean up some of the functions and comments.

Make sure all of the tests still pass!

tylerkrupicka avatar Sep 30 '20 23:09 tylerkrupicka