hide app button
release v1.0.6
match discord's changes
Customize Discord with your favourite wallpaper and less useless tabs/buttons :D
(relax, the font is set separately)
const makeCss = require("@liliace/diss");
const imageUrl = "https://example.com/image.jpg";
const shadow = 0.6;
const css = makeCss(imageUrl, shadow);
imageUrl
: The url of your image.
Due to Discord's content security policy, only links under certain domains can be used.
If you want to use your own image, the easiest way is to send it in some chat on Discord and copy the image link.shadow
: How much to darken your image on a scale from 0 (no shadow) to 1 (completely black) so the texts are easier to read.If you don't want to install a whole npm package just for a simple CSS file,
you can download discord.css
and manually replace the $url
and $shadow
s
with your preferred value.
Here's an example command to do it automatically:
curl -s https://git.sr.ht/~liliace/diss/blob/main/discord.css | \
sed 's/\$url/https:\/\/example.com\/image.jpg/g; s/\$shadow/0.6/g'
If you use Discord on your browser, you can use an extension like
Stylus
to inject custom style sheets,
targeting URLs starting with https://discord.com/channels/
.
If you use the desktop app, check out diss-asar for modding the client.
Discord is constantly updating their client. Feel free to report outdated styles (and other bugs) at ~liliace/public-inbox@lists.sr.ht.
Inspired by Ctrl W's Clean Discord.