@use "./helpers/shadows.scss" as *;

html,
.ds-light {
  @include get-shadow-scheme();
}

// enable listening to OS dark mode by setting class support-color-scheme on html-tag
html.support-color-scheme:not(.ds-light) {
  @media (prefers-color-scheme: dark) {
    @include get-shadow-scheme(dark);
  }
}

// for manually switching on dark mode
.ds-dark {
  @include get-shadow-scheme(dark);
}
