Skip to content

Commit

Permalink
Fix icons
Browse files Browse the repository at this point in the history
  • Loading branch information
MaxLeiter committed Nov 18, 2023
1 parent 487c659 commit 89f7e51
Show file tree
Hide file tree
Showing 23 changed files with 22 additions and 22 deletions.
File renamed without changes.
2 changes: 1 addition & 1 deletion app/components/icons/arrow-left.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Icon from '@components/icon'
import Icon from '@components/custom-icon'

const ArrowLeft = `<path d="M4 11.603c0-.335.147-.687.376-.907l5.303-5.304c.262-.261.572-.392.867-.392.727 0 1.209.498 1.209 1.16 0 .376-.155.662-.384.883L9.508 8.906l-1.684 1.56 1.757-.097h9.136c.768 0 1.283.498 1.283 1.234 0 .735-.515 1.225-1.283 1.225H9.581l-1.765-.09 1.692 1.553 1.863 1.855c.22.229.384.515.384.883 0 .662-.482 1.168-1.21 1.168-.294 0-.596-.13-.858-.384l-5.311-5.311a1.303 1.303 0 01-.376-.9z"/>`

Expand Down
2 changes: 1 addition & 1 deletion app/components/icons/arrow-right.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Icon from '@components/icon'
import Icon from '@components/custom-icon'

const ArrowRight = `<path d="M20 11.603c0-.335-.147-.687-.376-.907l-5.303-5.304c-.262-.261-.572-.392-.867-.392-.727 0-1.209.498-1.209 1.16 0 .376.155.662.384.883l1.863 1.863 1.684 1.56-1.757-.097H5.283c-.768 0-1.283.498-1.283 1.234 0 .735.515 1.225 1.283 1.225h9.136l1.765-.09-1.692 1.553-1.863 1.855c-.22.229-.384.515-.384.883 0 .662.482 1.168 1.21 1.168.294 0 .596-.13.857-.384l5.312-5.311c.229-.221.376-.572.376-.9z"/>`

Expand Down
2 changes: 1 addition & 1 deletion app/components/icons/book.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Icon from '@components/icon'
import Icon from '@components/custom-icon'

const Book = `<path d="M7.894 17.7c1.47 0 2.447.534 2.878.835.15.086.608.344.704.353V5.884C10.904 4.844 9.214 4 7.472 4 5.28 4 3.414 5.238 3 6.072v12.145c0 .568.335.783.757.783.326 0 .555-.111.766-.283.519-.457 1.742-1.016 3.37-1.016h.001zm8.212 0c1.637 0 2.843.56 3.38 1.016.202.163.422.283.748.283.423 0 .766-.215.766-.782V6.072C20.586 5.238 18.72 4 16.529 4c-1.743 0-3.433.843-3.996 1.884v13.021c.096-.01.545-.275.704-.37.431-.301 1.408-.835 2.87-.835h-.001z"/>`

Expand Down
2 changes: 1 addition & 1 deletion app/components/icons/bookmark.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Icon from '@components/icon'
import Icon from '@components/custom-icon'

const Bookmark = `<path d="M18 19l-6-4.167L6 19V5.667c0-.442.18-.866.502-1.179A1.74 1.74 0 017.714 4h8.572c.454 0 .89.176 1.212.488.321.313.502.737.502 1.179V19z"/>`

Expand Down
2 changes: 1 addition & 1 deletion app/components/icons/box.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Icon from '@components/icon'
import Icon from '@components/custom-icon'

