Skip to content

Commit

Permalink
Replace * with name
Browse files Browse the repository at this point in the history
  • Loading branch information
Saltssaumure committed May 26, 2024
1 parent ef73ad4 commit a753370
Show file tree
Hide file tree
Showing 7 changed files with 66 additions and 66 deletions.
20 changes: 10 additions & 10 deletions scss/main/_emojipicker.scss
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
@use "../funcs" as *;
@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;
}

Expand All @@ -27,11 +27,11 @@ $_locations: (
// In sticker grid
".row_b3c4f2"
);
:is(#{unquoteSelectors($_locations)}) {
@include genColors;
:is(#{func.unquoteSelectors($_locations)}) {
@include mixin.genColors;
}

// In bottom bar current emoji info
.inspector__80c84 {
@include genOneColor(var(--demo-icon-hue));
@include mixin.genOneColor(var(--demo-icon-hue));
}
16 changes: 8 additions & 8 deletions scss/main/_image.scss
Original file line number Diff line number Diff line change
@@ -1,27 +1,27 @@
@use "../vars" as *;
@use "../mixins" as *;
@use "../vars" as var;
@use "../mixins" as mixin;

// Attachment images

// Images and videos in chat
.loadingOverlay__35a04 {
@include genOneColor(var(--demo-image-hue));
@include mixin.genOneColor(var(--demo-image-hue));
&::before {
content: "";
display: block;
width: 100%;
height: 100%;
background: $gradient;
background: var.$gradient;
position: absolute;
z-index: 1;
}
}

// Before upload attachment preview
.upload_c98ecb {
@include genColors(4);
@include mixin.genColors(4);
.mediaContainer_e3d4b8 {
background: $gradient;
background: var.$gradient;
height: 100%;
.media__47d7e {
display: none;
Expand All @@ -31,6 +31,6 @@

// Edit attachment details modal
.expandable__6a921 .icon__4bc4d {
@include genOneColor(var(--demo-image-hue));
content: $gradient;
@include mixin.genOneColor(var(--demo-image-hue));
content: var.$gradient;
}
24 changes: 12 additions & 12 deletions scss/main/_misc.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
@use "../vars" as *;
@use "../mixins" as *;
@use "../vars" as var;
@use "../mixins" as mixin;

// Misc content

Expand All @@ -10,18 +10,18 @@

// 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;
}
Expand All @@ -34,14 +34,14 @@
.gameIcon_f19d1f,
.headerIcon__8b290,
.multipleIconWrapper__8dd58 {
@include genOneColor(var(--demo-icon-hue));
content: $gradient;
@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;
}
}
22 changes: 11 additions & 11 deletions scss/main/_server.scss
Original file line number Diff line number Diff line change
@@ -1,30 +1,30 @@
@use "../funcs" as *;
@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 genColors;
@include mixin.genColors;
}

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

$_locations: (
Expand All @@ -34,11 +34,11 @@ $_locations: (
// In settings boost tab
".guildContainer_fef06f"
);
:is(#{unquoteSelectors($_locations)}) {
@include genColors(3);
:is(#{func.unquoteSelectors($_locations)}) {
@include mixin.genColors(3);
}

// In profile popout server-specific about me
.aboutMeGuildIcon_b141fb {
@include genOneColor(var(--demo-icon-hue));
@include mixin.genOneColor(var(--demo-icon-hue));
}
22 changes: 11 additions & 11 deletions scss/main/avatar/_location.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
@use "../../funcs" as *;
@use "../../mixins" as *;
@use "../../funcs" as func;
@use "../../mixins" as mixin;

// User avatar location

Expand Down Expand Up @@ -37,8 +37,8 @@ $_locations: (
// In memberslist
".member_aa4760"
);
:is(#{unquoteSelectors($_locations)}) {
@include genColors;
:is(#{func.unquoteSelectors($_locations)}) {
@include mixin.genColors;
}

$_locations: (
Expand All @@ -47,13 +47,13 @@ $_locations: (
// In VC video - small row
".tileSizer__9b4d7"
);
:is(#{unquoteSelectors($_locations)}) {
@include genColors(4);
:is(#{func.unquoteSelectors($_locations)}) {
@include mixin.genColors(4);
}

// In settings nitro tab
.iconContainer_e812a7 .wrapper__3ed10 {
@include genColors(3);
@include mixin.genColors(3);
}

$_locations: (
Expand All @@ -66,8 +66,8 @@ $_locations: (
// In VC video - large video
".videoFrame_de25a1"
);
:is(#{unquoteSelectors($_locations)}) {
@include genOneColor(var(--demo-icon-hue));
:is(#{func.unquoteSelectors($_locations)}) {
@include mixin.genOneColor(var(--demo-icon-hue));
}

$_locations: (
Expand All @@ -80,6 +80,6 @@ $_locations: (
".preview__30ef4",
".preview__22e05"
);
:is(#{unquoteSelectors($_locations)}) {
@include genOneColor(var(--demo-self-hue));
:is(#{func.unquoteSelectors($_locations)}) {
@include mixin.genOneColor(var(--demo-self-hue));
}
18 changes: 9 additions & 9 deletions scss/main/avatar/_mixed.scss
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
@use "../../vars" as *;
@use "../../mixins" as *;
@use "../../vars" as var;
@use "../../mixins" as mixin;

// User avatar mixed type and location

// In profile popout, profile modal
:is(.avatarHoverTarget__9b4a9, .avatar__445f3) {
// Unthemed
.userProfileOuterUnthemed__9741c & {
@include genOneColor(var(--demo-icon-hue));
@include mixin.genOneColor(var(--demo-icon-hue));
}
// Themed
.userProfileOuterThemed_a425f3 & {
Expand All @@ -19,24 +19,24 @@

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

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

// In user panel current VC
.avatarContainer__9688b {
@include genColors(8);
@include mixin.genColors(8);
.avatar_c9fdd4 {
background: $gradient !important;
background: var.$gradient !important;
}
}
10 changes: 5 additions & 5 deletions scss/main/avatar/_type.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
@use "../../funcs" as *;
@use "../../vars" as *;
@use "../../funcs" as func;
@use "../../vars" as var;

// Avatar types

Expand All @@ -21,11 +21,11 @@ $_avatars: (
// Embed author avatar
".embedAuthorIcon_d3f927"
);
:is(#{unquoteSelectors($_avatars)}) {
content: $gradient;
:is(#{func.unquoteSelectors($_avatars)}) {
content: var.$gradient;
}

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

0 comments on commit a753370

Please sign in to comment.