Skip to content

v0.10.0

Compare
Choose a tag to compare
@EvgenyOrekhov EvgenyOrekhov released this 22 Feb 23:17
· 58 commits to master since this release

Dark mode manual override

Now you can override dark mode manually by adding holiday-css-light or
holiday-css-dark class to your <html> element.

Example:

<html class="holiday-css-light"></html>

Notes:

  • It has to be <html>, and not <body> or any other element, so that the
    browser would apply the correct color theme to its UI elements, like scrollbars
  • if you use custom theme, you should migrate your color variables to the new
    ones (see the next section)

New color variables

The old color variables were deprecated.
They will keep working, but you should migrate to the new --light-* and
--dark-* variables.

See Customization for more details.