Skip to content

Commit 04d93dc

Browse files
committed
style: import and apply DM Sans font to the body element, fixes #3
1 parent 4080f82 commit 04d93dc

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

styles.css

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* GitHub Explorer - GitLab Theme Styles */
1+
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:opsz,wght@9..40,100..1000&display=swap');
22

33
/* ===== GitLab Color Palette ===== */
44
:root {
@@ -16,7 +16,7 @@
1616

1717
/* ===== Typography ===== */
1818
body {
19-
font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
19+
font-family: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif !important;
2020
}
2121

2222
/* ===== Header Reskin ===== */
@@ -211,13 +211,14 @@ header[role="banner"],
211211

212212
/* ===== Responsive Design ===== */
213213
@media (max-width: 768px) {
214+
214215
.repo-list-item,
215216
.public,
216217
.Private,
217218
[data-testid="repository-list-item"] {
218219
padding: 12px 16px !important;
219220
}
220-
221+
221222
.repo-group-header {
222223
padding: 10px 16px !important;
223224
}

0 commit comments

Comments
 (0)