-
When I use the theming properties on the root <html data-color-mode="dark" data-dark-theme="dark"> And set the background color of the <body class="color-bg-default"> The page remains white. Why is this? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Hmm.. that seems correct. How do you load Primer CSS? Maybe the color variables are not loaded? If you inspect the can you see them in your case? Here a Codepen to test https://codepen.io/simurai/pen/BawPeqj?editors=1000 |
Beta Was this translation helpful? Give feedback.
-
There was another class on a flex div that was unexpectedly changing the background. |
Beta Was this translation helpful? Give feedback.
There was another class on a flex div that was unexpectedly changing the background.