Created
December 26, 2024 03:34
-
-
Save Kr328/f67277fc079a7ba7e32670ddd0e9b70d to your computer and use it in GitHub Desktop.
Apply noto fonts for clash dashboard.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Noto Fonts for Clash Dashboard | |
// @namespace http://github.com/Kr328/noto-font-clash-dashboard | |
// @version 1.0.0 | |
// @description Replace note fonts for clash dashboard | |
// @author Kr328 | |
// @match *://clash.razord.top/* | |
// @icon https://upload.wikimedia.org/wikipedia/commons/0/0b/Clash_Logo.png | |
// @grant GM_addStyle | |
// ==/UserScript== | |
(function() { | |
'use strict'; | |
const STYLE = ` | |
@import url('https://fonts.googleapis.com/css2?family=Noto+Color+Emoji&family=Noto+Sans+JP:[email protected]&family=Noto+Sans+KR:[email protected]&family=Noto+Sans+SC:[email protected]&family=Noto+Sans:ital,wght@0,100..900;1,100..900&display=swap'); | |
body { | |
font-family: "Noto Sans", "Noto Sans SC", "Noto Sans JP", "Noto Sans KR", "Noto Color Emoji", sans-serif, serif; | |
} | |
`; | |
GM_addStyle(STYLE); | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment