OpenCRE icon indicating copy to clipboard operation
OpenCRE copied to clipboard

Switch to new css framework

Open Meess opened this issue 5 years ago • 3 comments

Issue

Currently, Semantic-ui is used as the main CSS framework. The library hasn't seen a new release/update since 2018. Not anything with priority but would be better to use a styling framework that is still supported and known, so a wider community has the ability to give the CRE project a boost :) .

Meess avatar Sep 22 '21 18:09 Meess

Hi! 👋 I’d to take this issue as my first contribution. Since Semantic-UI is outdated, I’d like to start a small migration demo by setting up Tailwind CSS (v4.1) and restyling one simple page (Home page). Please let me know if that’s okay, or if you’d prefer I focus only on Tailwind setup first and home page then another's. Thank you!

DEMOCODE675 avatar Nov 04 '25 16:11 DEMOCODE675

can you check please: we just had a major overhaul of our pages and I suppose we upgraded css. In that case we can close this issue. Thanks!

robvanderveer avatar Nov 04 '25 20:11 robvanderveer

@robvanderveer this is still relevant, although the website definitely has a better look an feel than before, I dare you to look at the snyk page of the styling library: https://security.snyk.io/package/npm/semantic-ui

Tailwind is huge atm, and definitely a save bet for the foreseeing future. However the OpenCRE maintainers should be OK with it (@northdpole), as eventually they have to maintain it and continue with it when building new features.

If we choose to go for Tailwind, only thing i'm not sure of if we should go with the newest version (4.x) which is focussed on modern browsers, from their docs

Tailwind CSS v4.0 is designed for and tested on modern browsers, and the core functionality of the framework specifically depends on these browser versions:

Chrome 111 (released March 2023)
Safari 16.4 (released March 2023)
Firefox 128 (released July 2024)

Or the Tailwind 3.x latest version which has browser version support for most browsers back to 2021. Although nowadays firefox is barely used, and we could assume (though bold) this user base just has an upgraded browser of after march 2023.

In general I think the frontend could use some more TLC (seeing most packages versions are lacking behind).

Meess avatar Nov 07 '25 08:11 Meess