generated from MiniDiscordThemes/Template
-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
32a7871
commit 9c69ce2
Showing
32 changed files
with
381 additions
and
370 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"name": "demonstration-discord-theme", | ||
"version": "1.0.0", | ||
"version": "1.1.0", | ||
"description": "A Discord theme for demonstrating Discord themes.", | ||
"repository": "github:MiniDiscordThemes/Demonstration", | ||
"author": "Saltssaumure <[email protected]>", | ||
|
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
@use "sass:list"; | ||
@use "sass:string"; | ||
|
||
// Generate unquoted list of selectors from list | ||
@function unquoteSelectors($selectors) { | ||
$unquoted: (); | ||
@each $selector in $selectors { | ||
$unquoted: list.append($unquoted, string.unquote($selector), comma); | ||
} | ||
@return $unquoted; | ||
} |
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
@forward "./part"; | ||
@forward "./override"; | ||
@forward "./main"; | ||
@forward "./mod"; | ||
@forward "./part"; | ||
@forward "./themesettings"; |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,39 +1,37 @@ | ||
@use "../vars" as *; | ||
@use "../mixins" as *; | ||
@use "../funcs" as func; | ||
@use "../vars" as var; | ||
@use "../mixins" as mixin; | ||
|
||
// Emoji picker | ||
|
||
// Server icon | ||
.guildIcon_ed1ab4 { | ||
content: $gradient; | ||
content: var.$gradient; | ||
} | ||
|
||
// Emoji, emoji, sticker | ||
.emoji__92b46, | ||
.image__43623, | ||
.stickerAsset_ab864f { | ||
content: $gradient; | ||
@include addRoundedCorners; | ||
@include addTransparency; | ||
content: var.$gradient; | ||
@include mixin.addRoundedCorners; | ||
@include mixin.addTransparency; | ||
object-fit: unset; | ||
} | ||
|
||
// Server list | ||
.listItems__49027 > div { | ||
@include genColors; | ||
$_locations: ( | ||
// In server list | ||
".listItems__49027 > div", | ||
// In emoji grid | ||
".emojiListRow__6d732 > li", | ||
// In sticker grid | ||
".row_b3c4f2" | ||
); | ||
:is(#{func.unquoteSelectors($_locations)}) { | ||
@include mixin.genColors; | ||
} | ||
|
||
// Emoji grid | ||
.emojiListRow__6d732 > li { | ||
@include genColors; | ||
} | ||
|
||
// Sticker grid | ||
.row_b3c4f2 { | ||
@include genColors; | ||
} | ||
|
||
// Bottom bar current emoji info | ||
// In bottom bar current emoji info | ||
.inspector__80c84 { | ||
@include genOneColor(var(--demo-icon-hue)); | ||
@include mixin.genOneColor(var(--demo-icon-hue)); | ||
} |
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,38 +1,47 @@ | ||
@use "../vars" as *; | ||
@use "../mixins" as *; | ||
@use "../vars" as var; | ||
@use "../mixins" as mixin; | ||
|
||
// Stuff I'm not sure where to put yet | ||
// Misc content | ||
|
||
// Profile banner | ||
.banner__6d414 { | ||
background-image: none !important; | ||
} | ||
|
||
// Server banner | ||
.bannerImg_fe5c1b { | ||
@include genOneColor(var(--demo-banner-hue)); | ||
content: $gradient; | ||
@include mixin.genOneColor(var(--demo-banner-hue)); | ||
content: var.$gradient; | ||
} | ||
|
||
// Emoji, role icon, clan badge | ||
.emoji, | ||
.roleIcon__92480, | ||
.badge_d12073 { | ||
@include genOneColor(var(--demo-icon-hue)); | ||
content: $gradient; | ||
@include addRoundedCorners; | ||
@include addTransparency; | ||
@include mixin.genOneColor(var(--demo-icon-hue)); | ||
content: var.$gradient; | ||
@include mixin.addRoundedCorners; | ||
@include mixin.addTransparency; | ||
aspect-ratio: 1 / 1; | ||
object-fit: unset; | ||
} | ||
|
||
// Activity icon | ||
.assetsLargeImage__57902, | ||
.assetsSmallImage__4c2f1, | ||
.gameIcon_f19d1f { | ||
@include genOneColor(var(--demo-icon-hue)); | ||
content: $gradient; | ||
.largeImage_afc95a, | ||
.smallImage__5c837, | ||
.gameIcon_f19d1f, | ||
.headerIcon__8b290, | ||
.multipleIconWrapper__8dd58 { | ||
@include mixin.genOneColor(var(--demo-icon-hue)); | ||
content: var.$gradient; | ||
} | ||
|
||
// Authorised apps | ||
.authedApp__71a52 { | ||
@include genColors; | ||
@include mixin.genColors; | ||
.appAvatar__1fa87 { | ||
content: $gradient; | ||
content: var.$gradient; | ||
} | ||
} |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,43 +1,44 @@ | ||
@use "../vars" as *; | ||
@use "../mixins" as *; | ||
@use "../funcs" as func; | ||
@use "../vars" as var; | ||
@use "../mixins" as mixin; | ||
|
||
// Server icon | ||
|
||
// Full size server and active DM user | ||
.listItem__48528:not(.tutorialContainer_b06ae6 .listItem__48528) { | ||
@include genColors; | ||
@include mixin.genColors; | ||
.icon__11cf1 { | ||
content: $gradient; | ||
content: var.$gradient; | ||
} | ||
} | ||
|
||
// Mini server icons | ||
.icon__94164 { | ||
background: $gradient !important; | ||
background: var.$gradient !important; | ||
} | ||
|
||
// In inbox unreads | ||
.recentMentionsPopout__40c54 .scroller_e3927b > [style="opacity: 1; height: auto;"] { | ||
@include mixin.genColors; | ||
} | ||
|
||
// In collapsed folder | ||
.guildIcon_b6bfa7 { | ||
@include genColors(4); | ||
@include mixin.genColors(4); | ||
} | ||
|
||
// In profile popout mutual servers | ||
.avatar__611fe, | ||
.memberSince__2eba7 { | ||
@include genColors(3); | ||
$_locations: ( | ||
// In profile popout mutual servers | ||
".avatar__611fe", | ||
".memberSince__2eba7", | ||
// In settings boost tab | ||
".guildContainer_fef06f" | ||
); | ||
:is(#{func.unquoteSelectors($_locations)}) { | ||
@include mixin.genColors(3); | ||
} | ||
|
||
// In profile popout server-specific about me | ||
.aboutMeGuildIcon_b141fb { | ||
@include genOneColor(var(--demo-icon-hue)); | ||
} | ||
|
||
// In inbox unreads | ||
.recentMentionsPopout__40c54 .scroller_e3927b > [style="opacity: 1; height: auto;"] { | ||
@include genColors; | ||
} | ||
|
||
// In settings boost tab | ||
.guildContainer_fef06f { | ||
@include genColors(3); | ||
@include mixin.genOneColor(var(--demo-icon-hue)); | ||
} |
Oops, something went wrong.