Opened 10 months ago

Closed 10 months ago

Last modified 10 months ago

#35121 closed Bug (fixed)

Links in the admin should use the --link-fg color.

Reported by: Mariusz Felisiak Owned by: Salvo Polizzi
Component: contrib.admin Version: 5.0
Severity: Release blocker Keywords:
Cc: Mariana, Tom Carrick, Collin Anderson Triage Stage: Ready for checkin
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: yes

Description

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:

  • django/contrib/admin/static/admin/css/base.css

    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 b body {  
    102102/* LINKS */
    103103
    104104a:link, a:visited {
    105     color: var(--body-fg);
     105    color: var(--link-fg);
    106106    text-decoration: none;
    107107    transition: color 0.15s, background 0.15s;
    108108}

Reported by Collin.

Regression in 6ad2738a8f32b94cbae742f212080fadf2dee421.

Change History (4)

comment:1 by Salvo Polizzi, 10 months ago

Has patch: set

comment:2 by Mariusz Felisiak, 10 months ago

Owner: changed from nobody to Salvo Polizzi
Status: newassigned
Triage Stage: AcceptedReady for checkin

comment:3 by Mariusz Felisiak <felisiak.mariusz@…>, 10 months ago

Resolution: fixed
Status: assignedclosed

In 10c7c73:

Fixed #35121 -- Corrected color for links in the admin.

Thanks Collin Anderson for the report.

Regression in 6ad2738a8f32b94cbae742f212080fadf2dee421.

comment:4 by Mariusz Felisiak <felisiak.mariusz@…>, 10 months ago

In 4ed1423d:

[5.0.x] Fixed #35121 -- Corrected color for links in the admin.

Thanks Collin Anderson for the report.

Regression in 6ad2738a8f32b94cbae742f212080fadf2dee421.

Backport of 10c7c7320baf1c655fcb91202169d77725c9c4bd from main

Note: See TracTickets for help on using tickets.
Back to Top