Skip to content

Commit 437925f

Browse files
authored
Fix/theme black primary color (#2113)
1 parent 219d672 commit 437925f

File tree

1 file changed

+7
-21
lines changed

1 file changed

+7
-21
lines changed

docs/extra/ragas-modern.css

Lines changed: 7 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/* Ragas Modern Documentation Theme */
22

33
/* Import Google Fonts - Professional Typography */
4-
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=JetBrains+Mono:wght@300;400;500;600&display=swap');
4+
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;600;700&family=JetBrains+Mono:wght@300;400;500;600&display=swap');
55

66
/* Custom color scheme variables */
77
:root {
@@ -32,21 +32,21 @@
3232

3333
/* Only minimal, essential customizations - let Material Design handle the rest */
3434

35-
/* Navigation font size */
35+
/* Reduce navigation font size only */
3636
.md-nav {
37-
font-size: 0.9rem;
37+
font-size: 0.8rem;
3838
}
3939

4040
.md-nav__link {
41-
font-size: 0.9rem;
41+
font-size: 0.8rem;
4242
}
4343

4444
.md-nav__title {
45-
font-size: 0.9rem;
45+
font-size: 0.8rem;
4646
}
4747

4848
.md-tabs__link {
49-
font-size: 0.9rem;
49+
font-size: 0.8rem;
5050
}
5151

5252
/* Clean repository info*/
@@ -60,21 +60,7 @@
6060

6161
/* Ensure proper font family application */
6262
body {
63-
font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
64-
font-size: 1.1rem; /* Increased from default */
65-
}
66-
67-
/* Material Design typography overrides for main content */
68-
.md-typeset {
69-
font-size: 1.01rem !important;
70-
}
71-
72-
.md-typeset p {
73-
font-size: 1.01rem !important;
74-
}
75-
76-
.md-typeset li {
77-
font-size: 1.01rem !important;
63+
font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
7864
}
7965

8066
code, kbd, samp, pre {

0 commit comments

Comments
 (0)