You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While I respect the initial user dark mode preferences I set the theme with js on the body like this when the user set it to something else in a previous session.
Maybe I misunderstood how to overwrite the css variables because it sometimes did not change it how I expected it to be so quite a few css rules of mine look like this instead:
I noticed that it also happens on the official bulma.io website on Chrome and Firefox. This happens when the user's chosen theme doesn't match their system settings (e.g., the user sets light mode but has dark mode enabled in the OS) and also if your custom style differs from the standard values for that specific theme.
The website should not flash from one theme to the other when the user setting does not match the system settings.
I am not sure if this is a bulma specific problem but at least it also happens on the official website and maybe someone else here knows how to deal with it.
The text was updated successfully, but these errors were encountered:
This is about Bulma.
Overview of the problem
I'm using Bulma version 1.0.2
My browser is: Chrome / Firefox
Description
When I load my website I get some initial stylings I can not get rid of.
chrome_Amazeing_-_Google_Chrome_2024-08-13-08_12.35.mp4
While I respect the initial user dark mode preferences I set the theme with js on the body like this when the user set it to something else in a previous session.
The live version of it can be found here: https://develop--amazething.netlify.app/
Maybe I misunderstood how to overwrite the css variables because it sometimes did not change it how I expected it to be so quite a few css rules of mine look like this instead:
Steps to Reproduce
I noticed that it also happens on the official bulma.io website on Chrome and Firefox. This happens when the user's chosen theme doesn't match their system settings (e.g., the user sets light mode but has dark mode enabled in the OS) and also if your custom style differs from the standard values for that specific theme.
chrome_Bulma_Free._open_source._and_modern_CSS_framework__2024-08-13-08_13.31.mp4
Expected behavior
The website should not flash from one theme to the other when the user setting does not match the system settings.
I am not sure if this is a bulma specific problem but at least it also happens on the official website and maybe someone else here knows how to deal with it.
The text was updated successfully, but these errors were encountered: