Skip to content

Commit

Permalink
fix: Исправлена проблема с Noto Emoji — неправильным отображением нек…
Browse files Browse the repository at this point in the history
…оторых эмодзи на Firefox и теперь уже на Chrome
  • Loading branch information
wokalek committed Dec 1, 2024
1 parent 3c6b86d commit 3f220be
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 12 deletions.
Binary file modified nuxt/src/assets/fonts/NotoEmoji-VariableFont_wght.ttf
Binary file not shown.
1 change: 0 additions & 1 deletion nuxt/src/assets/sass/_typography.sass
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
:root
@apply font-sirius font-light text-22-14 leading-1.5
font-variant-emoji: emoji

.lead
@apply text-24-18 leading-1.5 tracking-wide font-normal
Expand Down
4 changes: 1 addition & 3 deletions nuxt/src/components/Block/Index/Content.vue
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@
</GeneralLink>!
</p>
</article>
<div class="emoji fluid-[font-size,200-64] hidden sm:block" aria-disabled="true">
🙋
</div>
<div class="emoji fluid-[font-size,200-64] hidden sm:block" aria-disabled="true">🙋</div>
</div>
</template>
2 changes: 1 addition & 1 deletion nuxt/src/components/Block/Settings/Content.vue
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
Оформление
</h3>
<ControlRadioButtons
:set="[{ value: 'light', label: 'светлое', icon: '☀' }, { value: 'dark', label: 'тёмное', icon: '🌙' }, { value: 'system', label: 'авто', icon: '⏰' }]"
:set="[{ value: 'light', label: 'светлое', icon: '☀' }, { value: 'dark', label: 'тёмное', icon: '🌙' }, { value: 'system', label: 'авто', icon: '⏰' }]"
:value="!colorMode.unknown ? colorMode.preference : undefined"
@click="colorMode.preference = $event"
/>
Expand Down
2 changes: 1 addition & 1 deletion nuxt/src/components/The/Header.vue
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
class="general-nav nav flex gap-32-16 items-center text-right"
:links="[
{ to: { name: 'map' }, text: 'Карта сайта', },
{ to: { name: 'settings' }, text: '⚙', class: ['text-28-18', 'emoji'], ariaLabel: 'Настройки сайта', rel: 'nofollow' },
{ to: { name: 'settings' }, text: '⚙', class: ['text-28-18', 'emoji'], ariaLabel: 'Настройки сайта', rel: 'nofollow' },
]"
/>
</header>
Expand Down
12 changes: 6 additions & 6 deletions nuxt/src/data/header-emoji.ts
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
export default [
// Smileys and emotions
'😄', '😉', '😘', '🤩', '🙃', '😇', '😌', '🤫', '🫣', '😛', '🤬', '🌞', '😶‍🌫', '✨', '💌', '🧠', '👋', '✌', '🫰', '🤙', '👻', '💤',
'😄', '😉', '😘', '🤩', '🙃', '😇', '😌', '🤫', '🫣', '😛', '🤬', '🌞', '😶‍🌫', '✨', '💌', '🧠', '👋', '✌', '🫰', '🤙', '👻', '💤',
// Animals and nature
'🌴', '🏔', '❄', '🌊', '🌀', '🌫', '🔥', '⛱', '🌈', '🌟', '💫', '☄', '🪐', '🦎', '🐏', '🦏', '🐤', '🕊', '🦀', '🐙', '🐾',
'🌴', '🏔', '❄', '🌊', '🌀', '🌫', '🔥', '⛱', '🌈', '🌟', '💫', '☄', '🪐', '🦎', '🐏', '🦏', '🐤', '🕊', '🦀', '🐙', '🐾',
// Food and drink
'🍓', '🍒', '🫒', '🧀', '🍟', '🍙', '🍥', '🍕', '🥢', '🍅', '🍿', '🥦', '🫖', '🍉',
// Travel and places
'🧭', '⚓', '🚀', '🛸', '🗼', '🗻', '🏕', '🗺', '🧳',
'🧭', '⚓', '🚀', '🛸', '🗼', '🗻', '🏕', '🗺', '🧳',
// Activities and events
'🎈', '🧧', '🪩', '🏆', '🛷', '⛳', '🪁', '🕹', '👾', '🎴', '📷', '🎨', '🎹', '🎞', '⚽', '🛹', '🎱', '🧩', '🎮', '📼',
'🎈', '🧧', '🪩', '🏆', '🛷', '⛳', '🪁', '🕹', '👾', '🎴', '📷', '🎨', '🎹', '🎞', '⚽', '🛹', '🎱', '🧩', '🎮', '📼',
// Objects
'💾', '💰', '⚖', '💡', '🪞', '🪆', '👑', '💎', '🛰', '📎', '🔖', '📂', '📈', '⚔', '🛡', '💣', '📜',
'💾', '💰', '⚖', '💡', '🪞', '🪆', '👑', '💎', '🛰', '📎', '🔖', '📂', '📈', '⚔', '🛡', '💣', '📜',
// Symbols
'⚜', '💠', '🗨', '🔰', '🎼', '🤍',
'⚜', '💠', '🗨', '🔰', '🎼', '🤍',
]

0 comments on commit 3f220be

Please sign in to comment.