Skip to content

Instantly share code, notes, and snippets.

@Joshix-1
Last active July 26, 2023 15:06
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save Joshix-1/105be8e51e7bc6eb573e46e28289d538 to your computer and use it in GitHub Desktop.
Save Joshix-1/105be8e51e7bc6eb573e46e28289d538 to your computer and use it in GitHub Desktop.
BetterDiscord Comic Sans Theme
/**
* @name Comic Sans
* @version 1.1
* @description A theme which switches to the one and only font.
* @source https://gist.github.com/Joshix-1/105be8e51e7bc6eb573e46e28289d538/raw/
* @website https://gist.githubusercontent.com/Joshix-1/105be8e51e7bc6eb573e46e28289d538
* @authorId 564843886434975745
* @author Joshix
**/
@import url(https://allfont.de/allfont.css?fonts=comic-sans-ms);
@import url(https://cdn.jsdelivr.net/npm/comic-mono@0.0.1/index.css);
:root {
--Font-Used: "Comic Sans MS";
--Font-Size: 15px ;
/* medium|xx-small|x-small|small|large|x-large|xx-large|smaller|larger|length|initial|inherit; */
--Font-Variant: normal ;
/* normal|small-caps|initial|inherit */
}
*:not([class*="hljs"]):not(code) {
font-family: var(--Font-Used)!important;
font-variant: var(--Font-Variant)!important;
}
.markup:not(code) {
font-size: var(--Font-Size)!important;
}
:root {
--Code-Font-Used: "Comic Mono";
--Code-Font-Size: 15px ;
/* medium|xx-small|x-small|small|large|x-large|xx-large|smaller|larger|length|initial|inherit; */
--Code-Font-Variant: normal ;
/* normal|small-caps|initial|inherit */
}
code {
font-family: var(--Code-Font-Used)!important;
font-size: var(--Code-Font-Size)!important;
font-variant: var(--Code-Font-Variant)!important;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment