This repository was archived by the owner on Feb 13, 2026. It is now read-only.
Conversation
dschaller
commented
Nov 12, 2020
| <StylesProvider injectFirst>{children}</StylesProvider> | ||
| </StyledThemeProvider> | ||
| <EmotionThemeProvider theme={theme()}> | ||
| <StyledThemeProvider theme={theme()}> |
Contributor
Author
There was a problem hiding this comment.
😭 until we can remove styled from core we will have 3 theming frameworks
Comment on lines
23
to
-25
| Destructive.args = { | ||
| text: "delete", | ||
| destructive: true, |
Contributor
There was a problem hiding this comment.
should we call this one "Caution" too, like in button group?
Contributor
Author
There was a problem hiding this comment.
Reverted back to destructive
Comment on lines
-28
to
-29
| export const Destructive = Template.bind({}); | ||
| Destructive.args = { |
Contributor
There was a problem hiding this comment.
(couldn't comment on lines where changes weren't made) for "Default" - should we update it to "Primary", like in the button story?
This comment has been minimized.
This comment has been minimized.
Collaborator
|
looks better, can we ship the roboto font change to UIV2 first so we can be sure we're 1:1? edit: opened #683 |
| }); | ||
|
|
||
| export interface ButtonProps | ||
| extends Pick<MuiButtonProps, "disabled" | "endIcon" | "onClick" | "size" | "startIcon" | "type"> { |
Collaborator
There was a problem hiding this comment.
we can drop the size prop i think
Contributor
Author
Collaborator
|
from what i can tell in figma, neutral hover should be #eff0f2 but it's #cccccc |
dschaller
added a commit
that referenced
this pull request
Nov 30, 2020
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Description
New designs for buttons. Some colors are inlined into the component here and will be extracted later when we are updating global themes of the application. A subsequent PR will be opened to add icon support.
Primary

Primary with mouseover

Primary disabled

Destructive | Danger

Destructive | Danger with mouseover

Panel

Panel with neutral mouseover

Testing Performed
manual with storybook and local app