Skip to content

Commit

Permalink
update text color code
Browse files Browse the repository at this point in the history
  • Loading branch information
cuongnb14 authored Oct 9, 2023
1 parent 051b452 commit f7ccf1d
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions admin_extended/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,10 @@ class ExtendedAdminModel(ObjectToolModelAdminMixin, UIUtilsMixin, admin.ModelAdm
:tab_inline tab inline or not
"""

TEXT_COLOR_SUCCESS = 'green'
TEXT_COLOR_ERROR = 'red'
TEXT_COLOR_WARNING = 'orange'
TEXT_COLOR_SUCCESS = '#3d9402'
TEXT_COLOR_ERROR = '#f20707'
TEXT_COLOR_WARNING = '#ffad00'
TEXT_COLOR_DEFAULT = '#818181'

ext_read_only_fields = []
ext_write_only_fields = []
Expand Down

0 comments on commit f7ccf1d

Please sign in to comment.