From 8548e101a37589950069f739305425281c3d8011 Mon Sep 17 00:00:00 2001 From: Jieiku <106644+Jieiku@users.noreply.github.com> Date: Tue, 13 Aug 2024 11:09:41 -0700 Subject: [PATCH] Fix Youtube icon --- config.toml | 4 ++-- sass/_functions.scss | 2 +- sass/abridge.scss | 6 +++--- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/config.toml b/config.toml index 8bc89950..790c2f1e 100644 --- a/config.toml +++ b/config.toml @@ -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" diff --git a/sass/_functions.scss b/sass/_functions.scss index d90803e6..b8dabb98 100644 --- a/sass/_functions.scss +++ b/sass/_functions.scss @@ -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", diff --git a/sass/abridge.scss b/sass/abridge.scss index 7930d460..30429704 100644 --- a/sass/abridge.scss +++ b/sass/abridge.scss @@ -51,7 +51,7 @@ $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; @@ -59,7 +59,7 @@ $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; @@ -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;