diff --git a/front/src/Components/EmoteMenu/EmoteMenu.svelte b/front/src/Components/EmoteMenu/EmoteMenu.svelte index 220083e8..bab0b062 100644 --- a/front/src/Components/EmoteMenu/EmoteMenu.svelte +++ b/front/src/Components/EmoteMenu/EmoteMenu.svelte @@ -16,9 +16,6 @@ rootElement: emojiContainer, styleProperties: { "--font": "Press Start 2P", - "--text-color": "whitesmoke", - "--secondary-text-color": "whitesmoke", - "--category-button-color": "whitesmoke", }, emojisPerRow: isMediaBreakpointUp("md") ? 6 : 8, autoFocusSearch: false, diff --git a/front/src/Phaser/Game/GameScene.ts b/front/src/Phaser/Game/GameScene.ts index 24652212..0819fcf9 100644 --- a/front/src/Phaser/Game/GameScene.ts +++ b/front/src/Phaser/Game/GameScene.ts @@ -912,8 +912,8 @@ export class GameScene extends DirtyScene { this.emoteUnsubscriber = emoteStore.subscribe((emote) => { if (emote) { - this.CurrentPlayer?.playEmote(emote.url); - this.connection?.emitEmoteEvent(emote.url); + this.CurrentPlayer?.playEmote(emote.unicode); + this.connection?.emitEmoteEvent(emote.unicode); emoteStore.set(null); } }); diff --git a/front/style/style.scss b/front/style/style.scss index f031fdc9..fc25f994 100644 --- a/front/style/style.scss +++ b/front/style/style.scss @@ -912,7 +912,7 @@ div.action.danger p.action-body{ supported by Chrome, Edge, Opera and Firefox */ } -.emoji-picker__emojis { +.emoji-picker__emoji { font-family: 'Twemoji Mozilla' !important; }