const Box = `<path d="M21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16z"></path>
<polyline points="3.27 6.96 12 12.01 20.73 6.96"></polyline>
Expand Down
2 changes: 1 addition & 1 deletion app/components/icons/document.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Icon from '@components/icon'
import Icon from '@components/custom-icon'

const Document = `<path d="M7.58 21h8.84c1.723 0 2.58-.881 2.58-2.628V10.75h-6.026c-1.066 0-1.573-.512-1.573-1.587V3H7.58C5.865 3 5 3.89 5 5.636v12.736C5 20.127 5.857 21 7.58 21zM13 9.599H18.9c-.05-.344-.291-.68-.69-1.092l-4.587-4.71c-.391-.402-.732-.646-1.082-.705v6.054c0 .302.15.453.458.453zm-4.204 4.785c-.34 0-.59-.243-.59-.57 0-.328.25-.572.59-.572h6.418c.333 0 .59.244.59.571 0 .328-.257.571-.59.571H8.795zm0 3.199c-.34 0-.59-.243-.59-.57 0-.328.25-.572.59-.572h6.418c.333 0 .59.244.59.571 0 .328-.257.571-.59.571H8.795z"/>`

Expand Down
2 changes: 1 addition & 1 deletion app/components/icons/file.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Icon from '@components/icon'
import Icon from '@components/custom-icon'

const File = `<path d="M13 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V9z"></path><polyline points="13 2 13 9 20 9"></polyline>`

Expand Down
2 changes: 1 addition & 1 deletion app/components/icons/folder-minus.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Icon from '@components/icon'
import Icon from '@components/custom-icon'

const FolderMinus = `<path d="M22 19a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h5l2 3h9a2 2 0 0 1 2 2z"></path><line x1="9" y1="14" x2="15" y2="14"></line>`

Expand Down
2 changes: 1 addition & 1 deletion app/components/icons/folder-plus.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Icon from '@components/icon'
import Icon from '@components/custom-icon'

const FolderPlus = `<path d="M22 19a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h5l2 3h9a2 2 0 0 1 2 2z"></path>
<line x1="12" y1="11" x2="12" y2="17"></line>
Expand Down
2 changes: 1 addition & 1 deletion app/components/icons/folder.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Icon from '@components/icon'
import Icon from '@components/custom-icon'

const Folder = `<path d="M22 19a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h5l2 3h9a2 2 0 0 1 2 2z"></path>`

Expand Down
2 changes: 1 addition & 1 deletion app/components/icons/github.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Icon from '@components/icon'
import Icon from '@components/custom-icon'

const GitHub = `<path d="M9 19c-5 1.5-5-2.5-7-3m14 6v-3.87a3.37 3.37 0 0 0-.94-2.61c3.14-.35 6.44-1.54 6.44-7A5.44 5.44 0 0 0 20 4.77 5.07 5.07 0 0 0 19.91 1S18.73.65 16 2.48a13.38 13.38 0 0 0-7 0C6.27.65 5.09 1 5.09 1A5.07 5.07 0 0 0 5 4.77a5.44 5.44 0 0 0-1.5 3.78c0 5.42 3.3 6.61 6.44 7A3.37 3.37 0 0 0 9 18.13V22"/>`

Expand Down
2 changes: 1 addition & 1 deletion app/components/icons/heart.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Icon from '@components/icon'
import Icon from '@components/custom-icon'

const Heart = `<path d="M12 19c.17 0 .41-.114.588-.22C17.124 15.837 20 12.414 20 8.934 20 6.042 18.042 4 15.513 4c-1.571 0-2.78.882-3.513 2.23C11.283 4.89 10.058 4 8.487 4 5.957 4 4 6.042 4 8.935c0 3.48 2.876 6.903 7.42 9.844.17.107.41.221.58.221z"/>`

Expand Down
2 changes: 1 addition & 1 deletion app/components/icons/layout.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Icon from '@components/icon'
import Icon from '@components/custom-icon'

const Layout = `<rect x="3" y="3" width="18" height="18" rx="2" ry="2"></rect><line x1="3" y1="9" x2="21" y2="9"></line><line x1="9" y1="21" x2="9" y2="9"></line>`
export default Icon(Layout)
2 changes: 1 addition & 1 deletion app/components/icons/mail.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Icon from '@components/icon'
import Icon from '@components/custom-icon'

