Closed HT-Moh closed 1 month ago
@HT-Moh this is actually what I'm already considering to implement and below you can see one of the first steps making CSS classes available in all templates where it would be possible to change them in settings.py. But this change will require much more work. All form elements have to use these classes what is not the case right now (some inputs have hardcoded CSS in templates) so a lot of refactoring and UI redesign will be required.
https://github.com/unfoldadmin/django-unfold/blob/main/src/unfold/sites.py#L56
At the moment, I'm recommending you to change the visual of inputs by loading of your custom CSS file
@lukasvinclav thanks, yeah but this PR made it possible now to change it on the settings. 10 files has been refactored and the necessary changes on the sites.py
is already done.
get_config
function.get_config
function to support customization.get_config
for widget classes.get_config
onforms.py
andsites.py
get_config
on filters and import_exportforms.py
Usage:
settings.py
You can change classed by adding them to UNFOLD
340