diff --git a/src/assets/fonts/Arimo.ttf b/src/assets/fonts/Arimo.ttf new file mode 100644 index 0000000..2fec902 Binary files /dev/null and b/src/assets/fonts/Arimo.ttf differ diff --git a/src/assets/inter.ttf b/src/assets/inter.ttf deleted file mode 100644 index 937b1e9..0000000 Binary files a/src/assets/inter.ttf and /dev/null differ diff --git a/src/assets/onest.ttf b/src/assets/onest.ttf deleted file mode 100644 index 6c77d20..0000000 Binary files a/src/assets/onest.ttf and /dev/null differ diff --git a/src/assets/tailwind.css b/src/assets/tailwind.css index eb61462..f8f6f5d 100644 --- a/src/assets/tailwind.css +++ b/src/assets/tailwind.css @@ -1,25 +1,19 @@ @font-face { - font-family: "Inter"; - src: url("inter.ttf") format("truetype"); + font-family: "Arimo"; + src: url("fonts/Arimo.ttf"); + font-display: swap; } -@font-face { - font-family: "Onest"; - src: url("onest.ttf") format("truetype"); -} - -.inter { - font-family: "Inter", sans-serif !important; -} - -.onest { - font-family: "Onest", sans-serif !important; +.arimo { + font-family: "Arimo", sans-serif !important; } @tailwind base; @tailwind components; @tailwind utilities; + + .ant-select-selection-search-input { border: none !important; box-shadow: none !important; diff --git a/src/entries/options/App.tsx b/src/entries/options/App.tsx index d77b142..620b183 100644 --- a/src/entries/options/App.tsx +++ b/src/entries/options/App.tsx @@ -19,7 +19,7 @@ function IndexOption() { algorithm: mode === "dark" ? theme.darkAlgorithm : theme.defaultAlgorithm, token: { - fontFamily: i18n.language === "ru" ? "Onest" : "Inter" + fontFamily: "Arimo" } }} renderEmpty={() => ( diff --git a/src/entries/sidepanel/App.tsx b/src/entries/sidepanel/App.tsx index 7d1d3aa..0ee2e9d 100644 --- a/src/entries/sidepanel/App.tsx +++ b/src/entries/sidepanel/App.tsx @@ -20,7 +20,7 @@ function IndexSidepanel() { algorithm: mode === "dark" ? theme.darkAlgorithm : theme.defaultAlgorithm, token: { - fontFamily: i18n.language === "ru" ? "Onest" : "Inter" + fontFamily: "Arimo" } }} renderEmpty={() => ( diff --git a/src/routes/index.tsx b/src/routes/index.tsx index 86af217..2a4dd60 100644 --- a/src/routes/index.tsx +++ b/src/routes/index.tsx @@ -10,16 +10,13 @@ export const OptionRouting = () => { const { i18n } = useTranslation() return ( -
+
}> - {import.meta.env.BROWSER === "chrome" ? ( - - ) : ( - - )} + {import.meta.env.BROWSER === "chrome" ? ( + + ) : ( + + )}
) @@ -30,16 +27,13 @@ export const SidepanelRouting = () => { const { i18n } = useTranslation() return ( -
+
}> - {import.meta.env.BROWSER === "chrome" ? ( - - ) : ( - - )} + {import.meta.env.BROWSER === "chrome" ? ( + + ) : ( + + )}
) diff --git a/tailwind.config.js b/tailwind.config.js index f4b105c..a30235c 100644 --- a/tailwind.config.js +++ b/tailwind.config.js @@ -3,5 +3,5 @@ module.exports = { mode: "jit", darkMode: "class", content: ["./src/**/*.tsx"], - plugins: [require("@tailwindcss/forms"), require("@tailwindcss/typography"),] + plugins: [require("@tailwindcss/forms"), require("@tailwindcss/typography")] }