Skip to content

1.2.5

Compare
Choose a tag to compare
@roman-rr roman-rr released this 19 Feb 19:43
· 142 commits to master since this release

BREAKING CHANGES

  • Added cssClass property to settings. Pass custom class for .cupertino-pane-wrapper here to style later, instead of picking custom class from your element.
  • Removed darkmode property and setDarkmode() method. Proper way you can style darkmode with variables:
body.dark {
  --cupertino-pane-icon-close-color: #a8a7ae;
  --cupertino-pane-background: #1c1c1d;
  --cupertino-pane-color: #ffffff;
  --cupertino-pane-shadow: 0 4px 16px rgb(0 0 0 / 12%);
  --cupertino-pane-border-radius: 20px;
  --cupertino-pane-move-background: #424246;
  --cupertino-pane-destroy-button-background: #424246;
}

Extra

Features

  • CSS variables available Readme

Bug Fixed

  • Fixed styles for few panes in single DOM #133
  • Fixed internal styles injector in DOM. Minified styles now injected once inside <head> tag.
  • Fixed backdrop with { animate:false }