Skip to content

Decide on a CSS framework

  • Deciders: David Bauer, Julian Bäume, Maik Schäfer
  • Date: 2025-01-13

Status

Accepted

Context

After we found a way to completely separate and isolate our plugin from Core UI CSS wise, we open up the possibility to use a CSS framework for our plugin. Along with discussions in other teams, we see the future for styling in App Suite in a CSS framework that implements the concepts of atomic CSS, like Tailwind CSS or others.

We have looked into the following CSS frameworks:

While very similar in their approach, which is not questioned here, we still see differences. Tailwind is very popular and has a large community, while Uno is a bit more lightweight and tries to be less opinionated. Especially developer experience is one of the main focus points of Uno CSS. See Reimagine Atomic CSS for more details about Uno CSS design ideas.

Decision

We will use Uno CSS with the wind preset as our framework, as it's more flexible and compatible to Tailwind CSS.

Consequences

People used to Tailwind will still feel comfortable with the source code, as we use the wind preset, which aims to be compatible with Tailwind CSS. We still have the option to diverge from certain Tailwind features, and use an alternative approach if needed.