v1.0
This commit is contained in:
+7
-4
@@ -4,10 +4,13 @@ from django import forms
|
||||
class BaseForm(forms.ModelForm):
|
||||
|
||||
default_class = (
|
||||
"w-full px-4 py-3 rounded-lg border border-slate-300 dark:border-slate-600 "
|
||||
"bg-slate-50 dark:bg-slate-700 text-slate-900 dark:text-white "
|
||||
"placeholder-slate-400 focus:outline-none focus:ring-2 focus:ring-blue-500 "
|
||||
"focus:border-transparent transition"
|
||||
"w-full px-4 py-2 rounded-lg border mt-1 "
|
||||
"border-slate-300 dark:border-slate-600 "
|
||||
"bg-slate-50 dark:bg-slate-700 "
|
||||
"text-slate-900 dark:text-white "
|
||||
"placeholder-slate-400 focus:outline-none "
|
||||
"focus:border-transparent transition "
|
||||
"[--tw-ring-color:var(--company-color)] focus:ring-2 "
|
||||
)
|
||||
|
||||
def apply_style(self):
|
||||
|
||||
Reference in New Issue
Block a user