Skip to content

Commit f8dd45e

Browse files
committed
Update logos to change based on mode
1 parent 154b43b commit f8dd45e

3 files changed

Lines changed: 32 additions & 5 deletions

File tree

docs/.vitepress/theme/custom.css

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
/* Default = light mode */
2+
.supporter-logos .dark {
3+
display: none;
4+
}
5+
6+
/* Dark mode */
7+
.dark .supporter-logos .light {
8+
display: none;
9+
}
10+
11+
.dark .supporter-logos .dark {
12+
display: inline-block;
13+
}

docs/.vitepress/theme/index.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
import DefaultTheme from 'vitepress/theme'
2+
import './custom.css'
3+
4+
export default DefaultTheme

docs/index.md

Lines changed: 15 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -88,13 +88,23 @@ We take great pride in our achievements, which reflect our commitment to enhanci
8888
- 🫀 Maintenance funded by Polkadot from August 2025 to July 2026 [Referenda link](https://polkadot.polkassembly.io/referenda/1641), [August report](https://docs.google.com/document/d/11W3keTVFBCdyoE12eyB1I1yCPONHBGmCdjTvfPszr-Y/edit?usp=sharing), [September report](https://docs.google.com/document/d/1FLusxQYk2oT5o-YpocGnExO2c1pw1bY4u0faITrMnAM/edit?usp=sharing), [October report](https://docs.google.com/document/d/1Chhl1KNJqsnc-0At7Lg7tG2XPsO2SaA5UVYsFeYuPLs/edit?usp=sharing), [November report](https://docs.google.com/document/d/1jLnSJO5tYWgI5ud02kUYx6Trr-l-COXEJHqaPY9joJw/edit?usp=sharing), [December report](https://docs.google.com/document/d/1jFvBVHdQ50whvFU_Nm6nf94AZ7RfHI_DzlhHUPHt8gA/edit?usp=sharing)
8989

9090
<div>
91-
<h3 align="center">
92-
Project is supported by
93-
</h3>
94-
<div align="center" style="margin-top: 20px;">
95-
<img width="750" alt="version" src="https://github.com/user-attachments/assets/29e4b099-d90c-46d6-a3ce-94edfbda003c" />
91+
<h3 align="center">Project is supported by</h3>
92+
93+
<div align="center" class="supporter-logos">
94+
<img
95+
src="https://raw.githubusercontent.com/paraspell/presskit/main/logos_supporters/polkadot_kusama_w3f_standard.png"
96+
alt="Logo"
97+
class="logo light"
98+
/>
99+
<img
100+
src="https://raw.githubusercontent.com/paraspell/presskit/main/logos_supporters/polkadot_kusama_transparent.png"
101+
alt="Logo2"
102+
class="logo dark"
103+
/>
96104
</div>
97105
</div>
98106

99107

100108

109+
110+

0 commit comments

Comments
 (0)