rpi-crisis / crisis

Correcting Rensselaer's Insufferable SIS
https://rpicrisis.org
GNU Affero General Public License v3.0
5 stars 3 forks source link

[BUG REPORT] Navigation bar text color doesn't change after switching through light/dark mode. #34

Open jiaweiw02 opened 2 years ago

jiaweiw02 commented 2 years ago

Environment (please complete the following information):

Describe the bug After switching from dark to light mode, navigation text color stays yellow until refreshed. The similar thing happens when switching from light to dark mode.

Explain Steps To Reproduce Steps to reproduce the behavior:

  1. Go to rpicrisis.org
  2. Click the cog-gear-widget (settings) icon on the top right corner of the page
  3. Toggle light/dark mode
  4. Exit out of the settings window
  5. Navigation text color is currently yellow/gray, click on about, navigation bar color changes to match light/dark mode.

Expected behavior Refresh instantly when toggling dark/light mode

TrevorBrunette commented 2 years ago

Interestingly this doesn't seem to happen for everyone. It happens on Chrome on Linux Mint for me, but does not happen on my other laptop running Arch KDE. This bug does not seem to happen when in incognito mode, which suggests that perhaps there is some user setting resulting in this issue. This is a non-trivial issue and will require a deep-dive into CSS and the current NavBar code to get a fix working.