Skip to content

Commit ffad2cd

Browse files
committed
update style
1 parent f5d76f0 commit ffad2cd

9 files changed

+756
-30
lines changed

astro.config.mjs

+32-23
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,36 @@
1-
import { defineConfig } from 'astro/config';
21
import starlight from '@astrojs/starlight';
2+
import { defineConfig } from 'astro/config';
3+
4+
import tailwind from "@astrojs/tailwind";
35

46
// https://astro.build/config
57
export default defineConfig({
6-
integrations: [
7-
starlight({
8-
title: 'My Docs',
9-
social: {
10-
github: 'https://github.com/withastro/starlight',
11-
},
12-
sidebar: [
13-
{
14-
label: 'Guides',
15-
items: [
16-
// Each item here is one entry in the navigation menu.
17-
{ label: 'Example Guide', link: '/guides/example/' },
18-
],
19-
},
20-
{
21-
label: 'Reference',
22-
autogenerate: { directory: 'reference' },
23-
},
24-
],
25-
}),
26-
],
27-
});
8+
integrations: [starlight({
9+
title: 'fullstackhero',
10+
social: {
11+
github: 'https://github.com/withastro/starlight'
12+
},
13+
customCss: [
14+
'./src/styles/tailwind.css',
15+
'./src/styles/base.css'
16+
],
17+
sidebar: [{
18+
label: 'Getting Started',
19+
items: [
20+
{
21+
label: 'Example Guide',
22+
link: '/guides/example/'
23+
}]
24+
}, {
25+
label: 'Reference',
26+
autogenerate: {
27+
directory: 'reference'
28+
}
29+
}]
30+
}),
31+
tailwind(
32+
{
33+
applyBaseStyles: false,
34+
}
35+
)]
36+
});

0 commit comments

Comments
 (0)