Skip to content

Commit

Permalink
deploy: 939852b
Browse files Browse the repository at this point in the history
  • Loading branch information
Saltssaumure committed Jun 19, 2024
1 parent a2d13fc commit 58ba8da
Show file tree
Hide file tree
Showing 13 changed files with 277 additions and 276 deletions.
2 changes: 1 addition & 1 deletion demo.min.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"discordID": "134142022092062720",
"github": "Saltssaumure"
},
"version": "1.1.1",
"version": "1.1.2",
"updater": {
"type": "store",
"id": "net.saltssaumure.Demonstration"
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "demonstration-discord-theme",
"version": "1.1.1",
"version": "1.1.2",
"description": "A Discord theme for demonstrating Discord themes.",
"repository": "github:MiniDiscordThemes/Demonstration",
"author": "Saltssaumure <[email protected]>",
Expand All @@ -19,8 +19,8 @@
"release": "replugged release"
},
"devDependencies": {
"prettier": "^3.2.5",
"replugged": "^4.7.9",
"prettier": "^3.3.2",
"replugged": "^4.7.13",
"salt-bd-scss": "^1.2.2"
}
}
369 changes: 185 additions & 184 deletions pnpm-lock.yaml

Large diffs are not rendered by default.

16 changes: 8 additions & 8 deletions scss/main/_emojipicker.scss
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@
// Emoji picker