const Mail = `
<path d="M4 4h16c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2z" />
Expand Down
2 changes: 1 addition & 1 deletion app/components/icons/moon.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Icon from '@components/icon'
import Icon from '@components/custom-icon'

const Moon = `<path d="M15.977 14.456c-3.839 0-6.294-2.393-6.294-6.217 0-.79.192-1.92.447-2.505a.9.9 0 00.078-.332A.401.401 0 009.79 5c-.078 0-.249.021-.405.078C6.76 6.122 5 8.93 5 11.888 5 16.035 8.179 19 12.337 19c3.058 0 5.705-1.842 6.585-4.142.064-.162.078-.332.078-.395a.437.437 0 00-.419-.438.98.98 0 00-.305.064 7.979 7.979 0 01-2.299.367z"/>`

Expand Down
2 changes: 1 addition & 1 deletion app/components/icons/pause.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Icon from '@components/icon'
import Icon from '@components/custom-icon'

const Pause = `<rect x="6" y="4" width="4" height="16"></rect><rect x="14" y="4" width="4" height="16"></rect>`

Expand Down
2 changes: 1 addition & 1 deletion app/components/icons/play.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Icon from '@components/icon'
import Icon from '@components/custom-icon'

const Play = `<path d="M7.032 20c.344 0 .636-.151.98-.369l10.025-6.37c.714-.462.963-.765.963-1.266 0-.5-.25-.803-.963-1.257L8.012 4.36C7.668 4.142 7.376 4 7.032 4 6.396 4 6 4.53 6 5.351V18.64C6 19.461 6.396 20 7.032 20z"/>`
export default Icon(Play)
2 changes: 1 addition & 1 deletion app/components/icons/rss.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Icon from '@components/icon'
import Icon from '@components/custom-icon'

const RSS = `<path fill-rule="evenodd" clip-rule="evenodd" d="M5.002 5.82a.877.877 0 01.932-.818c7.004.46 12.603 6.06 13.064 13.064a.877.877 0 11-1.75.115C16.845 12.055 11.945 7.155 5.82 6.75a.877.877 0 01-.817-.932zM5 17.83a1.17 1.17 0 112.338 0 1.17 1.17 0 01-2.338 0zm.981-6.955a.877.877 0 00-.208 1.74 6.433 6.433 0 015.611 5.612.877.877 0 101.741-.208 8.187 8.187 0 00-7.144-7.144z"/>`

Expand Down
2 changes: 1 addition & 1 deletion app/components/icons/search.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Icon from '@components/icon'
import Icon from '@components/custom-icon'

const Search = `<path d="M10.596 17.192c1.26 0 2.446-.362 3.45-.988l3.393 3.392A1.43 1.43 0 0018.46 20c.799 0 1.4-.626 1.4-1.416 0-.37-.123-.725-.404-1.005l-3.36-3.368a6.49 6.49 0 001.088-3.615C17.184 6.973 14.219 4 10.596 4S4 6.973 4 10.596s2.973 6.596 6.596 6.596zm0-2.01c-2.528 0-4.595-2.066-4.595-4.586 0-2.52 2.067-4.587 4.595-4.587 2.52 0 4.587 2.067 4.587 4.587 0 2.52-2.067 4.587-4.587 4.587z"/>`

Expand Down
2 changes: 1 addition & 1 deletion app/components/icons/star.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Icon from '@components/icon'
import Icon from '@components/custom-icon'

const Star = `<polygon points="12 2 15.09 8.26 22 9.27 17 14.14 18.18 21.02 12 17.77 5.82 21.02 7 14.14 2 9.27 8.91 8.26 12 2"></polygon>`

Expand Down
2 changes: 1 addition & 1 deletion app/components/icons/sun.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion app/components/icons/twitter.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Icon from '@components/icon'
import Icon from '@components/custom-icon'

const Twitter = `
<path d="M23 3a10.9 10.9 0 0 1-3.14 1.53 4.48 4.48 0 0 0-7.86 3v1A10.66 10.66 0 0 1 3 4s-4 9 5 13a11.64 11.64 0 0 1-7 2c9 5 20 0 20-11.5a4.5 4.5 0 0 0-.08-.83A7.72 7.72 0 0 0 23 3z"></path>
Expand Down

0 comments on commit 89f7e51

Please sign in to comment.