SAFE-template icon indicating copy to clipboard operation
SAFE-template copied to clipboard

Add DaisyUI

Open Larocceau opened this issue 9 months ago • 5 comments

Since bulma was removed in SAFE v5, in favour of Tailwind , Safe is missing a component library.

I think a good Tailwind based component library would be a great asset to SAFE, as it enables developers to build decent-looking user interfaces quickly, and it promotes consistent styling.

A huge benefit of Daisy is also that it supports themes; this makes dark mode support a breeze; the theme customisation options also make it possible to use it while maintaining company styles.

DaisyUI and Feliz.DaisyUI are both well maintained, making them great contenders to be included in the SAFE stack

Larocceau avatar Apr 04 '25 03:04 Larocceau

@Larocceau I got Feliz.DaisyUI 5 working over here: https://github.com/JackDanna/SAFE-template/tree/Add-DaisyUI

How much would you guys like for me to redesign the UI with DaisyUI 5. I assume we'd wanna keep the overall functionality but using DaisUI 5.

Lmk

JackDanna avatar May 06 '25 01:05 JackDanna

@JackDanna awesome, really appreciate the initiative here! Yes, we'd like to update the UI to use the modules. I'd say don't make any major changes, but just replace custom tailwind with components where it makes sense. Once you are ready, you can create a PR to the safe-six branch.

Larocceau avatar May 09 '25 10:05 Larocceau

@JackDanna thank you for creating a PR 😄

We're planning to include this in the release SAFE v6 around the time of the .NET 10 release, which should be towards the end of this year.

jwthomson avatar May 09 '25 15:05 jwthomson

@Larocceau sounds good. I'll try and have an update for y'all by the end of the month. I'd have it done sooner but I'm actually gonna be heading to Lambda Conf 2025 which is taking a week outta my schedule. Totally worth it tho.

@jwthomson that also sounds good.

JackDanna avatar May 09 '25 17:05 JackDanna

Hey guys, apologies for the delay, got busy with life but at my new job I decided we are gonna use SAFE stack for a reporting web page app. I got Feliz.DaisyUI working. PRi is up @jwthomson and @Larocceau

https://github.com/SAFE-Stack/SAFE-template/pull/668

JackDanna avatar Sep 18 '25 19:09 JackDanna