From f604416532776c7e12e3a57d73343df7e87a8ab5 Mon Sep 17 00:00:00 2001 From: coolcoala Date: Fri, 11 Jul 2025 04:58:53 +0300 Subject: [PATCH] another attempt to fix emoji display on windows --- src/index.css | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/index.css b/src/index.css index 9996c8df..c8b40ee8 100644 --- a/src/index.css +++ b/src/index.css @@ -1,6 +1,11 @@ @import "tailwindcss"; @import "tw-animate-css"; +@font-face { + font-family: "twemoji mozilla"; + src: url("./assets/fonts/Twemoji.Mozilla.ttf"); +} + @variant dark .dark &; @theme inline { @@ -74,7 +79,7 @@ --sidebar-accent-foreground: oklch(0.208 0.042 265.755); --sidebar-border: oklch(0.929 0.013 255.508); --sidebar-ring: oklch(0.704 0.04 256.788); - --font-sans: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"; + --font-sans: "twemoji mozilla", "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"; } .dark {