django-rosetta icon indicating copy to clipboard operation
django-rosetta copied to clipboard

Is it possible to connecte django-rosetta & django-unfold ?

Open Cellou404 opened this issue 10 months ago • 1 comments

It would be amazing if there's a way to easily connecte django-rosetta and dango-unfold for better expenrience.

Cellou404 avatar Mar 03 '25 22:03 Cellou404

I've looked into this briefly the other day (based on https://github.com/mbi/django-rosetta/pull/296) but a lot of css variables are missing because we'd need to pass the colors in the template context: https://github.com/unfoldadmin/django-unfold/blob/c5a56323d35ff43b56ebdde1f9347ac26421dc89/src/unfold/templates/unfold/layouts/skeleton.html#L62C15-L62C21 and https://github.com/unfoldadmin/django-unfold/blob/c5a56323d35ff43b56ebdde1f9347ac26421dc89/src/unfold/sites.py#L89 It doesn't look like unfold was created with any third party packages in mind.

balazs-endresz avatar Mar 04 '25 12:03 balazs-endresz