Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update most classes for new Discord update #9

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions scss/main/_important.scss
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
// Force override with !important

.avatarDecorationHint_f89da9,
.hue_a50813 > div > div > div > div,
.liveIndicator_c5881c,
.qrCode_cffc8d,
.wrapper_efa999 {
.hue__889ee > div > div > div > div,
.liveIndicator__30845,
.qrCode__3988c,
.wrapper_a86e4f {
border-radius: var(--squared-radius) !important;
}
36 changes: 18 additions & 18 deletions scss/main/_mask.scss
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
.activitySectionAssets_cd82a7 .largeImageMask_cd82a7,
.assetsLargeMaskActivityFeed_d5089b,
.assetsLargeMaskBiteSizePopout_d5089b,
.assetsLargeMaskProfile_d5089b,
.assetsLargeMaskProfileV2_d5089b,
.assetsLargeMaskSimplifiedProfile_d5089b,
.assetsLargeMaskStreamPreview_d5089b,
.assetsLargeMaskUserPopout_d5089b,
.assetsLargeMaskUserPopoutV2_d5089b,
.assetsLargeMaskVoiceChannel_d5089b,
.assetWrapperMasked_cb3343,
.avatar_ccc074,
.inspectedIndicator_a708c4,
.loadingIndicator_cb3343,
.partyMember_b448f2,
.partyMember_f07d2f,
.voiceSectionGuildImage_cd82a7,
.voiceSectionNoGuildImageWrapper_cd82a7,
.activitySectionAssets__00943 .largeImageMask__00943,
.assetsLargeMaskActivityFeed__2ef49,
.assetsLargeMaskBiteSizePopout_c1d9fd,
.assetsLargeMaskProfile_c1d9fd,
.assetsLargeMaskProfileV2_c1d9fd,
.assetsLargeMaskSimplifiedProfile_c1d9fd,
.assetsLargeMaskStreamPreview__2ef49,
.assetsLargeMaskUserPopout_c1d9fd,
.assetsLargeMaskUserPopoutV2_c1d9fd,
.assetsLargeMaskVoiceChannel__2ef49,
.assetWrapperMasked__31fc2,
.avatar_ef4a91,
.inspectedIndicator_c6367b,
.loadingIndicator__31fc2,
.partyMember_e45a82,
.partyMember_b1fb0b,
.voiceSectionGuildImage__00943,
.voiceSectionNoGuildImageWrapper__00943,
foreignObject[mask*="url(#"] {
mask: none;
-webkit-mask: none;
Expand Down
24 changes: 12 additions & 12 deletions scss/main/_misc.scss
Original file line number Diff line number Diff line change
@@ -1,50 +1,50 @@
.theme-dark .imageLoading_b000dd,
.theme-light .imageLoading_b000dd {
.theme-dark .imageLoading__1859b,
.theme-light .imageLoading__1859b {
background-image: none;
}

// Emoji picker
.sprite_af14ca {
&.spriteColored_af14ca {
.sprite__04eed {
&.spriteColored__04eed {
background-image: url("https://minidiscordthemes.github.io/Squared/img/emoji-color.avif");
}
&.spriteGreyscale_af14ca {
&.spriteGreyscale__04eed {
-webkit-mask-image: url("https://minidiscordthemes.github.io/Squared/img/emoji-greyscale.avif");
mask-image: url("https://minidiscordthemes.github.io/Squared/img/emoji-greyscale.avif");
border-radius: var(--squared-radius);
}
}

// Authorised apps permissions check
.permissionCheckmark_f0135d {
.permissionCheckmark__50a54 {
background-image: url("data:image/svg+xml,%3Csvg height='18' width='18' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cpath d='m0 0h18v18h-18z'/%3E%3Cpath d='M 14 14 h -10 v -10 h 8 v -2 h -10 v 14 h 14 v -7.75 h -2 z m -7.5675 -6.94 l -1.0575 1.065 l 3.375 3.375 l 7.5 -7.5 l -1.0575 -1.065 l -6.4425 6.4425 z' fill='%233ba55c'/%3E%3C/g%3E%3C/svg%3E");
}

// Appearance selected theme inner circle
.checkmarkCircle_cb7c27 {
.checkmarkCircle__36dee {
circle {
display: none;
}

.checkmark_cb7c27 {
.checkmark__36dee {
d: path("M 2 2 V 22 H 22 V 2 Z M 10 17 L 5 12 L 6.41 10.59 L 10 14.17 L 17.59 6.58 L 19 8 L 10 17 Z");
}
}

// Subscriptions no items icon
.noItemsIcon_a206c7,
.noItemsIcon_e70817 {
.noItemsIcon_e335a7,
.noItemsIcon__70151 {
circle {
display: none;
}
}

// Voice and video shortcut keybind
.editIcon_ebcd80 {
.editIcon__2636e {
background-image: url("data:image/svg+xml,%3Csvg height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cpath d='M 22 5 H 2 L 2 19 H 22 Z M 11 8 H 13 V 10 H 11 Z M 11 11 H 13 V 13 H 11 Z M 8 8 H 10 V 10 H 8 Z M 8 11 H 10 V 13 H 8 Z M 7 13 H 5 V 11 H 7 Z M 7 10 H 5 V 8 H 7 Z M 16 17 H 8 V 15 H 16 Z M 16 13 H 14 V 11 H 16 Z M 16 10 H 14 V 8 H 16 Z M 19 13 H 17 V 11 H 19 Z M 19 10 H 17 V 8 H 19 Z' fill='%23fff' fill-rule='nonzero'/%3E%3Cpath d='m0 0h24v24h-24zm0 0h24v24h-24z'/%3E%3C/g%3E%3C/svg%3E");
}

// User profile status light theme
.wrapper_c51b4e circle {
.wrapper__44b0c circle {
display: none;
}
Loading