#35121: Links in the admin should use the --link-fg color.
--------------------------------------------+------------------------
               Reporter:  Mariusz Felisiak  |          Owner:  nobody
                   Type:  Bug               |         Status:  new
              Component:  contrib.admin     |        Version:  5.0
               Severity:  Release blocker   |       Keywords:
           Triage Stage:  Accepted          |      Has patch:  0
    Needs documentation:  0                 |    Needs tests:  0
Patch needs improvement:  0                 |  Easy pickings:  0
                  UI/UX:  1                 |
--------------------------------------------+------------------------
 Links in the admin should use the `--link-fg` color. There is #34038 to
 improve links in the admin, however, this is a separate regression that
 should be fixed and backported to Django 5.0:

 {{{#!diff
 diff --git a/django/contrib/admin/static/admin/css/base.css
 b/django/contrib/admin/static/admin/css/base.css
 index aaa9c3441a..daf4699cac 100644
 --- a/django/contrib/admin/static/admin/css/base.css
 +++ b/django/contrib/admin/static/admin/css/base.css
 @@ -102,7 +102,7 @@ body {
  /* LINKS */

  a:link, a:visited {
 -    color: var(--body-fg);
 +    color: var(--link-fg);
      text-decoration: none;
      transition: color 0.15s, background 0.15s;
  }

 }}}

 Reported by [https://code.djangoproject.com/ticket/34036#comment:16
 Collin].

 Regression in 6ad2738a8f32b94cbae742f212080fadf2dee421.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/35121>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/0107018d1ae7c67d-0e566ff3-a68b-4c83-91c5-552737acb3fa-000000%40eu-central-1.amazonses.com.

Reply via email to