Skip to content

Commit 869d104

Browse files
committed
Use official brand colors and tweak styling of sidecar
1 parent de440f7 commit 869d104

File tree

2 files changed

+17
-8
lines changed

2 files changed

+17
-8
lines changed

components/sidecar/sidecar-style.scss

Lines changed: 16 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,20 @@
1515

1616
.sidecar__link {
1717
display: inline-block;
18-
padding: 0.75em;
18+
padding: 0.65em;
1919
float: right;
2020
clear: both;
21-
color: getColor(alto);
21+
color: getColor(concrete);
2222
transition: all 250ms;
2323

24+
&:first-of-type {
25+
border-top-left-radius: 3px;
26+
}
27+
28+
&:last-of-type {
29+
border-bottom-left-radius: 3px;
30+
}
31+
2432
&:hover {
2533
color: getColor(white);
2634
}
@@ -38,8 +46,9 @@
3846

3947
.sidecar__icon {
4048
display: inline-block;
41-
width: 16px;
49+
width: 18px;
4250
vertical-align: middle;
51+
font-size: 18px;
4352
}
4453

4554
// TODO: Fix hardcoded widths using flex perhaps, can't animate to width auto
@@ -68,10 +77,10 @@
6877
}
6978

7079
.sidecar__link--medium {
71-
background: desaturate(#19aa6e, 15%);
80+
background: desaturate(#02b875, 15%);
7281

7382
&:hover {
74-
background: #19aa6e;
83+
background: #02b875;
7584

7685
.sidecar__label {
7786
width: 115px;
@@ -80,10 +89,10 @@
8089
}
8190

8291
.sidecar__link--so {
83-
background: desaturate(#f48024, 15%);
92+
background: desaturate(#fe7a15, 15%);
8493

8594
&:hover {
86-
background: #f48024;
95+
background: #fe7a15;
8796

8897
.sidecar__label {
8998
width: 125px;

components/sidecar/sidecar.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ export default props => {
1919
</Link>
2020
<Link className="sidecar__link sidecar__link--so" to="//stackoverflow.com/questions/tagged/webpack">
2121
<span className="sidecar__label">Stack Overflow</span>
22-
<i className="sidecar__icon icon-stack-exchange" />
22+
<i className="sidecar__icon icon-stack-overflow" />
2323
</Link>
2424
</aside>
2525
);

0 commit comments

Comments
 (0)