-
Notifications
You must be signed in to change notification settings - Fork 66
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[alpha] Active button states #2389
Comments
In the current style implementation for the Button components, we have the following structure for the OpenEdx theme:
The above CSS structure has separate design tokens for each of the states (hover, focus, active). The states are not combined (there are no focus-hover or active-hover options). For example, the behavior of a standard hover is the same as a focus hover. While investigating problems with the Button component in the Brand OpenEdx theme, I noticed a different implementation of the "state logic" that is present in Buttons in the OpenEdx theme. For example, a button with an outline-brand variant has a hover state (which is displayed as a red background) and also a hover state when using focus (the background of the outline-brand button does not change and is always red). @adamstankiewicz what do you think? |
In the alpha version, we have a corresponding design token for each button state. At the moment, you can observe the problem associated with the active state of the buttons.
Tasks
The text was updated successfully, but these errors were encountered: