Closes #21743: Refine Object Change diff styling for improved readability #52

Closed
opened 2026-04-05 16:21:21 +02:00 by MrUnknownDE · 0 comments
Owner

Originally created by @pheus on 3/30/2026

Fixes: #21743

This PR refines the object change diff styling to improve readability while preserving the existing added/removed semantics.

It introduces softer tinted backgrounds via CSS custom properties, improves contrast and border consistency, and adjusts spacing for a cleaner presentation. It also replaces btn-group with card-actions for more consistent navigation button styling.

Screenshots

Dark before:
dark-before

Dark after:
dark-after

Light before:
light-before

Ligt after:
light-after

*Originally created by @pheus on 3/30/2026* ### Fixes: #21743 This PR refines the object change diff styling to improve readability while preserving the existing added/removed semantics. It introduces softer tinted backgrounds via CSS custom properties, improves contrast and border consistency, and adjusts spacing for a cleaner presentation. It also replaces `btn-group` with `card-actions` for more consistent navigation button styling. #### Screenshots Dark before: <img width="1886" height="1540" alt="dark-before" src="https://github.com/user-attachments/assets/eca7d297-d6cf-4180-b52f-54b9095f4442" /> Dark after: <img width="1886" height="1524" alt="dark-after" src="https://github.com/user-attachments/assets/5b5ffe77-96b5-46ec-800d-a961fe839829" /> Light before: <img width="1886" height="1540" alt="light-before" src="https://github.com/user-attachments/assets/5348a706-36e8-4471-a88f-668a3986c160" /> Ligt after: <img width="1886" height="1524" alt="light-after" src="https://github.com/user-attachments/assets/9d42ec84-1abd-4cd3-b1e8-3d5db77beb07" />
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/netbox#52