Notion has a 'dark' class for the body tag that specifies a dark-mode background color. But then it has a full-page div with a 'notion-dark-theme' class with a different dark-mode background color. But then that same div has an inline style with background-color specified...the same as the div's class.
In other news, I'd like to invite you to my new play, "The Cascade", a play in three acts.