Skip to content

Commit 5ab28f4

Browse files
committed
Prepare for 2.4.0 by doing lots of stuff
* Added several user-end comments in master.theme.css * Shortened several variables, reducing size by thousands of characters * Two new variables, for avatar and server icon border-radius * Changed default border-radius for avatars and servers to 20% * Fix macOS window buttons * Optimized the home icon SVGs (58% decrease) * Optimized the wordmark SVGs (12% and 28% decrease) * Removed D+ text in Settings, since it hogs up important app info * Removed extra info at the bottom since it no longer works * Removed Citador support as Discord has its own quote feature * Removed ServerFolders support because Discord has its own folders * Removed TitleForTitlebar support as the plugin no longer works * Changed theme.css hosting to GitHub Pages for performance
1 parent e856da2 commit 5ab28f4

File tree

7 files changed

+260
-492
lines changed

7 files changed

+260
-492
lines changed

DiscordPlus-beta.theme.css

Lines changed: 0 additions & 32 deletions
This file was deleted.

DiscordPlus-master.theme.css

Lines changed: 47 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,44 +1,66 @@
11
/**
2-
* @name Discord+
3-
* @description A sleek, customizable Discord theme.
2+
* @name Discord+
3+
* @description A sleek, customizable Discord theme. Have any questions? Stop by our support server by clicking the link below!
44
* @source https://github.com/PlusInsta/discord-plus/blob/master/DiscordPlus.theme.css
55
* @author PlusInsta
66
* @authorLink https://plusinsta.carrd.co
77
* @version 2.4
88
* @website https://plusinsta.github.io/discord-plus/
99
* @invite 2Jwh2nS
1010
*/
11-
@import url("https://rawgit.com/PlusInsta/discord-plus/master/DiscordPlus.theme.css");
11+
@import url("//plusinsta.github.io/discord-plus/DiscordPlus.theme.css");
12+
13+
/* I've commented most of these values so you can change them yourself.
14+
If you're having trouble, or you want to do more than what these values
15+
allow for, drop by our server and we can probably help you out! */
16+
17+
/* Font import */
18+
/* This URL controls the fonts that we load from the web. Go to fonts.google.com
19+
and have a look! If there's any fonts you like, click them, select styles that
20+
are the closest to 400 and 700 (as that's what Discord uses for regular and
21+
bold formatted text), then click back onto the main page and repeat for any
22+
additional fonts you want. When you're done, click "View selected families"
23+
in the top right, click the Embed tab, and replace the link below with the "CSS
24+
rules" it gives you. Refresh Discord, change the fonts below, and you're done! */
1225
@import url("https://fonts.googleapis.com/css?family=Poppins:400,700|Roboto:400,700|Righteous");
1326

14-
/* See the FAQ for detailed info about these values.
15-
https://github.com/PlusInsta/discord-plus/wiki/FAQ */
27+
1628
:root {
17-
/* Background */
29+
/* Background image. Falls back to accent color if invalid. */
1830
--dplus-background: url('https://i.imgur.com/3AiL3yN.png');
19-
/* Accent color */
31+
32+
/* Accent color, used to decorate the UI with colors. */
2033
--dplus-accent-color: #802060;
34+
2135
/* Fonts */
22-
/* Display font (UI) */
23-
--dplus-font-display: 'Poppins';
24-
/* Text font (messages) */
25-
--dplus-font-text: 'Roboto';
26-
/* Names, titles & headers font */
27-
--dplus-font-names: 'Righteous';
28-
/* Rounded corners size */
29-
--dplus-border-radius: 10px;
30-
/* Background colors */
36+
/* Display (Discord UI) */
37+
--dplus-font-display: 'Poppins';
38+
/* Message body */
39+
--dplus-font-text: 'Roboto';
40+
/* Names, titles & headers */
41+
--dplus-font-names: 'Righteous';
42+
43+
/* Rounded corners sizes, measured in pixel radius
44+
Set avatar and guild radius to 50% if you want them to be circular
45+
Don't set UI radius to 50%, or else it'll completely break Discord! */
46+
--dplus-avatar-radius: 20%;
47+
--dplus-server-radius: 20%;
48+
--dplus-ui-radius: 10px;
49+
50+
/* Background covers. I recommend using one color range and sticking to it.
51+
Ex.: light-1: lime, light-2: slightly more opaque lime, etc. */
3152
/* Dark theme */
32-
--dplus-background-dark-1: hsla(0, 0%, 0%, 0.68);
33-
--dplus-background-dark-2: hsla(0, 0%, 0%, 0.74);
34-
--dplus-background-dark-3: hsla(0, 0%, 0%, 0.82);
35-
--dplus-background-dark-4: hsla(0, 0%, 0%, 0.90);
53+
--dplus-bg-dark-1: hsla(0, 0%, 0%, 0.68);
54+
--dplus-bg-dark-2: hsla(0, 0%, 0%, 0.74);
55+
--dplus-bg-dark-3: hsla(0, 0%, 0%, 0.82);
56+
--dplus-bg-dark-4: hsla(0, 0%, 0%, 0.90);
3657
/* Light theme */
37-
--dplus-background-light-1: hsla(0, 0%, 100%, 0.72);
38-
--dplus-background-light-2: hsla(0, 0%, 100%, 0.80);
39-
--dplus-background-light-3: hsla(0, 0%, 100%, 0.88);
40-
--dplus-background-light-4: hsla(0, 0%, 90%, 0.94);
58+
--dplus-bg-light-1: hsla(0, 0%, 100%, 0.72);
59+
--dplus-bg-light-2: hsla(0, 0%, 100%, 0.80);
60+
--dplus-bg-light-3: hsla(0, 0%, 100%, 0.88);
61+
--dplus-bg-light-4: hsla(0, 0%, 90%, 0.94);
4162
}
4263

4364
/* You can drop your custom CSS below here.
44-
If you want some examples, check out the FAQ. */
65+
If it doesn't work, try adding !important to the end of the affected value.
66+
If you need help with this, please don't hesitate to drop by our server! */

0 commit comments

Comments
 (0)