1
0
mirror of https://github.com/kremalicious/blog.git synced 2024-11-26 11:49:04 +01:00

package updates

This commit is contained in:
Matthias Kretschmann 2019-12-09 22:49:41 +01:00
parent 52fc21f881
commit 66c070e992
Signed by: m
GPG Key ID: 606EEEF3C479A91F
3 changed files with 2417 additions and 4230 deletions

6641
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -65,7 +65,7 @@
"gatsby-remark-smartypants": "^2.1.17", "gatsby-remark-smartypants": "^2.1.17",
"gatsby-remark-vscode": "^1.4.0", "gatsby-remark-vscode": "^1.4.0",
"gatsby-source-filesystem": "^2.1.40", "gatsby-source-filesystem": "^2.1.40",
"gatsby-source-graphql": "^2.1.25", "gatsby-source-graphql": "2.1.25",
"gatsby-transformer-remark": "^2.6.39", "gatsby-transformer-remark": "^2.6.39",
"gatsby-transformer-sharp": "^2.3.6", "gatsby-transformer-sharp": "^2.3.6",
"graphql": "^14.5.8", "graphql": "^14.5.8",
@ -130,7 +130,7 @@
"shortid": "^2.2.15", "shortid": "^2.2.15",
"stylelint": "^12.0.0", "stylelint": "^12.0.0",
"stylelint-config-css-modules": "^2.1.0", "stylelint-config-css-modules": "^2.1.0",
"stylelint-config-prettier": "^7.0.0", "stylelint-config-prettier": "^8.0.0",
"stylelint-config-standard": "^19.0.0", "stylelint-config-standard": "^19.0.0",
"stylelint-prettier": "^1.1.1", "stylelint-prettier": "^1.1.1",
"ts-jest": "^24.2.0", "ts-jest": "^24.2.0",

View File

@ -54,6 +54,8 @@ export default function ThemeSwitch() {
htmlFor="toggle" htmlFor="toggle"
className={styles.checkbox} className={styles.checkbox}
onClick={darkMode.toggle} onClick={darkMode.toggle}
onKeyPress={darkMode.toggle}
role="presentation"
> >
<span className={styles.label}>Toggle Dark Mode</span> <span className={styles.label}>Toggle Dark Mode</span>
<ThemeToggleInput <ThemeToggleInput