Currently I am working on a feature where a button changes color when it is disabled, but also has a custom color when enabled. Here is the code snippet I am using:
Despite setting blue text for the button, it remains blue even after becoming disabled. How can I make it turn grey or change color when disabled?