Skip to content

Commit

Permalink
style: remove unused icons and add opacity
Browse files Browse the repository at this point in the history
  • Loading branch information
pierrevano committed Jul 18, 2024
1 parent 06c0bac commit 1677253
Show file tree
Hide file tree
Showing 8 changed files with 14 additions and 80 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "whatson",
"description": "What's on?",
"version": "2.5.4",
"version": "2.5.5",
"private": false,
"dependencies": {
"@reach/router": "^1.3.4",
Expand Down
2 changes: 1 addition & 1 deletion public/meta.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{ "version": "2.5.4" }
{ "version": "2.5.5" }
12 changes: 11 additions & 1 deletion src/components/GlobalStyle/MultiSelectStyle.js
Original file line number Diff line number Diff line change
Expand Up @@ -223,11 +223,21 @@ const MultiSelectStyle = `
cursor: pointer !important;
}
.filter-icon {
cursor: pointer !important;
}
.flex-search {
padding: 3px;
padding-right: 9px;
border-radius: 10px;
border: 1.4px solid white;
border: 1.4px solid #fff;
}
.menu-icon:hover,
.filter-icon:hover,
.heart-icon:hover,
.flex-search:hover {
opacity: 0.8;
}
.search-icon {
margin-right: 5px;
Expand Down
18 changes: 0 additions & 18 deletions src/components/Icon/CheckMark.js

This file was deleted.

24 changes: 0 additions & 24 deletions src/components/Icon/Cross.js

This file was deleted.

1 change: 1 addition & 0 deletions src/components/Icon/Filter.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ const Filter = ({
...props
}) => (
<svg
className="filter-icon"
viewBox="0 -0.6 24 24"
stroke="#FFF"
strokeWidth={1.5}
Expand Down
32 changes: 0 additions & 32 deletions src/components/Icon/Pin.js

This file was deleted.

3 changes: 0 additions & 3 deletions src/components/Icon/index.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
export Arrow from "./Arrow";
export Calendar from "./Calendar";
export CheckMark from "./CheckMark";
export Cross from "./Cross";
export Eye from "./Eye";
export Filter from "./Filter";
export Github from "./Github";
Expand All @@ -11,7 +9,6 @@ export Menu from "./Menu";
export Movie from "./Movie";
export NumbersFilter from "./NumbersFilter";
export Person from "./Person";
export Pin from "./Pin";
export Screen from "./Screen";
export Search from "./Search";
export Star from "./Star";
Expand Down

0 comments on commit 1677253

Please sign in to comment.