refactor: Update font-family to Arimo for better readability and consistency
This commit is contained in:
parent
dc5ccd43ca
commit
8b2e2baeb4
BIN
src/assets/fonts/Arimo.ttf
Normal file
BIN
src/assets/fonts/Arimo.ttf
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -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;
|
||||
|
@ -19,7 +19,7 @@ function IndexOption() {
|
||||
algorithm:
|
||||
mode === "dark" ? theme.darkAlgorithm : theme.defaultAlgorithm,
|
||||
token: {
|
||||
fontFamily: i18n.language === "ru" ? "Onest" : "Inter"
|
||||
fontFamily: "Arimo"
|
||||
}
|
||||
}}
|
||||
renderEmpty={() => (
|
||||
|
@ -20,7 +20,7 @@ function IndexSidepanel() {
|
||||
algorithm:
|
||||
mode === "dark" ? theme.darkAlgorithm : theme.defaultAlgorithm,
|
||||
token: {
|
||||
fontFamily: i18n.language === "ru" ? "Onest" : "Inter"
|
||||
fontFamily: "Arimo"
|
||||
}
|
||||
}}
|
||||
renderEmpty={() => (
|
||||
|
@ -10,16 +10,13 @@ export const OptionRouting = () => {
|
||||
const { i18n } = useTranslation()
|
||||
|
||||
return (
|
||||
<div
|
||||
className={`${mode === "dark" ? "dark" : "light"} ${
|
||||
i18n.language === "ru" ? "onest" : "inter"
|
||||
}`}>
|
||||
<div className={`${mode === "dark" ? "dark" : "light"} arimo`}>
|
||||
<Suspense fallback={<PageAssistLoader />}>
|
||||
{import.meta.env.BROWSER === "chrome" ? (
|
||||
<OptionRoutingChrome />
|
||||
) : (
|
||||
<OptionRoutingFirefox />
|
||||
)}
|
||||
{import.meta.env.BROWSER === "chrome" ? (
|
||||
<OptionRoutingChrome />
|
||||
) : (
|
||||
<OptionRoutingFirefox />
|
||||
)}
|
||||
</Suspense>
|
||||
</div>
|
||||
)
|
||||
@ -30,16 +27,13 @@ export const SidepanelRouting = () => {
|
||||
const { i18n } = useTranslation()
|
||||
|
||||
return (
|
||||
<div
|
||||
className={`${mode === "dark" ? "dark" : "light"} ${
|
||||
i18n.language === "ru" ? "onest" : "inter"
|
||||
}`}>
|
||||
<div className={`${mode === "dark" ? "dark" : "light"} arimo`}>
|
||||
<Suspense fallback={<PageAssistLoader />}>
|
||||
{import.meta.env.BROWSER === "chrome" ? (
|
||||
<SidepanelRoutingChrome />
|
||||
) : (
|
||||
<SidepanelRoutingFirefox />
|
||||
)}
|
||||
{import.meta.env.BROWSER === "chrome" ? (
|
||||
<SidepanelRoutingChrome />
|
||||
) : (
|
||||
<SidepanelRoutingFirefox />
|
||||
)}
|
||||
</Suspense>
|
||||
</div>
|
||||
)
|
||||
|
@ -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")]
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user