I have embedded an HTML button within a div using the following structure:
<div class="ui-state-highlight">
<button type="button" class="ui-button ui-state-default ui-corner-all ui-button-text-icon-primary">
<!-- first span -->
<span class="ui-button-icon-primary ui-icon ui-icon-disk"></span>
<!-- second span -->
<span class="ui-button-text">Save</span>
</button>
<!-- third span -->
<span class="ui-icon ui-icon-info"></span>
<strong>All</strong> form fields are required.
</div>
With the div being assigned the class:ui-state-highlight
, the icon color of the button has changed to blue.
Is there a method I can utilize to switch back the icon color to its original: default (black) hue?
Moreover, I am looking to apply the effect (color) of ui-state-highlight
to the icon in the third span.
I have attempted adding ui-state-default
solely to the first span where the icon is located, but this did not achieve the desired outcome.