Skip to content

Commit

Permalink
website: update example.
Browse files Browse the repository at this point in the history
  • Loading branch information
jaywcjlove committed Mar 16, 2022
1 parent e843a6f commit ca4c8ad
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions demo.html
Expand Up @@ -19,11 +19,11 @@
</head>
<body style="margin: 0 auto; max-width: 520px;">
<h1>Hi there!</h1>
<div>I'm your cool new webpage! Use the toggle in the <dark-mode style="border: 2px solid blue"></dark-mode> button to switch my theme.</div>
<div>I'm your cool new webpage! Use the toggle in the <dark-mode style="border: 2px solid blue"></dark-mode> 馃憟 button to switch my theme.</div>
<dark-mode onclick="console.log('Hello')" mode="light"></dark-mode>
<dark-mode onchange="handleDarkMode" dark="Dark" light="Light" style="border: 1px solid red; font-size: 12px;"></dark-mode>
<br /><br />
Document: <a href="https://github.com/jaywcjlove/dark-mode.git">@jaywcjlove/dark-mode</a>
Document: <a href="https://github.com/jaywcjlove/dark-mode.git" target="__blank">@jaywcjlove/dark-mode</a>
<br />
<br />
<script>
Expand Down

0 comments on commit ca4c8ad

Please sign in to comment.