From ccd78d0f092fb5e731805398567fd150324f67ba Mon Sep 17 00:00:00 2001 From: tomayac Date: Mon, 12 Aug 2019 21:36:41 +0200 Subject: [PATCH] Fix demo to match article --- demo/common.css | 3 ++- package.json | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/demo/common.css b/demo/common.css index cfcf58f..95de40c 100644 --- a/demo/common.css +++ b/demo/common.css @@ -15,7 +15,8 @@ * limitations under the License. */ :root { - color-scheme: dark light; + color-scheme: dark light; /* stylelint-disable-line property-no-unknown */ + --heading-color: red; --duration: 0.5s; --timing: ease; diff --git a/package.json b/package.json index 207400e..3d4affd 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "dark-mode-toggle", - "version": "0.2.3", + "version": "0.2.4", "description": "Web Component that toggles dark mode 🌒", "main": "./src/dark-mode-toggle.mjs", "browser": "src/dark-mode-toggle.mjs",