From f2408933ead89599723edabc15abad665fccaf8b Mon Sep 17 00:00:00 2001 From: CapnKitten <4013216+CapnKitten@users.noreply.github.com> Date: Sun, 10 Nov 2024 15:04:58 -0500 Subject: [PATCH] Update source --- .../src/_selectorPlaceholders.scss | 10 +++++----- .../betterdiscord/plugins/_spotifyControls.scss | 1 + .../Material-Discord/src/icons/_contextMenu.scss | 1 + .../Material-Discord/src/messages/_attachment.scss | 7 +++++++ Themes/Material-Discord/src/messages/_markup.scss | 14 -------------- 5 files changed, 14 insertions(+), 19 deletions(-) diff --git a/Themes/Material-Discord/src/_selectorPlaceholders.scss b/Themes/Material-Discord/src/_selectorPlaceholders.scss index af4b27ce..01591ec9 100644 --- a/Themes/Material-Discord/src/_selectorPlaceholders.scss +++ b/Themes/Material-Discord/src/_selectorPlaceholders.scss @@ -4498,10 +4498,10 @@ pre { .emojiButtonContainer_d5bea8 { @extend %inputEmojiContainer !optional; } -.emojiButton-2pmTD2, .emojiButton-2Z3krv { +.emojiButton_d6c3f9 { @extend %inputEmojiButton !optional; } -.emojiText-R_5fDP, .emojiText-1HLXh8 { +.emojiText_d6c3f9 { @extend %inputEmojiButtonText !optional; } .inputPrefix_b545d5 { @@ -4537,13 +4537,13 @@ pre { .disabled__97701 { @extend %copyInputDisabled !optional; } -.fileUpload-3JzU7g { +.fileUpload_aef0dd { @extend %fileUploadContainer !optional; } -.fileUploadInput-3Y6j6T { +.fileUploadInput_aef0dd { @extend %fileUploadInput !optional; } -.fileUploadButton-2zOQcO { +.fileUploadButton_aef0dd { @extend %fileUploadButton !optional; } .container_c67e31 { diff --git a/Themes/Material-Discord/src/clients/betterdiscord/plugins/_spotifyControls.scss b/Themes/Material-Discord/src/clients/betterdiscord/plugins/_spotifyControls.scss index 6bb09f4b..5d8b40c8 100644 --- a/Themes/Material-Discord/src/clients/betterdiscord/plugins/_spotifyControls.scss +++ b/Themes/Material-Discord/src/clients/betterdiscord/plugins/_spotifyControls.scss @@ -16,6 +16,7 @@ &%spotifyPanelMaximized { %spotifyPanelCoverWrapper { + top: -2px; border-radius: var(--card-radius-big); } } diff --git a/Themes/Material-Discord/src/icons/_contextMenu.scss b/Themes/Material-Discord/src/icons/_contextMenu.scss index 29aa2a8c..5114be14 100644 --- a/Themes/Material-Discord/src/icons/_contextMenu.scss +++ b/Themes/Material-Discord/src/icons/_contextMenu.scss @@ -443,6 +443,7 @@ 'message-copy-message': 'content_copy', 'message-actions-remove-emoji-reactions': 'remove_circle', 'message-remove-emoji-reactions': 'remove_circle', + 'message-save-for-later': 'bookmark', 'message-actions-add-reaction-0': 'emoji', 'message-actions-add-reaction-1': 'burst_reaction', diff --git a/Themes/Material-Discord/src/messages/_attachment.scss b/Themes/Material-Discord/src/messages/_attachment.scss index 2894ce0c..63496df7 100644 --- a/Themes/Material-Discord/src/messages/_attachment.scss +++ b/Themes/Material-Discord/src/messages/_attachment.scss @@ -91,6 +91,13 @@ &%embedFull { background-color: var(--attachment-color); } + + pre, + pre code, + code.inline, + %spoilerContent { + --attachment-color: var(--message-color); + } } %embedCard { diff --git a/Themes/Material-Discord/src/messages/_markup.scss b/Themes/Material-Discord/src/messages/_markup.scss index d41f5f09..4ccce0d6 100644 --- a/Themes/Material-Discord/src/messages/_markup.scss +++ b/Themes/Material-Discord/src/messages/_markup.scss @@ -99,17 +99,3 @@ --app-font: var(--code-font); } } - -%embed { - border-radius: var(--media-radius); - - &%embedFull { - background-color: var(--attachment-color); - } - - pre, - pre code, - code.inline { - --attachment-color: var(--message-color); - } -}