Skip to content

Commit

Permalink
Fix Kofi icon
Browse files Browse the repository at this point in the history
  • Loading branch information
Jieiku committed Aug 12, 2024
1 parent f756ad1 commit 7894331
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -169,8 +169,8 @@ feed = true # this adds the RSS feed icon in the footer.
mail = "name@example.com"
mastodon = "https://mastodon.example.com/@username"
element = "matrix.example.com"
buymeacoffee = "your-user-name"
#kofi = "your-user-name"
#buymeacoffee = "your-user-name"
kofi = "your-user-name"
discord = "your-discord" # Everything after https://discord.com/ eg: invite/my-server *or* servers/my-server-id
#twitter = "your-user-name"
#facebook = "your-user-name"
Expand Down
2 changes: 1 addition & 1 deletion sass/_functions.scss
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@
home: "%3Csvg xmlns='http://www.w3.org/2000/svg' stroke='#{getColor($ic,$stroke,1)}' stroke-width='#{$stroke-width}' fill='#{getColor($ic,$fill,1)}' viewBox='0 0 24 24'%3E%3Cpath d='M9 22V12h6v10M3 9l9-7 9 7v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2Z'/%3E%3C/svg%3E",
instagram: "%3Csvg xmlns='http://www.w3.org/2000/svg' stroke='#{getColor($ic,$stroke,1)}' stroke-width='#{$stroke-width}' fill='#{getColor($ic,$fill,1)}' stroke-linecap='round' stroke-linejoin='round' viewBox='0 0 24 24'%3E%3Crect x='2' y='2' width='20' height='20' rx='5' ry='5'/%3E%3Cpath d='M16 11.4A4 4 0 1 1 12.6 8a4 4 0 0 1 3.4 3.4zm1.5-4.9h.01'/%3E%3C/svg%3E",
linkedin: "%3Csvg xmlns='http://www.w3.org/2000/svg' stroke='#{getColor($ic,$stroke,1)}' stroke-width='#{$stroke-width}' fill='#{getColor($ic,$fill,1)}' viewBox='0 0 24 24'%3E%3Cpath d='M16 8a6 6 0 0 1 6 6v7h-4v-7a2 2 0 0 0-2-2 2 2 0 0 0-2 2v7h-4v-7a6 6 0 0 1 6-6zM2 9h4v12H2z'/%3E%3Ccircle cx='4' cy='4' r='2'/%3E%3C/svg%3E",
kofi: "%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath stroke='#{getColor($ic,$stroke,1)}' stroke-width='#{$stroke-width}' fill='%23fff' d='M2 5h15c8 0 8 10 0 10-1 0-1 0-1 1v2q0 1-1 1H2q-1 0-1-1V6q0-1 1-1m14 4v2c0 1 0 1 1 1 4 0 4-4 0-4-1 0-1 0-1 1'/%3E%3Cpath fill='#{getColor($ic,$fill,1)}' d='M9 16C2 11 5 6 9 9c4-3 7 2 0 7' /%3E%3C/svg%3E",
kofi: "%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath stroke='#{getColor($ic,$stroke,1)}' stroke-width='#{$stroke-width}' fill='#{getColor($ic,$fill,1)}' d='M3 5.5h14c7 0 7 10-.5 10q0 3-2.5 3H4q-2 0-2-1.5V6.5q0-1 1-1M16.5 9v3c0 1 0 1 .5 1 3.5 0 3.5-5 0-5-.5 0-.5 0-.5 1'/%3E%3Cpath fill='#{getColor($ic,$fill,2)}' d='M9.2 15.8c-7.7-5.3-2.8-9 0-6.2 2.8-2.8 7.7.9 0 6.2' /%3E%3C/svg%3E",
mail: "%3Csvg xmlns='http://www.w3.org/2000/svg' stroke='#{getColor($ic,$stroke,1)}' stroke-width='#{$stroke-width}' fill='#{getColor($ic,$fill,1)}' viewBox='0 0 24 24'%3E%3Cpath d='m22 6-10 7L2 6m2-2h16a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V6c0-1.1.9-2 2-2Z'/%3E%3C/svg%3E",
mastodon: "%3Csvg xmlns='http://www.w3.org/2000/svg' fill='#{getColor($ic,$fill,1)}' viewBox='0 0 24 24'%3E%3Cpath d='M2 8c0 5.7-.2 12.6 5 14 2 .6 3.7.7 5 .6 2.4-.1 3.8-.9 3.8-.9l-.1-1.8s-1.7.6-3.7.5c-1.9 0-4-.2-4.2-2.6a5 5 90 0 1 0-.7c4 1 7.5.5 8.4.4 2.7-.4 5-2 5.3-3.6.5-2.4.4-5.8.4-5.8C22 3.4 19 2 19 2 15.9.6 8 .6 5.1 2c0 0-3 1.4-3 6zm4.5-2.3c1.2-1.4 3.8-1.5 5 .3l.5.9.6-1c1.1-1.7 3.7-1.6 4.9-.2 1.1 1.3.9 2.5.9 8.4H16V8.6c0-2.4-3-2.5-3 .3v3h-2V9c0-2.8-3-2.7-3-.3V14H5.6c0-5.9-.2-7.1 1-8.4z'/%3E%3C/svg%3E",
matrix: "%3Csvg xmlns='http://www.w3.org/2000/svg' stroke='#{getColor($ic,$stroke,1)}' stroke-width='#{$stroke-width}' fill='#{getColor($ic,$fill,1)}' viewBox='0 0 24 24'%3E%3Cpath d='M.6.6v22.8H3v.6H0V0h3v.6zm7 7.2V9h.1c3.2-2.3 4.3 0 4.8.3C14.9 6.7 18 8 18 11v5h-1.5v-5a1 1 0 0 0-3.5 0v5h-1.7v-5a1 1 0 0 0-3.7 0v5H6V7.8zm15.8 15.7V.4H21V0h3v24h-3v-.6z'/%3E%3C/svg%3E",
Expand Down
6 changes: 3 additions & 3 deletions sass/abridge.scss
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@ $icon-mail: true !default;// e-mail
$icon-mastodon: true !default;
$icon-element: true !default;
$icon-matrix: false !default;
$icon-buymeacoffee: true !default;
$icon-kofi: false !default;
$icon-buymeacoffee: false !default;
$icon-kofi: true !default;
$icon-twitter: false !default;
$icon-facebook: false !default;
$icon-linkedin: false !default;
Expand Down Expand Up @@ -1355,7 +1355,7 @@ $coderoundhighlight: false !default;//round corners on highlighted code blocks
@if $icon-globe { .globe { background-image: functions.icon(globe, $ic,2, "%23888", "none") }}
@if $icon-home { .home { background-image: functions.icon(home, $ic,2, "%23888", "none") }}
@if $icon-instagram { .instagram { background-image: functions.icon(instagram, $ic,2, "%23e07", "none") }}
@if $icon-kofi { .kofi { background-image: functions.icon(kofi, $ic,1.5, "%23888", ["%23f55","%23fff"]) }}
@if $icon-kofi { .kofi { background-image: functions.icon(kofi, $ic,1.4, "%23888", ["none", "%23f55"]) }}
@if $icon-linkedin { .linkedin { background-image: functions.icon(linkedin, $ic,2, "%2326a", "none") }}
@if $icon-mail { .mail { background-image: functions.icon(mail, $ic,2, "%23888", "none") }}
@if $icon-mastodon { .mastodon { background-image: functions.icon(mastodon, $ic,0, "none", "%2328c") }}
Expand Down

0 comments on commit 7894331

Please sign in to comment.