File tree Expand file tree Collapse file tree 2 files changed +14
-2
lines changed
Expand file tree Collapse file tree 2 files changed +14
-2
lines changed Original file line number Diff line number Diff line change @@ -101,7 +101,8 @@ export default defineConfig({
101101 {
102102 text : `
103103 <span style="white-space: nowrap; display: flex; align-items: center; gap: 6px;">
104- <img alt="Serverless Life logo" style="height: 27px" src="https://www.serverlesslife.com/img/logo_light.svg">
104+ <img alt="Serverless Life logo" style="height: 27px" src="https://www.serverlesslife.com/img/logo_light.svg" class="light-mode">
105+ <img alt="Serverless Life logo" style="height: 27px" src="https://www.serverlesslife.com/img/logo_dark.svg" class="dark-mode">
105106 www.serverlesslife.com
106107 </span>
107108 ` ,
@@ -112,7 +113,10 @@ export default defineConfig({
112113 socialLinks : [
113114 {
114115 icon : {
115- svg : '<img alt="Serverless Life logo" style="height: 26px" src="https://www.serverlesslife.com/img/logo_light.svg">' ,
116+ svg : `
117+ <img alt="Serverless Life logo" style="height: 26px" src="https://www.serverlesslife.com/img/logo_light.svg" class="light-mode">
118+ <img alt="Serverless Life logo" style="height: 26px" src="https://www.serverlesslife.com/img/logo_dark.svg" class="dark-mode">
119+ ` ,
116120 } ,
117121
118122 link : 'https://www.serverlesslife.com' ,
Original file line number Diff line number Diff line change 4242 width : 100% ;
4343 height : 100% ;
4444}
45+
46+ : root : not (.dark ) .dark-mode {
47+ display : none;
48+ }
49+
50+ : root : is (.dark ) .light-mode {
51+ display : none;
52+ }
You can’t perform that action at this time.
0 commit comments