Skip to content

Commit

Permalink
chore: update example.
Browse files Browse the repository at this point in the history
  • Loading branch information
jaywcjlove committed Mar 16, 2022
1 parent 1f7bf5d commit 16ca2dd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ Or, alternatively, use a `<script defer>` tag (served from unpkg's CDN):
CDN: [UNPKG](https://unpkg.com/@wcj/dark-mode/dist/) | [jsDelivr](https://cdn.jsdelivr.net/npm/@wcj/dark-mode/) | [Githack](https://raw.githack.com/jaywcjlove/dark-mode/gh-pages/dark-mode.min.js) | [Statically](https://cdn.statically.io/gh/jaywcjlove/dark-mode/gh-pages/dark-mode.min.js)

```html
<script src="https://unpkg.com/@wcj/dark-mode" defer></script>
<script src="https://unpkg.com/@wcj/dark-mode"></script>
```

## Usage
Expand Down
2 changes: 1 addition & 1 deletion demo.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<title>dark-mode</title>
<link rel="icon" href="data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 100 100%22><text y=%22.9em%22 font-size=%2290%22>馃寭</text></svg>" type="image/x-icon">
<meta description="馃寭 Add dark mode/night mode custom elements to your website." />
<script src="./main.js" defer></script>
<script src="./main.js"></script>
<style>
a {
color: var(--color-thme-text);
Expand Down

0 comments on commit 16ca2dd

Please sign in to comment.