-
Notifications
You must be signed in to change notification settings - Fork 89
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 button #4280
Comments
Latte Goal: finish spec |
Kickoff to be created in Latte |
@jake-costa we need some a11y help on this |
@mark-tate working with @dplsek to go over what assistance is required for this. Working to clarify Non-text Contrast 1.4.11. |
I reviewed the design proposal with @bhoppers2008 @joshwooding @jake-costa and they achieve ADA and design requirements. Got a preliminary 'thumbs up' from @origami-z via email who could not make the call. Specs for Salt Legacy Still need to review this in detail with @pseys and @origami-z to confirm if this is technically feasible, can be wired systematically, and the necessary tokens to do so. |
Lungo Goal: @pseys & @origami-z to review token requirements |
Lungo update: reviewed, proposal for implementation by @origami-z |
Thoughts from meeting earlier: We saw 2 sets of alpha buttons
1st one is needed for unblocking system status. 2nd one is preferred visual for replacing transparent button within Banner. As soon as we release the button for system status, the community will ask to use them on other places (e.g. solid background toast, even we don't provide them). So limiting it to be
For alpha button, we need to think about
Additional question for active state for @bhoppers2008 and @jake-costa, active state are usually transient state when used standalone. What about when the alpha button is used as menu trigger and when menu is open (active state will be kept there). We can't prevent users to pair the new button with overlay or menu for additional workflow. |
Does it cause us any complications down the line if we create a |
Rename only works at major breaking change, which would be tied to a specific future event. It's better we plan something not relying on those? |
Yes I was thinking it makes more sense that we get the naming right from the start, rather than try to rename it down the road. |
Yes, it could work. Do we know a good component name (and potential variant name) we can go to directly? With the complexity of mode agnostic / light+dark + potential different background? I'm not sure whether "AlphaButton" is a safe bet.... |
Macc Goal: How many alpha buttons do we need and how do we name them ? |
Met with Ben, Darrin, Paul and Shey on Friday.
|
My proposal below, feedback welcome
See #4280 (comment) above, and more notes below
|
@origami-z proposal looks good.
|
Yes, 4 total options. I'm open to other language as well.
Being a pattern, it would be a custom component from BL, which means a small override of corner could be applied there...? |
Mocca Goal: If we have capacity, add button in code (medium size change) and initial docs |
Talked to @Fercas123 about this, with a bit more background information. The most tricky part would be theme / theme-next wiring, not the component itself. I suggested to look at existing Button set (neutral transparent & caution solid as reference) + System Status (mainly bold foreground) token to scope out potential theme tokens, then can review with @pseys. Initial thoughts:
In short, the main goal is to try out whether token connection is possible for both themes. |
Follow up from #4188, add button to work with System Status
The text was updated successfully, but these errors were encountered: