implement localization

This commit is contained in:
2026-05-18 05:47:02 +03:30
parent e4ee983393
commit 774e2043c2
45 changed files with 704 additions and 140 deletions

View File

@@ -7,6 +7,17 @@
@custom-variant dark (&:is(.dark *));
@font-face {
font-family: 'IRANSansWeb';
src:
url('/fonts/IRANSansWeb/IRANSansWeb.woff2') format('woff2'),
url('/fonts/IRANSansWeb/IRANSansWeb.woff') format('woff'),
url('/fonts/IRANSansWeb/IRANSansWeb.ttf') format('truetype');
font-weight: 400;
font-style: normal;
font-display: swap;
}
@theme {
--font-sans:
'Instrument Sans', ui-sans-serif, system-ui, sans-serif,
@@ -61,6 +72,13 @@
--color-sidebar-ring: var(--sidebar-ring);
}
html[dir='rtl'] {
--font-sans:
'IRANSansWeb', ui-sans-serif, system-ui, sans-serif,
'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol',
'Noto Color Emoji';
}
:root {
--background: oklch(0.982 0.012 315);
--foreground: oklch(0.18 0.045 312);