project-owlly / site

🦉 owlly enables the secure and easy electronic signing, validation and counting of popular initiatives and referendums for campaign platforms and offers a holistic e-collecting approach for Switzerland.
https://owlly.ch
BSD 3-Clause "New" or "Revised" License
2 stars 1 forks source link

feat: Dark mode switch #142

Closed sansan88 closed 4 years ago

sansan88 commented 4 years ago

Theme switch does not work

peterpeterparker commented 4 years ago

because I did not know there was a switcher ;)

were is it? I mean in the GUI

sansan88 commented 4 years ago

haha sorry :) I thought this was from you?

<a href="/" aria-label="Owlly"> <ng-container *ngIf="theme$ | async as theme"> <img [src]="'./assets/logo/owlly-' + theme + '.png'" loading="lazy" aria-label="hidden" /> </ng-container>

jonarivado commented 4 years ago

@sansan88 Do you want a graphical switch for the user or is this issue just for fixing the light/dark mode problem with the logo?

sansan88 commented 4 years ago

I think we don't need a switch for now? But would be cool to have it later.. For now the "fix" would be enough,..

peterpeterparker commented 4 years ago

@sansan88 what's the effective issue ? can you please describe precisely what does not work and how to reproduce the issue?

aka: details

sansan88 commented 4 years ago

@peterpeterparker Sorry, I didn't know who changed that.. The owlly logo does not work on "light mode"

grafik grafik

peterpeterparker commented 4 years ago

Solved. Note: if you change your OS settings on the fly, then you have to refresh your browser (at least for now)