Skip to content

Commit e9d2855

Browse files
committed
Revert "feat: Allow changing foreground/background colors (#352)"
This reverts commit dd61bc1.
1 parent dd61bc1 commit e9d2855

File tree

17 files changed

+14
-442
lines changed

17 files changed

+14
-442
lines changed

README.md

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -113,12 +113,6 @@ You can add a theme you've created through the admin to this repository by [send
113113
### Add theme support to third-party libraries
114114
You can add **theme support to existing third-party libraries** using the following **CSS variables**:
115115

116-
### Body colors
117-
- `--admin-interface-body-background-color`
118-
- `--admin-interface-body-foreground-color`
119-
- `--admin-interface-body-quiet-color`
120-
- `--admin-interface-body-loud-color`
121-
122116
#### Header
123117

124118
- `--admin-interface-header-background-color`

admin_interface/admin.py

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -73,18 +73,6 @@ class ThemeAdmin(admin.ModelAdmin):
7373
),
7474
},
7575
),
76-
(
77-
_("Body"),
78-
{
79-
"classes": ("wide",),
80-
"fields": (
81-
"css_body_foreground_color",
82-
"css_body_background_color",
83-
"css_body_quiet_color",
84-
"css_body_loud_color",
85-
),
86-
},
87-
),
8876
(
8977
_("Header"),
9078
{

admin_interface/locale/de/LC_MESSAGES/django.po

Lines changed: 1 addition & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ msgid ""
88
msgstr ""
99
"Project-Id-Version: PACKAGE VERSION\n"
1010
"Report-Msgid-Bugs-To: \n"
11-
"POT-Creation-Date: 2024-01-10 04:13-0600\n"
11+
"POT-Creation-Date: 2023-05-10 18:20-0500\n"
1212
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
1313
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
1414
"Language-Team: LANGUAGE <[email protected]>\n"
@@ -38,10 +38,6 @@ msgstr "Favicon"
3838
msgid "Title"
3939
msgstr "Titel"
4040

41-
#: admin_interface/admin.py
42-
msgid "Body"
43-
msgstr ""
44-
4541
#: admin_interface/admin.py
4642
msgid "Header"
4743
msgstr "Header"
@@ -177,36 +173,10 @@ msgstr "Code"
177173
msgid "display"
178174
msgstr "Anzeige"
179175

180-
#: admin_interface/models.py
181-
msgid "Required fields, error messages"
182-
msgstr ""
183-
184-
#: admin_interface/models.py
185-
#, fuzzy
186-
#| msgid "background color"
187-
msgid "foreground color"
188-
msgstr "Hintergrundfarbe"
189-
190176
#: admin_interface/models.py
191177
msgid "background color"
192178
msgstr "Hintergrundfarbe"
193179

194-
#: admin_interface/models.py
195-
msgid "Optional fields, help text, field content"
196-
msgstr ""
197-
198-
#: admin_interface/models.py
199-
#, fuzzy
200-
#| msgid "text color"
201-
msgid "quiet color"
202-
msgstr "Textfarbe"
203-
204-
#: admin_interface/models.py
205-
#, fuzzy
206-
#| msgid "link color"
207-
msgid "loud color"
208-
msgstr "Linkfarbe"
209-
210180
#: admin_interface/models.py
211181
msgid "text color"
212182
msgstr "Textfarbe"

admin_interface/locale/es/LC_MESSAGES/django.po

Lines changed: 2 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ msgid ""
1010
msgstr ""
1111
"Project-Id-Version: django-admin-interface\n"
1212
"Report-Msgid-Bugs-To: \n"
13-
"POT-Creation-Date: 2024-01-10 04:13-0600\n"
13+
"POT-Creation-Date: 2023-05-10 18:20-0500\n"
1414
"PO-Revision-Date: 2023-08-04 11:52-0300\n"
1515
"Last-Translator: Santiago Muñoz <[email protected]>\n"
1616
"Language-Team: Spanish <[email protected]>\n"
@@ -40,10 +40,6 @@ msgstr "Favicon"
4040
msgid "Title"
4141
msgstr "Título"
4242

43-
#: admin_interface/admin.py
44-
msgid "Body"
45-
msgstr ""
46-
4743
#: admin_interface/admin.py
4844
msgid "Header"
4945
msgstr "Encabezado"
@@ -178,36 +174,10 @@ msgstr "código"
178174
msgid "display"
179175
msgstr "mostrar"
180176

181-
#: admin_interface/models.py
182-
msgid "Required fields, error messages"
183-
msgstr ""
184-
185-
#: admin_interface/models.py
186-
#, fuzzy
187-
#| msgid "background color"
188-
msgid "foreground color"
189-
msgstr "color de fondo"
190-
191177
#: admin_interface/models.py
192178
msgid "background color"
193179
msgstr "color de fondo"
194180

195-
#: admin_interface/models.py
196-
msgid "Optional fields, help text, field content"
197-
msgstr ""
198-
199-
#: admin_interface/models.py
200-
#, fuzzy
201-
#| msgid "text color"
202-
msgid "quiet color"
203-
msgstr "color de texto"
204-
205-
#: admin_interface/models.py
206-
#, fuzzy
207-
#| msgid "link color"
208-
msgid "loud color"
209-
msgstr "color de enlace"
210-
211181
#: admin_interface/models.py
212182
msgid "text color"
213183
msgstr "color de texto"
@@ -266,8 +236,7 @@ msgstr "anclar posición"
266236

267237
#: admin_interface/models.py
268238
msgid "quick remove links for active filters at top of sidebar"
269-
msgstr ""
270-
"remover enlaces para filtros activos en la parte superior de la barra lateral"
239+
msgstr "remover enlaces para filtros activos en la parte superior de la barra lateral"
271240

272241
#: admin_interface/models.py
273242
msgid "foldable apps"

admin_interface/locale/fa/LC_MESSAGES/django.po

Lines changed: 1 addition & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ msgid ""
88
msgstr ""
99
"Project-Id-Version: django-admin-interface\n"
1010
"Report-Msgid-Bugs-To: \n"
11-
"POT-Creation-Date: 2024-01-10 04:13-0600\n"
11+
"POT-Creation-Date: 2023-05-10 18:20-0500\n"
1212
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
1313
"Last-Translator: Amir Ajorloo <[email protected]>\n"
1414
"Language-Team: Farsi <[email protected]>\n"
@@ -37,10 +37,6 @@ msgstr "آیکون تب"
3737
msgid "Title"
3838
msgstr "عنوان"
3939

40-
#: admin_interface/admin.py
41-
msgid "Body"
42-
msgstr ""
43-
4440
#: admin_interface/admin.py
4541
msgid "Header"
4642
msgstr "هدر"
@@ -176,36 +172,10 @@ msgstr "کد"
176172
msgid "display"
177173
msgstr "نمایش"
178174

179-
#: admin_interface/models.py
180-
msgid "Required fields, error messages"
181-
msgstr ""
182-
183-
#: admin_interface/models.py
184-
#, fuzzy
185-
#| msgid "background color"
186-
msgid "foreground color"
187-
msgstr "رنگ پسزمینه"
188-
189175
#: admin_interface/models.py
190176
msgid "background color"
191177
msgstr "رنگ پسزمینه"
192178

193-
#: admin_interface/models.py
194-
msgid "Optional fields, help text, field content"
195-
msgstr ""
196-
197-
#: admin_interface/models.py
198-
#, fuzzy
199-
#| msgid "text color"
200-
msgid "quiet color"
201-
msgstr "رنگ متن"
202-
203-
#: admin_interface/models.py
204-
#, fuzzy
205-
#| msgid "link color"
206-
msgid "loud color"
207-
msgstr "رنگ لینک"
208-
209179
#: admin_interface/models.py
210180
msgid "text color"
211181
msgstr "رنگ متن"
-433 Bytes
Binary file not shown.

admin_interface/locale/fr/LC_MESSAGES/django.po

Lines changed: 1 addition & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ msgid ""
88
msgstr ""
99
"Project-Id-Version: PACKAGE VERSION\n"
1010
"Report-Msgid-Bugs-To: \n"
11-
"POT-Creation-Date: 2024-01-10 10:45+0100\n"
11+
"POT-Creation-Date: 2023-05-10 18:20-0500\n"
1212
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
1313
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
1414
"Language-Team: LANGUAGE <[email protected]>\n"
@@ -38,10 +38,6 @@ msgstr "Favicon"
3838
msgid "Title"
3939
msgstr "Titre"
4040

41-
#: admin_interface/admin.py
42-
msgid "Body"
43-
msgstr "Body"
44-
4541
#: admin_interface/admin.py
4642
msgid "Header"
4743
msgstr "Bannière"
@@ -178,30 +174,10 @@ msgstr "code"
178174
msgid "display"
179175
msgstr "affichage"
180176

181-
#: admin_interface/models.py
182-
msgid "Required fields, error messages"
183-
msgstr "Défaut: #333 (champs requis, messages d'erreur)"
184-
185-
#: admin_interface/models.py
186-
msgid "foreground color"
187-
msgstr "couleur du premier plan"
188-
189177
#: admin_interface/models.py
190178
msgid "background color"
191179
msgstr "couleur d'arrière-plan"
192180

193-
#: admin_interface/models.py
194-
msgid "Optional fields, help text, field content"
195-
msgstr "Défaut: #666 (champs optionnels, texte d'aide, contenu des champs)"
196-
197-
#: admin_interface/models.py
198-
msgid "quiet color"
199-
msgstr "couleur discrète"
200-
201-
#: admin_interface/models.py
202-
msgid "loud color"
203-
msgstr "couleur forte"
204-
205181
#: admin_interface/models.py
206182
msgid "text color"
207183
msgstr "couleur du texte"

admin_interface/locale/it/LC_MESSAGES/django.po

Lines changed: 1 addition & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ msgid ""
99
msgstr ""
1010
"Project-Id-Version: django-admin-interface\n"
1111
"Report-Msgid-Bugs-To: \n"
12-
"POT-Creation-Date: 2024-01-10 04:13-0600\n"
12+
"POT-Creation-Date: 2023-05-10 18:20-0500\n"
1313
"PO-Revision-Date: 2018-12-30 19:13-0500\n"
1414
"Last-Translator: Fabio Caccamo <[email protected]>\n"
1515
"Language-Team: Italian <[email protected]>\n"
@@ -39,10 +39,6 @@ msgstr "Favicon"
3939
msgid "Title"
4040
msgstr "Titolo"
4141

42-
#: admin_interface/admin.py
43-
msgid "Body"
44-
msgstr ""
45-
4642
#: admin_interface/admin.py
4743
msgid "Header"
4844
msgstr "Header"
@@ -179,36 +175,10 @@ msgstr "codice"
179175
msgid "display"
180176
msgstr "visualizzazione"
181177

182-
#: admin_interface/models.py
183-
msgid "Required fields, error messages"
184-
msgstr ""
185-
186-
#: admin_interface/models.py
187-
#, fuzzy
188-
#| msgid "background color"
189-
msgid "foreground color"
190-
msgstr "colore di sfondo"
191-
192178
#: admin_interface/models.py
193179
msgid "background color"
194180
msgstr "colore di sfondo"
195181

196-
#: admin_interface/models.py
197-
msgid "Optional fields, help text, field content"
198-
msgstr ""
199-
200-
#: admin_interface/models.py
201-
#, fuzzy
202-
#| msgid "text color"
203-
msgid "quiet color"
204-
msgstr "colore del testo"
205-
206-
#: admin_interface/models.py
207-
#, fuzzy
208-
#| msgid "link color"
209-
msgid "loud color"
210-
msgstr "colore dei link"
211-
212182
#: admin_interface/models.py
213183
msgid "text color"
214184
msgstr "colore del testo"

admin_interface/locale/pl/LC_MESSAGES/django.po

Lines changed: 1 addition & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ msgid ""
99
msgstr ""
1010
"Project-Id-Version: django-admin-interface\n"
1111
"Report-Msgid-Bugs-To: \n"
12-
"POT-Creation-Date: 2024-01-10 04:13-0600\n"
12+
"POT-Creation-Date: 2023-05-10 18:20-0500\n"
1313
"PO-Revision-Date: 2022-02-04 19:13-0500\n"
1414
"Last-Translator: Kamil Paduszyński <[email protected]>\n"
1515
"Language-Team: Polish <[email protected]>\n"
@@ -39,10 +39,6 @@ msgstr "Ikonka"
3939
msgid "Title"
4040
msgstr "Tytuł"
4141

42-
#: admin_interface/admin.py
43-
msgid "Body"
44-
msgstr ""
45-
4642
#: admin_interface/admin.py
4743
msgid "Header"
4844
msgstr "Nagłówek"
@@ -179,36 +175,10 @@ msgstr "kod"
179175
msgid "display"
180176
msgstr "wyświetlaj"
181177

182-
#: admin_interface/models.py
183-
msgid "Required fields, error messages"
184-
msgstr ""
185-
186-
#: admin_interface/models.py
187-
#, fuzzy
188-
#| msgid "background color"
189-
msgid "foreground color"
190-
msgstr "kolor tła"
191-
192178
#: admin_interface/models.py
193179
msgid "background color"
194180
msgstr "kolor tła"
195181

196-
#: admin_interface/models.py
197-
msgid "Optional fields, help text, field content"
198-
msgstr ""
199-
200-
#: admin_interface/models.py
201-
#, fuzzy
202-
#| msgid "text color"
203-
msgid "quiet color"
204-
msgstr "kolor tekstu"
205-
206-
#: admin_interface/models.py
207-
#, fuzzy
208-
#| msgid "link color"
209-
msgid "loud color"
210-
msgstr "kolor linku"
211-
212182
#: admin_interface/models.py
213183
msgid "text color"
214184
msgstr "kolor tekstu"

0 commit comments

Comments
 (0)