Skip to content

Commit 4a45fac

Browse files
committed
Add transparent logo variants for light and dark themes
- Light theme: transparent background, original black outlines and blue curve - Dark theme: transparent background, white outlines, light blue curve, dark screen area - Updated navbar logo and hero image to use theme-specific variants
1 parent 11887e0 commit 4a45fac

File tree

6 files changed

+4
-2
lines changed

6 files changed

+4
-2
lines changed

astro.config.mjs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@ export default defineConfig({
1717
title: 'STEPSS',
1818
description: 'Static and Transient Electric Power Systems Simulation — Documentation',
1919
logo: {
20-
src: './src/assets/logo.png',
20+
light: './src/assets/logo-light.png',
21+
dark: './src/assets/logo-dark.png',
2122
replacesTitle: false,
2223
},
2324
social: [

src/assets/logo-dark-tmp.png

31.6 KB
Loading

src/assets/logo-dark.png

42.3 KB
Loading

src/assets/logo-light-tmp.png

72.8 KB
Loading

src/assets/logo-light.png

72.6 KB
Loading

src/content/docs/index.mdx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@ template: splash
55
hero:
66
tagline: A comprehensive power system simulation suite for static and dynamic analysis of electrical grids, developed by the Sustainable Power Systems Lab (SPS-L).
77
image:
8-
file: ../../assets/logo.png
8+
dark: ../../assets/logo-dark.png
9+
light: ../../assets/logo-light.png
910
actions:
1011
- text: Get Started
1112
link: /getting-started/overview/

0 commit comments

Comments
 (0)