// Server icon
.guildIcon_ed1ab4 {
.guildIcon_bfabc4 {
content: var.$gradient;
}

// Emoji, emoji, sticker
.emoji__92b46,
.image__43623,
.stickerAsset_ab864f {
.emoji_f48b14,
.image_b000dd,
.stickerAsset_cb3343 {
content: var.$gradient;
@include mixin.addRoundedCorners;
@include mixin.addTransparency;
Expand All @@ -21,17 +21,17 @@

$_locations: (
// In server list
".listItems__49027 > div",
".listItems_dcade6 > div",
// In emoji grid
".emojiListRow__6d732 > li",
".emojiListRow_fbfedd > li",
// In sticker grid
".row_b3c4f2"
".row_a708c4"
);
:is(#{func.unquoteSelectors($_locations)}) {
@include mixin.genColors;
}

// In bottom bar current emoji info
.inspector__80c84 {
.inspector_c3120f {
@include mixin.genOneColor(var(--demo-icon-hue));
}
8 changes: 4 additions & 4 deletions scss/main/_image.scss
Original file line number Diff line number Diff line change
Expand Up @@ -18,19 +18,19 @@
}

// Before upload attachment preview
.upload_c98ecb {
.upload_df1eaf {
@include mixin.genColors(4);
.mediaContainer_e3d4b8 {
.mediaContainer_f847a3 {
background: var.$gradient;
height: 100%;
.media__47d7e {
.media_f847a3 {
display: none;
}
}
}

// Edit attachment details modal
.expandable__6a921 .icon__4bc4d {
.expandable_f82cc7 .icon_f82cc7 {
@include mixin.genOneColor(var(--demo-image-hue));
content: var.$gradient;
}
26 changes: 13 additions & 13 deletions scss/main/_misc.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,20 +4,20 @@
// Misc content

// Profile banner
.banner__6d414 {
.banner_c3e427 {
background-image: none !important;
}

// Server banner
.bannerImg_fe5c1b {
.bannerImg_fd6364 {
@include mixin.genOneColor(var(--demo-banner-hue));
content: var.$gradient;
}

// Emoji, role icon, clan badge
.emoji,
.roleIcon__92480,
.badge_d12073 {
.roleIcon_d5100b,
.badge_d5cb59 {
@include mixin.genOneColor(var(--demo-icon-hue));
content: var.$gradient;
@include mixin.addRoundedCorners;
Expand All @@ -27,21 +27,21 @@
}

// Activity icon
.assetsLargeImage__57902,
.assetsSmallImage__4c2f1,
.largeImage_afc95a,
.smallImage__5c837,
.gameIcon_f19d1f,
.headerIcon__8b290,
.multipleIconWrapper__8dd58 {
.assetsLargeImage_d5089b,
.assetsSmallImage_d5089b,
.largeImage_cd82a7,
.smallImage_cd82a7,
.gameIcon_d5089b,
.headerIcon_cd82a7,
.multipleIconWrapper_cd82a7 {
@include mixin.genOneColor(var(--demo-icon-hue));
content: var.$gradient;
}

// Authorised apps
.authedApp__71a52 {
.authedApp_f0135d {
@include mixin.genColors;
.appAvatar__1fa87 {
.appAvatar_f0135d {
content: var.$gradient;
}
}
14 changes: 7 additions & 7 deletions scss/main/_server.scss
Original file line number Diff line number Diff line change
Expand Up @@ -5,40 +5,40 @@
// Server icon

// Full size server and active DM user
.listItem__48528:not(.tutorialContainer_b06ae6 .listItem__48528) {
.listItem_c96c45:not(.tutorialContainer_f9623d .listItem_c96c45) {
@include mixin.genColors;
.icon__11cf1 {
content: var.$gradient;
}
}

// Mini server icons
.icon__94164 {
.icon_f11207 {
background: var.$gradient !important;
}

// In inbox unreads
.recentMentionsPopout__40c54 .scroller_e3927b > [style="opacity: 1; height: auto;"] {
.recentMentionsPopout_ddb5b4 .scroller_f1c3d9 > [style="opacity: 1; height: auto;"] {
@include mixin.genColors;
}

// In collapsed folder
.guildIcon_b6bfa7 {
.guildIcon_bc7085 {
@include mixin.genColors(4);
}

$_locations: (
// In profile popout mutual servers
".avatar__611fe",
".avatar_ccc074",
".memberSince__2eba7",
// In settings boost tab
".guildContainer_fef06f"
".guildContainer_e0d799"
);
:is(#{func.unquoteSelectors($_locations)}) {
@include mixin.genColors(3);
}

// In profile popout server-specific about me
.aboutMeGuildIcon_b141fb {
.aboutMeGuildIcon_d6668b {
@include mixin.genOneColor(var(--demo-icon-hue));
}
60 changes: 30 additions & 30 deletions scss/main/avatar/_location.scss
Original file line number Diff line number Diff line change
Expand Up @@ -5,85 +5,85 @@

$_locations: (
// In chat message
".messageListItem__050f9",
".messageListItem_d5deea",
// In active threads
".container__9922f",
".container_acb8b3",
// In DM list
".container__3792d",
".container_b15955",
// In DM profile mutual friends
".listRow__50619",
".listRow_e4be58",
// In Friends list
".peopleListItem_dab480",
".peopleListItem_d51464",
// In Active Now list
".itemCard_b64118",
".itemCard_f02fcf",
// In search suggestions
".option__91497",
".option_b0286e",
// In search results
".container__3be1d",
".container_ddc613",
// In quick switcher modal
".result__25f11",
".result_f14193",
// In invite to server modal
".inviteRow_d6ad74",
".inviteRow_cedfaf",
// In "Select Friends" popout
".friendWrapper_f9b51d",
".friendWrapper_ebf869",
// In avatar decoration shop
".shopCard__3d319",
".shopCard_c23530",
// In pinned messages
".messageGroupWrapper__1fce2",
".messageGroupWrapper_ac90a2",
// In inbox mentions
".container__7c2c1",
".container_ddb5b4",
// In inbox unreads
".messageContainer__3e208",
".messageContainer_c06487",
// In memberslist
".member_aa4760"
".member_a31c43"
);
:is(#{func.unquoteSelectors($_locations)}) {
@include mixin.genColors;
}

$_locations: (
// In "<number> in voice" bubble
".avatarSize__70e76",
".avatarSize_e52fc2",
// In VC video - small row
".tileSizer__9b4d7"
".tileSizer_d737b4"
);
:is(#{func.unquoteSelectors($_locations)}) {
@include mixin.genColors(4);
}

$_locations: (
// In typing indicator
".base__06abc .text_eb454c strong",
".base_d7ebeb .text_d7ebeb strong",
// In settings nitro tab
".iconContainer_e812a7 .wrapper__3ed10"
".iconContainer_ced1ae .wrapper_c51b4e"
);
:is(#{func.unquoteSelectors($_locations)}) {
@include mixin.genColors(3);
}

$_locations: (
// In Active Now actions popover
".memberItem_e792da",
".memberItem_b09fe8",
// In DM title
".upperContainer__57565",
".upperContainer_e44302",
// In VC status
".statusIcon_dd26a9",
".statusIcon_d201be",
// In VC video - large video
".videoFrame_de25a1"
".videoFrame_f8a4f3"
);
:is(#{func.unquoteSelectors($_locations)}) {
@include mixin.genOneColor(var(--demo-icon-hue));
}

$_locations: (
// In user panel - self
".panels__58331 .avatar__991e2",
".panels_a4d4d9 .avatar_c51b4e",
// In settings - self
".accountProfileCard__744d8",
".avatarUploader__1f1a2",
".profile_db01cf",
".preview__30ef4",
".preview__22e05"
".accountProfileCard_b69b77",
".avatarUploader_ab876d",
".profile_f7ea1b",
".preview_a614a7",
".preview_c31d36"
);
:is(#{func.unquoteSelectors($_locations)}) {
@include mixin.genOneColor(var(--demo-self-hue));
Expand Down
20 changes: 10 additions & 10 deletions scss/main/avatar/_mixed.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,39 +4,39 @@
// User avatar mixed type and location

// In profile popout, profile modal
:is(.avatarHoverTarget__9b4a9, .avatar__445f3) {
:is(.avatarHoverTarget_f89da9, .avatar_ec3b75) {
// Unthemed
.userProfileOuterUnthemed__9741c & {
.userProfileOuterUnthemed_c69a7b & {
@include mixin.genOneColor(var(--demo-icon-hue));
}
// Themed
.userProfileOuterThemed_a425f3 & {
.avatar__991e2:where(:not(.avatarDecoration_cf681a .avatar__991e2)) {
.userProfileOuterThemed_c69a7b & {
.avatar_c51b4e:where(:not(.avatarDecoration_c51b4e .avatar_c51b4e)) {
content: linear-gradient(var(--profile-gradient-primary-color), var(--profile-gradient-secondary-color));
}
}
}

// In VC server tooltip
:is(.avatarContainerMasked_ed6212, .avatarContainer__37747) {
:is(.avatarContainerMasked_c47562, .avatarContainer_c47562) {
@include mixin.genColors(6);
.avatar__777a6 {
.avatar_c47562 {
content: var.$gradient;
}
}

// In channelslist in VC
.draggable__68384 {
.draggable_ac3629 {
@include mixin.genColors(7);
.userAvatar_f45224 {
.userAvatar_ac3629 {
background: var.$gradient !important;
}
}

// In user panel current VC
.avatarContainer__9688b {
.avatarContainer_fb2f1c {
@include mixin.genColors(8);
.avatar_c9fdd4 {
.avatar_fb2f1c {
background: var.$gradient !important;
}
}
18 changes: 9 additions & 9 deletions scss/main/avatar/_type.scss
Original file line number Diff line number Diff line change
Expand Up @@ -5,27 +5,27 @@

$_avatars: (
// Avatar with status mask
".avatar__991e2:where(:not(.avatarDecoration_cf681a .avatar__991e2))",
".avatar_c51b4e:where(:not(.avatarDecoration_c51b4e .avatar_c51b4e))",
// Chat avatar
".avatar__08316",
".avatar_ec86aa",
// Reply avatar
".threadMessageAccessoryAvatar__27333",
".threadMessageAccessoryAvatar_ec86aa",
// Reply avatar
".replyAvatar__4ba85",
".replyAvatar_ec86aa",
// Reply avatar
".executedCommandAvatar_cfc856",
".executedCommandAvatar_ec86aa",
// Inbox unread avatar
".dmIcon__160f0",
".dmIcon_f3978e",
// Search suggestions avatar
".displayAvatar__0be99",
".displayAvatar_b0286e",
// Embed author avatar
".embedAuthorIcon_d3f927"
".embedAuthorIcon_ad0b71"
);
:is(#{func.unquoteSelectors($_avatars)}) {
content: var.$gradient;
}

// Profile settings avatar
.avatarUploaderInner__71578 {
.avatarUploaderInner_ab876d {
background: var.$gradient !important;
}
Loading

0 comments on commit 58ba8da

Please sign in to comment.