Skip to content

Commit

Permalink
Fix Youtube icon
Browse files Browse the repository at this point in the history
  • Loading branch information
Jieiku committed Aug 13, 2024
1 parent 7894331 commit 8548e10
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 @@ -171,14 +171,14 @@ mastodon = "https://mastodon.example.com/@username"
element = "matrix.example.com"
#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
#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"
#linkedin = "your-user-name"
#gitlab = "your-user-name"
github = "your-user-name"
#codeberg = "your-user-name" # Everything after https://codeberg.org/ eg: username *or* username/repository
github_sponsor = "your-user-name"
#github_sponsor = "your-user-name"
#bitbucket = "your-user-name"
#python = "your-user-name"
#docker = "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 @@ -122,7 +122,7 @@
twitch: "%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='M21 2H3v16h5v4l4-4h5l4-4V2zm-10 9V7m5 4V7'/%3E%3C/svg%3E",
twitter: "%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='M23 3a10.9 10.9 0 0 1-3.1 1.5 4.5 4.5 0 0 0-7.9 3v1A10.7 10.7 0 0 1 3 4s-4 9 5 13a11.6 11.6 0 0 1-7 2c9 5 20 0 20-11.5a4.5 4.5 0 0 0 0-.8A7.7 7.7 0 0 0 23 3z'/%3E%3C/svg%3E",
x: "%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='M21 3 3 21M3 3l18 18'/%3E%3C/svg%3E",
youtube: "%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='#{getColor($ic,$fill,1)}' d='M22.5 6.7a2.8 2.8 90 0 0-2-1.9c-1.6-.5-8.5-.5-8.5-.5s-6.9 0-8.7.5a2.8 2.8 90 0 0-1.8 1.9 28.6 28.6 90 0 0 0 10.7 2.8 2.8 90 0 0 1.9 1.9c1.8.4 8.6.4 8.6.4s6.9 0 8.5-.4a2.8 2.8 90 0 0 2-1.9c.5-1.8.5-5.3.5-5.3s0-3.6-.5-5.4Z'/%3E%3Cpath fill='#{getColor($ic,$fill,2)}' d='M9.8 8.8l5.6 3.2-5.6 3.2Z' /%3E%3C/svg%3E",
youtube: "%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='#{getColor($ic,$fill,1)}' d='M22.5 6.7a2.8 2.8 90 0 0-2-1.9c-1.6-.5-8.5-.5-8.5-.5s-6.9 0-8.7.5a2.8 2.8 90 0 0-1.8 1.9 28.6 28.6 90 0 0 0 10.7 2.8 2.8 90 0 0 1.9 1.9c1.8.4 8.6.4 8.6.4s6.9 0 8.5-.4a2.8 2.8 90 0 0 2-1.9c.5-1.8.5-5.3.5-5.3s0-3.6-.5-5.4Z M9.8 8.8l5.6 3.2-5.6 3.2Z' /%3E%3C/svg%3E",
adjust: "%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='M12 0C6 0 0 6 0 12s5 12 12 12 12-5 12-12S19 0 12 0Zm0 4c5 0 8 3 8 8s-3 8-8 8V4Z'/%3E%3C/svg%3E",
angl: "%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 4-8 8 8 8'/%3E%3C/svg%3E",
angll: "%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='m11 4-8 8 8 8m9-16-8 8 8 8'/%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 @@ -51,15 +51,15 @@ $icon-linkedin: false !default;
$icon-codeberg: false !default;
$icon-gitlab: false !default;
$icon-github: true !default;
$icon-github-sponsor: true !default;
$icon-github-sponsor: false !default;
$icon-bitbucket: false !default;
$icon-python: false !default;
$icon-docker: false !default;
$icon-stack: false !default;
$icon-instagram: true !default;
$icon-pixelfed: false !default;//heaviest icon, off by default
$icon-pinterest: false !default;
$icon-discord: true !default;
$icon-discord: false !default;
$icon-twitch: true !default;
$icon-youtube: true !default;
$icon-peertube: false !default;
Expand Down Expand Up @@ -1374,7 +1374,7 @@ $coderoundhighlight: false !default;//round corners on highlighted code blocks
@if $icon-twitch { .twitch { background-image: functions.icon(twitch, $ic,2, "%23a7f", "none") }}
@if $icon-twitter { .twitter { background-image: functions.icon(twitter, $ic,2, "%232ad", "none") }}
@if $icon-x { .x { background-image: functions.icon(x, $ic,3, "%23f00", "none") }}
@if $icon-youtube { .youtube { background-image: functions.icon(youtube, $ic,2, "none", ["%23f00","%23fff"]) }}
@if $icon-youtube { .youtube { background-image: functions.icon(youtube, $ic,2, "none", "%23f00") }}
@if $icon-telegram { .telegram { background-image: functions.icon(telegram, $ic,0, "none", "%233ad") }}
.svg {
width: 1.8rem;
Expand Down

0 comments on commit 8548e10

Please sign in to comment.