phpMv/phpMv-UI

Another CSS Framework: Fomantic-UI

mlopezgva opened this issue · 5 comments

I have found this add-on is using Semantic UI. Is there any way for it to use FomanticUI, which has more up-to-date components?

I.e.,

Fomantic was created to continue active development of Semantic-UI.
Semantic-UI components running on phpMv-UI should also work in their Fomantic-UI version.

For the new components you mention (Toaster, Slider), they are still in Beta version in Fomantic-UI.
So I'm waiting for a little more stability to switch phpMv-UI from semantic to Fomantic.

In the meantime, you can use phpMv-UI with Fomantic or Semantic, and make by hand (in HTML) the few missing components.

OK, the Calendar module seems to be out of beta, which is good news to me.
Yes, the toast could be rendered using the traditional way.
OTOH, moving to FomanticUI (or creating a new layer, like Bootstrap) right now is trivial, as it is still almost Semantic, except for the new elements and some coloring.

But I understand that creating support for it but not allowing the use of the new elements like toast or calendar it's kind of pointless.

[sigh] I'll wait. :-)

Just one thing: which be the "correct" way to override the Semantic with FomanticUI injection? I mean, without tampering with the source. Thanks.

There is nothing else to do but change the inclusions of css and js files, replacing Semantic with Fomantic.
You can use the new CDN: https://cdnjs.com/libraries/fomantic-ui

For the Calendar, personally, I prefer to use the default datePicker HTML5 component,
I find that the Fomantic component doesn't bring much benefit.

Right, I modified the links. Thank you again.