Skip to content

Commit 1424cf5

Browse files
authored
chore: use gds-css & touch up styling (#2)
* use gds css on docs * touchup index page with new css * add favicon * address feedback
1 parent d2b94a6 commit 1424cf5

8 files changed

Lines changed: 627 additions & 54 deletions

File tree

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,3 +22,6 @@ pnpm-debug.log*
2222

2323
# jetbrains setting folder
2424
.idea/
25+
26+
# vscode settings
27+
.vscode/

astro.config.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,13 @@ export default defineConfig({
77
integrations: [
88
starlight({
99
title: "Amp",
10+
customCss: ["./src/styles/global.css"],
11+
expressiveCode: {
12+
themes: ["material-theme-ocean", "material-theme-lighter"],
13+
},
14+
logo: {
15+
src: "./public/logo.svg",
16+
}
1017
}),
1118
],
1219
vite: {

package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@
99
},
1010
"dependencies": {
1111
"@astrojs/starlight": "^0.36.1",
12+
"@astrojs/starlight-tailwind": "^4.0.2",
13+
"@graphprotocol/gds-css": "https://pkg.pr.new/graphprotocol/gds/@graphprotocol/gds-css@a511476",
1214
"astro": "^5.15.1"
1315
},
1416
"packageManager": "pnpm@10.18.2+sha512.9fb969fa749b3ade6035e0f109f0b8a60b5d08a1a87fdf72e337da90dcc93336e2280ca4e44f2358a649b83c17959e9993e777c2080879f3801e6f0d999ad3dd",

0 commit comments

Comments
 (0)