Skip to content
This repository has been archived by the owner on Oct 5, 2022. It is now read-only.

Commit

Permalink
Add breaking change warning
Browse files Browse the repository at this point in the history
  • Loading branch information
MattIPv4 committed May 14, 2019
1 parent e6eabcf commit e57e97c
Show file tree
Hide file tree
Showing 4 changed files with 35 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dist/macOSNotif.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/macOSNotif.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

18 changes: 17 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,11 @@
border-top: 1px solid #ddd;
margin: 0.8rem 1.6rem;
}

blockquote.warning h2 {
border-left: 4px solid #ff5667;
background: #faebec;
}
</style>


Expand Down Expand Up @@ -242,6 +247,17 @@ <h1>
</small>
</h1>

<blockquote class="warning">
<h2>
Breaking Change<br/>
<small>
From version <code>0.0.5-beta1</code> onwards, the option to trigger the dark mode theme was changed from
<code>dark</code> to <code>themeDark</code> to match the new native OS theme detection option,
<code>themeNative</code>.
</small>
</h2>
</blockquote>

<h3>Installation:</h3>
<p>To use the plugin, copy the <code>dist</code> folder from the <a href="https://github.com/MattIPv4/macOSNotifJS">
macOSNotifJS GitHub repository</a> to your website.</p>
Expand Down Expand Up @@ -413,7 +429,7 @@ <h2>
<small>
macOSNotifJS is a plugin created by <a href="https://mattcowley.co.uk/" target="_blank">Matt Cowley</a>.
<br/>
<br/><i>macOSNotifJS - v0.0.5-beta1 - 2019-05-13</i>
<br/><i>macOSNotifJS - v0.0.5-beta1 - 2019-05-14</i>
</small>
</h2>

Expand Down
16 changes: 16 additions & 0 deletions index.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,11 @@
border-top: 1px solid #ddd;
margin: 0.8rem 1.6rem;
}
blockquote.warning h2 {
border-left: 4px solid #ff5667;
background: #faebec;
}
</style>

<% for (var css in htmlWebpackPlugin.files.css) { %>
Expand Down Expand Up @@ -242,6 +247,17 @@
</small>
</h1>

<blockquote class="warning">
<h2>
Breaking Change<br/>
<small>
From version <code>0.0.5-beta1</code> onwards, the option to trigger the dark mode theme was changed from
<code>dark</code> to <code>themeDark</code> to match the new native OS theme detection option,
<code>themeNative</code>.
</small>
</h2>
</blockquote>

<h3>Installation:</h3>
<p>To use the plugin, copy the <code>dist</code> folder from the <a href="https://github.com/MattIPv4/macOSNotifJS">
macOSNotifJS GitHub repository</a> to your website.</p>
Expand Down

0 comments on commit e57e97c

Please sign in to comment.