Picking a contrast other than default will change the background of the separate panel to white before the styling should be applied

Description

Steps to reproduce:

  • Open the UIO demo

  • Open UIO panel

  • Select a contrast theme other than default

  • Notice that the background of the UIO immediately changes to white

  • Select the default theme

  • Notice that the background goes back to the way it should be

The background of UIO should not change until it has been closed and re-opened.

Environment

None

Activity

Justin ObaraDecember 5, 2024 at 12:32 PM

PR #1110 merged into the project repo at 9dfe6ec.

Justin ObaraOctober 31, 2024 at 10:37 AM

At the dev meeting yesterday we discussed if the contrast.scss file is still needed. It’s the drop in styling for the contrast theme that includes all the !important declarations. However, as discussed it is still useful as an easier integration, and or start to using UIO.

also suggested to improve the documentation to mention an additional intermediate approach of an integrator creating their own similar override style sheet instead, to reduce the amount of of overrides they may have to deal with . This would be for the case where an integrator may not have access to fully use the css custom properties from the contrast base file but also doesn’t want/need all the overrides from the contrast file. (i.e. using a platform to build there site and don’t have knowledge of or access to all the styles but can add additional css files.)

Fixed

Details

Assignee

Reporter

Components

Fix versions

Affects versions

Priority

Created October 7, 2024 at 1:17 PM
Updated January 15, 2025 at 3:52 PM
Resolved December 5, 2024 at 12:32 PM