您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
This style forces the GitHub contribution graph to be a specific variant, such as Halloween or Winter
/* ==UserStyle== @name Force GitHub contribution graph variant @version 1.0.3 @namespace charles25565 @license MIT @preprocessor less @var select variant "Variant" ["halloween", "winter"] @description This style forces the GitHub contribution graph to be a specific variant, such as Halloween or Winter ==/UserStyle== */ @-moz-document domain("github.com") { :root { --contribution-default-bgColor-1: var(--contribution-@{variant}-bgColor-1) !important; --contribution-default-bgColor-2: var(--contribution-@{variant}-bgColor-2) !important; --contribution-default-bgColor-3: var(--contribution-@{variant}-bgColor-3) !important; --contribution-default-bgColor-4: var(--contribution-@{variant}-bgColor-4) !important; } :root when (@variant = halloween) { --contribution-winter-bgColor-1: var(--contribution-halloween-bgColor-1) !important; --contribution-winter-bgColor-2: var(--contribution-halloween-bgColor-2) !important; --contribution-winter-bgColor-3: var(--contribution-halloween-bgColor-3) !important; --contribution-winter-bgColor-4: var(--contribution-halloween-bgColor-4) !important; } :root when (@variant = winter) { --contribution-halloween-bgColor-1: var(--contribution-winter-bgColor-1) !important; --contribution-halloween-bgColor-2: var(--contribution-winter-bgColor-2) !important; --contribution-halloween-bgColor-3: var(--contribution-winter-bgColor-3) !important; --contribution-halloween-bgColor-4: var(--contribution-winter-bgColor-4) !important; } }