Skip to content

Commit 5fb83d1

Browse files
committed
(papers) added PRefLexOR
2 parents f0f5686 + d17d68c commit 5fb83d1

File tree

7 files changed

+90
-14
lines changed

7 files changed

+90
-14
lines changed

astro.config.mjs

+3-1
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,9 @@ export default defineConfig({
6767
}
6868
],
6969
customCss: [
70-
// Path to your Tailwind base styles:
70+
'@fontsource/syne/700.css',
71+
'@fontsource/public-sans',
72+
'@fontsource/fira-code',
7173
'./src/tailwind.css',
7274
],
7375

package-lock.json

+52-5
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+3
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@
1616
"@astrojs/starlight-tailwind": "^3.0.0",
1717
"@astrojs/tailwind": "^5.1.4",
1818
"@effect/platform-node": "^0.70.0",
19+
"@fontsource/fira-code": "^5.2.5",
20+
"@fontsource/public-sans": "^5.2.5",
21+
"@fontsource/syne": "^5.2.5",
1922
"astro": "^5.1.7",
2023
"date-fns": "^4.1.0",
2124
"effect": "^3.12.5",

src/components/GrSiteFooter.astro

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import neo4jLogoImage from "../assets/images/neo4j-logo-white.png";
99
justify-content: space-between;
1010
padding: 1em;
1111
color: white;
12-
background-color: #05035A;
12+
background-color: #002B43;
1313
}
1414
.credits {
1515
;
@@ -35,7 +35,7 @@ import neo4jLogoImage from "../assets/images/neo4j-logo-white.png";
3535
text-align: left;
3636
}
3737
p.fineprint, .fineprint a {
38-
color: var(--sl-color-text-invert);
38+
color: #FCF9F6;
3939
}
4040

4141
</style>

src/data/papers.json

+4
Original file line numberDiff line numberDiff line change
@@ -134,5 +134,9 @@
134134
{
135135
"arxivid": "2502.13025",
136136
"github": "lamm-mit/PRefLexOR"
137+
},
138+
{
139+
"arxivid": "2503.10150",
140+
"github": "hhy-huang/HiRAG"
137141
}
138142
]

src/tailwind.css

+5
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,9 @@
44

55
.sl-markdown-content img {
66
background: white;
7+
}
8+
9+
.site-title {
10+
font-family: 'Syne', 'Arial Narrow Bold', sans-serif;
11+
font-weight: 800;
712
}

tailwind.config.mjs

+21-6
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,26 @@
1+
12
/** @type {import('tailwindcss').Config} */
23
import starlightPlugin from '@astrojs/starlight-tailwind';
34

5+
const defaultTheme = require('tailwindcss/defaultTheme');
6+
7+
// custom color theme
8+
const accent = { 200: '#8FE3E8', 600: '#0A6190', 900: '#014063', 950: '#002B43' };
9+
const gray = { 100: '#f3f7f9', 200: '#e7eff2', 300: '#bac4c8', 400: '#7b8f96', 500: '#495c62', 700: '#2a3b41', 800: '#182a2f', 900: '#121a1c' };
410

11+
/** @type {import('tailwindcss').Config} */
512
export default {
6-
content: ['./src/**/*.{astro,html,js,jsx,md,mdx,svelte,ts,tsx,vue}'],
7-
theme: {
8-
extend: {},
9-
},
10-
plugins: [starlightPlugin()],
11-
}
13+
content: ['./src/**/*.{astro,html,js,jsx,md,mdx,svelte,ts,tsx,vue}'],
14+
theme: {
15+
extend: {
16+
colors: {
17+
accent, gray,
18+
},
19+
fontFamily: {
20+
sans: ['"Public Sans"', ...defaultTheme.fontFamily.sans],
21+
mono: ['"Fira Code"', ...defaultTheme.fontFamily.mono],
22+
},
23+
},
24+
},
25+
plugins: [starlightPlugin()],
26+
};

0 commit comments

Comments
 (0)