Skip to content

Commit

Permalink
Check and update selectors (#1)
Browse files Browse the repository at this point in the history
  • Loading branch information
Saltssaumure committed Jul 8, 2024
1 parent 939852b commit 53f59f1
Show file tree
Hide file tree
Showing 5 changed files with 37 additions and 14 deletions.
2 changes: 1 addition & 1 deletion scss/main/_image.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
// Attachment images

// Images and videos in chat
.loadingOverlay__35a04 {
.loadingOverlay_d4597d {
@include mixin.genOneColor(var(--demo-image-hue));
&::before {
content: "";
Expand Down
15 changes: 13 additions & 2 deletions scss/main/_server.scss
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,16 @@
// Full size server and active DM user
.listItem_c96c45:not(.tutorialContainer_f9623d .listItem_c96c45) {
@include mixin.genColors;
.icon__11cf1 {
.icon_f90abb {
content: var.$gradient;
}
}

// In DM first message header mutual servers
.avatarContainer_dc0b54 > :is(.svg_d48241, .avatar_dc0b54) {
@include mixin.genColors(3);
&.avatar_dc0b54,
.avatar_dc0b54 {
content: var.$gradient;
}
}
Expand Down Expand Up @@ -39,6 +48,8 @@ $_locations: (
}

// In profile popout server-specific about me
.aboutMeGuildIcon_d6668b {
.aboutMeGuildIcon_d6668b,
// In profile modal "Member Since"
.memberSince_b06bc5 {
@include mixin.genOneColor(var(--demo-icon-hue));
}
10 changes: 8 additions & 2 deletions scss/main/avatar/_location.scss
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,12 @@ $_locations: (
".container_ddb5b4",
// In inbox unreads
".messageContainer_c06487",
// In memberslist
".member_a31c43"
// In memberslist,
".member_a31c43",
// In memberslist recent activity
".container_c64476",
// In unjoined VC current users panels
".tile_f2bd71"
);
:is(#{func.unquoteSelectors($_locations)}) {
@include mixin.genColors;
Expand Down Expand Up @@ -66,6 +70,8 @@ $_locations: (
".memberItem_b09fe8",
// In DM title
".upperContainer_e44302",
// In DM first message header
".container_c2668b",
// In VC status
".statusIcon_d201be",
// In VC video - large video
Expand Down
16 changes: 11 additions & 5 deletions scss/main/avatar/_mixed.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,15 @@

// User avatar mixed type and location

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

Expand All @@ -25,6 +23,14 @@
}
}

// In inbox "For You"
.row_fd8ff1 {
@include mixin.genColors;
.image_f9bbb4 {
content: var.$gradient;
}
}

// In channelslist in VC
.draggable_ac3629 {
@include mixin.genColors(7);
Expand Down
8 changes: 4 additions & 4 deletions scss/main/avatar/_type.scss
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@ $_avatars: (
// Avatar with status mask
".avatar_c51b4e:where(:not(.avatarDecoration_c51b4e .avatar_c51b4e))",
// Chat avatar
".avatar_ec86aa",
".avatar_f9f2ca",
// Reply avatar
".threadMessageAccessoryAvatar_ec86aa",
".threadMessageAccessoryAvatar_f9f2ca",
// Reply avatar
".replyAvatar_ec86aa",
".replyAvatar_f9f2ca",
// Reply avatar
".executedCommandAvatar_ec86aa",
".executedCommandAvatar_f9f2ca",
// Inbox unread avatar
".dmIcon_f3978e",
// Search suggestions avatar
Expand Down

0 comments on commit 53f59f1

Please sign in to comment.