Skip to content

Commit

Permalink
fix: fuck twemoji
Browse files Browse the repository at this point in the history
  • Loading branch information
Zephyruso committed Dec 6, 2024
1 parent af7a1e9 commit ace9d13
Show file tree
Hide file tree
Showing 8 changed files with 10 additions and 12 deletions.
2 changes: 1 addition & 1 deletion src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ onMounted(() => {
<template>
<div
ref="app"
class="flex h-dvh w-screen overflow-x-hidden bg-base-100 font-twemoji"
class="font-twemoji flex h-dvh w-screen overflow-x-hidden bg-base-100"
:data-theme="theme"
>
<SetupPage v-if="!activeBackend"></SetupPage>
Expand Down
Binary file added src/assets/FiraSans-Regular.ttf
Binary file not shown.
Binary file removed src/assets/FiraSans-Regular.woff2
Binary file not shown.
Binary file added src/assets/NotoColorEmoji-flagsonly.ttf
Binary file not shown.
Binary file removed src/assets/Twemoji.Mozilla.ttf
Binary file not shown.
11 changes: 7 additions & 4 deletions src/assets/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,15 @@
@tailwind utilities;

@font-face {
font-family: 'Twemoji Mozilla';
src: url('./Twemoji.Mozilla.ttf') format('truetype');
font-family: 'NotoEmoji';
src: url('./NotoColorEmoji-flagsonly.ttf') format('truetype');
}

@font-face {
font-family: 'Fira Sans';
src: url('./FiraSans-Regular.woff2') format('woff2');
font-display: swap;
src: url('./FiraSans-Regular.ttf') format('truetype');
}

:root {
font-family: 'Fira Sans', 'NotoEmoji', 'system-ui';
}
4 changes: 2 additions & 2 deletions src/components/proxies/ProxyNodeCard.vue
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
<div
:class="
twMerge(
'flex cursor-pointer flex-wrap items-center justify-end gap-1 rounded-md bg-base-200 p-2 shadow-md transition sm:hover:scale-105',
props.active && 'bg-primary text-primary-content',
'flex cursor-pointer flex-wrap items-center justify-end gap-1 rounded-md bg-base-200 p-2 shadow-md sm:hover:scale-105',
active && 'bg-primary text-primary-content',
truncateProxyName && isTruncated && 'tooltip text-left',
)
"
Expand Down
5 changes: 0 additions & 5 deletions tailwind.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,6 @@ export default {
'xl': '1280px',
'2xl': '1536px',
'3xl': '1800px',
},
extend: {
fontFamily: {
twemoji: ['Fira Sans', 'Twemoji Mozilla', 'system-ui'],
},
}
},
daisyui: {
Expand Down

0 comments on commit ace9d13

Please sign in to comment.