Skip to content

Commit 730ea76

Browse files
committed
fix: changes Storybook button color for better color contrast
1 parent 0c034e6 commit 730ea76

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

.storybook/storybook.css

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,8 @@ body {
2727
font-size: 1rem;
2828
font-family: "Helvetica Neue", Arial, sans-serif;
2929
border-radius: 0.5rem;
30-
background: deeppink;
30+
border: none;
31+
background: #216869;
3132
color: #fff;
3233
cursor: pointer;
3334
position: relative;
@@ -44,7 +45,7 @@ body {
4445

4546
.button.outline:focus::before,
4647
.button.outline:hover::before {
47-
box-shadow: deeppink 0 0 0 0.0625rem;
48+
box-shadow: #216869 0 0 0 0.0625rem;
4849
content: "";
4950
height: calc(100% + 0.25rem);
5051
left: 0;
@@ -62,15 +63,15 @@ body {
6263
border: none;
6364
border-radius: 0;
6465
background: transparent;
65-
color: deeppink;
66+
color: #216869;
6667
padding: 0;
6768
margin: 0.25rem 0.5rem;
6869
font-weight: bold;
6970
}
7071

7172
.button.underline:focus::before,
7273
.button.underline:hover::before {
73-
border-bottom: 0.0625rem solid currentcolor;
74+
border-bottom: 0.0625rem solid currentColor;
7475
bottom: -0.1875rem;
7576
content: "";
7677
height: 0;

0 commit comments

Comments
 (0)