Skip to content

Commit 5956efb

Browse files
committed
refactor(css): use Inter for admin panel instead of Roboto
1 parent 3a80fea commit 5956efb

2 files changed

Lines changed: 12 additions & 12 deletions

File tree

src/css/admin.css

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@
201201
--cs-color-yellow-rgb: 251, 189, 8;
202202
--cs-color-yellow-subtle: #fee08a;
203203
--cs-color-yellow-subtler: #fff6c2;
204-
--cs-font-family-default: "Roboto", Tahoma, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
204+
--cs-font-family-default: "Inter", Tahoma, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
205205
--cs-font-size-default: .8125rem;
206206
--cs-font-size-h1: 1.438rem;
207207
--cs-font-size-h2: 1.25rem;
@@ -232,34 +232,34 @@
232232
--transform-direction: -1;
233233
}
234234

235-
:root[lang="ar-DZ"],
236-
:root[lang="fa-IR"] {
237-
--cs-font-family-default: "Noto Kufi Arabic", "Roboto", Tahoma, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
235+
:root[lang^="ar"],
236+
:root[lang^="fa"] {
237+
--cs-font-family-default: "Noto Kufi Arabic", "Inter", Tahoma, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
238238
}
239239

240240
:root[lang="bg-BG"],
241241
:root[lang="ru-RU"] {
242-
--cs-font-family-default: "PT Sans", "Roboto", Tahoma, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
242+
--cs-font-family-default: "PT Sans", "Inter", Tahoma, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
243243
}
244244

245245
:root[lang="hi-IN"] {
246-
--cs-font-family-default: "Noto Sans Devanagari", "Roboto", Tahoma, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
246+
--cs-font-family-default: "Noto Sans Devanagari", "Inter", Tahoma, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
247247
}
248248

249249
:root[lang="ja-JP"] {
250-
--cs-font-family-default: "Noto Sans JP", "Roboto", Tahoma, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
250+
--cs-font-family-default: "Noto Sans JP", "Inter", Tahoma, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
251251
}
252252

253253
:root[lang="ko-KR"] {
254-
--cs-font-family-default: "Noto Sans KR", "Roboto", Tahoma, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
254+
--cs-font-family-default: "Noto Sans KR", "Inter", Tahoma, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
255255
}
256256

257257
:root[lang="zh-CN"] {
258-
--cs-font-family-default: "Noto Sans SC", "Roboto", Tahoma, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
258+
--cs-font-family-default: "Noto Sans SC", "Inter", Tahoma, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
259259
}
260260

261261
:root[lang="zh-TW"] {
262-
--cs-font-family-default: "Noto Sans TC", "Roboto", Tahoma, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
262+
--cs-font-family-default: "Noto Sans TC", "Inter", Tahoma, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
263263
}
264264

265265
/* ==========================================================================
@@ -1368,7 +1368,7 @@ td,
13681368
border-radius: var(--cs-radius-xs) !important;
13691369
font-size: .65rem !important;
13701370
line-height: 1.5 !important;
1371-
padding: .0625rem .312rem !important;
1371+
padding: .0625rem .312rem;
13721372
}
13731373

13741374
.btn-group-vertical > .btn {

src/css/admin.min.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)