Skip to content

Commit

Permalink
release: v0.7.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Clashsoft committed Sep 5, 2020
1 parent be9c31a commit ebece0e
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 3 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,3 +34,11 @@
# v0.6.0

* `dist/theme.js` is no longer a module.

# v0.7.0

+ Added `.bg-darkmode-black` as an opposite for `.bg-white`.
+ Added support for `data-theme="auto"`, which will automatically apply dark mode dependending on user agent preference.
* Improved table border colors.
* Improved horizontal rule (`<hr>`) color.
* Updated information in `package.json`.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ Include the stylesheet, e.g. in `styles.scss`:
<!-- Bootstrap CSS ... -->

<!-- Dark mode CSS -->
<link rel="stylesheet" href="https://unpkg.com/bootstrap-darkmode@0.6.0/dist/darktheme.css"/>
<link rel="stylesheet" href="https://unpkg.com/bootstrap-darkmode@0.7.0/dist/darktheme.css"/>
<!-- ... -->
</head>
```
Expand All @@ -46,7 +46,7 @@ Include the stylesheet, e.g. in `styles.scss`:

```html
<body>
<script src="https://unpkg.com/bootstrap-darkmode@0.6.0/dist/theme.js"></script>
<script src="https://unpkg.com/bootstrap-darkmode@0.7.0/dist/theme.js"></script>
<!-- ... --->
```

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "bootstrap-darkmode",
"version": "0.6.0",
"version": "0.7.0",
"description": "Stylesheet and Scripts for implementing dark mode with Bootstrap 4",
"main": "dist/theme.js",
"types": "dist/theme.d.ts",
Expand Down

0 comments on commit ebece0e

Please sign in to comment.