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.)
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.