You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Changes background colors on buttons. The `green` color prop value is now replaced by `blue`. So upgrading to this version means you have to migrate any `<Button color="green">` to `<Button color="blue">`. You also have to make sure the new colors have sufficent contranst against your backgrounds.
6
+
7
+
Buttons like these will need a visual check against their backgrounds:
8
+
-`<Button>`
9
+
-`<Button variant="primary">`
10
+
-`<Button color="blue">`
11
+
-`<Button color="blue" variant="primary" >`
12
+
-`<Button variant="secondary">`
13
+
-`<Button color="blue" variant="secondary">`
14
+
15
+
16
+
Since `blue` is the new default for `color`, you *probably* only have <Button> or <Buttonvariant="secondary"> and maybe <Buttonvariant="primary"> in your code base. As the rest of the combinations would be verbose considering the the defaults.
0 commit comments