eraware / Eraware.MinimalSkin

Minimal Dnn skin made for basic base with easy customization
MIT License
6 stars 4 forks source link

Instate an utility to easily migrate from frameworks #77

Closed valadas closed 4 years ago

valadas commented 4 years ago

One often has to build themes to replace existing ones. For instance, i just had to build a theme to replace bootstrap3 to bootstrap4 and fontawesome4 to fontawesome5. The main issue is that on sites with a lot of content, you often need to rewrite a lot of the content.

Based on a list of bs4 and bs5 equivalent class names, I was able to build a little piece of javascript to automatically replace them. After doing this for one client, I though this might be useful as a utility for any from-to class replacements. It also logs the elements that where replaced to make it easy after the theme implementation to go back and edit content for proper non-replaced classes.

valadas commented 4 years ago

Resolved in #80