Skip to content

Commit 3509aaf

Browse files
authored
Merge pull request #17 from manosim/cleanup-icons
Icons & Routes UI updates
2 parents ae4cd6e + 85fb7ae commit 3509aaf

27 files changed

+673
-827
lines changed

images/app-icon.icns

-147 KB
Binary file not shown.

images/notifications/commit.png

-34.8 KB
Binary file not shown.

images/notifications/gitify.png

-34.8 KB
Binary file not shown.

images/notifications/issue.png

-34.8 KB
Binary file not shown.
-34.8 KB
Binary file not shown.

images/notifications/release.png

-34.8 KB
Binary file not shown.

src/js/app.tsx

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ const theme: DefaultTheme = {
6666
const GlobalStyle = createGlobalStyle`
6767
html,
6868
body {
69+
height: 100%;
6970
-webkit-user-select: none;
7071
}
7172
@@ -77,6 +78,10 @@ const GlobalStyle = createGlobalStyle`
7778
cursor: default;
7879
}
7980
81+
#gitify {
82+
height: 100%;
83+
}
84+
8085
button {
8186
&:hover {
8287
cursor: pointer;
@@ -100,6 +105,7 @@ const GlobalStyle = createGlobalStyle`
100105
`;
101106

102107
const Wrapper = styled.div`
108+
height: 100%;
103109
padding-left: ${SIDEBAR_WIDTH};
104110
`;
105111

src/js/components/__snapshots__/sidebar.test.tsx.snap

Lines changed: 4 additions & 60 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ exports[`components/Sidebar.tsx should render itself & its children (logged in)
1717
>
1818
<defs>
1919
<linearGradient
20-
id="linearGradient-1"
20+
id="linearGradient-light"
2121
x1="90.8779989%"
2222
x2="-1.30249747%"
2323
y1="80.0676288%"
@@ -36,12 +36,11 @@ exports[`components/Sidebar.tsx should render itself & its children (logged in)
3636
<g
3737
fill="none"
3838
fillRule="evenodd"
39-
id="Artboard"
4039
stroke="none"
4140
strokeWidth="1"
4241
>
4342
<g
44-
fill="url(#linearGradient-1)"
43+
fill="url(#linearGradient-light)"
4544
fillRule="nonzero"
4645
id="Logo"
4746
transform="translate(6.000000, 6.000000)"
@@ -184,7 +183,7 @@ exports[`components/Sidebar.tsx should render itself & its children (logged out)
184183
>
185184
<defs>
186185
<linearGradient
187-
id="linearGradient-1"
186+
id="linearGradient-light"
188187
x1="90.8779989%"
189188
x2="-1.30249747%"
190189
y1="80.0676288%"
@@ -203,12 +202,11 @@ exports[`components/Sidebar.tsx should render itself & its children (logged out)
203202
<g
204203
fill="none"
205204
fillRule="evenodd"
206-
id="Artboard"
207205
stroke="none"
208206
strokeWidth="1"
209207
>
210208
<g
211-
fill="url(#linearGradient-1)"
209+
fill="url(#linearGradient-light)"
212210
fillRule="nonzero"
213211
id="Logo"
214212
transform="translate(6.000000, 6.000000)"
@@ -249,60 +247,6 @@ exports[`components/Sidebar.tsx should render itself & its children (logged out)
249247
<div
250248
className="sc-bxivhb jvFxMg"
251249
>
252-
<button
253-
aria-label="Refresh Notifications"
254-
className="sc-ifAKCX nrRVs"
255-
onClick={[Function]}
256-
>
257-
<svg
258-
aria-hidden="true"
259-
className="octicon"
260-
height={16}
261-
role="img"
262-
style={
263-
Object {
264-
"display": "inline-block",
265-
"fill": "currentColor",
266-
"userSelect": "none",
267-
"verticalAlign": "text-bottom",
268-
}
269-
}
270-
viewBox="0 0 12 16"
271-
width={12}
272-
>
273-
<path
274-
d="M10.24 7.4a4.15 4.15 0 01-1.2 3.6 4.346 4.346 0 01-5.41.54L4.8 10.4.5 9.8l.6 4.2 1.31-1.26c2.36 1.74 5.7 1.57 7.84-.54a5.876 5.876 0 001.74-4.46l-1.75-.34zM2.96 5a4.346 4.346 0 015.41-.54L7.2 5.6l4.3.6-.6-4.2-1.31 1.26c-2.36-1.74-5.7-1.57-7.85.54C.5 5.03-.06 6.65.01 8.26l1.75.35A4.17 4.17 0 012.96 5z"
275-
fillRule="evenodd"
276-
/>
277-
</svg>
278-
</button>
279-
<button
280-
aria-label="Settings"
281-
className="sc-ifAKCX nrRVs"
282-
onClick={[Function]}
283-
>
284-
<svg
285-
aria-hidden="true"
286-
className="octicon"
287-
height={16}
288-
role="img"
289-
style={
290-
Object {
291-
"display": "inline-block",
292-
"fill": "currentColor",
293-
"userSelect": "none",
294-
"verticalAlign": "text-bottom",
295-
}
296-
}
297-
viewBox="0 0 14 16"
298-
width={14}
299-
>
300-
<path
301-
d="M14 8.77v-1.6l-1.94-.64-.45-1.09.88-1.84-1.13-1.13-1.81.91-1.09-.45-.69-1.92h-1.6l-.63 1.94-1.11.45-1.84-.88-1.13 1.13.91 1.81-.45 1.09L0 7.23v1.59l1.94.64.45 1.09-.88 1.84 1.13 1.13 1.81-.91 1.09.45.69 1.92h1.59l.63-1.94 1.11-.45 1.84.88 1.13-1.13-.92-1.81.47-1.09L14 8.75v.02zM7 11c-1.66 0-3-1.34-3-3s1.34-3 3-3 3 1.34 3 3-1.34 3-3 3z"
302-
fillRule="evenodd"
303-
/>
304-
</svg>
305-
</button>
306250
<button
307251
aria-label="View project on GitHub"
308252
className="sc-ifAKCX nrRVs"

src/js/components/logos/__snapshots__/dark.test.tsx.snap

Lines changed: 0 additions & 49 deletions
This file was deleted.

src/js/components/logos/__snapshots__/white.test.tsx.snap

Lines changed: 0 additions & 49 deletions
This file was deleted.

0 commit comments

Comments
 (0)