Skip to content

Commit d57175d

Browse files
committed
add new theming
1 parent 0740dd2 commit d57175d

12 files changed

Lines changed: 277 additions & 59 deletions

File tree

.idea/jsonSchemas.xml

Lines changed: 25 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/workspace.xml

Lines changed: 70 additions & 52 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

astro.config.mjs

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
// @ts-check
22
import { defineConfig } from 'astro/config';
33
import starlight from '@astrojs/starlight';
4+
import starlightThemeGalaxy from 'starlight-theme-galaxy';
45

56
// https://astro.build/config
67
export default defineConfig({
@@ -9,11 +10,11 @@ export default defineConfig({
910
starlight({
1011
title: 'NextFTC',
1112
logo: {
12-
light: './src/assets/nextftc-logo-light.png',
13-
dark: './src/assets/nextftc-logo-dark.png',
13+
light: './src/assets/nextftc-banner-light.png',
14+
dark: './src/assets/nextftc-banner-dark.png',
1415
replacesTitle: true,
1516
},
16-
favicon: '/favicon.png',
17+
favicon: '/favicon.svg',
1718
customCss: ['./src/styles/custom.css'],
1819
social: [
1920
{ icon: 'github', label: 'GitHub', href: 'https://github.com/NextFTC/NextFTCSuite' },
@@ -32,6 +33,7 @@ export default defineConfig({
3233
items: [{ autogenerate: { directory: 'reference' } }],
3334
},
3435
],
36+
plugins: [starlightThemeGalaxy()]
3537
}),
3638
],
3739
});

bun.lock

Lines changed: 18 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@
1212
"dependencies": {
1313
"@astrojs/starlight": "^0.41.4",
1414
"astro": "^7.0.2",
15-
"sharp": "^0.34.5"
15+
"sharp": "^0.34.5",
16+
"starlight-theme-galaxy": "^0.8.0"
1617
},
1718
"devDependencies": {
1819
"@types/bun": "^1.3.14"

public/favicon.png

-2.06 KB
Binary file not shown.

public/favicon.svg

Lines changed: 143 additions & 0 deletions
Loading

src/assets/nextftc-logo.png

62.8 KB
Loading

0 commit comments

Comments
 (0)