Thanks! While Factorio (and mods) declare science pack names and graphics, they don't explicitly declare a colour for each one. Supporting additional science pack types is easy to do manually. All you need to do is add the names and colours to the list here:
https://github.com/danielbrauer/DiscoScience/blob/77ad852eee96eafcffc19ecb1544c50cbf024a45/control.lua#L18
I don't know if it can be done automatically. Also, there's a good chance the mod won't handle the presence of unrecognized science packs very well. I'll look at fixing this assumption at some point.